Public Member Functions | Public Attributes | List of all members
nudata Class Reference

#include <nudata.h>

Public Member Functions

 nudata (TTree *tree=0)
 
virtual ~nudata ()
 
virtual Int_t Cut (Long64_t entry)
 
virtual Int_t GetEntry (Long64_t entry)
 
virtual Long64_t LoadTree (Long64_t entry)
 
virtual void Init (TTree *tree)
 
virtual void Loop ()
 
virtual Bool_t Notify ()
 
virtual void Show (Long64_t entry=-1)
 
std::string GetPOTAsString (const double dpot)
 
void SetTitles (TH1 *h, const std::string &xtitle="", const std::string &ytitle="")
 
double GetWeight (const std::vector< double > xdet, double &nu_wght, double &nu_energy)
 

Public Attributes

TChain * fChain
 
Int_t fCurrent
 pointer to the analyzed TTree or TChain More...
 
Double_t fTotalPOT
 current Tree number in a TChain More...
 
std::string ffilename
 
Int_t run
 
Int_t evtno
 
Int_t protonN
 
Float_t beamHWidth
 
Float_t beamVWidth
 
Float_t beamX
 
Float_t beamY
 
Float_t protonX
 
Float_t protonY
 
Float_t protonZ
 
Float_t protonPx
 
Float_t protonPy
 
Float_t protonPz
 
Float_t nuTarZ
 
Float_t hornCurrent
 
Float_t Ndxdz
 
Float_t Ndydz
 
Float_t Npz
 
Float_t Nenergy
 
Float_t NdxdzNear [5]
 
Float_t NdydzNear [5]
 
Float_t NenergyN [5]
 
Double_t NWtNear [5]
 
Float_t NdxdzFar [3]
 
Float_t NdydzFar [3]
 
Float_t NenergyF [3]
 
Double_t NWtFar [3]
 
Int_t Norig
 
Int_t Ndecay
 
Int_t Ntype
 
Float_t Vx
 
Float_t Vy
 
Float_t Vz
 
Float_t pdPx
 
Float_t pdPy
 
Float_t pdPz
 
Float_t ppdxdz
 
Float_t ppdydz
 
Float_t pppz
 
Float_t ppenergy
 
Float_t ppmedium
 
Int_t ptype
 
Int_t ptrkid
 
Float_t ppvx
 
Float_t ppvy
 
Float_t ppvz
 
Float_t muparpx
 
Float_t muparpy
 
Float_t muparpz
 
Float_t mupare
 
Float_t Necm
 
Double_t Nimpwt
 
Float_t xpoint
 
Float_t ypoint
 
Float_t zpoint
 
Float_t tvx
 
Float_t tvy
 
Float_t tvz
 
Float_t tpx
 
Float_t tpy
 
Float_t tpz
 
Int_t tptype
 
Int_t tgen
 
TBranch * b_data_run
 
TBranch * b_data_evtno
 
TBranch * b_data_protonN
 
TBranch * b_data_beamHWidth
 
TBranch * b_data_beamVWidth
 
TBranch * b_data_beamX
 
TBranch * b_data_beamY
 
TBranch * b_data_protonX
 
TBranch * b_data_protonY
 
TBranch * b_data_protonZ
 
TBranch * b_data_protonPx
 
TBranch * b_data_protonPy
 
TBranch * b_data_protonPz
 
TBranch * b_data_nuTarZ
 
TBranch * b_data_hornCurrent
 
TBranch * b_data_Ndxdz
 
TBranch * b_data_Ndydz
 
TBranch * b_data_Npz
 
TBranch * b_data_Nenergy
 
TBranch * b_data_NdxdzNear
 
TBranch * b_data_NdydzNear
 
TBranch * b_data_NenergyN
 
TBranch * b_data_NWtNear
 
TBranch * b_data_NdxdzFar
 
TBranch * b_data_NdydzFar
 
TBranch * b_data_NenergyF
 
TBranch * b_data_NWtFar
 
TBranch * b_data_Norig
 
TBranch * b_data_Ndecay
 
TBranch * b_data_Ntype
 
TBranch * b_data_Vx
 
TBranch * b_data_Vy
 
TBranch * b_data_Vz
 
TBranch * b_data_pdPx
 
TBranch * b_data_pdPy
 
TBranch * b_data_pdPz
 
