NtpMCFluxInfo Class Reference

#include <NtpMCFluxInfo.h>

List of all members.

Public Member Functions

 NtpMCFluxInfo ()
virtual ~NtpMCFluxInfo ()
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (const Option_t *option="") const

Public Attributes

Int_t index
 C index.
Int_t fluxrun
 gnumi flux run number
Int_t fluxevtno
 gnumi flux event number
Float_t ndxdz
 dx/dz slope, neutrino rndm decay
Float_t ndydz
 dy/dz slope, neutrino rndm decay
Float_t npz
 Pz of neutrino (GeV) rndm decay.
Float_t nenergy
 E(neutrino) (GeV) rndm decay.
Float_t ndxdznear
 dx/dz slope, neutrino NearDet center
Float_t ndydznear
 dy/dz slope, neutrino NearDet center
Float_t nenergynear
 E(neutrino) (GeV) NearDet center.
Float_t nwtnear
 Weight of nu NearDet center.
Float_t ndxdzfar
 dx/dz slope, neutrino FarDet center
Float_t ndydzfar
 dy/dz slope, neutrino FarDet center
Float_t nenergyfar
 E(neutrino) (GeV) FarDet center.
Float_t nwtfar
 Weight of nu FarDet center.
Int_t norig
 (ignore)
Int_t ndecay
 Tag of decay mode.
Int_t ntype
 Neutrino type (translated to PDG).
Float_t vx
 x vertex of hadron (cm)
Float_t vy
 y vertex of hadron (cm)
Float_t vz
 z vertex of hadron (cm)
Float_t pdpx
 nu parent px at decay point
Float_t pdpy
 nu parent py at decay point
Float_t pdpz
 nu parent pz at decay point
Float_t ppdxdz
 nu parent slope at production
Float_t ppdydz
 nu parent slope at production
Float_t pppz
 nu parent pz at production
Float_t ppenergy
 nu parent energy at production
Int_t ppmedium
 GEANT medium of nu parent at parent production.
Int_t ptype
 nu parent type (translated to PDG)
Float_t ppvx
 nu parent production vtx x
Float_t ppvy
 nu parent production vtx y
Float_t ppvz
 nu parent production vtx z
Float_t muparpx
 if parent=mu, hadron parent px
Float_t muparpy
 if parent=mu, hadron parent py
Float_t muparpz
 if parent=mu, hadron parent pz
Float_t mupare
 if parent=mu, hadron parent energy
Float_t necm
 E(nu) in parent cm.
Float_t nimpwt
 importance weight
Float_t xpoint
 (unused)
Float_t ypoint
 (unused)
Float_t zpoint
 (unused)
Float_t tvx
 target exit point (x) of parent
Float_t tvy
 target exit point (y) of parent
Float_t tvz
 target exit point (z) of parent
Float_t tpx
 parent px at target exit
Float_t tpy
 parent py at target exit
Float_t tpz
 parent pz at target exit
Int_t tptype
 parent particle type (translated to PDG)
Int_t tgen
 above is NEUTRINO block, below is NUGPINFO block from gnumi flux ntuples
Int_t tgptype
 parent type of particle out of target (PDG)
Float_t tgppx
 px of particle off the target at interaction
Float_t tgppy
 py of particle off the target at interaction
Float_t tgppz
 pz of particle off the target at interaction
Float_t tprivx
 primary particle interaction vtx x
Float_t tprivy
 primary particle interaction vtx y
Float_t tprivz
 primary particle interaction vtx z
Float_t beamx
 primary proton orgin x
Float_t beamy
 primary proton orgin y
Float_t beamz
 primary proton orgin z
Float_t beampx
 primary proton px
Float_t beampy
 primary proton py
Float_t beampz
 primary proton pz

Detailed Description

Definition at line 17 of file NtpMCFluxInfo.h.


Constructor & Destructor Documentation

NtpMCFluxInfo::NtpMCFluxInfo (  ) 

Definition at line 20 of file NtpMCFluxInfo.cxx.

