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

HitCam.cxx

Go to the documentation of this file.
00001 
00002 // Package: CandTrackCam
00003 //
00004 // CandTrackCam - HitCam.cxx
00005 //
00006 // marshall@hep.phy.cam.ac.uk
00008 
00009 #include "HitCam.h"
00010 #include "Validity/VldContext.h"
00011 
00012 ClassImp(HitCam)
00013   
00014   //CVSID("$Id: HitCam.cxx,v 1.1 2006/04/10 17:04:24 marshall Exp $");
00015 
00016 
00017 HitCam::HitCam(CandStripHandle* strip) :
00018    fStrip(0), fUid(0), 
00019    fPlaneView(-1), fStripNum(-1), fTime(-999.), fTrackFlag(0), 
00020    fCharge(0.), fPlane(-1), fTPos(-1), fZPos(-1)
00021 {
00022   if(strip) {
00023     fStrip=strip;
00024     fTime=1.0e9*strip->GetTime();
00025     fStripNum = strip->GetStrip();
00026     fCharge = strip->GetCharge();
00027     fPlane = strip->GetPlane();
00028     fTPos = strip->GetTPos();
00029     fZPos = strip->GetZPos();
00030     
00031     if( strip->GetPlaneView()==PlaneView::kU
00032         || strip->GetPlaneView()==PlaneView::kX
00033         || strip->GetPlaneView()==PlaneView::kA ) {fPlaneView=0;}
00034     if( strip->GetPlaneView()==PlaneView::kV
00035         || strip->GetPlaneView()==PlaneView::kY
00036         || strip->GetPlaneView()==PlaneView::kB ) {fPlaneView=1;}
00037   }
00038   
00039 }
00041 
00042 
00044 HitCam::~HitCam()
00045 {
00046 }
00048 
00049 
00051 

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