MCTrue Class Reference

#include <MCTrue.h>

List of all members.

Public Member Functions

 MCTrue ()
 ~MCTrue ()
 MCTrue ()
virtual ~MCTrue ()
void Clear (Option_t *option="")

Public Attributes

double vtx_u
double vtx_v
double vtx_z
int inu
int iresonance
int iaction
int inunoosc
double nuenergy
double visenergy
double oscprob
double totbeamweight
double osc_L
double osc_dm2
double osc_sinth23
double osc_sin2th13
int type
double trainweight
double visible_energy
std::vector< NtpMCStdHepstdhep
NtpMCFluxInfo flux

Private Member Functions

void Init ()

Detailed Description

Definition at line 4 of file ParticleAna/MCTrue.h.


Constructor & Destructor Documentation

MCTrue::MCTrue (  ) 

Definition at line 3 of file ParticleAna/MCTrue.cxx.

00003                : vtx_u(0), vtx_v(0), vtx_z(0),
00004                                         inu(0), iresonance(-1), iaction(-1), inunoosc(0),
00005                                         nuenergy(0), visenergy(0), 
00006                                         oscprob(1), totbeamweight(1),
00007                                         osc_L(0), osc_dm2(0), osc_sinth23(0), osc_sin2th13(0),
00008                                         type(-1), trainweight(0)
00009 {}

MCTrue::~MCTrue (  ) 

Definition at line 11 of file ParticleAna/MCTrue.cxx.

00012 {}

MCTrue::MCTrue (  ) 
virtual MCTrue::~MCTrue (  )  [virtual]

Member Function Documentation

void MCTrue::Clear ( Option_t *  option = ""  ) 

Definition at line 22 of file ParticleFinder/MCTrue.cxx.

References Init().

Referenced by PRecord::Reset().

00022                                          {
00023   // Purpose: Clear memory allocated to arrays so that record can
00024   // be reused.  
00025 
00026         Init();
00027 
00028 }

void MCTrue::Init ( void   )  [private]

Definition at line 32 of file ParticleFinder/MCTrue.cxx.

References iaction, inu, inunoosc, iresonance, nuenergy, osc_dm2, osc_L, osc_sin2th13, osc_sinth23, oscprob, stdhep, totbeamweight, type, visible_energy, vtx_u, vtx_v, and vtx_z.

Referenced by Clear().

00032                   {
00033   // 
00034   // Purpose: Initialize ntuple TClonesArrays
00035   //
00036 
00037         vtx_u=0;
00038         vtx_v=0;
00039         vtx_z=0;
00040         inu=0;
00041         iresonance=-1;
00042         iaction=-1;
00043         inunoosc=0;
00044         nuenergy=0;
00045         oscprob=1;
00046         totbeamweight=1;
00047         osc_L=0;
00048         osc_dm2=0;
00049         osc_sinth23=0;
00050         osc_sin2th13=0;
00051         type=-1;
00052         visible_energy=0;
00053 
00054   
00055 
00056 
00057   stdhep.clear();
00058   
00059 }


Member Data Documentation

Definition at line 50 of file ParticleFinder/MCTrue.h.

Referenced by MCTrueAna::ana().

Definition at line 18 of file ParticleAna/MCTrue.h.

Referenced by MCTrueAna::ana(), and Init().

Definition at line 16 of file ParticleAna/MCTrue.h.

Referenced by MCTrueAna::ana(), and Init().

Definition at line 19 of file ParticleAna/MCTrue.h.

Referenced by MCTrueAna::ana(), and Init().

Definition at line 17 of file ParticleAna/MCTrue.h.

Referenced by MCTrueAna::ana(), and Init().

Definition at line 21 of file ParticleAna/MCTrue.h.

Referenced by MCTrueAna::ana(), and Init().

Definition at line 31 of file ParticleAna/MCTrue.h.

Referenced by MCTrueAna::ana(), and Init().

double MCTrue::osc_L

Definition at line 30 of file ParticleAna/MCTrue.h.

Referenced by MCTrueAna::ana(), and Init().

Definition at line 33 of file ParticleAna/MCTrue.h.

Referenced by MCTrueAna::ana(), and Init().

Definition at line 32 of file ParticleAna/MCTrue.h.

Referenced by MCTrueAna::ana(), and Init().

Definition at line 37 of file ParticleAna/MCTrue.h.

Definition at line 22 of file ParticleAna/MCTrue.h.

Definition at line 38 of file ParticleFinder/MCTrue.h.

Referenced by TruthCompareAna::ComputeStatistics(), and Init().

double MCTrue::vtx_u
double MCTrue::vtx_v
double MCTrue::vtx_z

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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1