00020                             :
00021   index(-1),
00022   fluxrun(-1),
00023   fluxevtno(-1),
00024   ndxdz(0.),
00025   ndydz(0.),
00026   npz(0.),
00027   nenergy(0.),
00028   ndxdznear(0.),
00029   ndydznear(0.),
00030   nenergynear(0.),
00031   nwtnear(0.),
00032   ndxdzfar(0.),
00033   ndydzfar(0.),
00034   nenergyfar(0.),
00035   nwtfar(0.),
00036   norig(0),
00037   ndecay(0),
00038   ntype(0),
00039   vx(0.),
00040   vy(0.),
00041   vz(0.),
00042   pdpx(0.),
00043   pdpy(0.),
00044   pdpz(0.),
00045   ppdxdz(0.),
00046   ppdydz(0.),
00047   pppz(0.),
00048   ppenergy(0.),
00049   ppmedium(0),
00050   ptype(0),
00051   ppvx(0.),
00052   ppvy(0.),
00053   ppvz(0.),
00054   muparpx(0.),
00055   muparpy(0.),
00056   muparpz(0.),
00057   mupare(0.),
00058   necm(0.),
00059   nimpwt(0.),
00060   xpoint(0.),
00061   ypoint(0.),
00062   zpoint(0.),
00063   tvx(0.),
00064   tvy(0.),
00065   tvz(0.),
00066   tpx(0.),
00067   tpy(0.),
00068   tpz(0.),
00069   tptype(0),
00070   tgen(0),
00071   tgptype(INULL),
00072   tgppx(RNULL),
00073   tgppy(RNULL),
00074   tgppz(RNULL),
00075   tprivx(RNULL),
00076   tprivy(RNULL),
00077   tprivz(RNULL),
00078   beamx(RNULL),
00079   beamy(RNULL),
00080   beamz(RNULL),
00081   beampx(RNULL),
00082   beampy(RNULL),
00083   beampz(RNULL)
00084 {}

virtual NtpMCFluxInfo::~NtpMCFluxInfo (  )  [inline, virtual]

Definition at line 22 of file NtpMCFluxInfo.h.

00022 {}


Member Function Documentation

void NtpMCFluxInfo::Print ( const Option_t *  option = ""  )  const [virtual]

Definition at line 86 of file NtpMCFluxInfo.cxx.

References Print().

00087 {
00088 
00089   Print(std::cout);
00090   return;
00091 
00092 }

std::ostream & NtpMCFluxInfo::Print ( std::ostream &  os  )  const [virtual]

Definition at line 94 of file NtpMCFluxInfo.cxx.

References beampx, beampy, beampz, beamx, beamy, beamz, fluxevtno, fluxrun, index, INULL, mupare, muparpx, muparpy, muparpz, ndecay, ndxdz, ndxdzfar, ndxdznear, ndydz, ndydzfar, ndydznear, necm, nenergy, nenergyfar, nenergynear, nimpwt, npz, ntype, nwtfar, nwtnear, pdpx, pdpy, pdpz, ppdxdz, ppdydz, ppenergy, ppmedium, pppz, ppvx, ppvy, ppvz, ptype, tgen, tgppx, tgppy, tgppz, tgptype, tprivx, tprivy, tprivz, tptype, tpx, tpy, tpz, tvx, tvy, tvz, vx, vy, and vz.

Referenced by Print().

