#include <HitCam.h>
Public Member Functions | |
| HitCam (CandStripHandle *strip) | |
| virtual | ~HitCam () |
| CandStripHandle * | GetCandStripHandle () 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 | GetShwFlag () const |
| void | SetShwFlag (int flag) |
| int | GetUID () const |
| void | SetUID (int uid) |
| double | GetZPos () const |
| void | SetZPos (double zpos) |
| int | IsDiffuseShwAssoc (HitCam *hit) const |
| int | IsShwAssoc (HitCam *hit) const |
| HitCam (CandStripHandle *strip) | |
| virtual | ~HitCam () |
| CandStripHandle * | GetCandStripHandle () 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 | |
| CandStripHandle * | fStrip |
| int | fUid |
| int | fPlaneView |
| int | fStripNum |
| double | fTime |
| int | fTrackFlag |
| int | fShowerFlag |
| double | fCharge |
| int | fPlane |
| double | fTPos |
| double | fZPos |
| CandStripHandle * | fStrip |
|
|
Definition at line 18 of file AtNuReco/HitCam.cxx. 00018 : 00019 fStrip(0), fUid(0), 00020 fPlaneView(-1), fStripNum(-1), fTime(-999.), fTrackFlag(0), 00021 fShowerFlag(0), fCharge(0.), fPlane(-1), fTPos(-1), fZPos(-1) 00022 { 00023 if(strip) { 00024 fStrip=strip; 00025 fTime=1.0e9*strip->GetTime(); 00026 fStripNum = strip->GetStrip(); 00027 fCharge = strip->GetCharge(); 00028 fPlane = strip->GetPlane(); 00029 fTPos = strip->GetTPos(); 00030 fZPos = strip->GetZPos(); 00031 00032 if( strip->GetPlaneView()==PlaneView::kU 00033 || strip->GetPlaneView()==PlaneView::kX 00034 || strip->GetPlaneView()==PlaneView::kA ) {fPlaneView=0;} 00035 if( strip->GetPlaneView()==PlaneView::kV 00036 || strip->GetPlaneView()==PlaneView::kY 00037 || strip->GetPlaneView()==PlaneView::kB ) {fPlaneView=1;} 00038 } 00039 00040 }
|
|
|
Definition at line 45 of file AtNuReco/HitCam.cxx. 00046 {
00047 }
|
|
|
|
|
|
|
|
|
Definition at line 22 of file CandTrackCam/HitCam.h. 00022 {return fStrip;};
|
|
|
Definition at line 24 of file AtNuReco/HitCam.h. Referenced by ClusterCam::AddHit(), AlgShowerCam::CalculateShowerEnergy(), AlgTrackCam::ExtractHitProperties(), AlgShowerCam::ExtractHitProperties(), AlgTrackCam::SetupTimingInfo(), and AlgShowerCam::SetupTimingInfo(). 00024 {return fStrip;};
|
|
|
Definition at line 24 of file CandTrackCam/HitCam.h. 00024 {return fCharge;};
|
|
|
Definition at line 26 of file AtNuReco/HitCam.h. Referenced by ClusterCam::AddHit(), AlgShowerCam::DetermineDirection(), AlgTrackCam::ExtractHitProperties(), AlgShowerCam::ExtractHitProperties(), AlgTrackCamList::FillGapsInTrack(), AlgShowerCam::FindShowerVertex(), AlgTrackCamList::Form3DTracks(), AlgAtmosShowerList::FormVertexShowers(), TrackSegmentCam::GetScore(), and AlgTrackCamList::LookForHitsAcrossGap(). 00026 {return fCharge;};
|
|
|
Definition at line 27 of file CandTrackCam/HitCam.h. 00027 {return fPlane;};
|
|
|
|
Definition at line 30 of file CandTrackCam/HitCam.h. 00030 {return fPlaneView;};
|
|
|
Definition at line 32 of file AtNuReco/HitCam.h. Referenced by TrackCam::AddHit(), ClusterCam::AddHit(), AlgShowerCam::DetermineDirection(), AlgTrackCam::ExtractHitProperties(), AlgShowerCam::ExtractHitProperties(), and AlgAtmosShowerList::FormVertexShowers(). 00032 {return fPlaneView;};
|
|
|
Definition at line 46 of file AtNuReco/HitCam.h. Referenced by AlgShowerCam::DetermineDirection(), AlgShowerCam::FindShowerVertex(), and AlgAtmosShowerList::FormVertexShowers(). 00046 { return fShowerFlag; };
|
|
|
Definition at line 33 of file CandTrackCam/HitCam.h. 00033 {return fStripNum;};
|
|
|
Definition at line 35 of file AtNuReco/HitCam.h. Referenced by ClusterCam::AddHit(), AlgAtmosShowerList::FormVertexShowers(), ShowerSegmentCam::GetBegStrip(), ShowerCam::GetBegStrip(), ShowerSegmentCam::GetEndStrip(), ShowerCam::GetEndStrip(), IsDiffuseShwAssoc(), and IsShwAssoc(). 00035 {return fStripNum;};
|
|
|
Definition at line 36 of file CandTrackCam/HitCam.h. 00036 {return fTime;};
|
|
|
Definition at line 38 of file AtNuReco/HitCam.h. Referenced by ShowerCam::AddHit(), ClusterCam::AddHit(), IsDiffuseShwAssoc(), ClusterCam::IsHitAssoc(), and IsShwAssoc(). 00038 {return fTime;};
|
|
|
Definition at line 38 of file CandTrackCam/HitCam.h. 00038 {return fTPos;};
|
|
|
|
Definition at line 41 of file CandTrackCam/HitCam.h. 00041 {return fTrackFlag;};
|
|
|
Definition at line 43 of file AtNuReco/HitCam.h. Referenced by AlgAtmosShowerList::FormVertexShowers(). 00043 {return fTrackFlag;};
|
|
|
Definition at line 44 of file CandTrackCam/HitCam.h. 00044 {return fUid;};
|
|
|
Definition at line 49 of file AtNuReco/HitCam.h. Referenced by AlgTrackCam::ExtractHitProperties(). 00049 {return fUid;};
|
|
|
Definition at line 47 of file CandTrackCam/HitCam.h. 00047 {return fZPos;};
|
|
|
|
Definition at line 75 of file AtNuReco/HitCam.cxx. References abs(), fStrip, GetPlane(), GetStrip(), GetTime(), and win. Referenced by AlgAtmosShowerList::FormVertexShowers(), and ShowerCam::IsDiffuseShwAssoc(). 00076 {
00077 double win=99.9;
00078 if(fStrip!=0)
00079 {
00080 if( fabs(hit->GetTime()-this->GetTime())<win )
00081 {
00082 if( abs(hit->GetPlane()-this->GetPlane())<5 && abs(hit->GetStrip()-this->GetStrip())<11 )
00083 {
00084 return 2;
00085 }
00086 else if( abs(hit->GetPlane()-this->GetPlane())<9 && abs(hit->GetStrip()-this->GetStrip())<21 )
00087 {
00088 return 1;
00089 }
00090 }
00091 }
00092 return 0;
00093 }
|
|
|
Definition at line 52 of file AtNuReco/HitCam.cxx. References abs(), fStrip, GetPlane(), GetStrip(), GetTime(), and win. Referenced by AlgAtmosShowerList::FormVertexShowers(), and ShowerCam::IsShwAssoc(). 00053 {
00054 double win=99.9;
00055 if(fStrip!=0)
00056 {
00057 if( fabs(hit->GetTime()-this->GetTime())<win )
00058 {
00059 if( abs(hit->GetPlane()-this->GetPlane())<3 && abs(hit->GetStrip()-this->GetStrip())<4 )
00060 {
00061 return 2;
00062 }
00063 else if( abs(hit->GetPlane()-this->GetPlane())<5 && abs(hit->GetStrip()-this->GetStrip())<6 )
00064 {
00065 return 1;
00066 }
00067 }
00068 }
00069 return 0;
00070 }
|
|
|
Definition at line 25 of file CandTrackCam/HitCam.h. 00025 {fCharge=q;};
|
|
|
Definition at line 27 of file AtNuReco/HitCam.h. 00027 {fCharge=q;};
|
|
|
Definition at line 28 of file CandTrackCam/HitCam.h. 00028 {fPlane = Plane;};
|
|
|
Definition at line 30 of file AtNuReco/HitCam.h. 00030 {fPlane = Plane;};
|
|
|
Definition at line 31 of file CandTrackCam/HitCam.h. 00031 {fPlaneView = View;};
|
|
|
Definition at line 33 of file AtNuReco/HitCam.h. 00033 {fPlaneView = View;};
|
|
|
Definition at line 47 of file AtNuReco/HitCam.h. Referenced by AlgAtmosShowerList::Form3DShowers(), and AlgAtmosShowerList::FormVertexShowers(). 00047 { fShowerFlag=flag; };
|
|
|
Definition at line 34 of file CandTrackCam/HitCam.h. 00034 {fStripNum = strip;};
|
|
|
Definition at line 36 of file AtNuReco/HitCam.h. 00036 {fStripNum = strip;};
|
|
|
Definition at line 39 of file CandTrackCam/HitCam.h. 00039 {fTPos = tpos;};
|
|
|
Definition at line 41 of file AtNuReco/HitCam.h. 00041 {fTPos = tpos;};
|
|
|
Definition at line 42 of file CandTrackCam/HitCam.h. 00042 {fTrackFlag=flag;};
|
|
|
Definition at line 44 of file AtNuReco/HitCam.h. Referenced by AlgTrackCamList::Form3DTracks(), and AlgAtmosShowerList::FormDummyTracks(). 00044 {fTrackFlag=flag;};
|
|
|
Definition at line 45 of file CandTrackCam/HitCam.h. 00045 {fUid=uid;};
|
|
|
Definition at line 50 of file AtNuReco/HitCam.h. Referenced by AlgTrackCamList::MatchUV(). 00050 {fUid=uid;};
|
|
|
Definition at line 48 of file CandTrackCam/HitCam.h. 00048 {fZPos = zpos;};
|
|
|
Definition at line 53 of file AtNuReco/HitCam.h. 00053 {fZPos = zpos;};
|
|
|
Definition at line 58 of file CandTrackCam/HitCam.h. |
|
|
Definition at line 59 of file CandTrackCam/HitCam.h. |
|
|
Definition at line 54 of file CandTrackCam/HitCam.h. |
|
|
Definition at line 65 of file AtNuReco/HitCam.h. |
|
|
Definition at line 52 of file CandTrackCam/HitCam.h. |
|
|
Definition at line 59 of file AtNuReco/HitCam.h. Referenced by IsDiffuseShwAssoc(), and IsShwAssoc(). |
|
|
Definition at line 55 of file CandTrackCam/HitCam.h. |
|
|
Definition at line 56 of file CandTrackCam/HitCam.h. |
|
|
Definition at line 60 of file CandTrackCam/HitCam.h. |
|
|
Definition at line 57 of file CandTrackCam/HitCam.h. |
|
|
Definition at line 53 of file CandTrackCam/HitCam.h. |
|
|
Definition at line 61 of file CandTrackCam/HitCam.h. |
1.3.9.1