All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
showertree Class Reference

#include <showertree.h>

Public Member Functions

 showertree (TTree *tree=0)
 
virtual void Init (TTree *tree)
 
virtual void Loop ()
 

Public Attributes

TTree * fChain
 
Int_t fCurrent
 pointer to the analyzed TTree or TChain More...
 
Int_t run
 current Tree number in a TChain More...
 
Int_t subrun
 
Int_t event
 
std::vector< float > * BeginWir
 
std::vector< float > * BeginTim
 
std::vector< float > * BeginAng
 
std::vector< float > * BeginChg
 
std::vector< short > * BeginVtx
 
std::vector< float > * EndWir
 
std::vector< float > * EndTim
 
std::vector< float > * EndAng
 
std::vector< float > * EndChg
 
std::vector< short > * EndVtx
 
std::vector< short > * MCSMom
 
std::vector< short > * PlaneNum
 
std::vector< int > * TjID
 
std::vector< int > * IsShowerTj
 
std::vector< int > * ShowerID
 
std::vector< int > * IsShowerParent
 
std::vector< int > * StageNum
 
std::vector< std::string > * StageName
 
std::vector< float > * Envelope
 
std::vector< int > * EnvPlane
 
std::vector< int > * EnvStage
 
std::vector< int > * EnvShowerID
 
Int_t nStages
 
Int_t nPlanes
 
TBranch * b_run
 
TBranch * b_subrun
 
TBranch * b_event
 
TBranch * b_BeginWir
 
TBranch * b_BeginTim
 
TBranch * b_BeginAng
 
TBranch * b_BeginChg
 
TBranch * b_BeginVtx
 
TBranch * b_EndWir
 
TBranch * b_EndTim
 
TBranch * b_EndAng
 
TBranch * b_EndChg
 
TBranch * b_EndVtx
 
TBranch * b_MCSMom
 
TBranch * b_PlaneNum
 
TBranch * b_TjID
 
TBranch * b_IsShowerTj
 
TBranch * b_ShowerID
 
TBranch * b_IsShowerParent
 
TBranch * b_StageNum
 
TBranch * b_StageName
 
TBranch * b_Envelope
 
TBranch * b_EnvPlane
 
TBranch * b_EnvStage
 
TBranch * b_EnvShowerID
 
TBranch * b_nStages
 
TBranch * b_nPlanes
 

Detailed Description

Definition at line 20 of file showertree.h.

Constructor & Destructor Documentation

showertree::showertree ( TTree *  tree = 0)

Definition at line 94 of file showertree.h.

94  : fChain(0) {
95  Init(tree);
96 }
TTree * fChain
Definition: showertree.h:22
virtual void Init(TTree *tree)
Definition: showertree.h:98

Member Function Documentation

void showertree::Init ( TTree *  tree)
virtual

Definition at line 98 of file showertree.h.

