You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Detectors/MUON/MCH/Workflow/src/ClusterReaderSpec.cxx
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
#include"Framework/Logger.h"
20
20
#include"Framework/Task.h"
21
21
#include"DPLUtils/RootTreeReader.h"
22
+
#include"CommonUtils/StringUtils.h"
22
23
#include"SimulationDataFormat/MCTruthContainer.h"
23
24
#include"SimulationDataFormat/MCCompLabel.h"
24
25
#include"DataFormatsMCH/ROFRecord.h"
@@ -41,7 +42,7 @@ struct ClusterReader {
41
42
voidinit(InitContext& ic)
42
43
{
43
44
auto treeName = "o2sim";
44
-
auto fileName = ic.options().get<std::string>("infile");
45
+
auto fileName = o2::utils::Str::concat_string(o2::utils::Str::rectifyDirectory(ic.options().get<std::string>("input-dir")), ic.options().get<std::string>("infile"));
45
46
auto nofEntries{-1};
46
47
auto clusterDescription = mGlobal ? header::DataDescription{"GLOBALCLUSTERS"} : header::DataDescription{"CLUSTERS"};
Copy file name to clipboardExpand all lines: Detectors/MUON/MCH/Workflow/src/DigitReaderSpec.cxx
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@
31
31
#include"SimulationDataFormat/MCCompLabel.h"
32
32
#include"DataFormatsMCH/Digit.h"
33
33
#include"DataFormatsMCH/ROFRecord.h"
34
+
#include"CommonUtils/StringUtils.h"
34
35
35
36
usingnamespaceo2::framework;
36
37
@@ -47,7 +48,7 @@ class DigitsReaderDeviceDPL
47
48
48
49
voidinit(InitContext& ic)
49
50
{
50
-
auto filename = ic.options().get<std::string>("mch-digit-infile");
51
+
auto filename = o2::utils::Str::concat_string(o2::utils::Str::rectifyDirectory(ic.options().get<std::string>("input-dir")), ic.options().get<std::string>("mch-digit-infile"));
Copy file name to clipboardExpand all lines: Detectors/MUON/MCH/Workflow/src/TrackReaderSpec.cxx
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
#include"MCHWorkflow/TrackReaderSpec.h"
13
13
14
14
#include"DPLUtils/RootTreeReader.h"
15
+
#include"CommonUtils/StringUtils.h"
15
16
#include"SimulationDataFormat/MCCompLabel.h"
16
17
#include"DataFormatsMCH/ROFRecord.h"
17
18
#include"DataFormatsMCH/TrackMCH.h"
@@ -64,7 +65,7 @@ struct TrackReader {
64
65
LOGP(warning, "Not reading MCH Track Labels");
65
66
}
66
67
auto treeName = "o2sim";
67
-
auto fileName = ic.options().get<std::string>("infile");
68
+
auto fileName = o2::utils::Str::concat_string(o2::utils::Str::rectifyDirectory(ic.options().get<std::string>("input-dir")), ic.options().get<std::string>("infile"));
Copy file name to clipboardExpand all lines: Detectors/MUON/MID/Workflow/src/TrackReaderSpec.cxx
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
#include"MIDWorkflow/TrackReaderSpec.h"
13
13
14
14
#include"DPLUtils/RootTreeReader.h"
15
+
#include"CommonUtils/StringUtils.h"
15
16
#include"Framework/ConfigParamRegistry.h"
16
17
#include"Framework/ControlService.h"
17
18
#include"Framework/Lifetime.h"
@@ -72,7 +73,7 @@ struct TrackReader {
72
73
LOGP(warning, "Not reading MID Track Labels");
73
74
}
74
75
auto treeName = "midreco";
75
-
auto fileName = ic.options().get<std::string>("infile");
76
+
auto fileName = o2::utils::Str::concat_string(o2::utils::Str::rectifyDirectory(ic.options().get<std::string>("input-dir")), ic.options().get<std::string>("infile"));
0 commit comments