@@ -191,13 +191,14 @@ struct UDQC {
191191 aod::Zdcs& zdcs, aod::Calos& calos,
192192 aod::V0s const & v0s, aod::Cascades const & cascades)
193193 {
194- // LOGF(debug, "<UDQC. Collision %d", collision.globalIndex());
195- // LOGF(debug, "<UDQC> Start %i", abcrs.size());
194+ // LOGF(debug, "<UDQC. Collision %d", collision.globalIndex());
195+ // LOGF(debug, "<UDQC> Start %i", abcrs.size());
196+
197+ if (!tracks.size ())
198+ return ;
199+ if (collision.numContrib () < 1 )
200+ return ;
196201
197-
198- if (!tracks.size ()) return ;
199- if (collision.numContrib () < 1 ) return ;
200-
201202 bool isDGcandidate = true ;
202203 registry.get <TH1>(HIST (" collisions/Stat" ))->Fill (0 ., isDGcandidate * 1 .);
203204
@@ -252,15 +253,15 @@ struct UDQC {
252253
253254 if (track.tpcSignal () > maxdEdxTPC) {
254255 maxdEdxTPC = track.tpcSignal ();
255- // LOGF(debug, "<UDQC> New maxdEdx TPC %f", maxdEdxTPC);
256+ // LOGF(debug, "<UDQC> New maxdEdx TPC %f", maxdEdxTPC);
256257 }
257258
258259 // TOF hit?
259260 if (track.hasTOF ()) {
260261 registry.get <TH2>(HIST (" tracks/dEdxTOF" ))->Fill (track.p () / track.sign (), track.beta ());
261262 if (track.tofSignal () > maxdEdxTOF) {
262263 maxdEdxTOF = track.tofSignal ();
263- // LOGF(debug, "<UDQC> New maxdEdx TOF %f", maxdEdxTOF);
264+ // LOGF(debug, "<UDQC> New maxdEdx TOF %f", maxdEdxTOF);
264265 }
265266
266267 // No vertex track with TOF hit?
@@ -285,7 +286,7 @@ struct UDQC {
285286 if (collision.numContrib () > 0 ) {
286287 rgtrwTOF /= collision.numContrib ();
287288 }
288- // LOGF(debug, "<UDQC> PV tracks with TOF: %f [1]", rgtrwTOF);
289+ // LOGF(debug, "<UDQC> PV tracks with TOF: %f [1]", rgtrwTOF);
289290 registry.get <TH2>(HIST (" collisions/tResvsrTOFTracks" ))->Fill (collision.collisionTimeRes (), rgtrwTOF);
290291 registry.get <TH2>(HIST (" collisions/tResvsTOFTrkNoPV" ))->Fill (collision.collisionTimeRes (), norgtrwTOF);
291292
@@ -433,7 +434,7 @@ struct UDQC {
433434 }
434435 // define Lorentz vector to create invariant mass
435436 lvtmp.SetPtEtaPhiM (track.pt (), track.eta (), track.phi (), mass2Use);
436- // LOGF(debug, "mass %f track pt %f/%f eta %f/%f", mass2Use, track.pt(), lvtmp.Perp(), track.eta(), lvtmp.Eta());
437+ // LOGF(debug, "mass %f track pt %f/%f eta %f/%f", mass2Use, track.pt(), lvtmp.Perp(), track.eta(), lvtmp.Eta());
437438 if (track.pt () <= diffCuts.minPt () || track.pt () >= diffCuts.maxPt ()) {
438439 goodpts = false ;
439440 }
@@ -525,7 +526,7 @@ struct UDQC {
525526 registry.get <TH2>(HIST (" DG/etaminus" ))->Fill (track.eta (), track.phi ());
526527 }
527528
528- // LOGF(debug, "dEdx TPC %f TOF %i %f", track.tpcSignal(), track.hasTOF(), track.hasTOF() ? track.tofSignal() : 0.);
529+ // LOGF(debug, "dEdx TPC %f TOF %i %f", track.tpcSignal(), track.hasTOF(), track.hasTOF() ? track.tofSignal() : 0.);
529530 if (collision.numContrib () == 2 ) {
530531 registry.get <TH2>(HIST (" DG/dEdxTPC" ))->Fill (track.tpcInnerParam () / track.sign (), track.tpcSignal ());
531532 registry.get <TH1>(HIST (" DG/trkDCAxy" ))->Fill (track.dcaXY ());
@@ -566,7 +567,7 @@ struct UDQC {
566567 void processCleanFIT1 (CC const & collision, BCs const & bct0s,
567568 aod::FT0s const & /* ft0s*/ , aod::FV0As const & /* fv0as*/ , aod::FDDs const & /* fdds*/ )
568569 {
569- // LOGF(debug, "<CleanFit. Collision %d", collision.globalIndex());
570+ // LOGF(debug, "<CleanFit. Collision %d", collision.globalIndex());
570571
571572 // test influence of BCrange width using a series of NDtcoll
572573 float ampFV0A, ampFT0A, ampFT0C, ampFDDA, ampFDDC;
@@ -622,7 +623,7 @@ struct UDQC {
622623 void processCleanFIT2 (CC const & collision, BCs const & bct0s,
623624 aod::FT0s const & /* ft0s*/ , aod::FV0As const & /* fv0as*/ , aod::FDDs const & /* fdds*/ )
624625 {
625- // LOGF(debug, "<CleanFit. Collision %d", collision.globalIndex());
626+ // LOGF(debug, "<CleanFit. Collision %d", collision.globalIndex());
626627 uint64_t bcnum = 0 ;
627628 if (collision.has_foundBC ()) {
628629 auto collbc = collision.foundBC_as <BCs>();
@@ -681,7 +682,7 @@ struct UDQC {
681682 // ...............................................................................................................
682683 void processFV0 (aod::FV0As const & fv0s, BCs const &)
683684 {
684- // LOGF(info, "<FV0Signals> %d", fv0s.size());
685+ // LOGF(info, "<FV0Signals> %d", fv0s.size());
685686 if (fv0s.size () <= 0 ) {
686687 return ;
687688 }
@@ -699,7 +700,7 @@ struct UDQC {
699700 // ...............................................................................................................
700701 void processFT0 (aod::FT0s const & ft0s, aod::FT0sCorrected const & ft0scorr, BCs const &)
701702 {
702- // LOGF(debug, "<processFT0> %d", ft0s.size());
703+ // LOGF(debug, "<processFT0> %d", ft0s.size());
703704 for (auto const & collision : ft0scorr) {
704705
705706 if (collision.t0ACorrectedValid ()) {
@@ -733,7 +734,7 @@ struct UDQC {
733734 // ...............................................................................................................
734735 void processFDD (aod::FDDs const & fdds, BCs const &)
735736 {
736- // LOGF(debug, "<FDDSignals> %d", fdds.size());
737+ // LOGF(debug, "<FDDSignals> %d", fdds.size());
737738
738739 for (auto fdd : fdds) {
739740
@@ -755,7 +756,7 @@ struct UDQC {
755756 // ...............................................................................................................
756757 void processZDC (aod::Zdc const & zdc)
757758 {
758- // LOGF(debug, "<ZDCSignals> %d", zdc.size());
759+ // LOGF(debug, "<ZDCSignals> %d", zdc.size());
759760
760761 // Zdc energies
761762 registry.get <TH2>(HIST (" ZdcEnergies" ))->Fill (0 ., zdc.energyZEM1 ());
0 commit comments