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

Public Member Functions

 HitSpacePointObj ()
 
void setBranches (TTree *tree)
 
void fill ()
 
void clear ()
 

Public Attributes

std::vector< int > fNumIDEsHit0Vec
 
std::vector< int > fNumIDEsHit1Vec
 
std::vector< int > fNumIDEsHit2Vec
 
std::vector< int > fNumIDEsSpacePointVec
 
std::vector< float > fSPQualityVec
 
std::vector< float > fSPTotalChargeVec
 
std::vector< float > fSPAsymmetryVec
 
std::vector< float > fSmallestPHVec
 
std::vector< float > fLargestPHVec
 
std::vector< float > fAveragePHVec
 
std::vector< float > fLargestDelTVec
 
std::vector< int > fNumLongHitsVec
 
std::vector< int > fNumPlanesSimMatchVec
 
std::vector< int > fNumIntersectSetVec
 
std::vector< int > fSimHitDeltaT0Vec
 
std::vector< int > fSimHitDeltaT1Vec
 
std::vector< int > fSimHitDeltaT2Vec
 
std::vector< int > fSimDelta10Vec
 
std::vector< int > fSimDelta21Vec
 
std::vector< int > fHitDelta10Vec
 
std::vector< int > fHitDelta21Vec
 
std::vector< float > fBigElecDep0Vec
 
std::vector< float > fBigElecDep1Vec
 
std::vector< float > fBigElecDep2Vec
 

Private Attributes

TTree * fTree
 

Detailed Description

Definition at line 67 of file SpacePointAnalysisMC_tool.cc.

Constructor & Destructor Documentation

SpacePointAnalysisMC::HitSpacePointObj::HitSpacePointObj ( )
inline

Definition at line 70 of file SpacePointAnalysisMC_tool.cc.

Member Function Documentation

void SpacePointAnalysisMC::HitSpacePointObj::clear ( )
inline

Definition at line 110 of file SpacePointAnalysisMC_tool.cc.

111  {
112  fNumIDEsHit0Vec.clear();
113  fNumIDEsHit1Vec.clear();
114  fNumIDEsHit2Vec.clear();
115  fNumIDEsSpacePointVec.clear();
116 
117  fSPQualityVec.clear();
118  fSPTotalChargeVec.clear();
119  fSPAsymmetryVec.clear();
120  fSmallestPHVec.clear();
121  fLargestPHVec.clear();
122  fAveragePHVec.clear();
123  fLargestDelTVec.clear();
124 
125  fNumLongHitsVec.clear();
126  fNumPlanesSimMatchVec.clear();
127  fNumIntersectSetVec.clear();
128 
129  fSimHitDeltaT0Vec.clear();
130  fSimHitDeltaT1Vec.clear();
131  fSimHitDeltaT2Vec.clear();
132  fSimDelta10Vec.clear();
133  fSimDelta21Vec.clear();
134  fHitDelta10Vec.clear();
135  fHitDelta21Vec.clear();
136  fBigElecDep0Vec.clear();
137  fBigElecDep1Vec.clear();
138  fBigElecDep2Vec.clear();
139  }
void SpacePointAnalysisMC::HitSpacePointObj::fill ( )
inline

Definition at line 105 of file SpacePointAnalysisMC_tool.cc.

106  {
107  if (fTree) fTree->Fill();
108  }
void SpacePointAnalysisMC::HitSpacePointObj::setBranches ( TTree *  tree)
inline

Definition at line 72 of file SpacePointAnalysisMC_tool.cc.

