REROOT_FluxInfo Class Reference

#include <REROOT_FluxInfo.h>

List of all members.

Public Member Functions

 REROOT_FluxInfo (FLUXINFO_DEF *)
 REROOT_FluxInfo ()
 ~REROOT_FluxInfo ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Int_t FluxRun () const
Int_t FluxEvtNo () const
Float_t Ndxdz () const
Float_t Ndydz () const
Float_t Npz () const
Float_t Nenergy () const
Float_t NdxdzNear () const
Float_t NdydzNear () const
Float_t NenergyN () const
Float_t NWtNear () const
Float_t NdxdzFar () const
Float_t NdydzFar () const
Float_t NenergyF () const
Float_t NWtFar () const
Int_t Norig () const
Int_t Ndecay () const
Int_t Ntype () const
Float_t Vx () const
Float_t Vy () const
Float_t Vz () const
Float_t pdPx () const
Float_t pdPy () const
Float_t pdPz () const
Float_t ppdxdz () const
Float_t ppdydz () const
Float_t pppz () const
Float_t ppenergy () const
Int_t ppmedium () const
Int_t ptype () const
Float_t ppvx () const
Float_t ppvy () const
Float_t ppvz () const
Float_t muparpx () const
Float_t muparpy () const
Float_t muparpz () const
Float_t mupare () const
Float_t Necm () const
Float_t Nimpwt () const
Float_t xpoint () const
Float_t ypoint () const
Float_t zpoint () const
Float_t tvx () const
Float_t tvy () const
Float_t tvz () const
Float_t tpx () const
Float_t tpy () const
Float_t tpz () const
Int_t tptype () const
Int_t tgen () const
Int_t tgptype () const
Float_t tgppx () const
Float_t tgppy () const
Float_t tgppz () const
Float_t tprivx () const
Float_t tprivy () const
Float_t tprivz () const
Float_t beamx () const
Float_t beamy () const
Float_t beamz () const
Float_t beampx () const
Float_t beampy () const
Float_t beampz () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Int_t m_FluxRun
Int_t m_FluxEvtNo
Float_t m_Ndxdz
Float_t m_Ndydz
Float_t m_Npz
Float_t m_Nenergy
Float_t m_NdxdzNear
Float_t m_NdydzNear
Float_t m_NenergyN
Float_t m_NWtNear
Float_t m_NdxdzFar
Float_t m_NdydzFar
Float_t m_NenergyF
Float_t m_NWtFar
Int_t m_Norig
Int_t m_Ndecay
Int_t m_Ntype
Float_t m_Vx
Float_t m_Vy
Float_t m_Vz
Float_t m_pdPx
Float_t m_pdPy
Float_t m_pdPz
Float_t m_ppdxdz
Float_t m_ppdydz
Float_t m_pppz
Float_t m_ppenergy
Int_t m_ppmedium
Int_t m_ptype
Float_t m_ppvx
Float_t m_ppvy
Float_t m_ppvz
Float_t m_muparpx
Float_t m_muparpy
Float_t m_muparpz
Float_t m_mupare
Float_t m_Necm
Float_t m_Nimpwt
Float_t m_xpoint
Float_t m_ypoint
Float_t m_zpoint
Float_t m_tvx
Float_t m_tvy
Float_t m_tvz
Float_t m_tpx
Float_t m_tpy
Float_t m_tpz
Int_t m_tptype
Int_t m_tgen
Int_t m_tgptype
Float_t m_tgppx
Float_t m_tgppy
Float_t m_tgppz
Float_t m_tprivx
Float_t m_tprivy
Float_t m_tprivz
Float_t m_beamx
Float_t m_beamy
Float_t m_beamz
Float_t m_beampx
Float_t m_beampy
Float_t m_beampz

Detailed Description

Definition at line 18 of file REROOT_FluxInfo.h.


Constructor & Destructor Documentation

REROOT_FluxInfo::REROOT_FluxInfo ( FLUXINFO_DEF nr  ) 

Definition at line 64 of file REROOT_FluxInfo.cxx.

References init().

