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

Public Member Functions

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

Public Attributes

std::vector< int > fSPCryostatVec
 
std::vector< int > fSPTPCVec
 
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< float > fSmallestDelTVec
 
std::vector< float > fSP_x
 
std::vector< float > fSP_y
 
std::vector< float > fSP_z
 
std::vector< int > fNum2DHitsVec
 
std::vector< int > fNumLongHitsVec
 
std::vector< int > fNumIntersectSetVec
 
std::vector< int > fClusterNSPVec
 
std::vector< float > fHitDelta10Vec
 
std::vector< float > fHitDelta21Vec
 
std::vector< float > fHitDelta20Vec
 
std::vector< float > fHitSigma10Vec
 
std::vector< float > fHitSigma21Vec
 
std::vector< float > fHitSigma20Vec
 
std::vector< int > fHitMultProductVec
 

Private Attributes

TTree * fTree
 

Detailed Description

Definition at line 153 of file SpacePointAnalysis_tool.cc.

Constructor & Destructor Documentation

SpacePointAnalysis::HitSpacePointObj::HitSpacePointObj ( )
inline

Definition at line 156 of file SpacePointAnalysis_tool.cc.

Member Function Documentation

void SpacePointAnalysis::HitSpacePointObj::clear ( )
inline

Definition at line 196 of file SpacePointAnalysis_tool.cc.

197  {
198  fSPCryostatVec.clear();
199  fSPTPCVec.clear();
200 
201  fSPQualityVec.clear();
202  fSPTotalChargeVec.clear();
203  fSPAsymmetryVec.clear();
204  fSmallestPHVec.clear();
205  fLargestPHVec.clear();
206  fAveragePHVec.clear();
207  fLargestDelTVec.clear();
208  fSmallestDelTVec.clear();
209 
210  fSP_x.clear();
211  fSP_y.clear();
212  fSP_z.clear();
213 
214  fNum2DHitsVec.clear();
215  fNumLongHitsVec.clear();
216  fNumIntersectSetVec.clear();
217  fClusterNSPVec.clear();
218 
219  fHitDelta10Vec.clear();
220  fHitSigma10Vec.clear();
221  fHitDelta21Vec.clear();
222  fHitSigma21Vec.clear();
223  fHitDelta20Vec.clear();
224  fHitSigma20Vec.clear();
225  fHitMultProductVec.clear();
226  }
void SpacePointAnalysis::HitSpacePointObj::fill ( )
inline

Definition at line 191 of file SpacePointAnalysis_tool.cc.

192  {
193  if (fTree) fTree->Fill();
194  }
void SpacePointAnalysis::HitSpacePointObj::setBranches ( TTree *  tree)
inline

Definition at line 158 of file SpacePointAnalysis_tool.cc.

159  {
160  tree->Branch("SPCryostat", "std::vector<int>", &fSPCryostatVec);
161  tree->Branch("SPTPC", "std::vector<int>", &fSPTPCVec);
162  tree->Branch("SPQuality", "std::vector<float>", &fSPQualityVec);
163  tree->Branch("SPTotalCharge", "std::vector<float>", &fSPTotalChargeVec);
164  tree->Branch("SPAsymmetry", "std::vector<float>", &fSPAsymmetryVec);
165  tree->Branch("SmallestPH", "std::vector<float>", &fSmallestPHVec);
166  tree->Branch("LargestPH", "std::vector<float>", &fLargestPHVec);
167  tree->Branch("AveragePH", "std::vector<float>", &fAveragePHVec);
168  tree->Branch("LargestDelT", "std::vector<float>", &fLargestDelTVec);
169  tree->Branch("SmallestDelT", "std::vector<float>", &fSmallestDelTVec);
170 
171  tree->Branch("SP_x", "std::vector<float>", &fSP_x);
172  tree->Branch("SP_y", "std::vector<float>", &fSP_y);
173  tree->Branch("SP_z", "std::vector<float>", &fSP_z);
174 
175  tree->Branch("Num2DHits", "std::vector<int>", &fNum2DHitsVec);
176  tree->Branch("NumLongHitsSP", "std::vector<int>", &fNumLongHitsVec);
177  tree->Branch("NumIntersectSet", "std::vector<int>", &fNumIntersectSetVec);
178  tree->Branch("ClusterNSP", "std::vector<int>", &fClusterNSPVec);
179 
180  tree->Branch("HitDeltaT10", "std::vector<float>", &fHitDelta10Vec);
181  tree->Branch("HitSigmaT10", "std::vector<float>", &fHitSigma10Vec);
182  tree->Branch("HitDeltaT21", "std::vector<float>", &fHitDelta21Vec);
183  tree->Branch("HitSigmaT21", "std::vector<float>", &fHitSigma21Vec);
184  tree->Branch("HitDeltaT20", "std::vector<float>", &fHitDelta20Vec);
185  tree->Branch("HitSigmaT20", "std::vector<float>", &fHitSigma20Vec);
186  tree->Branch("HitMultProduct", "std::vector<int>", &fHitMultProductVec);
187 
188  fTree = tree;
189  }