73  {
74  tree->Branch("NumIDEsHit0", "std::vector<int>", &fNumIDEsHit0Vec);
75  tree->Branch("NumIDEsHit1", "std::vector<int>", &fNumIDEsHit1Vec);
76  tree->Branch("NumIDEsHit2", "std::vector<int>", &fNumIDEsHit2Vec);
77  tree->Branch("NumIDEsSpacePoint", "std::vector<int>", &fNumIDEsSpacePointVec);
78 
79  tree->Branch("SPQuality", "std::vector<float>", &fSPQualityVec);
80  tree->Branch("SPTotalCharge", "std::vector<float>", &fSPTotalChargeVec);
81  tree->Branch("SPAsymmetry", "std::vector<float>", &fSPAsymmetryVec);
82  tree->Branch("SmallestPH", "std::vector<float>", &fSmallestPHVec);
83  tree->Branch("LargestPH", "std::vector<float>", &fLargestPHVec);
84  tree->Branch("AveragePH", "std::vector<float>", &fAveragePHVec);
85  tree->Branch("LargestDelT", "std::vector<float>", &fLargestDelTVec);
86 
87  tree->Branch("NumLongHitsSP", "std::vector<int>", &fNumLongHitsVec);
88  tree->Branch("NumPlanesSimMatch", "std::vector<int>", &fNumPlanesSimMatchVec);
89  tree->Branch("NumIntersectSet", "std::vector<int>", &fNumIntersectSetVec);
90 
91  tree->Branch("SimHitDeltaT0", "std::vector<int>", &fSimHitDeltaT0Vec);
92  tree->Branch("SimHitDeltaT1", "std::vector<int>", &fSimHitDeltaT1Vec);
93  tree->Branch("SimHitDeltaT2", "std::vector<int>", &fSimHitDeltaT2Vec);
94  tree->Branch("SimDeltaT10", "std::vector<int>", &fSimDelta10Vec);
95  tree->Branch("SimDeltaT11", "std::vector<int>", &fSimDelta21Vec);
96  tree->Branch("HitDeltaT10", "std::vector<int>", &fHitDelta10Vec);
97  tree->Branch("HitDeltaT11", "std::vector<int>", &fHitDelta21Vec);
98  tree->Branch("MaxElectronDep0", "std::vector<float>", &fBigElecDep0Vec);
99  tree->Branch("MaxElectronDep1", "std::vector<float>", &fBigElecDep1Vec);
100  tree->Branch("MaxElectronDep2", "std::vector<float>", &fBigElecDep2Vec);
101 
102  fTree = tree;
103  }

Member Data Documentation

std::vector<float> SpacePointAnalysisMC::HitSpacePointObj::fAveragePHVec

Definition at line 152 of file SpacePointAnalysisMC_tool.cc.

std::vector<float> SpacePointAnalysisMC::HitSpacePointObj::fBigElecDep0Vec

Definition at line 166 of file SpacePointAnalysisMC_tool.cc.

std::vector<float> SpacePointAnalysisMC::HitSpacePointObj::fBigElecDep1Vec

Definition at line 167 of file SpacePointAnalysisMC_tool.cc.

std::vector<float> SpacePointAnalysisMC::HitSpacePointObj::fBigElecDep2Vec

Definition at line 168 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fHitDelta10Vec

Definition at line 164 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fHitDelta21Vec

Definition at line 165 of file SpacePointAnalysisMC_tool.cc.

std::vector<float> SpacePointAnalysisMC::HitSpacePointObj::fLargestDelTVec

Definition at line 153 of file SpacePointAnalysisMC_tool.cc.

std::vector<float> SpacePointAnalysisMC::HitSpacePointObj::fLargestPHVec

Definition at line 151 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fNumIDEsHit0Vec

Definition at line 142 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fNumIDEsHit1Vec

Definition at line 143 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fNumIDEsHit2Vec

Definition at line 144 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fNumIDEsSpacePointVec

Definition at line 145 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fNumIntersectSetVec

Definition at line 157 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fNumLongHitsVec

Definition at line 155 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fNumPlanesSimMatchVec

Definition at line 156 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fSimDelta10Vec

Definition at line 162 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fSimDelta21Vec

Definition at line 163 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fSimHitDeltaT0Vec

Definition at line 159 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fSimHitDeltaT1Vec

Definition at line 160 of file SpacePointAnalysisMC_tool.cc.

std::vector<int> SpacePointAnalysisMC::HitSpacePointObj::fSimHitDeltaT2Vec

Definition at line 161 of file SpacePointAnalysisMC_tool.cc.

std::vector<float> SpacePointAnalysisMC::HitSpacePointObj::fSmallestPHVec

Definition at line 150 of file SpacePointAnalysisMC_tool.cc.

std::vector<float> SpacePointAnalysisMC::HitSpacePointObj::fSPAsymmetryVec

Definition at line 149 of file SpacePointAnalysisMC_tool.cc.

std::vector<float> SpacePointAnalysisMC::HitSpacePointObj::fSPQualityVec

Definition at line 147 of file SpacePointAnalysisMC_tool.cc.

std::vector<float> SpacePointAnalysisMC::HitSpacePointObj::fSPTotalChargeVec

Definition at line 148 of file SpacePointAnalysisMC_tool.cc.

TTree* SpacePointAnalysisMC::HitSpacePointObj::fTree
private

Definition at line 171 of file SpacePointAnalysisMC_tool.cc.


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