00065 {
00066   m_ID           = nr->ID - 1;                                   // C index
00067   m_FluxRun      = nr->FluxRun;     
00068   m_FluxEvtNo    = nr->FluxEvtNo;   
00069   m_Ndxdz        = nr->Ndxdz;       
00070   m_Ndydz        = nr->Ndydz;       
00071   m_Npz          = nr->Npz;         
00072   m_Nenergy      = nr->Nenergy;     
00073   m_NdxdzNear    = nr->NdxdzNear;   
00074   m_NdydzNear    = nr->NdydzNear;   
00075   m_NenergyN     = nr->NenergyN;    
00076   m_NWtNear      = nr->NWtNear;     
00077   m_NdxdzFar     = nr->NdxdzFar;    
00078   m_NdydzFar     = nr->NdydzFar;    
00079   m_NenergyF     = nr->NenergyF;    
00080   m_NWtFar       = nr->NWtFar;      
00081   m_Norig        = nr->Norig;       
00082   m_Ndecay       = nr->Ndecay;      
00083   m_Ntype        = nr->Ntype;       
00084   m_Vx           = nr->Vx;          
00085   m_Vy           = nr->Vy;          
00086   m_Vz           = nr->Vz;          
00087   m_pdPx         = nr->pdPx;        
00088   m_pdPy         = nr->pdPy;        
00089   m_pdPz         = nr->pdPz;        
00090   m_ppdxdz       = nr->ppdxdz;      
00091   m_ppdydz       = nr->ppdydz;      
00092   m_pppz         = nr->pppz;        
00093   m_ppenergy     = nr->ppenergy;    
00094   m_ppmedium     = nr->ppmedium;    
00095   m_ptype        = nr->ptype;       
00096   m_ppvx         = nr->ppvx;        
00097   m_ppvy         = nr->ppvy;        
00098   m_ppvz         = nr->ppvz;        
00099   m_muparpx      = nr->muparpx;     
00100   m_muparpy      = nr->muparpy;     
00101   m_muparpz      = nr->muparpz;     
00102   m_mupare       = nr->mupare;      
00103   m_Necm         = nr->Necm;        
00104   m_Nimpwt       = nr->Nimpwt;      
00105   m_xpoint       = nr->xpoint;      
00106   m_ypoint       = nr->ypoint;      
00107   m_zpoint       = nr->zpoint;      
00108   m_tvx          = nr->tvx;         
00109   m_tvy          = nr->tvy;         
00110   m_tvz          = nr->tvz;         
00111   m_tpx          = nr->tpx;         
00112   m_tpy          = nr->tpy;         
00113   m_tpz          = nr->tpz;         
00114   m_tptype       = nr->tptype;      
00115   m_tgen         = nr->tgen;        
00116   // above is NEUTRINO block, below is NUGPINFO block
00117   m_tgptype      = nr->tgptype;
00118   m_tgppx        = nr->tgppx;
00119   m_tgppy        = nr->tgppy;
00120   m_tgppz        = nr->tgppz;
00121   m_tprivx       = nr->tprivx;
00122   m_tprivy       = nr->tprivy;
00123   m_tprivz       = nr->tprivz;
00124   m_beamx        = nr->beamx;
00125   m_beamy        = nr->beamy;
00126   m_beamz        = nr->beamz;
00127   m_beampx       = nr->beampx;
00128   m_beampy       = nr->beampy;
00129   m_beampz       = nr->beampz;
00130 
00131   init();
00132 }

REROOT_FluxInfo::REROOT_FluxInfo (  ) 

Definition at line 135 of file REROOT_FluxInfo.cxx.

References clear().

00136 {
00137   clear();
00138 }

REROOT_FluxInfo::~REROOT_FluxInfo (  ) 

Definition at line 146 of file REROOT_FluxInfo.cxx.

00147 {
00148 }


Member Function Documentation

virtual void REROOT_FluxInfo::accept ( REROOT_Visitor v  )  [inline, virtual]

Definition at line 94 of file REROOT_FluxInfo.h.

References REROOT_Visitor::visit().

00094 {v.visit(this);}

Float_t REROOT_FluxInfo::beampx (  )  const [inline]

Definition at line 161 of file REROOT_FluxInfo.h.

References m_beampx.

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

00161 { return    m_beampx; }  

Float_t REROOT_FluxInfo::beampy (  )  const [inline]

Definition at line 162 of file REROOT_FluxInfo.h.

References m_beampy.

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

00162 { return    m_beampy; }  

Float_t REROOT_FluxInfo::beampz (  )  const [inline]

Definition at line 163 of file REROOT_FluxInfo.h.

References m_beampz.

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

00163 { return    m_beampz; }  

Float_t REROOT_FluxInfo::beamx (  )  const [inline]

Definition at line 158 of file REROOT_FluxInfo.h.

References m_beamx.

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

00158 { return     m_beamx; }  

Float_t REROOT_FluxInfo::beamy (  )  const [inline]

Definition at line 159 of file REROOT_FluxInfo.h.

References m_beamy.

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

00159 { return     m_beamy; }  

Float_t REROOT_FluxInfo::beamz (  )  const [inline]

Definition at line 160 of file REROOT_FluxInfo.h.

References m_beamz.

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

00160 { return     m_beamz; }  

void REROOT_FluxInfo::clear (  ) 

Definition at line 151 of file REROOT_FluxInfo.cxx.

References INULL, m_beampx, m_beampy, m_beampz, m_beamx, m_beamy, m_beamz, m_tgppx, m_tgppy, m_tgppz, m_tgptype, m_tprivx, m_tprivy, m_tprivz, and RNULL.

Referenced by REROOT_FluxInfo().

00152 {
00153   const int   INULL = 2147483647;  /* null values ala ADAMO */
00154   const float RNULL = 699050.*65536.*65536.*65536.*65536.*65536.*65536.*256.;
00155 
00156   // set default to what ADAMO nulwin would set the values to
00157 
00158   // new additions for NUGPINFO
00159   m_tgptype      = INULL;
00160   m_tgppx        = RNULL;
00161   m_tgppy        = RNULL;
00162   m_tgppz        = RNULL;
00163   m_tprivx       = RNULL;
00164   m_tprivy       = RNULL;
00165   m_tprivz       = RNULL;
00166   m_beamx        = RNULL;
00167   m_beamy        = RNULL;
00168   m_beamz        = RNULL;
00169   m_beampx       = RNULL;
00170   m_beampy       = RNULL;
00171   m_beampz       = RNULL;
00172 }

Int_t REROOT_FluxInfo::FluxEvtNo (  )  const [inline]

Definition at line 102 of file REROOT_FluxInfo.h.

References m_FluxEvtNo.

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

00102 { return m_FluxEvtNo; }

Int_t REROOT_FluxInfo::FluxRun (  )  const [inline]

