#include <HitCamAtNu.h>
Public Member Functions | |
| HitCamAtNu (CandStripHandle *strip) | |
| virtual | ~HitCamAtNu () |
| 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 (HitCamAtNu *hit) const |
| int | IsShwAssoc (HitCamAtNu *hit) const |
Private Attributes | |
| CandStripHandle * | fStrip |
| int | fUid |
| int | fPlaneView |
| int | fStripNum |
| double | fTime |
| int | fTrackFlag |
| int | fShowerFlag |
| double | fCharge |
| int | fPlane |
| double | fTPos |
| double | fZPos |
|
|
Definition at line 20 of file HitCamAtNu.cxx. 00020 : 00021 fStrip(0), fUid(0), 00022 fPlaneView(-1), fStripNum(-1), fTime(-999.), fTrackFlag(0), 00023 fShowerFlag(0), fCharge(0.), fPlane(-1), fTPos(-1), fZPos(-1) 00024 { 00025 if(strip) { 00026 fStrip=strip; 00027 fTime=1.0e9*strip->GetTime(); 00028 fStripNum = strip->GetStrip(); 00029 fCharge = strip->GetCharge(); 00030 fPlane = strip->GetPlane(); 00031 fTPos = strip->GetTPos(); 00032 fZPos = strip->GetZPos(); 00033 00034 if( strip->GetPlaneView()==PlaneView::kU 00035 || strip->GetPlaneView()==PlaneView::kX 00036 || strip->GetPlaneView()==PlaneView::kA ) {fPlaneView=0;} 00037 if( strip->GetPlaneView()==PlaneView::kV 00038 || strip->GetPlaneView()==PlaneView::kY 00039 || strip->GetPlaneView()==PlaneView::kB ) {fPlaneView=1;} 00040 } 00041 00042 }
|
|
|
Definition at line 47 of file HitCamAtNu.cxx. 00048 {
00049 }
|
|
|
Definition at line 24 of file HitCamAtNu.h. Referenced by ClusterCamAtNu::AddHit(), AlgShowerCam::CalculateShowerEnergy(), AlgShowerCam::ExtractHitProperties(), and AlgShowerCam::SetupTimingInfo(). 00024 {return fStrip;};
|
|
|
Definition at line 26 of file HitCamAtNu.h. Referenced by ClusterCamAtNu::AddHit(), AlgShowerCam::DetermineDirection(), AlgShowerCam::ExtractHitProperties(), AlgShowerCam::FindShowerVertex(), AlgAtmosShowerList::FormVertexShowers(), and TrackSegmentCamAtNu::GetScore(). 00026 {return fCharge;};
|
|
|
|
Definition at line 32 of file HitCamAtNu.h. Referenced by TrackCamAtNu::AddHit(), ClusterCamAtNu::AddHit(), AlgShowerCam::DetermineDirection(), AlgShowerCam::ExtractHitProperties(), and AlgAtmosShowerList::FormVertexShowers(). 00032 {return fPlaneView;};
|
|
|
Definition at line 46 of file HitCamAtNu.h. Referenced by AlgShowerCam::DetermineDirection(), AlgShowerCam::FindShowerVertex(), and AlgAtmosShowerList::FormVertexShowers(). 00046 { return fShowerFlag; };
|
|
|
Definition at line 35 of file HitCamAtNu.h. Referenced by ClusterCamAtNu::AddHit(), AlgAtmosShowerList::FormVertexShowers(), ShowerSegmentCamAtNu::GetBegStrip(), ShowerCamAtNu::GetBegStrip(), ShowerSegmentCamAtNu::GetEndStrip(), ShowerCamAtNu::GetEndStrip(), IsDiffuseShwAssoc(), and IsShwAssoc(). 00035 {return fStripNum;};
|
|
|
Definition at line 38 of file HitCamAtNu.h. Referenced by ShowerCamAtNu::AddHit(), ClusterCamAtNu::AddHit(), IsDiffuseShwAssoc(), ClusterCamAtNu::IsHitAssoc(), and IsShwAssoc(). 00038 {return fTime;};
|
|
|
|
Definition at line 43 of file HitCamAtNu.h. Referenced by AlgAtmosShowerList::FormVertexShowers(). 00043 {return fTrackFlag;};
|
|
|
Definition at line 49 of file HitCamAtNu.h. 00049 {return fUid;};
|
|
|
Definition at line 52 of file HitCamAtNu.h. Referenced by TrackCamAtNu::AddHit(), ClusterCamAtNu::AddHit(), AlgShowerCam::DetermineDirection(), AlgShowerCam::ExtractHitProperties(), TrackSegmentCamAtNu::GetBegDir(), ShowerSegmentCamAtNu::GetBegDir(), TrackCamAtNu::GetDir(), TrackSegmentCamAtNu::GetEndDir(), ShowerSegmentCamAtNu::GetEndDir(), and TrackSegmentCamAtNu::GetScore(). 00052 {return fZPos;};
|
|
|
Definition at line 77 of file HitCamAtNu.cxx. References abs(), fStrip, GetPlane(), GetStrip(), GetTime(), and win. Referenced by AlgAtmosShowerList::FormVertexShowers(), and ShowerCamAtNu::IsDiffuseShwAssoc(). 00078 {
00079 double win=99.9;
00080 if(fStrip!=0)
00081 {
00082 if( fabs(hit->GetTime()-this->GetTime())<win )
00083 {
00084 if( abs(hit->GetPlane()-this->GetPlane())<5 && abs(hit->GetStrip()-this->GetStrip())<11 )
00085 {
00086 return 2;
00087 }
00088 else if( abs(hit->GetPlane()-this->GetPlane())<9 && abs(hit->GetStrip()-this->GetStrip())<21 )
00089 {
00090 return 1;
00091 }
00092 }
00093 }
00094 return 0;
00095 }
|
|
|
Definition at line 54 of file HitCamAtNu.cxx. References abs(), fStrip, GetPlane(), GetStrip(), GetTime(), and win. Referenced by AlgAtmosShowerList::FormVertexShowers(), and ShowerCamAtNu::IsShwAssoc(). 00055 {
00056 double win=99.9;
00057 if(fStrip!=0)
00058 {
00059 if( fabs(hit->GetTime()-this->GetTime())<win )
00060 {
00061 if( abs(hit->GetPlane()-this->GetPlane())<3 && abs(hit->GetStrip()-this->GetStrip())<4 )
00062 {
00063 return 2;
00064 }
00065 else if( abs(hit->GetPlane()-this->GetPlane())<5 && abs(hit->GetStrip()-this->GetStrip())<6 )
00066 {
00067 return 1;
00068 }
00069 }
00070 }
00071 return 0;
00072 }
|
|
|
Definition at line 27 of file HitCamAtNu.h. 00027 {fCharge=q;};
|
|
|
Definition at line 30 of file HitCamAtNu.h. 00030 {fPlane = Plane;};
|
|
|
Definition at line 33 of file HitCamAtNu.h. 00033 {fPlaneView = View;};
|
|
|
Definition at line 47 of file HitCamAtNu.h. Referenced by AlgAtmosShowerList::Form3DShowers(), and AlgAtmosShowerList::FormVertexShowers(). 00047 { fShowerFlag=flag; };
|
|
|
Definition at line 36 of file HitCamAtNu.h. 00036 {fStripNum = strip;};
|
|
|
Definition at line 41 of file HitCamAtNu.h. 00041 {fTPos = tpos;};
|
|
|
Definition at line 44 of file HitCamAtNu.h. Referenced by AlgAtmosShowerList::FormDummyTracks(). 00044 {fTrackFlag=flag;};
|
|
|
Definition at line 50 of file HitCamAtNu.h. 00050 {fUid=uid;};
|
|
|
Definition at line 53 of file HitCamAtNu.h. 00053 {fZPos = zpos;};
|
|
|
Definition at line 66 of file HitCamAtNu.h. |
|
|
Definition at line 67 of file HitCamAtNu.h. |
|
|
Definition at line 61 of file HitCamAtNu.h. |
|
|
Definition at line 65 of file HitCamAtNu.h. |
|
|
Definition at line 59 of file HitCamAtNu.h. Referenced by IsDiffuseShwAssoc(), and IsShwAssoc(). |
|
|
Definition at line 62 of file HitCamAtNu.h. |
|
|
Definition at line 63 of file HitCamAtNu.h. |
|
|
Definition at line 68 of file HitCamAtNu.h. |
|
|
Definition at line 64 of file HitCamAtNu.h. |
|
|
Definition at line 60 of file HitCamAtNu.h. |
|
|
Definition at line 69 of file HitCamAtNu.h. |
1.3.9.1