HitCam Class Reference

#include <HitCam.h>

List of all members.

Public Member Functions

 HitCam (CandStripHandle *strip)
virtual ~HitCam ()
CandStripHandleGetCandStripHandle () const
double GetCharge () const
void SetCharge (double q)
int GetPlane () const
void SetPlane (int Plane)
int GetPlaneView () const
void SetPlaneView (int View)
int GetStrip () const
void SetStrip (int strip)
double GetTime () const
double GetTPos () const
void SetTPos (double tpos)
int GetTrkFlag () const
void SetTrkFlag (int flag)
int GetUID () const
void SetUID (int uid)
double GetZPos () const
void SetZPos (double zpos)

Private Attributes

CandStripHandlefStrip
int fUid
int fPlaneView
int fStripNum
double fTime
int fTrackFlag
double fCharge
int fPlane
double fTPos
double fZPos

Detailed Description

Definition at line 15 of file HitCam.h.


Constructor & Destructor Documentation

HitCam::HitCam ( CandStripHandle strip  ) 

Definition at line 17 of file HitCam.cxx.

References PlaneView::kA, PlaneView::kB, PlaneView::kU, PlaneView::kV, PlaneView::kX, and PlaneView::kY.

00017                                      :
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 }

HitCam::~HitCam (  )  [virtual]

Definition at line 44 of file HitCam.cxx.

00045 {
00046 }


Member Function Documentation

CandStripHandle* HitCam::GetCandStripHandle (  )  const [inline]

Definition at line 22 of file HitCam.h.

References fStrip.

Referenced by ClusterCam::AddHit(), AlgTrackCam::ExtractHitProperties(), and AlgTrackCam::SetupTimingInfo().

00022 {return fStrip;};

double HitCam::GetCharge (  )  const [inline]
int HitCam::GetPlane (  )  const [inline]
int HitCam::GetPlaneView (  )  const [inline]

Definition at line 30 of file HitCam.h.

References fPlaneView.

Referenced by ClusterCam::AddHit(), TrackCam::AddHit(), and AlgTrackCam::ExtractHitProperties().

00030 {return fPlaneView;};

int HitCam::GetStrip (  )  const [inline]

Definition at line 33 of file HitCam.h.

References fStripNum.

Referenced by ClusterCam::AddHit().

00033 {return fStripNum;};

double HitCam::GetTime (  )  const [inline]

Definition at line 36 of file HitCam.h.

References fTime.

Referenced by ClusterCam::AddHit(), and ClusterCam::IsHitAssoc().

00036 {return fTime;};

double HitCam::GetTPos (  )  const [inline]
int HitCam::GetTrkFlag (  )  const [inline]

Definition at line 41 of file HitCam.h.

References fTrackFlag.

00041 {return fTrackFlag;};

int HitCam::GetUID (  )  const [inline]

Definition at line 44 of file HitCam.h.

References fUid.

Referenced by AlgTrackCam::ExtractHitProperties().

00044 {return fUid;};

double HitCam::GetZPos (  )  const [inline]
void HitCam::SetCharge ( double  q  )  [inline]

Definition at line 25 of file HitCam.h.

References fCharge.

00025 {fCharge=q;};

void HitCam::SetPlane ( int  Plane  )  [inline]

Definition at line 28 of file HitCam.h.

References fPlane.

00028 {fPlane = Plane;};

void HitCam::SetPlaneView ( int  View  )  [inline]

Definition at line 31 of file HitCam.h.

References fPlaneView.

00031 {fPlaneView = View;};

void HitCam::SetStrip ( int  strip  )  [inline]

Definition at line 34 of file HitCam.h.

References fStripNum.

00034 {fStripNum = strip;};

void HitCam::SetTPos ( double  tpos  )  [inline]

Definition at line 39 of file HitCam.h.

References fTPos.

00039 {fTPos = tpos;};

void HitCam::SetTrkFlag ( int  flag  )  [inline]

Definition at line 42 of file HitCam.h.

References fTrackFlag.

Referenced by AlgTrackCamList::Form3DTracks().

00042 {fTrackFlag=flag;};

void HitCam::SetUID ( int  uid  )  [inline]

Definition at line 45 of file HitCam.h.

References fUid.

Referenced by AlgTrackCamList::MatchUV().

00045 {fUid=uid;};

void HitCam::SetZPos ( double  zpos  )  [inline]

Definition at line 48 of file HitCam.h.

References fZPos.

00048 {fZPos = zpos;};


Member Data Documentation

double HitCam::fCharge [private]

Definition at line 58 of file HitCam.h.

Referenced by GetCharge(), and SetCharge().

int HitCam::fPlane [private]

Definition at line 59 of file HitCam.h.

Referenced by GetPlane(), and SetPlane().

int HitCam::fPlaneView [private]

Definition at line 54 of file HitCam.h.

Referenced by GetPlaneView(), and SetPlaneView().

Definition at line 48 of file HitCam.h.

Referenced by GetCandStripHandle().

int HitCam::fStripNum [private]

Definition at line 55 of file HitCam.h.

Referenced by GetStrip(), and SetStrip().

double HitCam::fTime [private]

Definition at line 56 of file HitCam.h.

Referenced by GetTime().

double HitCam::fTPos [private]

Definition at line 60 of file HitCam.h.

Referenced by GetTPos(), and SetTPos().

int HitCam::fTrackFlag [private]

Definition at line 57 of file HitCam.h.

Referenced by GetTrkFlag(), and SetTrkFlag().

int HitCam::fUid [private]

Definition at line 53 of file HitCam.h.

Referenced by GetUID(), and SetUID().

double HitCam::fZPos [private]

Definition at line 61 of file HitCam.h.

Referenced by GetZPos(), and SetZPos().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1