Definition at line 101 of file REROOT_FluxInfo.h.

References m_FluxRun.

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

00101 { return   m_FluxRun; }

Int_t REROOT_FluxInfo::ID (  )  const [inline]

Definition at line 100 of file REROOT_FluxInfo.h.

References m_ID.

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

00100 { return        m_ID; }                   // ID

void REROOT_FluxInfo::init ( void   )  [private]

Definition at line 141 of file REROOT_FluxInfo.cxx.

00142 {
00143 }

Float_t REROOT_FluxInfo::mupare (  )  const [inline]

Definition at line 136 of file REROOT_FluxInfo.h.

References m_mupare.

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

00136 { return    m_mupare; }

Float_t REROOT_FluxInfo::muparpx (  )  const [inline]

Definition at line 133 of file REROOT_FluxInfo.h.

References m_muparpx.

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

00133 { return   m_muparpx; }

Float_t REROOT_FluxInfo::muparpy (  )  const [inline]

Definition at line 134 of file REROOT_FluxInfo.h.

References m_muparpy.

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

00134 { return   m_muparpy; }

Float_t REROOT_FluxInfo::muparpz (  )  const [inline]

Definition at line 135 of file REROOT_FluxInfo.h.

References m_muparpz.

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

00135 { return   m_muparpz; }

Int_t REROOT_FluxInfo::Ndecay (  )  const [inline]

Definition at line 116 of file REROOT_FluxInfo.h.

References m_Ndecay.

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

00116 { return    m_Ndecay; }

Float_t REROOT_FluxInfo::Ndxdz (  )  const [inline]

Definition at line 103 of file REROOT_FluxInfo.h.

References m_Ndxdz.

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

00103 { return     m_Ndxdz; }

Float_t REROOT_FluxInfo::NdxdzFar (  )  const [inline]

Definition at line 111 of file REROOT_FluxInfo.h.

References m_NdxdzFar.

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

00111 { return  m_NdxdzFar; }

Float_t REROOT_FluxInfo::NdxdzNear (  )  const [inline]

Definition at line 107 of file REROOT_FluxInfo.h.

References m_NdxdzNear.

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

00107 { return m_NdxdzNear; }

Float_t REROOT_FluxInfo::Ndydz (  )  const [inline]

Definition at line 104 of file REROOT_FluxInfo.h.

References m_Ndydz.

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

00104 { return     m_Ndydz; }

Float_t REROOT_FluxInfo::NdydzFar (  )  const [inline]

Definition at line 112 of file REROOT_FluxInfo.h.

References m_NdydzFar.

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

00112 { return  m_NdydzFar; }

Float_t REROOT_FluxInfo::NdydzNear (  )  const [inline]

Definition at line 108 of file REROOT_FluxInfo.h.

References m_NdydzNear.

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

00108 { return m_NdydzNear; }

Float_t REROOT_FluxInfo::Necm (  )  const [inline]

Definition at line 137 of file REROOT_FluxInfo.h.

References m_Necm.

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

00137 { return      m_Necm; }

Float_t REROOT_FluxInfo::Nenergy (  )  const [inline]

Definition at line 106 of file REROOT_FluxInfo.h.

References m_Nenergy.

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

00106 { return   m_Nenergy; }

Float_t REROOT_FluxInfo::NenergyF (  )  const [inline]

Definition at line 113 of file REROOT_FluxInfo.h.

References m_NenergyF.

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

00113 { return  m_NenergyF; }

Float_t REROOT_FluxInfo::NenergyN (  )  const [inline]

Definition at line 109 of file REROOT_FluxInfo.h.

References m_NenergyN.

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

00109 { return  m_NenergyN; }

Float_t REROOT_FluxInfo::Nimpwt (  )  const [inline]

Definition at line 138 of file REROOT_FluxInfo.h.

References m_Nimpwt.

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

00138 { return    m_Nimpwt; }

Int_t REROOT_FluxInfo::Norig (  )  const [inline]

Definition at line 115 of file REROOT_FluxInfo.h.

References m_Norig.

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

00115 { return     m_Norig; }

Float_t REROOT_FluxInfo::Npz (  )  const [inline]

Definition at line 105 of file REROOT_FluxInfo.h.

References m_Npz.

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

00105 { return       m_Npz; }

Int_t REROOT_FluxInfo::Ntype (  )  const [inline]

Definition at line 117 of file REROOT_FluxInfo.h.

References m_Ntype.

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

00117 { return     m_Ntype; }

Float_t REROOT_FluxInfo::NWtFar (  )  const [inline]

Definition at line 114 of file REROOT_FluxInfo.h.

References m_NWtFar.

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

00114 { return    m_NWtFar; }

Float_t REROOT_FluxInfo::NWtNear (  )  const [inline]

Definition at line 110 of file REROOT_FluxInfo.h.

References m_NWtNear.

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

00110 { return   m_NWtNear; }

Float_t REROOT_FluxInfo::pdPx (  )  const [inline]

Definition at line 121 of file REROOT_FluxInfo.h.

References m_pdPx.

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

00121 { return      m_pdPx; }

Float_t REROOT_FluxInfo::pdPy (  )  const [inline]

Definition at line 122 of file REROOT_FluxInfo.h.

References m_pdPy.

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

00122 { return      m_pdPy; }

Float_t REROOT_FluxInfo::pdPz (  )  const [inline]

Definition at line 123 of file REROOT_FluxInfo.h.

