]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 686663121df5dbcf13f2fcc2b9ab774d4986511d..83bb28363a2273b6dd3637404454874c8a48cdd7 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;
                }