@@ -77,7 +77,6 @@ struct CorrFit {
7777 O2_DEFINE_CONFIGURABLE (cfgMaxMultForCorrelations, int , 20 , " maximum multiplicity for correlations" )
7878 O2_DEFINE_CONFIGURABLE (cfgRefMultiplicity, bool , false , " Use multiplicity of reference tracks for multiplicity correlation cut instead of Nch" )
7979
80-
8180 struct : ConfigurableGroup{
8281 O2_DEFINE_CONFIGURABLE (cfgPtCutMin, float , 0 .2f , " minimum accepted track pT" )
8382 O2_DEFINE_CONFIGURABLE (cfgPtCutMax, float , 10 .0f , " maximum accepted track pT" )
@@ -690,7 +689,6 @@ struct CorrFit {
690689 TFile* fEfficiencyTrigger = TFile::Open (cfgEfficiency.value .c_str (), " READ" );
691690 mEfficiency = reinterpret_cast <TH3D*>(fEfficiencyTrigger ->Get (" ccdb_object" ));
692691
693- std::cout << " Loaded efficiency histogram from local file " << cfgEfficiency.value .c_str () << " with pointer " << mEfficiency << std::endl;
694692 } else {
695693 mEfficiency = ccdb->getForTimeStamp <TH3D>(cfgEfficiency, timestamp);
696694 }
@@ -699,20 +697,18 @@ struct CorrFit {
699697 }
700698 LOGF (info, " Loaded efficiency histogram from %s (%p)" , cfgEfficiency.value .c_str (), (void *)mEfficiency );
701699 }
702- if (cfgEfficiencyNch.value .empty () == false ){
700+ if (cfgEfficiencyNch.value .empty () == false ) {
703701 if (cfgLocalEfficiencyNch) {
704702 TFile* fEfficiencyTrigger = TFile::Open (cfgEfficiencyNch.value .c_str (), " READ" );
705703 mEfficiencyNch = reinterpret_cast <TH1D*>(fEfficiencyTrigger ->Get (" ccdb_object" ));
706704
707- std::cout << " Loaded efficiency for Nch corrected histogram from local file " << cfgEfficiencyNch.value .c_str () << " with pointer " << mEfficiencyNch << std::endl;
708705 } else {
709706 mEfficiencyNch = ccdb->getForTimeStamp <TH1D>(cfgEfficiencyNch, timestamp);
710707 }
711- if (!mEfficiencyNch ) {
708+ if (!mEfficiencyNch ) {
712709 LOGF (fatal, " Could not load efficiency histogram for trigger particles from %s" , cfgEfficiencyNch.value .c_str ());
713710 }
714711 LOGF (info, " Loaded efficiency histogram from %s (%p)" , cfgEfficiencyNch.value .c_str (), (void *)mEfficiencyNch );
715-
716712 }
717713 if (cfgCentralityWeight.value .empty () == false ) {
718714 mCentralityWeight = ccdb->getForTimeStamp <TH1D>(cfgCentralityWeight, timestamp);
@@ -782,20 +778,18 @@ struct CorrFit {
782778 float weight_Nch = 1 .0f ;
783779 for (auto const & track : tracks) {
784780
785- if (cfgRefMultiplicity){
781+ if (cfgRefMultiplicity) {
786782 if (track.pt () < 0.2 || track.pt () > 3.0 )
787- continue ;
783+ continue ;
788784 }
789785
790786 if (!getEfficiencyCorrection_Nch (weight_Nch, track.pt ())) {
791787 continue ;
792788 }
793789
794790 nTracksCorrected += weight_Nch;
795-
796791 }
797792 multiplicity = nTracksCorrected;
798-
799793 }
800794
801795 template <CorrelationContainer::CFStep step, typename TTracks, typename TFT0s>
@@ -988,9 +982,9 @@ struct CorrFit {
988982 continue ;
989983
990984 if (cfgRefpTt) {
991- if (track2.pt () > cfgRefpTMax) {
992- continue ;
993- }
985+ if (track2.pt () > cfgRefpTMax) {
986+ continue ;
987+ }
994988 }
995989 if (track1.pt () <= track2.pt ())
996990 continue ; // skip if the trigger pt is less than the associate pt
@@ -1084,7 +1078,6 @@ struct CorrFit {
10841078 return ;
10851079 }
10861080
1087-
10881081 const auto & ft0 = collision.foundFT0 ();
10891082 fillCorrelationsTPCFT0<CorrelationContainer::kCFStepReconstructed >(tracks, ft0, collision.posZ (), SameEvent, multiplicity, kFT0A , eventWeight);
10901083 }
@@ -1136,9 +1129,8 @@ struct CorrFit {
11361129 }
11371130
11381131 if (cfgQaCheck) {
1139- registry.fill (HIST (" Nch_corrected" ), multiplicity);
1140- }
1141-
1132+ registry.fill (HIST (" Nch_corrected" ), multiplicity);
1133+ }
11421134
11431135 const auto & ft0 = collision2.foundFT0 ();
11441136 fillCorrelationsTPCFT0<CorrelationContainer::kCFStepReconstructed >(tracks1, ft0, collision1.posZ (), MixedEvent, multiplicity, kFT0A , eventWeight);
@@ -1185,7 +1177,6 @@ struct CorrFit {
11851177 registry.fill (HIST (" Nch_corrected" ), multiplicity);
11861178 }
11871179
1188-
11891180 fillCorrelationsTPCFT0<CorrelationContainer::kCFStepReconstructed >(tracks, ft0, collision.posZ (), SameEvent, multiplicity, kFT0C , 1 .0f );
11901181 }
11911182 PROCESS_SWITCH (CorrFit, processSameTpcFt0c, " Process same event for TPC-FT0C correlation" , false );
@@ -1236,9 +1227,8 @@ struct CorrFit {
12361227 }
12371228
12381229 if (cfgQaCheck) {
1239- registry.fill (HIST (" Nch_corrected" ), multiplicity);
1240- }
1241-
1230+ registry.fill (HIST (" Nch_corrected" ), multiplicity);
1231+ }
12421232
12431233 fillCorrelationsTPCFT0<CorrelationContainer::kCFStepReconstructed >(tracks1, ft0, collision1.posZ (), MixedEvent, multiplicity, kFT0C , eventWeight);
12441234 }
@@ -1287,7 +1277,6 @@ struct CorrFit {
12871277 registry.fill (HIST (" Nch_corrected" ), multiplicity);
12881278 }
12891279
1290-
12911280 fillCorrelationsFT0AFT0C<CorrelationContainer::kCFStepReconstructed >(ft0, ft0, collision.posZ (), SameEvent, multiplicity, eventWeight);
12921281 }
12931282 PROCESS_SWITCH (CorrFit, processSameFt0aFt0c, " Process same event for FT0A-FT0C correlation" , true );
@@ -1340,8 +1329,8 @@ struct CorrFit {
13401329 }
13411330
13421331 if (cfgQaCheck) {
1343- registry.fill (HIST (" Nch_corrected" ), multiplicity);
1344- }
1332+ registry.fill (HIST (" Nch_corrected" ), multiplicity);
1333+ }
13451334 registry.fill (HIST (" eventcount" ), MixedEvent); // fill the mixed event in the 3 bin
13461335
13471336 fillCorrelationsFT0AFT0C<CorrelationContainer::kCFStepReconstructed >(ft0Col1, ft0Col2, collision1.posZ (), MixedEvent, multiplicity, eventWeight);
@@ -1368,9 +1357,8 @@ struct CorrFit {
13681357
13691358 registry.fill (HIST (" eventcount" ), SameEvent); // because its same event i put it in the 1 bin
13701359 loadCorrection (bc.timestamp ());
1371-
1360+
13721361 fillYield (collision, tracks);
1373-
13741362
13751363 double multiplicity = tracks.size ();
13761364
0 commit comments