References m_pdPz.

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

00123 { return      m_pdPz; }

Float_t REROOT_FluxInfo::ppdxdz (  )  const [inline]

Definition at line 124 of file REROOT_FluxInfo.h.

References m_ppdxdz.

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

00124 { return    m_ppdxdz; }

Float_t REROOT_FluxInfo::ppdydz (  )  const [inline]

Definition at line 125 of file REROOT_FluxInfo.h.

References m_ppdydz.

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

00125 { return    m_ppdydz; }

Float_t REROOT_FluxInfo::ppenergy (  )  const [inline]

Definition at line 127 of file REROOT_FluxInfo.h.

References m_ppenergy.

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

00127 { return  m_ppenergy; }

Int_t REROOT_FluxInfo::ppmedium (  )  const [inline]

Definition at line 128 of file REROOT_FluxInfo.h.

References m_ppmedium.

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

00128 { return  m_ppmedium; }

Float_t REROOT_FluxInfo::pppz (  )  const [inline]

Definition at line 126 of file REROOT_FluxInfo.h.

References m_pppz.

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

00126 { return      m_pppz; }

Float_t REROOT_FluxInfo::ppvx (  )  const [inline]

Definition at line 130 of file REROOT_FluxInfo.h.

References m_ppvx.

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

00130 { return      m_ppvx; }

Float_t REROOT_FluxInfo::ppvy (  )  const [inline]

Definition at line 131 of file REROOT_FluxInfo.h.

References m_ppvy.

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

00131 { return      m_ppvy; }

Float_t REROOT_FluxInfo::ppvz (  )  const [inline]

Definition at line 132 of file REROOT_FluxInfo.h.

References m_ppvz.

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

00132 { return      m_ppvz; }

void REROOT_FluxInfo::printEvent ( std::ostream &  pstream  )  const

Definition at line 175 of file REROOT_FluxInfo.cxx.

References beampx(), beampy(), beampz(), beamx(), beamy(), beamz(), FluxEvtNo(), FluxRun(), ID(), mupare(), muparpx(), muparpy(), muparpz(), Ndecay(), Ndxdz(), NdxdzFar(), NdxdzNear(), Ndydz(), NdydzFar(), NdydzNear(), Necm(), Nenergy(), NenergyF(), NenergyN(), Nimpwt(), Norig(), 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(), Vz(), xpoint(), ypoint(), and zpoint().

Referenced by RerootToTruthModule::Ana(), and REROOT_Event::fill_objects_from_GAF().

