00001 00002 // $Id: ANtpTruthInfo.h,v 1.8 2005/05/16 20:46:29 brebel Exp $ 00003 // 00004 // A class to hold information about an event in an analysis ntuple 00005 // 00006 // B. Rebel 1/2005 00008 #ifndef ANTPTRUTHINFO_H 00009 #define ANTPTRUTHINFO_H 00010 00011 #include "TObject.h" 00012 00013 class ANtpTruthInfo : public TObject 00014 { 00015 00016 public: 00017 ANtpTruthInfo(); 00018 virtual ~ANtpTruthInfo(); 00019 00020 void Reset(); 00021 00022 //the following variables are standard for every analysis 00023 Float_t nuEnergy; //energy of interacting neutrino 00024 Float_t nuVtxX; //vertex x position of neutrino interaction 00025 Float_t nuVtxY; //vertex y position of neutrino interaction 00026 Float_t nuVtxZ; //vertex z position of neutrino interaction 00027 Float_t nuDCosX; //vertex dx/ds of neutrino interaction 00028 Float_t nuDCosY; //vertex dy/ds of neutrino interaction 00029 Float_t nuDCosZ; //vertex dz/ds of neutrino interaction 00030 Float_t targetEnergy; //energy of target 00031 Float_t targetPX; //target px of neutrino interaction 00032 Float_t targetPY; //target py of neutrino interaction 00033 Float_t targetPZ; //target pz of neutrino interaction 00034 Int_t nuFlavor; //PDG id of neutrino, nu_e=12, nu_mu=14, nu_tau=16, anti=- 00035 Int_t interactionType; //0=NC 1=CC (2=QE 3=QE+pi) 00036 Float_t hadronicY; //fraction of energy ending up in hadronic system 00037 Float_t showerEnergy; //energy of shower, em+hadronic 00038 Float_t showerDCosX; //shower dx/ds 00039 Float_t showerDCosY; //shower dy/ds 00040 Float_t showerDCosZ; //shower dz/ds 00041 Float_t leptonMomentum; //momentum of produced lepton (muon by default) 00042 Float_t leptonDCosX; //lepton dx/ds (muon by default) 00043 Float_t leptonDCosY; //lepton dy/ds (muon by default) 00044 Float_t leptonDCosZ; //lepton dz/ds (muon by default) 00045 00046 private: 00047 00048 00049 ClassDef(ANtpTruthInfo, 4) //ANtpTruthInfo 00050 }; 00051 00052 #endif // ANTPTRUTHINFO_H 00053 00054
1.3.9.1