TBranch * b_data_ppdxdz
 
TBranch * b_data_ppdydz
 
TBranch * b_data_pppz
 
TBranch * b_data_ppenergy
 
TBranch * b_data_ppmedium
 
TBranch * b_data_ptype
 
TBranch * b_data_ptrkid
 
TBranch * b_data_ppvx
 
TBranch * b_data_ppvy
 
TBranch * b_data_ppvz
 
TBranch * b_data_muparpx
 
TBranch * b_data_muparpy
 
TBranch * b_data_muparpz
 
TBranch * b_data_mupare
 
TBranch * b_data_Necm
 
TBranch * b_data_Nimpwt
 
TBranch * b_data_xpoint
 
TBranch * b_data_ypoint
 
TBranch * b_data_zpoint
 
TBranch * b_data_tvx
 
TBranch * b_data_tvy
 
TBranch * b_data_tvz
 
TBranch * b_data_tpx
 
TBranch * b_data_tpy
 
TBranch * b_data_tpz
 
TBranch * b_data_tptype
 
TBranch * b_data_tgen
 

Detailed Description

Definition at line 21 of file nudata.h.

Constructor & Destructor Documentation

nudata::nudata ( TTree *  tree = 0)
virtual nudata::~nudata ( )
virtual

Member Function Documentation

virtual Int_t nudata::Cut ( Long64_t  entry)
virtual
virtual Int_t nudata::GetEntry ( Long64_t  entry)
virtual
std::string nudata::GetPOTAsString ( const double  dpot)
double nudata::GetWeight ( const std::vector< double >  xdet,
double &  nu_wght,
double &  nu_energy 
)
virtual void nudata::Init ( TTree *  tree)
virtual
virtual Long64_t nudata::LoadTree ( Long64_t  entry)
virtual
virtual void nudata::Loop ( )
virtual
virtual Bool_t nudata::Notify ( )
virtual
void nudata::SetTitles ( TH1 *  h,
const std::string xtitle = "",
const std::string ytitle = "" 
)
virtual void nudata::Show ( Long64_t  entry = -1)
virtual

Member Data Documentation

TBranch* nudata::b_data_beamHWidth

Definition at line 102 of file nudata.h.

TBranch* nudata::b_data_beamVWidth

Definition at line 103 of file nudata.h.

TBranch* nudata::b_data_beamX

Definition at line 104 of file nudata.h.

TBranch* nudata::b_data_beamY

Definition at line 105 of file nudata.h.

TBranch* nudata::b_data_evtno

Definition at line 100 of file nudata.h.

TBranch* nudata::b_data_hornCurrent

Definition at line 113 of file nudata.h.

TBranch* nudata::b_data_mupare

Definition at line 148 of file nudata.h.

TBranch* nudata::b_data_muparpx

Definition at line 145 of file nudata.h.

TBranch* nudata::b_data_muparpy

Definition at line 146 of file nudata.h.

TBranch* nudata::b_data_muparpz

Definition at line 147 of file nudata.h.

TBranch* nudata::b_data_Ndecay

Definition at line 127 of file nudata.h.

TBranch* nudata::b_data_Ndxdz

Definition at line 114 of file nudata.h.

TBranch* nudata::b_data_NdxdzFar

Definition at line 122 of file nudata.h.

TBranch* nudata::b_data_NdxdzNear

Definition at line 118 of file nudata.h.

TBranch* nudata::b_data_Ndydz

Definition at line 115 of file nudata.h.

TBranch* nudata::b_data_NdydzFar

Definition at line 123 of file nudata.h.

TBranch* nudata::b_data_NdydzNear

Definition at line 119 of file nudata.h.

TBranch* nudata::b_data_Necm

Definition at line 149 of file nudata.h.

TBranch* nudata::b_data_Nenergy

Definition at line 117 of file nudata.h.

TBranch* nudata::b_data_NenergyF

Definition at line 124 of file nudata.h.

TBranch* nudata::b_data_NenergyN

Definition at line 120 of file nudata.h.

TBranch* nudata::b_data_Nimpwt

Definition at line 150 of file nudata.h.

TBranch* nudata::b_data_Norig

Definition at line 126 of file nudata.h.

TBranch* nudata::b_data_Npz

Definition at line 116 of file nudata.h.

TBranch* nudata::b_data_Ntype