00176 {
00177   //pstream << "======================= FluxInfo ======================\n";
00178 
00179   const char* decayName[] = {
00180      "Undefined Ndecay"       ,
00181      "K0L -> nue pi- e+"      ,
00182      "K0L -> nuebar pi+ e-"   ,
00183      "K0L -> numu pi- mu+"    ,
00184      "K0L -> numubar pi+ mu-" ,
00185      "K+  -> numu mu+"        ,
00186      "K+  -> nue pi0 e+"      ,
00187      "K+  -> numu pi0 mu+"    ,
00188      "K-  -> numubar mu-"     ,
00189      "K-  -> nuebar pi0 e-"   ,
00190      "K-  -> numubar pi0 mu-" ,
00191      "mu+ -> numubar nue e+"  ,
00192      "mu- -> numu nuebar e-"  ,
00193      "pi+ -> numu mu+"        ,
00194      "pi- -> numubar mu-"
00195   };
00196 
00197   int prec = pstream.precision();
00198   pstream << " ===FluxInfo=== ID " << setw(4) << ID() 
00199           << " FluxRun " << setw(4) << FluxRun() 
00200           << " FluxEvtNo " << setw(8) << FluxEvtNo() 
00201           << endl;
00202   pstream << " random decay" << fixed 
00203           << " dx/dz " << setw(10) << setprecision(8) << Ndxdz()
00204           << " dx/dz " << setw(10) << setprecision(8) << Ndydz()
00205           << " pz " << setw(10) << setprecision(8) << Npz()
00206           << " E " << setw(10) << setprecision(8) << Nenergy()
00207           << endl;
00208   pstream << " Near0  decay" << fixed 
00209           << " dx/dz " << setw(10) << setprecision(8) << NdxdzNear()
00210           << " dx/dz " << setw(10) << setprecision(8) << NdydzNear()
00211           << " E " << setw(10) << setprecision(8) << NenergyN()
00212           << " wgt " << scientific << setw(10) << setprecision(6) << NWtNear()
00213           << endl;
00214   pstream << " Far0   decay" << fixed 
00215           << " dx/dz " << setw(10) << setprecision(8) << NdxdzFar()
00216           << " dx/dz " << setw(10) << setprecision(8) << NdydzFar()
00217           << " E " << setw(10) << setprecision(8) << NenergyF()
00218           << " wgt " << scientific << setw(10) << setprecision(6) << NWtFar()
00219           << endl;
00220   pstream << " Norig " << setw(4) << Norig() 
00221           << " Ndecay " << setw(4) << Ndecay()
00222           << " \"" << setw(20) << left << decayName[Ndecay()] << right << "\""
00223           << " Ntype " << setw(4) << Ntype() 
00224           << endl;
00225   pstream << " had vtx        "  << resetiosflags(ios::floatfield)
00226           << setw(15) << setprecision(8) << Vx() << ","
00227           << setw(15) << setprecision(8) << Vy() << ","
00228           << setw(15) << setprecision(8) << Vz()
00229           << endl;
00230   pstream << " parent p3 @ dk " << resetiosflags(ios::floatfield)
00231           << setw(15) << setprecision(8) << pdPx() << ","
00232           << setw(15) << setprecision(8) << pdPy() << ","
00233           << setw(15) << setprecision(8) << pdPz()
00234           << endl;
00235   pstream << " parent prod" << fixed
00236           << " dxdz " << setw(10) << setprecision(8) << ppdxdz()
00237           << " dydz " << setw(10) << setprecision(8) << ppdydz()
00238           << " pz " << setw(10) << setprecision(8) << pppz()
00239           << " E " << setw(10) << setprecision(5) << ppenergy()
00240           << endl;
00241   pstream << "    medium " << setw(4) << ppmedium()
00242           << " type " << setw(4) << ptype()
00243           << endl;
00244   pstream << "    vtx " << fixed
00245           << setw(15) << setprecision(8) << ppvx() << ","
00246           << setw(15) << setprecision(8) << ppvy() << ","
00247           << setw(15) << setprecision(8) << ppvz()
00248           << endl;
00249   pstream << " mu parent p4 " << resetiosflags(ios::floatfield)
00250           << setw(15) << setprecision(8) << muparpx() << ","
00251           << setw(15) << setprecision(8) << muparpy() << ","
00252           << setw(15) << setprecision(8) << muparpz() << ","
00253           << setw(15) << setprecision(8) << mupare()
00254           << endl;
00255   pstream << " Enu_CM " << setw(15) << setprecision(8) << Necm()
00256           << " Nimpwt " << setw(15) << setprecision(8) << Nimpwt()
00257           << endl;
00258   pstream << " point x,y,z " << resetiosflags(ios::floatfield)
00259           << setw(15) << setprecision(8) << xpoint() << ","
00260           << setw(15) << setprecision(8) << ypoint() << ","
00261           << setw(15) << setprecision(8) << zpoint()
00262           << endl;
00263   pstream << " tv    x,y,z " << resetiosflags(ios::floatfield)
00264           << setw(15) << setprecision(8) << tvx() << ","
00265           << setw(15) << setprecision(8) << tvy() << ","
00266           << setw(15) << setprecision(8) << tvz()
00267           << endl;
00268   pstream << " tv px,py,pz " << resetiosflags(ios::floatfield)
00269           << setw(15) << setprecision(8) << tpx() << ","
00270           << setw(15) << setprecision(8) << tpy() << ","
00271           << setw(15) << setprecision(8) << tpz()
00272           << endl;
00273   pstream << " tptype " << setw(4) << tptype()
00274           << " tgen " << setw(4) << tgen()
00275           << endl;
00276   pstream << " tgptype " << setw(4) << tgptype();
00277   pstream << " tgp px,py,pz " << resetiosflags(ios::floatfield)
00278           << setw(15) << setprecision(8) << tgppx() << ","
00279           << setw(15) << setprecision(8) << tgppy() << ","
00280           << setw(15) << setprecision(8) << tgppz()
00281           << endl;
00282   pstream << " tpriv x,y,z " << resetiosflags(ios::floatfield)
00283           << setw(15) << setprecision(8) << tprivx() << ","
00284           << setw(15) << setprecision(8) << tprivy() << ","
00285           << setw(15) << setprecision(8) << tprivz()
00286           << endl;
00287   pstream << " beam x,y,z " << resetiosflags(ios::floatfield)
00288           << setw(15) << setprecision(8) << beamx() << ","
00289           << setw(15) << setprecision(8) << beamy() << ","
00290           << setw(15) << setprecision(8) << beamz()
00291           << endl;
00292   pstream << " beam px,py,pz " << resetiosflags(ios::floatfield)
00293           << setw(15) << setprecision(8) << beampx() << ","
00294           << setw(15) << setprecision(8) << beampy() << ","
00295           << setw(15) << setprecision(8) << beampz()
00296           << endl;
00297 
00298 
00299   pstream << resetiosflags(ios::floatfield|ios::adjustfield);  // reset to "%g" format
00300   pstream << setprecision(prec); // restore precision we started with
00301 
00302   /***********************
00303      print 8000,run,evtno,Ndxdz,Ndydz,Npz,Nenergy,NdxdzNea
00304      + ,NdydzNea,NenergyN,NWtNear,NdxdzFar,NdydzFar,NenergyF,NWtFar
00305      + ,Norig,Ndecay,decayName(Ndecay),
00306      +               Ntype,Vx,Vy,Vz,pdPx,pdPy,pdPz,ppdxdz,ppdydz,pppz
00307      + ,ppenergy,ppmedium,ptype,ppvx,ppvy,ppvz,muparpx,muparpy,muparpz
00308      + ,mupare,Necm,Nimpwt,xpoint,ypoint,zpoint,tvx,tvy,tvz,tpx,tpy,tpz
00309      + ,tptype,tgen
00310       print 8001,tgptype,tgppx,tgppy,tgppz,tprivx,tprivy,tprivz
00311      + ,beamx,beamy,beamz,beampx,beampy,beampz
00312  
00313  8000 format('/NEUTRINO/ run ',i4,' evt ',i8,/,
00314      &     '  random dxdz ',f10.8,' dydz ',f10.8,' pz ',f10.5,
00315      &     ' e ',f10.5,/,
00316      &     '  near0  dxdz ',f10.8,' dydz ',f10.8,' e ',f10.5,
00317      &     ' wgt ',g15.8,/,
00318      &     '  far0   dxdz ',f10.8,' dydz ',f10.8,' e ',f10.5,
00319      &     ' wgt ',g15.8,/,
00320      &     ' Norig ',i4,' Ndecay ',i4,' "',a20,'" Ntype ',i4,/,
00321      &     ' had vtx        ',g15.8,',',g15.8,',',g15.8,/,
00322      &     ' parent p3 @ dk ',g15.8,',',g15.8,',',g15.8,/,
00323      &     ' parent prod dxdz ',f10.8,' dydz ',f10.8,
00324      &     ' pz ',f10.8,' e ',f10.5,/,
00325      &     '    medium ',i4,' type ',i4,/,
00326      &     '    vtx ',g15.8,',',g15.8,',',g15.8,/,
00327      &     ' mu parent p4 ',g15.8,',',g15.8,',',g15.8,',',g15.8,/,
00328      &     ' Enu_CM ',g15.8,' Nimpwt ',g15.8,/,
00329      &     ' point x,y,z ',g15.8,',',g15.8,',',g15.8,/,
00330      &     ' tv    x,y,z ',g15.8,',',g15.8,',',g15.8,/,
00331      &     ' tv px,py,pz ',g15.8,',',g15.8,',',g15.8,/,
00332      &     '  tptype ',i4,' tgen ',i4)
00333  8001 format(' tgptype ',i4,
00334      &     ' tgp  px,py,pz ',g15.8,',',g15.8,',',g15.8,/,
00335      &     ' tpriv   x,y,z ',g15.8,',',g15.8,',',g15.8,/,
00336      &     ' beam    x,y,z ',g15.8,',',g15.8,',',g15.8,/,
00337      &     ' beam px,py,pz ',g14.8,',',g15.8,',',g15.8)
00338   ************************/
00339 
00340 }

