Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CDTruthHitInfo.cxx

Go to the documentation of this file.
00001 
00002 
00003 // Program name: CDTruthHitInfo.cxx
00004 //
00005 // Package: CalDetTracker
00006 //
00007 // Purpose: A simple class to hold the MC truth about the hits
00008 //
00009 // Contact: Chris Smith, Ryan Nichol, Leo Jenner or Jeff Hartnell
00011 
00012 #include "CalDetTracker/CDTruthHitInfo.h"
00013 
00014 ClassImp(CDTruthHitInfo)
00015 
00016 //......................................................................
00017 
00018 CDTruthHitInfo::CDTruthHitInfo()
00019 {
00020   this->InitialiseVariables();
00021 }
00022 
00023 //......................................................................
00024 
00025 CDTruthHitInfo::CDTruthHitInfo(Int_t plane,Int_t strip)
00026 {
00027   this->InitialiseVariables();
00028   fPlane=plane;
00029   fStrip=strip;
00030 }
00031 
00032 //......................................................................
00033 
00034 void CDTruthHitInfo::InitialiseVariables()
00035 {
00036   fEarliestT1=-1e-9;
00037   fLatestT2=-1e-9;
00038   fMainPartEn=-1;
00039   fMainParticle=0;
00040   fMainPathLength=0;
00041   fMainT1=0;
00042   fMainX1=0;
00043   fMainY1=0;
00044   fMainZ1=0;
00045   fMainT2=0;
00046   fMainX2=0;
00047   fMainY2=0;
00048   fMainZ2=0;
00049   fNumDigiScintHits=0;
00050   fPlane=-1;
00051   fPmtTruth1=-1;
00052   fPmtTruth2=-1;
00053   fStrip=-1;
00054   fTotalEnDep=-1;
00055   fVaChip1=-1;
00056   fVaChip2=-1;
00057 }
00058 
00059 //......................................................................
00060 
00061 
00062 
00063 
00064 
00065 
00066 

Generated on Mon Feb 15 11:06:31 2010 for loon by  doxygen 1.3.9.1