@@ -81,7 +81,7 @@ static constexpr float DcaMaxTPCSigma = 1.f;
8181static constexpr float DcaTrkPtCut = 0 .4f ;
8282
8383// Spectra task
84- struct SpectraTOF {
84+ struct SpectraTOFLight {
8585 struct : ConfigurableGroup {
8686 Configurable<float > cfgCutVertex{" cfgCutVertex" , 10 .0f , " Accepted z-vertex range" };
8787 Configurable<int > cfgINELCut{" cfgINELCut" , 0 , " INEL event selection: 0 sel, 1 INEL>0" };
@@ -405,7 +405,7 @@ struct SpectraTOF {
405405 }
406406 }
407407 // Print output histograms statistics
408- LOG (info) << " Size of the histograms in spectraTOF " ;
408+ LOG (info) << " Size of the histograms in spectraTOFLight " ;
409409 histos.print ();
410410 }
411411
@@ -757,7 +757,7 @@ struct SpectraTOF {
757757 }
758758
759759 } // end of the process function
760- PROCESS_SWITCH (SpectraTOF , processStandard, " Standard data processor" , true );
760+ PROCESS_SWITCH (SpectraTOFLight , processStandard, " Standard data processor" , true );
761761
762762 template <typename CollisionType, bool isMC = false >
763763 float getMultiplicity (const CollisionType& collision)
@@ -1172,8 +1172,6 @@ struct SpectraTOF {
11721172 }
11731173 histos.fill (HIST (" MC/Multiplicity" ), getMultiplicityMC (mcCollision));
11741174 const auto & particlesInCollision = mcParticles.sliceByCached (aod::mcparticle::mcCollisionId, mcCollision.globalIndex (), cache);
1175- bool hasParticleInFT0C = false ;
1176- bool hasParticleInFT0A = false ;
11771175 if (evselOptions.cfgINELCut .value == EvSelInelGt0Cut) {
11781176 if (!o2::pwglf::isINELgt0mc (particlesInCollision, pdgDB)) {
11791177 continue ;
@@ -1188,20 +1186,11 @@ struct SpectraTOF {
11881186 static_for<0 , 17 >([&](auto i) {
11891187 fillParticleHistogramsMCGenEvs<i>(mcParticle, mcCollision);
11901188 });
1191- } /*
1192- if (mcCollision.isInelGt0()) {
1193- histos.fill(HIST("MC/GenRecoCollisions"), 3.f);
1194- }
1195- if (mcCollision.isInelGt1()) {
1196- histos.fill(HIST("MC/GenRecoCollisions"), 4.f);
1197- }*/
1198- if (hasParticleInFT0C && hasParticleInFT0A) {
1199- histos.fill (HIST (" MC/GenRecoCollisions" ), 5 .f );
12001189 }
12011190 }
12021191 }
12031192 PROCESS_SWITCH (SpectraTOF, processMC, " Process MC" , false );
12041193
12051194}; // end of spectra task
12061195
1207- WorkflowSpec defineDataProcessing (ConfigContext const & cfgc) { return WorkflowSpec{adaptAnalysisTask<SpectraTOF >(cfgc)}; }
1196+ WorkflowSpec defineDataProcessing (ConfigContext const & cfgc) { return WorkflowSpec{adaptAnalysisTask<SpectraTOFLight >(cfgc)}; }
0 commit comments