Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GnumiTree.h

Go to the documentation of this file.
00001 #ifndef GNUMI_H
00002 #define GNUMI_H
00003 
00004 class TTree;
00005 class TH2D;
00006 class GnumiTree {
00007     TTree* tree;
00008 
00009 public:
00010     int run, evtno;
00011     float ndxdz, ndydz, npz, nenergy; // random decay neutrino
00012     float ndxdznea,ndydznea,nenergyn,nwtnear; // near detector neutrino
00013     float ndxdzfar,ndydzfar,nenergyf,nwtfar; //  far  detector neutrino
00014     int norig;                  // 1=primary hadron, 2=secondary interaction, 3=muon
00015     int ndecay;                 // decay type
00016     int ntype;                  // neutrino type
00017     float vx,vy,vz;             // Vertex of hadron decay (cm)
00018     float pdpx,pdpy,pdpz;       // Momentum of neutrino parent at decay point
00019     float ppdxdz,ppdydz,pppz,ppenergy; // direction and energy of parent at parent production
00020     int ppmedium, ptype;        // GEANT medium of parent production, parent type (GEANT pid)
00021     float ppvx, ppvy, ppvz;     // Parent production vertex
00022     float muparpx;              // If parent is muon
00023     float muparpy;              //    then vector of hadron parent of muon
00024     float muparpz;              // else if muon produced with neutrino  
00025     float mupare;               //    then muon vector
00026                                 // else zero
00027     float necm;                 // E_nu in parent cm
00028     float nimpwt;               // Weight of event (from rejecting low P hadrons)
00029     float xpoint,ypoint,zpoint; // special run values selectable in gbeam.input
00030     float tvx,tvy,tvz;          // Target exit point or in target production point
00031     float tpx,tpy,tpz;          // Ibid but momentum;
00032     int tptype;                 // particle type exiting target
00033     
00034     void SetTree(TTree& tree);
00035     void paint_flux(TH2D* hist, double npot, double zloc=1039.8e2);
00036 };
00037 
00038 
00039 #endif  // GNUMI_H

Generated on Mon Feb 15 11:06:46 2010 for loon by  doxygen 1.3.9.1