Exclude only phi in MC mode "exclude resonances"
authormiweber <m.weber@cern.ch>
Fri, 9 Jan 2015 09:22:44 +0000 (10:22 +0100)
committermiweber <m.weber@cern.ch>
Fri, 9 Jan 2015 09:23:51 +0000 (10:23 +0100)
- only for testing

PWGCF/EBYE/BalanceFunctions/AliAnalysisTaskBFPsi.cxx

index 6866631..83bb283 100755 (executable)
@@ -2185,17 +2185,19 @@ TObjArray* AliAnalysisTaskBFPsi::GetAcceptedTracks(AliVEvent *event, Double_t gC
              if(motherParticle) {
                Int_t pdgCodeOfMother = motherParticle->GetPdgCode();
                //if((pdgCodeOfMother == 113)||(pdgCodeOfMother == 213)||(pdgCodeOfMother == 221)||(pdgCodeOfMother == 223)||(pdgCodeOfMother == 331)||(pdgCodeOfMother == 333)) {
-               if(pdgCodeOfMother == 113  // rho0
-                  || pdgCodeOfMother == 213 || pdgCodeOfMother == -213 // rho+
-                  // || pdgCodeOfMother == 221  // eta
-                  // || pdgCodeOfMother == 331  // eta'
-                  // || pdgCodeOfMother == 223  // omega
-                  // || pdgCodeOfMother == 333  // phi
-                  || pdgCodeOfMother == 311  || pdgCodeOfMother == -311 // K0
-                  // || pdgCodeOfMother == 313  || pdgCodeOfMother == -313 // K0*
-                  // || pdgCodeOfMother == 323  || pdgCodeOfMother == -323 // K+*
-                  || pdgCodeOfMother == 3122 || pdgCodeOfMother == -3122 // Lambda
-                  || pdgCodeOfMother == 111  // pi0 Dalitz
+               if(
+                  pdgCodeOfMother == 333  // phi
+                  // pdgCodeOfMother == 113  // rho0
+                  // || pdgCodeOfMother == 213 || pdgCodeOfMother == -213 // rho+
+                  // // || pdgCodeOfMother == 221  // eta
+                  // // || pdgCodeOfMother == 331  // eta'
+                  // // || pdgCodeOfMother == 223  // omega
+                  // // || pdgCodeOfMother == 333  // phi
+                  // || pdgCodeOfMother == 311  || pdgCodeOfMother == -311 // K0
+                  // // || pdgCodeOfMother == 313  || pdgCodeOfMother == -313 // K0*
+                  // // || pdgCodeOfMother == 323  || pdgCodeOfMother == -323 // K+*
+                  // || pdgCodeOfMother == 3122 || pdgCodeOfMother == -3122 // Lambda
+                  // || pdgCodeOfMother == 111  // pi0 Dalitz
                   ) {
                  kExcludeParticle = kTRUE;
                }