File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ struct Kstarqa {
179179
180180 } configGp;
181181
182- Service<o2::framework::O2DatabasePDG> pdgDB;
182+ Service<o2::framework::O2DatabasePDG> pdgDB{} ;
183183
184184 enum MultEstimator {
185185 kFT0M ,
@@ -663,7 +663,7 @@ struct Kstarqa {
663663 const double p2 = candidate2.p ();
664664 const double angle = std::acos ((pt1 * pt2 + pz1 * pz2) / (p1 * p2));
665665
666- return !( configGp.isApplyDeepAngle && angle < configGp.cfgDeepAngle ) ;
666+ return !configGp.isApplyDeepAngle || angle >= configGp.cfgDeepAngle ;
667667 }
668668
669669 template <typename T>
@@ -2178,7 +2178,8 @@ struct Kstarqa {
21782178 }
21792179 rEventSelection.fill (HIST (" recMCparticles" ), 6.5 );
21802180
2181- if (!(track1PDG == PDG_t::kPiPlus && track2PDG == PDG_t::kKPlus ) && !(track1PDG == PDG_t::kKPlus && track2PDG == PDG_t::kPiPlus )) {
2181+ if ((track1PDG != PDG_t::kPiPlus || track2PDG != PDG_t::kKPlus ) &&
2182+ (track1PDG != PDG_t::kKPlus || track2PDG != PDG_t::kPiPlus )) {
21822183 continue ;
21832184 }
21842185 rEventSelection.fill (HIST (" recMCparticles" ), 7.5 );
@@ -3096,7 +3097,7 @@ struct Kstarqa {
30963097 }
30973098 rEventSelection.fill (HIST (" recMCparticles" ), 5.5 );
30983099
3099- if (!( track1PDG == PDG_t::kKPlus && track2PDG == PDG_t::kKPlus ) ) {
3100+ if (track1PDG != PDG_t::kKPlus || track2PDG != PDG_t::kKPlus ) {
31003101 continue ;
31013102 }
31023103 rEventSelection.fill (HIST (" recMCparticles" ), 6.5 );
You can’t perform that action at this time.
0 commit comments