Definition at line 128 of file nudata.h.

TBranch* nudata::b_data_nuTarZ

Definition at line 112 of file nudata.h.

TBranch* nudata::b_data_NWtFar

Definition at line 125 of file nudata.h.

TBranch* nudata::b_data_NWtNear

Definition at line 121 of file nudata.h.

TBranch* nudata::b_data_pdPx

Definition at line 132 of file nudata.h.

TBranch* nudata::b_data_pdPy

Definition at line 133 of file nudata.h.

TBranch* nudata::b_data_pdPz

Definition at line 134 of file nudata.h.

TBranch* nudata::b_data_ppdxdz

Definition at line 135 of file nudata.h.

TBranch* nudata::b_data_ppdydz

Definition at line 136 of file nudata.h.

TBranch* nudata::b_data_ppenergy

Definition at line 138 of file nudata.h.

TBranch* nudata::b_data_ppmedium

Definition at line 139 of file nudata.h.

TBranch* nudata::b_data_pppz

Definition at line 137 of file nudata.h.

TBranch* nudata::b_data_ppvx

Definition at line 142 of file nudata.h.

TBranch* nudata::b_data_ppvy

Definition at line 143 of file nudata.h.

TBranch* nudata::b_data_ppvz

Definition at line 144 of file nudata.h.

TBranch* nudata::b_data_protonN

Definition at line 101 of file nudata.h.

TBranch* nudata::b_data_protonPx

Definition at line 109 of file nudata.h.

TBranch* nudata::b_data_protonPy

Definition at line 110 of file nudata.h.

TBranch* nudata::b_data_protonPz

Definition at line 111 of file nudata.h.

TBranch* nudata::b_data_protonX

Definition at line 106 of file nudata.h.

TBranch* nudata::b_data_protonY

Definition at line 107 of file nudata.h.

TBranch* nudata::b_data_protonZ

Definition at line 108 of file nudata.h.

TBranch* nudata::b_data_ptrkid

Definition at line 141 of file nudata.h.

TBranch* nudata::b_data_ptype

Definition at line 140 of file nudata.h.

TBranch* nudata::b_data_run

Definition at line 99 of file nudata.h.

TBranch* nudata::b_data_tgen

Definition at line 161 of file nudata.h.

TBranch* nudata::b_data_tptype

Definition at line 160 of file nudata.h.

TBranch* nudata::b_data_tpx

Definition at line 157 of file nudata.h.

TBranch* nudata::b_data_tpy

Definition at line 158 of file nudata.h.

TBranch* nudata::b_data_tpz

Definition at line 159 of file nudata.h.

TBranch* nudata::b_data_tvx

Definition at line 154 of file nudata.h.

TBranch* nudata::b_data_tvy

Definition at line 155 of file nudata.h.

TBranch* nudata::b_data_tvz

Definition at line 156 of file nudata.h.

TBranch* nudata::b_data_Vx

Definition at line 129 of file nudata.h.

TBranch* nudata::b_data_Vy

Definition at line 130 of file nudata.h.

TBranch* nudata::b_data_Vz

Definition at line 131 of file nudata.h.

TBranch* nudata::b_data_xpoint

Definition at line 151 of file nudata.h.

TBranch* nudata::b_data_ypoint

Definition at line 152 of file nudata.h.

TBranch* nudata::b_data_zpoint

Definition at line 153 of file nudata.h.

Float_t nudata::beamHWidth

Definition at line 36 of file nudata.h.

Float_t nudata::beamVWidth

Definition at line 37 of file nudata.h.

Float_t nudata::beamX

Definition at line 38 of file nudata.h.

Float_t nudata::beamY

Definition at line 39 of file nudata.h.

Int_t nudata::evtno

Definition at line 34 of file nudata.h.

TChain* nudata::fChain

Definition at line 24 of file nudata.h.

Int_t nudata::fCurrent

pointer to the analyzed TTree or TChain

Definition at line 26 of file nudata.h.

std::string nudata::ffilename

Definition at line 29 of file nudata.h.

Double_t nudata::fTotalPOT

current Tree number in a TChain

Definition at line 28 of file nudata.h.

Float_t nudata::hornCurrent

Definition at line 47 of file nudata.h.

Float_t nudata::mupare

Definition at line 82 of file nudata.h.

