@@ -56,13 +56,13 @@ using BranchDefinition = MakeRootTreeWriterSpec::BranchDefinition<T>;
5656const std::unordered_map<std::string, InputType> InputMap{
5757 {" digitizer" , InputType::Digitizer},
5858 {" digits" , InputType::Digits},
59- {" raw " , InputType::Raw },
59+ {" clustershardware " , InputType::ClustersHardware },
6060 {" clusters" , InputType::Clusters},
6161};
6262
6363const std::unordered_map<std::string, OutputType> OutputMap{
6464 {" digits" , OutputType::Digits},
65- {" raw " , OutputType::Raw },
65+ {" clustershardware " , OutputType::ClustersHardware },
6666 {" clusters" , OutputType::Clusters},
6767 {" tracks" , OutputType::Tracks},
6868 {" disable-writer" , OutputType::DisableWriter},
@@ -89,18 +89,18 @@ framework::WorkflowSpec getWorkflow(std::vector<int> const& tpcSectors, std::vec
8989 return std::find (outputTypes.begin (), outputTypes.end (), type) != outputTypes.end ();
9090 };
9191
92- if (inputType == InputType::Raw && isEnabled (OutputType::Digits)) { // TODO: We should rename Raw to
93- throw std::invalid_argument (" input/output type mismatch, can not produce 'digits' from 'raw '" );
92+ if (inputType == InputType::ClustersHardware && isEnabled (OutputType::Digits)) {
93+ throw std::invalid_argument (" input/output type mismatch, can not produce 'digits' from 'clustershardware '" );
9494 }
95- if (inputType == InputType::Clusters && (isEnabled (OutputType::Digits) || isEnabled (OutputType::Raw ))) {
96- throw std::invalid_argument (" input/output type mismatch, can not produce 'digits', nor 'raw ' from 'clusters'" );
95+ if (inputType == InputType::Clusters && (isEnabled (OutputType::Digits) || isEnabled (OutputType::ClustersHardware ))) {
96+ throw std::invalid_argument (" input/output type mismatch, can not produce 'digits', nor 'clustershardware ' from 'clusters'" );
9797 }
9898
99- if (caClusterer && (inputType == InputType::Clusters || inputType == InputType::Raw )) {
99+ if (caClusterer && (inputType == InputType::Clusters || inputType == InputType::ClustersHardware )) {
100100 throw std::invalid_argument (" ca-clusterer requires digits as input" );
101101 }
102- if (caClusterer && (isEnabled (OutputType::Clusters) || isEnabled (OutputType::Raw ))) {
103- throw std::invalid_argument (" ca-clusterer cannot produce Clusters or Raw output" );
102+ if (caClusterer && (isEnabled (OutputType::Clusters) || isEnabled (OutputType::ClustersHardware ))) {
103+ throw std::invalid_argument (" ca-clusterer cannot produce clusters or clustershardware output" );
104104 }
105105
106106 WorkflowSpec specs;
@@ -122,11 +122,11 @@ framework::WorkflowSpec getWorkflow(std::vector<int> const& tpcSectors, std::vec
122122 laneConfiguration,
123123 },
124124 propagateMC));
125- } else if (inputType == InputType::Raw ) {
125+ } else if (inputType == InputType::ClustersHardware ) {
126126 specs.emplace_back (o2::tpc::getPublisherSpec (PublisherConf{
127- " tpc-raw-cluster -reader" ,
128- " tpcraw " ,
129- {" databranch" , " TPCClusterHw" , " Branch with TPC raw clusters " },
127+ " tpc-clusterhardware -reader" ,
128+ " tpcclustershardware " ,
129+ {" databranch" , " TPCClusterHw" , " Branch with TPC ClustersHardware " },
130130 {" mcbranch" , " TPCClusterHwMCTruth" , " MC label branch" },
131131 OutputSpec{" TPC" , " CLUSTERHW" },
132132 OutputSpec{" TPC" , " CLUSTERHWMCLBL" },
@@ -151,11 +151,11 @@ framework::WorkflowSpec getWorkflow(std::vector<int> const& tpcSectors, std::vec
151151 // output matrix
152152 bool runTracker = isEnabled (OutputType::Tracks);
153153 bool runDecoder = !caClusterer && (runTracker || isEnabled (OutputType::Clusters));
154- bool runClusterer = !caClusterer && (runDecoder || isEnabled (OutputType::Raw ));
154+ bool runClusterer = !caClusterer && (runDecoder || isEnabled (OutputType::ClustersHardware ));
155155
156156 // input matrix
157157 runClusterer &= inputType == InputType::Digitizer || inputType == InputType::Digits;
158- runDecoder &= runClusterer || inputType == InputType::Raw ;
158+ runDecoder &= runClusterer || inputType == InputType::ClustersHardware ;
159159 runTracker &= caClusterer || (runDecoder || inputType == InputType::Clusters);
160160
161161 WorkflowSpec parallelProcessors;
@@ -299,14 +299,14 @@ framework::WorkflowSpec getWorkflow(std::vector<int> const& tpcSectors, std::vec
299299
300300 // ////////////////////////////////////////////////////////////////////////////////////////////
301301 //
302- // a writer process for raw hardware clusters
302+ // a writer process for hardware clusters
303303 //
304- // selected by output type 'raw '
305- if (isEnabled (OutputType::Raw ) && !isEnabled (OutputType::DisableWriter)) {
304+ // selected by output type 'clustershardware '
305+ if (isEnabled (OutputType::ClustersHardware ) && !isEnabled (OutputType::DisableWriter)) {
306306 using MCLabelContainer = o2::dataformats::MCTruthContainer<o2::MCCompLabel>;
307- specs.push_back (makeWriterSpec (" tpc-raw-cluster -writer" ,
308- inputType == InputType::Raw ? " tpc-filtered-raw-clusters .root" : " tpc-raw-clusters .root" ,
309- " tpcraw " ,
307+ specs.push_back (makeWriterSpec (" tpc-clusterhardware -writer" ,
308+ inputType == InputType::ClustersHardware ? " tpc-filtered-clustershardware .root" : " tpc-clustershardware .root" ,
309+ " tpcclustershardware " ,
310310 BranchDefinition<const char *>{InputSpec{" data" , " TPC" , " CLUSTERHW" , 0 },
311311 " TPCClusterHw" ,
312312 " databranch" },
0 commit comments