Int_t REROOT_FluxInfo::ptype (  )  const [inline]

Definition at line 129 of file REROOT_FluxInfo.h.

References m_ptype.

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

00129 { return     m_ptype; }

Int_t REROOT_FluxInfo::tgen (  )  const [inline]

Definition at line 149 of file REROOT_FluxInfo.h.

References m_tgen.

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

00149 { return      m_tgen; }

Float_t REROOT_FluxInfo::tgppx (  )  const [inline]

Definition at line 152 of file REROOT_FluxInfo.h.

References m_tgppx.

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

00152 { return     m_tgppx; }  

Float_t REROOT_FluxInfo::tgppy (  )  const [inline]

Definition at line 153 of file REROOT_FluxInfo.h.

References m_tgppy.

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

00153 { return     m_tgppy; }  

Float_t REROOT_FluxInfo::tgppz (  )  const [inline]

Definition at line 154 of file REROOT_FluxInfo.h.

References m_tgppz.

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

00154 { return     m_tgppz; }  

Int_t REROOT_FluxInfo::tgptype (  )  const [inline]

Definition at line 151 of file REROOT_FluxInfo.h.

References m_tgptype.

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

00151 { return   m_tgptype; }  

Float_t REROOT_FluxInfo::tprivx (  )  const [inline]

Definition at line 155 of file REROOT_FluxInfo.h.

References m_tprivx.

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

00155 { return    m_tprivx; }  

Float_t REROOT_FluxInfo::tprivy (  )  const [inline]

Definition at line 156 of file REROOT_FluxInfo.h.

References m_tprivy.

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

00156 { return    m_tprivy; }  

Float_t REROOT_FluxInfo::tprivz (  )  const [inline]

Definition at line 157 of file REROOT_FluxInfo.h.

References m_tprivz.

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

00157 { return    m_tprivz; }  

Int_t REROOT_FluxInfo::tptype (  )  const [inline]

Definition at line 148 of file REROOT_FluxInfo.h.

References m_tptype.

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

00148 { return    m_tptype; }

Float_t REROOT_FluxInfo::tpx (  )  const [inline]

Definition at line 145 of file REROOT_FluxInfo.h.

References m_tpx.

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

00145 { return       m_tpx; }

Float_t REROOT_FluxInfo::tpy (  )  const [inline]

Definition at line 146 of file REROOT_FluxInfo.h.

References m_tpy.

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

00146 { return       m_tpy; }

Float_t REROOT_FluxInfo::tpz (  )  const [inline]

Definition at line 147 of file REROOT_FluxInfo.h.

References m_tpz.

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

00147 { return       m_tpz; }

Float_t REROOT_FluxInfo::tvx (  )  const [inline]

Definition at line 142 of file REROOT_FluxInfo.h.

References m_tvx.

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

00142 { return       m_tvx; }

Float_t REROOT_FluxInfo::tvy (  )  const [inline]

Definition at line 143 of file REROOT_FluxInfo.h.

References m_tvy.

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

00143 { return       m_tvy; }

Float_t REROOT_FluxInfo::tvz (  )  const [inline]

Definition at line 144 of file REROOT_FluxInfo.h.

References m_tvz.

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

00144 { return       m_tvz; }

Float_t REROOT_FluxInfo::Vx (  )  const [inline]

Definition at line 118 of file REROOT_FluxInfo.h.

References m_Vx.

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

00118 { return        m_Vx; }

Float_t REROOT_FluxInfo::Vy (  )  const [inline]

