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

PhysicsNtuple/FluxInfo.h

Go to the documentation of this file.
00001 #ifndef ANP_FLUXINFO_H
00002 #define ANP_FLUXINFO_H
00003 
00004 // $Id: FluxInfo.h,v 1.5 2008/03/10 19:58:05 rustem Exp $
00005 //
00006 // Monte-Carlo beam flux truth information
00007 //
00008 
00009 // C++
00010 #include <string>
00011 
00012 // ROOT
00013 #include "Rtypes.h"
00014 
00015 class NtpMCTruth;
00016 
00017 namespace Anp
00018 {   
00019    namespace Flux
00020    {
00021       enum Effect
00022       {
00023          kUnknown, kNone, kDetw, kFlux, kFluxDet, kFluxSigmaPos, kFluxSigmaNeg
00024       };
00025       
00026       const std::string AsString(Effect effect);
00027       Effect GetEffect(const std::string &name);
00028       bool IsDetector(Effect effect);
00029    }
00030 
00031    class FluxInfo
00032    {
00033    public:
00034 
00035       FluxInfo();
00036       ~FluxInfo();
00037 
00038       void Clear();
00039 
00040    public:
00041 
00042       Int_t      index;       // C index
00043       Int_t      fluxrun;     // gnumi flux run number
00044       Int_t      fluxevtno;   // gnumi flux event number
00045       Int_t      ndecay;      // Tag of decay mode
00046       Int_t      ntype;       // Neutrino type (translated to PDG)
00047       Int_t      ptype;       // nu parent type (translated to PDG)
00048       Int_t      tptype;      // parent particle type (translated to PDG)
00049       Int_t      tgen;        // parent generation in cascade
00050       
00051       Float_t    ndxdznear;   // dx/dz slope, neutrino NearDet center
00052       Float_t    ndydznear;   // dy/dz slope, neutrino NearDet center
00053       Float_t    nenergynear; // E(neutrino)    (GeV)  NearDet center
00054       Float_t    nwtnear;     // Weight of nu          NearDet center
00055       Float_t    ndxdzfar;    // dx/dz slope, neutrino FarDet center
00056       Float_t    ndydzfar;    // dy/dz slope, neutrino FarDet center
00057       Float_t    nenergyfar;  // E(neutrino)    (GeV)  FarDet center
00058       Float_t    nwtfar;      // Weight of nu          FarDet center
00059 
00060       Float_t    vx;          // x vertex of hadron (cm)
00061       Float_t    vy;          // y vertex of hadron (cm)
00062       Float_t    vz;          // z vertex of hadron (cm)
00063       Float_t    pdpx;        // nu parent px at decay point
00064       Float_t    pdpy;        // nu parent py at decay point
00065       Float_t    pdpz;        // nu parent pz at decay point
00066       Float_t    ppdxdz;      // nu parent slope at production
00067       Float_t    ppdydz;      // nu parent slope at production
00068       Float_t    pppz;        // nu parent pz at production
00069       Float_t    ppenergy;    // nu parent energy at production
00070       Float_t    ppvx;        // nu parent production vtx x
00071       Float_t    ppvy;        // nu parent production vtx y
00072       Float_t    ppvz;        // nu parent production vtx z
00073       Float_t    necm;        // E(nu) in parent cm
00074       Float_t    nimpwt;      // importance weight
00075       Float_t    tvx;         // target exit point (x) of parent
00076       Float_t    tvy;         // target exit point (y) of parent
00077       Float_t    tvz;         // target exit point (z) of parent
00078       Float_t    tpx;         // parent px at target exit
00079       Float_t    tpy;         // parent py at target exit
00080       Float_t    tpz;         // parent pz at target exit
00081    };
00082 }
00083 
00084 #endif

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