@@ -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" )
@@ -699,7 +698,7 @@ struct CorrFit {
699698 }
700699 LOGF (info, " Loaded efficiency histogram from %s (%p)" , cfgEfficiency.value .c_str (), (void *)mEfficiency );
701700 }
702- if (cfgEfficiencyNch.value .empty () == false ){
701+ if (cfgEfficiencyNch.value .empty () == false ) {
703702 if (cfgLocalEfficiencyNch) {
704703 TFile* fEfficiencyTrigger = TFile::Open (cfgEfficiencyNch.value .c_str (), " READ" );
705704 mEfficiencyNch = reinterpret_cast <TH1D *>(fEfficiencyTrigger ->Get (" ccdb_object" ));
@@ -708,11 +707,10 @@ struct CorrFit {
708707 } else {
709708 mEfficiencyNch = ccdb->getForTimeStamp <TH1D >(cfgEfficiencyNch, timestamp);
710709 }
711- if (!mEfficiencyNch ) {
710+ if (!mEfficiencyNch ) {
712711 LOGF (fatal, " Could not load efficiency histogram for trigger particles from %s" , cfgEfficiencyNch.value .c_str ());
713712 }
714713 LOGF (info, " Loaded efficiency histogram from %s (%p)" , cfgEfficiencyNch.value .c_str (), (void *)mEfficiencyNch );
715-
716714 }
717715 if (cfgCentralityWeight.value .empty () == false ) {
718716 mCentralityWeight = ccdb->getForTimeStamp <TH1D >(cfgCentralityWeight, timestamp);
@@ -782,20 +780,18 @@ struct CorrFit {
782780 float weight_Nch = 1 .0f ;
783781 for (auto const & track : tracks) {
784782
785- if (cfgRefMultiplicity){
783+ if (cfgRefMultiplicity) {
786784 if (track.pt () < 0.2 || track.pt () > 3.0 )
787- continue ;
785+ continue ;
788786 }
789787
790788 if (!getEfficiencyCorrection_Nch (weight_Nch, track.pt ())) {
791789 continue ;
792790 }
793791
794792 nTracksCorrected += weight_Nch;
795-
796793 }
797794 multiplicity = nTracksCorrected;
798-
799795 }
800796
801797 template <CorrelationContainer::CFStep step, typename TTracks, typename TFT0s>
@@ -988,9 +984,9 @@ struct CorrFit {
988984 continue ;
989985
990986 if (cfgRefpTt) {
991- if (track2.pt () > cfgRefpTMax) {
992- continue ;
993- }
987+ if (track2.pt () > cfgRefpTMax) {
988+ continue ;
989+ }
994990 }
995991 if (track1.pt () <= track2.pt ())
996992 continue ; // skip if the trigger pt is less than the associate pt
@@ -1084,7 +1080,6 @@ struct CorrFit {
10841080 return ;
10851081 }
10861082
1087-
10881083 const auto & ft0 = collision.foundFT0 ();
10891084 fillCorrelationsTPCFT0<CorrelationContainer::kCFStepReconstructed >(tracks, ft0, collision.posZ (), SameEvent, multiplicity, kFT0A , eventWeight);
10901085 }
@@ -1136,9 +1131,8 @@ struct CorrFit {
11361131 }
11371132
11381133 if (cfgQaCheck) {
1139- registry.fill (HIST (" Nch_corrected" ), multiplicity);
1140- }
1141-
1134+ registry.fill (HIST (" Nch_corrected" ), multiplicity);
1135+ }
11421136
11431137 const auto & ft0 = collision2.foundFT0 ();
11441138 fillCorrelationsTPCFT0<CorrelationContainer::kCFStepReconstructed >(tracks1, ft0, collision1.posZ (), MixedEvent, multiplicity, kFT0A , eventWeight);
@@ -1185,7 +1179,6 @@ struct CorrFit {
11851179 registry.fill (HIST (" Nch_corrected" ), multiplicity);
11861180 }
11871181
1188-
11891182 fillCorrelationsTPCFT0<CorrelationContainer::kCFStepReconstructed >(tracks, ft0, collision.posZ (), SameEvent, multiplicity, kFT0C , 1 .0f );
11901183 }
11911184 PROCESS_SWITCH (CorrFit, processSameTpcFt0c, " Process same event for TPC-FT0C correlation" , false );
@@ -1236,9 +1229,8 @@ struct CorrFit {
12361229 }
12371230
12381231 if (cfgQaCheck) {
1239- registry.fill (HIST (" Nch_corrected" ), multiplicity);
1240- }
1241-
1232+ registry.fill (HIST (" Nch_corrected" ), multiplicity);
1233+ }
12421234
12431235 fillCorrelationsTPCFT0<CorrelationContainer::kCFStepReconstructed >(tracks1, ft0, collision1.posZ (), MixedEvent, multiplicity, kFT0C , eventWeight);
12441236 }
@@ -1287,7 +1279,6 @@ struct CorrFit {
12871279 registry.fill (HIST (" Nch_corrected" ), multiplicity);
12881280 }
12891281
1290-
12911282 fillCorrelationsFT0AFT0C<CorrelationContainer::kCFStepReconstructed >(ft0, ft0, collision.posZ (), SameEvent, multiplicity, eventWeight);
12921283 }
12931284 PROCESS_SWITCH (CorrFit, processSameFt0aFt0c, " Process same event for FT0A-FT0C correlation" , true );
@@ -1340,8 +1331,8 @@ struct CorrFit {
13401331 }
13411332
13421333 if (cfgQaCheck) {
1343- registry.fill (HIST (" Nch_corrected" ), multiplicity);
1344- }
1334+ registry.fill (HIST (" Nch_corrected" ), multiplicity);
1335+ }
13451336 registry.fill (HIST (" eventcount" ), MixedEvent); // fill the mixed event in the 3 bin
13461337
13471338 fillCorrelationsFT0AFT0C<CorrelationContainer::kCFStepReconstructed >(ft0Col1, ft0Col2, collision1.posZ (), MixedEvent, multiplicity, eventWeight);
@@ -1368,9 +1359,8 @@ struct CorrFit {
13681359
13691360 registry.fill (HIST (" eventcount" ), SameEvent); // because its same event i put it in the 1 bin
13701361 loadCorrection (bc.timestamp ());
1371-
1362+
13721363 fillYield (collision, tracks);
1373-
13741364
13751365 double multiplicity = tracks.size ();
13761366
0 commit comments