Definition at line 119 of file REROOT_FluxInfo.h.

References m_Vy.

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

00119 { return        m_Vy; }

Float_t REROOT_FluxInfo::Vz (  )  const [inline]

Definition at line 120 of file REROOT_FluxInfo.h.

References m_Vz.

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

00120 { return        m_Vz; }

Float_t REROOT_FluxInfo::xpoint (  )  const [inline]

Definition at line 139 of file REROOT_FluxInfo.h.

References m_xpoint.

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

00139 { return    m_xpoint; }

Float_t REROOT_FluxInfo::ypoint (  )  const [inline]

Definition at line 140 of file REROOT_FluxInfo.h.

References m_ypoint.

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

00140 { return    m_ypoint; }

Float_t REROOT_FluxInfo::zpoint (  )  const [inline]

Definition at line 141 of file REROOT_FluxInfo.h.

References m_zpoint.

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

00141 { return    m_zpoint; }


Member Data Documentation

Float_t REROOT_FluxInfo::m_beampx [private]

Definition at line 82 of file REROOT_FluxInfo.h.

Referenced by beampx(), and clear().

Float_t REROOT_FluxInfo::m_beampy [private]

Definition at line 83 of file REROOT_FluxInfo.h.

Referenced by beampy(), and clear().

Float_t REROOT_FluxInfo::m_beampz [private]

Definition at line 84 of file REROOT_FluxInfo.h.

Referenced by beampz(), and clear().

Float_t REROOT_FluxInfo::m_beamx [private]

Definition at line 79 of file REROOT_FluxInfo.h.

Referenced by beamx(), and clear().

Float_t REROOT_FluxInfo::m_beamy [private]

Definition at line 80 of file REROOT_FluxInfo.h.

Referenced by beamy(), and clear().

Float_t REROOT_FluxInfo::m_beamz [private]

Definition at line 81 of file REROOT_FluxInfo.h.

Referenced by beamz(), and clear().

Definition at line 23 of file REROOT_FluxInfo.h.

Referenced by FluxEvtNo().

Int_t REROOT_FluxInfo::m_FluxRun [private]

Definition at line 22 of file REROOT_FluxInfo.h.

Referenced by FluxRun().

Int_t REROOT_FluxInfo::m_ID [private]

Definition at line 21 of file REROOT_FluxInfo.h.

Referenced by ID().

Float_t REROOT_FluxInfo::m_mupare [private]

Definition at line 57 of file REROOT_FluxInfo.h.

Referenced by mupare().

Float_t REROOT_FluxInfo::m_muparpx [private]

Definition at line 54 of file REROOT_FluxInfo.h.

Referenced by muparpx().

Float_t REROOT_FluxInfo::m_muparpy [private]

Definition at line 55 of file REROOT_FluxInfo.h.

Referenced by muparpy().

Float_t REROOT_FluxInfo::m_muparpz [private]

Definition at line 56 of file REROOT_FluxInfo.h.

Referenced by muparpz().

Int_t REROOT_FluxInfo::m_Ndecay [private]

Definition at line 37 of file REROOT_FluxInfo.h.

Referenced by Ndecay().

Float_t REROOT_FluxInfo::m_Ndxdz [private]

Definition at line 24 of file REROOT_FluxInfo.h.

Referenced by Ndxdz().

Float_t REROOT_FluxInfo::m_NdxdzFar [private]

Definition at line 32 of file REROOT_FluxInfo.h.

Referenced by NdxdzFar().

Float_t REROOT_FluxInfo::m_NdxdzNear [private]

Definition at line 28 of file REROOT_FluxInfo.h.

Referenced by NdxdzNear().

Float_t REROOT_FluxInfo::m_Ndydz [private]

Definition at line 25 of file REROOT_FluxInfo.h.

Referenced by Ndydz().

Float_t REROOT_FluxInfo::m_NdydzFar [private]

Definition at line 33 of file REROOT_FluxInfo.h.

Referenced by NdydzFar().

Float_t REROOT_FluxInfo::m_NdydzNear [private]

Definition at line 29 of file REROOT_FluxInfo.h.

Referenced by NdydzNear().

Float_t REROOT_FluxInfo::m_Necm [private]

Definition at line 58 of file REROOT_FluxInfo.h.

Referenced by Necm().

Float_t REROOT_FluxInfo::m_Nenergy [private]

Definition at line 27 of file REROOT_FluxInfo.h.

Referenced by Nenergy().

Float_t REROOT_FluxInfo::m_NenergyF [private]

Definition at line 34 of file REROOT_FluxInfo.h.

Referenced by NenergyF().

Float_t REROOT_FluxInfo::m_NenergyN [private]

Definition at line 30 of file REROOT_FluxInfo.h.

Referenced by NenergyN().

Float_t REROOT_FluxInfo::m_Nimpwt [private]

Definition at line 59 of file REROOT_FluxInfo.h.

Referenced by Nimpwt().

Int_t REROOT_FluxInfo::m_Norig [private]

Definition at line 36 of file REROOT_FluxInfo.h.

Referenced by Norig().

Float_t REROOT_FluxInfo::m_Npz [private]

Definition at line 26 of file REROOT_FluxInfo.h.

Referenced by Npz().

Int_t REROOT_FluxInfo::m_Ntype [private]

Definition at line 38 of file REROOT_FluxInfo.h.

Referenced by Ntype().

Float_t REROOT_FluxInfo::m_NWtFar [private]