Member Data Documentation

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

Definition at line 237 of file SpacePointAnalysis_tool.cc.

std::vector<int> SpacePointAnalysis::HitSpacePointObj::fClusterNSPVec

Definition at line 248 of file SpacePointAnalysis_tool.cc.

std::vector<float> SpacePointAnalysis::HitSpacePointObj::fHitDelta10Vec

Definition at line 250 of file SpacePointAnalysis_tool.cc.

std::vector<float> SpacePointAnalysis::HitSpacePointObj::fHitDelta20Vec

Definition at line 252 of file SpacePointAnalysis_tool.cc.

std::vector<float> SpacePointAnalysis::HitSpacePointObj::fHitDelta21Vec

Definition at line 251 of file SpacePointAnalysis_tool.cc.

std::vector<int> SpacePointAnalysis::HitSpacePointObj::fHitMultProductVec

Definition at line 256 of file SpacePointAnalysis_tool.cc.

std::vector<float> SpacePointAnalysis::HitSpacePointObj::fHitSigma10Vec

Definition at line 253 of file SpacePointAnalysis_tool.cc.

std::vector<float> SpacePointAnalysis::HitSpacePointObj::fHitSigma20Vec

Definition at line 255 of file SpacePointAnalysis_tool.cc.

std::vector<float> SpacePointAnalysis::HitSpacePointObj::fHitSigma21Vec

Definition at line 254 of file SpacePointAnalysis_tool.cc.

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

Definition at line 238 of file SpacePointAnalysis_tool.cc.

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

Definition at line 236 of file SpacePointAnalysis_tool.cc.

std::vector<int> SpacePointAnalysis::HitSpacePointObj::fNum2DHitsVec

Definition at line 245 of file SpacePointAnalysis_tool.cc.

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

Definition at line 247 of file SpacePointAnalysis_tool.cc.

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

Definition at line 246 of file SpacePointAnalysis_tool.cc.

std::vector<float> SpacePointAnalysis::HitSpacePointObj::fSmallestDelTVec

Definition at line 239 of file SpacePointAnalysis_tool.cc.

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

Definition at line 235 of file SpacePointAnalysis_tool.cc.

std::vector<float> SpacePointAnalysis::HitSpacePointObj::fSP_x

Definition at line 241 of file SpacePointAnalysis_tool.cc.

std::vector<float> SpacePointAnalysis::HitSpacePointObj::fSP_y

Definition at line 242 of file SpacePointAnalysis_tool.cc.

std::vector<float> SpacePointAnalysis::HitSpacePointObj::fSP_z

Definition at line 243 of file SpacePointAnalysis_tool.cc.

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

Definition at line 234 of file SpacePointAnalysis_tool.cc.

std::vector<int> SpacePointAnalysis::HitSpacePointObj::fSPCryostatVec

Definition at line 229 of file SpacePointAnalysis_tool.cc.

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

Definition at line 232 of file SpacePointAnalysis_tool.cc.

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

Definition at line 233 of file SpacePointAnalysis_tool.cc.

std::vector<int> SpacePointAnalysis::HitSpacePointObj::fSPTPCVec

Definition at line 230 of file SpacePointAnalysis_tool.cc.

TTree* SpacePointAnalysis::HitSpacePointObj::fTree
private

Definition at line 259 of file SpacePointAnalysis_tool.cc.


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