98  {
99  // Set object pointer
100  BeginWir = 0;
101  BeginTim = 0;
102  BeginAng = 0;
103  BeginChg = 0;
104  BeginVtx = 0;
105  EndWir = 0;
106  EndTim = 0;
107  EndAng = 0;
108  EndChg = 0;
109  EndVtx = 0;
110  MCSMom = 0;
111  PlaneNum = 0;
112  TjID = 0;
113  IsShowerTj = 0;
114  ShowerID = 0;
115  IsShowerParent = 0;
116  StageNum = 0;
117  StageName = 0;
118  Envelope = 0;
119  EnvPlane = 0;
120  EnvStage = 0;
121  EnvShowerID = 0;
122 
123  if (!tree) return;
124  fChain = tree;
125  fCurrent = -1;
126  fChain->SetMakeClass(1);
127 
128  fChain->SetBranchAddress("run", &run, &b_run);
129  fChain->SetBranchAddress("subrun", &subrun, &b_subrun);
130  fChain->SetBranchAddress("event", &event, &b_event);
131 
132  fChain->SetBranchAddress("BeginWir", &BeginWir, &b_BeginWir);
133  fChain->SetBranchAddress("BeginTim", &BeginTim, &b_BeginTim);
134  fChain->SetBranchAddress("BeginAng", &BeginAng, &b_BeginAng);
135  fChain->SetBranchAddress("BeginChg", &BeginChg, &b_BeginChg);
136  fChain->SetBranchAddress("BeginVtx", &BeginVtx, &b_BeginVtx);
137  fChain->SetBranchAddress("EndWir", &EndWir, &b_EndWir);
138  fChain->SetBranchAddress("EndTim", &EndTim, &b_EndTim);
139  fChain->SetBranchAddress("EndAng", &EndAng, &b_EndAng);
140  fChain->SetBranchAddress("EndChg", &EndChg, &b_EndChg);
141  fChain->SetBranchAddress("EndVtx", &EndVtx, &b_EndVtx);
142  fChain->SetBranchAddress("MCSMom", &MCSMom, &b_MCSMom);
143  fChain->SetBranchAddress("PlaneNum", &PlaneNum, &b_PlaneNum);
144  fChain->SetBranchAddress("TjID", &TjID, &b_TjID);
145  fChain->SetBranchAddress("IsShowerTj", &IsShowerTj, &b_IsShowerTj);
146  fChain->SetBranchAddress("ShowerID", &ShowerID, &b_ShowerID);
147  fChain->SetBranchAddress("IsShowerParent", &IsShowerParent, &b_IsShowerParent);
148  fChain->SetBranchAddress("StageNum", &StageNum, &b_StageNum);
149  fChain->SetBranchAddress("StageName", &StageName, &b_StageName);
150  fChain->SetBranchAddress("Envelope", &Envelope, &b_Envelope);
151  fChain->SetBranchAddress("EnvPlane", &EnvPlane, &b_EnvPlane);
152  fChain->SetBranchAddress("EnvStage", &EnvStage, &b_EnvStage);
153  fChain->SetBranchAddress("EnvShowerID", &EnvShowerID, &b_EnvShowerID);
154  fChain->SetBranchAddress("nStages", &nStages, &b_nStages);
155  fChain->SetBranchAddress("nPlanes", &nPlanes, &b_nPlanes);
156 }
TBranch * b_TjID
Definition: showertree.h:74
TBranch * b_EndWir
Definition: showertree.h:67
std::vector< float > * EndWir
Definition: showertree.h:35
std::vector< float > * BeginChg
Definition: showertree.h:33
std::vector< short > * PlaneNum
Definition: showertree.h:41
TBranch * b_EndTim
Definition: showertree.h:68
Int_t subrun
Definition: showertree.h:27
std::vector< int > * EnvPlane
Definition: showertree.h:50
TBranch * b_run
Definition: showertree.h:58
std::vector< short > * EndVtx
Definition: showertree.h:39
TBranch * b_ShowerID
Definition: showertree.h:76
TBranch * b_StageName
Definition: showertree.h:79
TBranch * b_BeginAng
Definition: showertree.h:64
TBranch * b_subrun
Definition: showertree.h:59
Int_t nStages
Definition: showertree.h:54
std::vector< short > * BeginVtx
Definition: showertree.h:34
TBranch * b_EndVtx
Definition: showertree.h:71
TBranch * b_nPlanes
Definition: showertree.h:85
std::vector< short > * MCSMom
Definition: showertree.h:40
TBranch * b_IsShowerTj
Definition: showertree.h:75
TBranch * b_BeginVtx
Definition: showertree.h:66
std::vector< float > * EndTim
Definition: showertree.h:36
std::vector< int > * TjID
Definition: showertree.h:42
std::vector< int > * IsShowerParent
Definition: showertree.h:45
TBranch * b_IsShowerParent
Definition: showertree.h:77
std::vector< int > * StageNum
Definition: showertree.h:46
TBranch * b_BeginChg
Definition: showertree.h:65
std::vector< float > * BeginWir
Definition: showertree.h:30
std::vector< float > * BeginAng
Definition: showertree.h:32
TBranch * b_EndChg
Definition: showertree.h:70
std::vector< int > * EnvShowerID
Definition: showertree.h:52
std::vector< float > * BeginTim
Definition: showertree.h:31
TTree * fChain
Definition: showertree.h:22
TBranch * b_StageNum
Definition: showertree.h:78
TBranch * b_MCSMom
Definition: showertree.h:72
TBranch * b_Envelope
Definition: showertree.h:80
std::vector< int > * ShowerID
Definition: showertree.h:44
Int_t event
Definition: showertree.h:28
TBranch * b_EnvStage
Definition: showertree.h:82
Int_t nPlanes
Definition: showertree.h:55
std::vector< float > * EndChg
Definition: showertree.h:38
std::vector< float > * Envelope
Definition: showertree.h:49
TBranch * b_PlaneNum
Definition: showertree.h:73
TBranch * b_EnvPlane
Definition: showertree.h:81
std::vector< int > * EnvStage
Definition: showertree.h:51
TBranch * b_EnvShowerID
Definition: showertree.h:83
TBranch * b_BeginWir
Definition: showertree.h:62
TBranch * b_EndAng
Definition: showertree.h:69
Int_t run
current Tree number in a TChain
Definition: showertree.h:26
TBranch * b_event
Definition: showertree.h:60
Int_t fCurrent
pointer to the analyzed TTree or TChain
Definition: showertree.h:23
std::vector< float > * EndAng
Definition: showertree.h:37
TBranch * b_BeginTim
Definition: showertree.h:63
std::vector< std::string > * StageName
Definition: showertree.h:47
TBranch * b_nStages
Definition: showertree.h:84
std::vector< int > * IsShowerTj
Definition: showertree.h:43
virtual void showertree::Loop ( )
virtual