Definition at line 35 of file REROOT_FluxInfo.h.

Referenced by NWtFar().

Float_t REROOT_FluxInfo::m_NWtNear [private]

Definition at line 31 of file REROOT_FluxInfo.h.

Referenced by NWtNear().

Float_t REROOT_FluxInfo::m_pdPx [private]

Definition at line 42 of file REROOT_FluxInfo.h.

Referenced by pdPx().

Float_t REROOT_FluxInfo::m_pdPy [private]

Definition at line 43 of file REROOT_FluxInfo.h.

Referenced by pdPy().

Float_t REROOT_FluxInfo::m_pdPz [private]

Definition at line 44 of file REROOT_FluxInfo.h.

Referenced by pdPz().

Float_t REROOT_FluxInfo::m_ppdxdz [private]

Definition at line 45 of file REROOT_FluxInfo.h.

Referenced by ppdxdz().

Float_t REROOT_FluxInfo::m_ppdydz [private]

Definition at line 46 of file REROOT_FluxInfo.h.

Referenced by ppdydz().

Float_t REROOT_FluxInfo::m_ppenergy [private]

Definition at line 48 of file REROOT_FluxInfo.h.

Referenced by ppenergy().

Int_t REROOT_FluxInfo::m_ppmedium [private]

Definition at line 49 of file REROOT_FluxInfo.h.

Referenced by ppmedium().

Float_t REROOT_FluxInfo::m_pppz [private]

Definition at line 47 of file REROOT_FluxInfo.h.

Referenced by pppz().

Float_t REROOT_FluxInfo::m_ppvx [private]

Definition at line 51 of file REROOT_FluxInfo.h.

Referenced by ppvx().

Float_t REROOT_FluxInfo::m_ppvy [private]

Definition at line 52 of file REROOT_FluxInfo.h.

Referenced by ppvy().

Float_t REROOT_FluxInfo::m_ppvz [private]

Definition at line 53 of file REROOT_FluxInfo.h.

Referenced by ppvz().

Int_t REROOT_FluxInfo::m_ptype [private]

Definition at line 50 of file REROOT_FluxInfo.h.

Referenced by ptype().

Int_t REROOT_FluxInfo::m_tgen [private]

Definition at line 70 of file REROOT_FluxInfo.h.

Referenced by tgen().

Float_t REROOT_FluxInfo::m_tgppx [private]

Definition at line 73 of file REROOT_FluxInfo.h.

Referenced by clear(), and tgppx().

Float_t REROOT_FluxInfo::m_tgppy [private]

Definition at line 74 of file REROOT_FluxInfo.h.

Referenced by clear(), and tgppy().

Float_t REROOT_FluxInfo::m_tgppz [private]

Definition at line 75 of file REROOT_FluxInfo.h.

Referenced by clear(), and tgppz().

Int_t REROOT_FluxInfo::m_tgptype [private]

Definition at line 72 of file REROOT_FluxInfo.h.

Referenced by clear(), and tgptype().

Float_t REROOT_FluxInfo::m_tprivx [private]

Definition at line 76 of file REROOT_FluxInfo.h.

Referenced by clear(), and tprivx().

Float_t REROOT_FluxInfo::m_tprivy [private]

Definition at line 77 of file REROOT_FluxInfo.h.

Referenced by clear(), and tprivy().

Float_t REROOT_FluxInfo::m_tprivz [private]

Definition at line 78 of file REROOT_FluxInfo.h.

Referenced by clear(), and tprivz().

Int_t REROOT_FluxInfo::m_tptype [private]

Definition at line 69 of file REROOT_FluxInfo.h.

Referenced by tptype().

Float_t REROOT_FluxInfo::m_tpx [private]

Definition at line 66 of file REROOT_FluxInfo.h.

Referenced by tpx().

Float_t REROOT_FluxInfo::m_tpy [private]

Definition at line 67 of file REROOT_FluxInfo.h.

Referenced by tpy().

Float_t REROOT_FluxInfo::m_tpz [private]

Definition at line 68 of file REROOT_FluxInfo.h.

Referenced by tpz().

Float_t REROOT_FluxInfo::m_tvx [private]

Definition at line 63 of file REROOT_FluxInfo.h.

Referenced by tvx().

Float_t REROOT_FluxInfo::m_tvy [private]

Definition at line 64 of file REROOT_FluxInfo.h.

Referenced by tvy().

Float_t REROOT_FluxInfo::m_tvz [private]

Definition at line 65 of file REROOT_FluxInfo.h.

Referenced by tvz().

Float_t REROOT_FluxInfo::m_Vx [private]

Definition at line 39 of file REROOT_FluxInfo.h.

Referenced by Vx().

Float_t REROOT_FluxInfo::m_Vy [private]

Definition at line 40 of file REROOT_FluxInfo.h.

Referenced by Vy().

Float_t REROOT_FluxInfo::m_Vz [private]

Definition at line 41 of file REROOT_FluxInfo.h.

Referenced by Vz().

Float_t REROOT_FluxInfo::m_xpoint [private]

Definition at line 60 of file REROOT_FluxInfo.h.

Referenced by xpoint().

Float_t REROOT_FluxInfo::m_ypoint [private]

Definition at line 61 of file REROOT_FluxInfo.h.

Referenced by ypoint().

Float_t REROOT_FluxInfo::m_zpoint [private]

Definition at line 62 of file REROOT_FluxInfo.h.

Referenced by zpoint().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1