00095 {
00096   os<<"NtpMCFluxInfo::Print "<<std::endl;
00097   
00098   os<<"flux index "<<index<<" Flux run "<<fluxrun
00099     <<" Flux Event No "<<fluxevtno<<std::endl;
00100   os<<"Random Decay: "<<" slope dx/dz "<<ndxdz
00101     <<" slope dy/dz "<<ndydz<<std::endl
00102     <<'\t'<<"neutrino pz "<<npz<<" neutrino E "<<nenergy<<std::endl;
00103   os<<"Decay to NearDet center: "<<" slope dx/dz "<<ndxdznear
00104     <<" slope dy/dz "<<ndydznear<<std::endl
00105     <<'\t'<<"neutrino E "<<nenergynear
00106     <<" neutrino weight "<<nwtnear<<std::endl;
00107   os<<"Decay to FarDet center: "<<" slope dx/dz "<<ndxdzfar
00108     <<" slope dy/dz "<<ndydzfar<<std::endl
00109     <<'\t'<<"neutrino E "<<nenergyfar<<" neutrino weight "<<nwtfar<<std::endl;
00110   os<<"Decay mode tag "<<ndecay<<" neutrino type "<<ntype<<std::endl;
00111   os<<"Hadron vertex (cm) x: "<<vx<<" y: "<<vy<<" z: "<<vz<<std::endl;
00112   os<<"Nu parent P at decay point px: "<<pdpx
00113     <<" py: "<<pdpy<<" pz: "<<pdpz<<std::endl;
00114   os<<"Nu parent slope at production point: dx/dz: "
00115     <<ppdxdz<<" dy/dz: "<<ppdydz<<std::endl;
00116   os<<"Nu parent pz at production point "
00117     <<pppz<<" energy: "<<ppenergy<<std::endl;
00118   os<<"Geant medium that nu parent was produced in: "<<ppmedium<<std::endl;
00119   os<<"Nu parent type "<<ptype<<std::endl;
00120   os<<"Production vertex of nu parent x: "<<ppvx
00121     <<" y: "<<ppvy<<" z: "<<ppvz<<std::endl;
00122   os<<"If nu parent is mu, P of the mu parent px: "<<muparpx
00123     <<" py: "<<muparpy<<" pz: "<<muparpz<<" E "<<mupare<<std::endl;
00124   os<<"E nu in parent CM frame "<<necm<<std::endl;
00125   os<<"Importance weight "<<nimpwt<<std::endl;
00126   os<<"Target exit point of parent x: "<<tvx<<" y: "<<tvy<<" z: "<<tvz<<std::endl;
00127   os<<"P at target exit point px: "<<tpx
00128     <<" py: "<<tpy<<" pz: "<<tpz<<" E: "<<tptype<<std::endl;
00129   os<<"Parent generation in cascade: "<<tgen<<std::endl;
00130   // if the additional NUGPINFO info is filled print it as well
00131   if ( tgptype != INULL ) {
00132     os << "parent type of particle out of target: " << tgptype << std::endl;
00133     os << "P of particle off target px: " << tgppx
00134        << " py: " << tgppy << " pz: " << tgppz << std::endl;
00135     os << "Primary particle interaction vertex x: " << tprivx
00136        << " y: " << tprivy << " z: " << tprivz << std::endl;
00137     os << "Primary proton origin x: " << beamx << " y: " << beamy
00138        << " z: " << beamz << std::endl;
00139     os << "P of primary proton px: " << beampx << " py: " << beampy
00140        << " pz: " << beampz << std::endl;
00141   }
00142 
00143   return os;
00144 }


Member Data Documentation

primary proton px

Definition at line 97 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().

primary proton py

Definition at line 98 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().

primary proton pz

Definition at line 99 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().

primary proton orgin x

Definition at line 94 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().

primary proton orgin y

Definition at line 95 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().

primary proton orgin z

Definition at line 96 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().

above is NEUTRINO block, below is NUGPINFO block from gnumi flux ntuples

parent generation in cascade

Definition at line 85 of file NtpMCFluxInfo.h.

Referenced by MadMKAnalysis::CreatePAN(), MadTVAnalysis::CreatePAN(), Anp::FillTruth::Fill(), NtpMCModule::FillNtpFluxInfo(), MuParentHelper::GetMuDaughter(), MuParentHelper::GetMuParent(), NuReco::GetTruthInfo(), Print(), and MCFluxInfoAna::ResetMuParentInfo().

px of particle off the target at interaction

Definition at line 88 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().

py of particle off the target at interaction

Definition at line 89 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().

pz of particle off the target at interaction

Definition at line 90 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().

parent type of particle out of target (PDG)

Definition at line 87 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().

primary particle interaction vtx x

Definition at line 91 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().

primary particle interaction vtx y

Definition at line 92 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().

primary particle interaction vtx z

Definition at line 93 of file NtpMCFluxInfo.h.

Referenced by NtpMCModule::FillNtpFluxInfo(), and Print().


The documentation for this class was generated from the following files:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1