Member Data Documentation

TBranch* showertree::b_BeginAng

Definition at line 64 of file showertree.h.

TBranch* showertree::b_BeginChg

Definition at line 65 of file showertree.h.

TBranch* showertree::b_BeginTim

Definition at line 63 of file showertree.h.

TBranch* showertree::b_BeginVtx

Definition at line 66 of file showertree.h.

TBranch* showertree::b_BeginWir

Definition at line 62 of file showertree.h.

TBranch* showertree::b_EndAng

Definition at line 69 of file showertree.h.

TBranch* showertree::b_EndChg

Definition at line 70 of file showertree.h.

TBranch* showertree::b_EndTim

Definition at line 68 of file showertree.h.

TBranch* showertree::b_EndVtx

Definition at line 71 of file showertree.h.

TBranch* showertree::b_EndWir

Definition at line 67 of file showertree.h.

TBranch* showertree::b_Envelope

Definition at line 80 of file showertree.h.

TBranch* showertree::b_EnvPlane

Definition at line 81 of file showertree.h.

TBranch* showertree::b_EnvShowerID

Definition at line 83 of file showertree.h.

TBranch* showertree::b_EnvStage

Definition at line 82 of file showertree.h.

TBranch* showertree::b_event

Definition at line 60 of file showertree.h.

TBranch* showertree::b_IsShowerParent

Definition at line 77 of file showertree.h.

TBranch* showertree::b_IsShowerTj

Definition at line 75 of file showertree.h.

TBranch* showertree::b_MCSMom

Definition at line 72 of file showertree.h.

TBranch* showertree::b_nPlanes

Definition at line 85 of file showertree.h.

TBranch* showertree::b_nStages

Definition at line 84 of file showertree.h.

TBranch* showertree::b_PlaneNum

Definition at line 73 of file showertree.h.

TBranch* showertree::b_run

Definition at line 58 of file showertree.h.

TBranch* showertree::b_ShowerID

Definition at line 76 of file showertree.h.

TBranch* showertree::b_StageName

Definition at line 79 of file showertree.h.

TBranch* showertree::b_StageNum

Definition at line 78 of file showertree.h.

TBranch* showertree::b_subrun

Definition at line 59 of file showertree.h.

TBranch* showertree::b_TjID

Definition at line 74 of file showertree.h.

std::vector<float>* showertree::BeginAng

Definition at line 32 of file showertree.h.

std::vector<float>* showertree::BeginChg

Definition at line 33 of file showertree.h.

std::vector<float>* showertree::BeginTim

Definition at line 31 of file showertree.h.

std::vector<short>* showertree::BeginVtx

Definition at line 34 of file showertree.h.

std::vector<float>* showertree::BeginWir

Definition at line 30 of file showertree.h.

std::vector<float>* showertree::EndAng

Definition at line 37 of file showertree.h.

std::vector<float>* showertree::EndChg

Definition at line 38 of file showertree.h.

std::vector<float>* showertree::EndTim

Definition at line 36 of file showertree.h.

std::vector<short>* showertree::EndVtx

Definition at line 39 of file showertree.h.

std::vector<float>* showertree::EndWir

Definition at line 35 of file showertree.h.

std::vector<float>* showertree::Envelope

Definition at line 49 of file showertree.h.

std::vector<int>* showertree::EnvPlane

Definition at line 50 of file showertree.h.

std::vector<int>* showertree::EnvShowerID

Definition at line 52 of file showertree.h.

std::vector<int>* showertree::EnvStage

Definition at line 51 of file showertree.h.

Int_t showertree::event

Definition at line 28 of file showertree.h.

TTree* showertree::fChain

Definition at line 22 of file showertree.h.

Int_t showertree::fCurrent

pointer to the analyzed TTree or TChain

Definition at line 23 of file showertree.h.

std::vector<int>* showertree::IsShowerParent

Definition at line 45 of file showertree.h.

std::vector<int>* showertree::IsShowerTj

Definition at line 43 of file showertree.h.

std::vector<short>* showertree::MCSMom

Definition at line 40 of file showertree.h.

Int_t showertree::nPlanes

Definition at line 55 of file showertree.h.

Int_t showertree::nStages

Definition at line 54 of file showertree.h.

std::vector<short>* showertree::PlaneNum

Definition at line 41 of file showertree.h.

Int_t showertree::run

current Tree number in a TChain

Definition at line 26 of file showertree.h.

std::vector<int>* showertree::ShowerID

Definition at line 44 of file showertree.h.

std::vector<std::string>* showertree::StageName

Definition at line 47 of file showertree.h.

std::vector<int>* showertree::StageNum

Definition at line 46 of file showertree.h.

Int_t showertree::subrun

Definition at line 27 of file showertree.h.

std::vector<int>* showertree::TjID

Definition at line 42 of file showertree.h.


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