Option for last pythia comparison
authormhorner <mhorner@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Mar 2004 20:00:07 +0000 (20:00 +0000)
committermhorner <mhorner@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Mar 2004 20:00:07 +0000 (20:00 +0000)
EMCAL/AliEMCALJetFinderInputSimPrep.cxx

index 9dd7972e2ea491589eb91308768b4af7ed3edc99..1ed371e0dcd4d81960320b31acdb27a94a3d4e10 100755 (executable)
@@ -381,6 +381,29 @@ void AliEMCALJetFinderInputSimPrep::FillTracks()
                        }
                }
           break;
+          case kNoNeutronNeutrinoKlong:
+               if ( mPart->GetPdgCode() != kNeutron    &&
+                    mPart->GetPdgCode() != kNeutronBar &&
+                    mPart->GetPdgCode() != kK0Long     &&
+                    mPart->GetPdgCode() != kNuE        &&
+                     mPart->GetPdgCode() != kNuEBar     &&
+                     mPart->GetPdgCode() != kNuMu       &&
+                     mPart->GetPdgCode() != kNuMuBar    &&
+                     mPart->GetPdgCode() != kNuTau      &&
+                     mPart->GetPdgCode() != kNuTauBar   )
+               {
+                       if (fDebug > 5) Info("FillTracks","Storing charged track");
+                       if (fSmearType == kSmear ||
+                                       fSmearType == kSmearEffic ){
+                               Smear(mPart);/*
+                                               TParticle *tmp = Smear(MPart);
+                                               fInputObject.AddTrack(tmp);
+                                               delete tmp;*/
+                       }else{
+                               fInputObject.AddTrack(*mPart);
+                       }
+               }
+          break;
           default:
           break;
           delete mPart;
@@ -506,7 +529,7 @@ if (fDebug > 1) Info("FillParticles","Beginning FillParticles");
                if (pdgP->Charge() != 0 || mPart->GetPdgCode() == kPi0  ||
                        mPart->GetPdgCode() == kGamma     )
                {
-                       if (fDebug > 5) Info("FillTracks","Storing charged track");
+                       if (fDebug > 5) Info("FillTracks","Storing kEMChargedPi0 track");
                        if (fSmearType == kSmear ||
                            fSmearType == kSmearEffic ){
                                Smear(mPart);/*
@@ -518,6 +541,29 @@ if (fDebug > 1) Info("FillParticles","Beginning FillParticles");
                        }
                }
           break;
+          case kNoNeutronNeutrinoKlong:
+               if ( mPart->GetPdgCode() != kNeutron    &&
+                    mPart->GetPdgCode() != kNeutronBar &&
+                    mPart->GetPdgCode() != kK0Long     &&
+                    mPart->GetPdgCode() != kNuE        &&
+                     mPart->GetPdgCode() != kNuEBar     &&
+                     mPart->GetPdgCode() != kNuMu       &&
+                     mPart->GetPdgCode() != kNuMuBar    &&
+                     mPart->GetPdgCode() != kNuTau      &&
+                     mPart->GetPdgCode() != kNuTauBar   )
+               {
+                       if (fDebug > 5) Info("FillTracks","Storing kNoNeutronNeutrinoKlong track");
+                       if (fSmearType == kSmear ||
+                                       fSmearType == kSmearEffic ){
+                               Smear(mPart);/*
+                                               TParticle *tmp = Smear(MPart);
+                                               fInputObject.AddTrack(tmp);
+                                               delete tmp;*/
+                       }else{
+                               fInputObject.AddTrack(*mPart);
+                       }
+               }
+          break;
           default:
           break;
         }      //end of switch