Float_t nudata::muparpx

Definition at line 79 of file nudata.h.

Float_t nudata::muparpy

Definition at line 80 of file nudata.h.

Float_t nudata::muparpz

Definition at line 81 of file nudata.h.

Int_t nudata::Ndecay

Definition at line 61 of file nudata.h.

Float_t nudata::Ndxdz

Definition at line 48 of file nudata.h.

Float_t nudata::NdxdzFar[3]

Definition at line 56 of file nudata.h.

Float_t nudata::NdxdzNear[5]

Definition at line 52 of file nudata.h.

Float_t nudata::Ndydz

Definition at line 49 of file nudata.h.

Float_t nudata::NdydzFar[3]

Definition at line 57 of file nudata.h.

Float_t nudata::NdydzNear[5]

Definition at line 53 of file nudata.h.

Float_t nudata::Necm

Definition at line 83 of file nudata.h.

Float_t nudata::Nenergy

Definition at line 51 of file nudata.h.

Float_t nudata::NenergyF[3]

Definition at line 58 of file nudata.h.

Float_t nudata::NenergyN[5]

Definition at line 54 of file nudata.h.

Double_t nudata::Nimpwt

Definition at line 84 of file nudata.h.

Int_t nudata::Norig

Definition at line 60 of file nudata.h.

Float_t nudata::Npz

Definition at line 50 of file nudata.h.

Int_t nudata::Ntype

Definition at line 62 of file nudata.h.

Float_t nudata::nuTarZ

Definition at line 46 of file nudata.h.

Double_t nudata::NWtFar[3]

Definition at line 59 of file nudata.h.

Double_t nudata::NWtNear[5]

Definition at line 55 of file nudata.h.

Float_t nudata::pdPx

Definition at line 66 of file nudata.h.

Float_t nudata::pdPy

Definition at line 67 of file nudata.h.

Float_t nudata::pdPz

Definition at line 68 of file nudata.h.

Float_t nudata::ppdxdz

Definition at line 69 of file nudata.h.

Float_t nudata::ppdydz

Definition at line 70 of file nudata.h.

Float_t nudata::ppenergy

Definition at line 72 of file nudata.h.

Float_t nudata::ppmedium

Definition at line 73 of file nudata.h.

Float_t nudata::pppz

Definition at line 71 of file nudata.h.

Float_t nudata::ppvx

Definition at line 76 of file nudata.h.

Float_t nudata::ppvy

Definition at line 77 of file nudata.h.

Float_t nudata::ppvz

Definition at line 78 of file nudata.h.

Int_t nudata::protonN

Definition at line 35 of file nudata.h.

Float_t nudata::protonPx

Definition at line 43 of file nudata.h.

Float_t nudata::protonPy

Definition at line 44 of file nudata.h.

Float_t nudata::protonPz

Definition at line 45 of file nudata.h.

Float_t nudata::protonX

Definition at line 40 of file nudata.h.

Float_t nudata::protonY

Definition at line 41 of file nudata.h.

Float_t nudata::protonZ

Definition at line 42 of file nudata.h.

Int_t nudata::ptrkid

Definition at line 75 of file nudata.h.

Int_t nudata::ptype

Definition at line 74 of file nudata.h.

Int_t nudata::run

Definition at line 33 of file nudata.h.

Int_t nudata::tgen

Definition at line 95 of file nudata.h.

Int_t nudata::tptype

Definition at line 94 of file nudata.h.

Float_t nudata::tpx

Definition at line 91 of file nudata.h.

Float_t nudata::tpy

Definition at line 92 of file nudata.h.

Float_t nudata::tpz

Definition at line 93 of file nudata.h.

Float_t nudata::tvx

Definition at line 88 of file nudata.h.

Float_t nudata::tvy

Definition at line 89 of file nudata.h.

Float_t nudata::tvz

Definition at line 90 of file nudata.h.

Float_t nudata::Vx

Definition at line 63 of file nudata.h.

Float_t nudata::Vy

Definition at line 64 of file nudata.h.

Float_t nudata::Vz

Definition at line 65 of file nudata.h.

Float_t nudata::xpoint

Definition at line 85 of file nudata.h.

Float_t nudata::ypoint

Definition at line 86 of file nudata.h.

Float_t nudata::zpoint

Definition at line 87 of file nudata.h.


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