#include <ShowerCamAtNu.h>
|
|
Definition at line 19 of file ShowerCamAtNu.cxx. 00019 : 00020 fSlice(0), 00021 fBegPlane(-1), fEndPlane(-1), 00022 fBegTime(0.0), fEndTime(0.0), 00023 fBegVtxFlag(0), 00024 fEndVtxFlag(0), 00025 fReseedFlag(0), fPartner(0) 00026 { 00027 fSlice = slice; 00028 }
|
|
|
Definition at line 44 of file ShowerCamAtNu.cxx. 00045 {
00046
00047 }
|
|
|
Definition at line 35 of file ShowerCamAtNu.h. References fAssocTrackList. Referenced by AlgAtmosShowerList::FormVertexShowers(). 00035 { fAssocTrackList.push_back(track); return; };
|
|
|
Definition at line 49 of file ShowerCamAtNu.cxx. References fBegPlane, fBegTime, fEndPlane, fEndTime, fHitList, HitCamAtNu::GetPlane(), and HitCamAtNu::GetTime(). Referenced by AlgAtmosShowerList::Form3DShowers(), and AlgAtmosShowerList::FormVertexShowers(). 00050 {
00051
00052 if(fHitList.size()==0)
00053 {
00054 fBegPlane=hit->GetPlane();
00055 fEndPlane=hit->GetPlane();
00056 fBegTime=hit->GetTime();
00057 fEndTime=hit->GetTime();
00058 }
00059 else
00060 {
00061 if(hit->GetPlane()>fEndPlane) fEndPlane=hit->GetPlane();
00062 if(hit->GetPlane()<fBegPlane) fBegPlane=hit->GetPlane();
00063 if(hit->GetTime()>fEndTime) fEndTime=hit->GetTime();
00064 if(hit->GetTime()<fBegTime) fBegTime=hit->GetTime();
00065 }
00066 fHitList.push_back(hit);
00067 return;
00068 }
|
|
|
Definition at line 37 of file ShowerCamAtNu.h. References fAssocTrackList. Referenced by AlgShowerCam::FindShowerVertex(). 00037 { if(i<fAssocTrackList.size()) return fAssocTrackList[i]; else return 0; };
|
|
|
Definition at line 47 of file ShowerCamAtNu.h. Referenced by AlgShowerCam::DetermineDirection(), AlgAtmosShowerList::Form3DShowers(), AlgAtmosShowerList::FormVertexShowers(), and AlgShowerCam::RunAlg(). 00047 { return fBegPlane; };
|
|
|
Definition at line 70 of file ShowerCamAtNu.cxx. References GetHit(), GetNHits(), HitCamAtNu::GetPlane(), and HitCamAtNu::GetStrip(). Referenced by AlgAtmosShowerList::Form3DShowers(), and AlgAtmosShowerList::FormVertexShowers(). 00071 {
00072 double tot=0.0,begstrip=0.0;
00073 for(unsigned int i=0;i<this->GetNHits();i++)
00074 {
00075 HitCamAtNu* hit = this->GetHit(i);
00076 if(hit->GetPlane()==fBegPlane)
00077 {
00078 begstrip+=hit->GetStrip(); tot+=1.0;
00079 }
00080 }
00081 if(tot>0) return (int)(begstrip/tot); else return 0;
00082 }
|
|
|
Definition at line 40 of file ShowerCamAtNu.h. Referenced by AlgShowerCam::FindShowerVertex(). 00040 { return fBegVtxFlag; };
|
|
|
Definition at line 29 of file ShowerCamAtNu.h. Referenced by AlgShowerCam::RunAlg(). 00029 { return fSlice; };
|
|
|
Definition at line 48 of file ShowerCamAtNu.h. Referenced by AlgShowerCam::DetermineDirection(), AlgAtmosShowerList::Form3DShowers(), AlgAtmosShowerList::FormVertexShowers(), and AlgShowerCam::RunAlg(). 00048 { return fEndPlane; };
|
|
|
Definition at line 84 of file ShowerCamAtNu.cxx. References GetHit(), GetNHits(), HitCamAtNu::GetPlane(), and HitCamAtNu::GetStrip(). Referenced by AlgAtmosShowerList::Form3DShowers(), and AlgAtmosShowerList::FormVertexShowers(). 00085 {
00086 double tot=0.0,endstrip=0.0;
00087 for(unsigned int i=0;i<this->GetNHits();i++)
00088 {
00089 HitCamAtNu* hit = this->GetHit(i);
00090 if(hit->GetPlane()==fEndPlane)
00091 {
00092 endstrip+=hit->GetStrip(); tot+=1.0;
00093 }
00094 }
00095 if(tot>0) return (int)(endstrip/tot); else return 0;
00096 }
|
|
|
Definition at line 43 of file ShowerCamAtNu.h. Referenced by AlgShowerCam::FindShowerVertex(). 00043 { return fEndVtxFlag; };
|
|
|
Definition at line 33 of file ShowerCamAtNu.h. References fHitList. 00033 { return fHitList[i]; };
|
|
|
Definition at line 32 of file ShowerCamAtNu.h. References fHitList. Referenced by AlgShowerCam::ExtractHitProperties(), AlgAtmosShowerList::FormVertexShowers(), GetBegStrip(), GetEndStrip(), IsDiffuseShwAssoc(), and IsShwAssoc(). 00032 { return fHitList[i]; };
|
|
|
Definition at line 36 of file ShowerCamAtNu.h. References fAssocTrackList. 00036 { return fAssocTrackList.size(); }; // GetAssocTrackLast() const;
|
|
|
Definition at line 67 of file ShowerCamAtNu.h. References fHitList. Referenced by AlgAtmosShowerList::FormVertexShowers(), GetBegStrip(), GetEndStrip(), IsDiffuseShwAssoc(), and IsShwAssoc(). 00067 { return fHitList.size(); };
|
|
|
Definition at line 65 of file ShowerCamAtNu.h. Referenced by AlgAtmosShowerList::Form3DShowers(). 00065 { return fPartner; };
|
|
|
Definition at line 62 of file ShowerCamAtNu.h. 00062 { return fReseedFlag; };
|
|
|
Definition at line 111 of file ShowerCamAtNu.cxx. References GetHit(), GetNHits(), and HitCamAtNu::IsDiffuseShwAssoc(). Referenced by AlgAtmosShowerList::FormVertexShowers(). 00112 {
00113 int assoctmp,assoc=0;
00114 for(unsigned int i=0;i<this->GetNHits();i++)
00115 {
00116 HitCamAtNu* hittmp = this->GetHit(i);
00117 assoctmp = hittmp->IsDiffuseShwAssoc(hit);
00118 if(assoctmp>1) return assoctmp;
00119 if(assoctmp>assoc) assoc=assoctmp;
00120 }
00121 return assoc;
00122 }
|
|
|
Definition at line 98 of file ShowerCamAtNu.cxx. References GetHit(), GetNHits(), and HitCamAtNu::IsShwAssoc(). 00099 {
00100 int assoctmp,assoc=0;
00101 for(unsigned int i=0;i<this->GetNHits();i++)
00102 {
00103 HitCamAtNu* hittmp = this->GetHit(i);
00104 assoctmp = hittmp->IsShwAssoc(hit);
00105 if(assoctmp>1) return assoctmp;
00106 if(assoctmp>assoc) assoc=assoctmp;
00107 }
00108 return assoc;
00109 }
|
|
|
Definition at line 39 of file ShowerCamAtNu.h. References fBegVtxFlag. Referenced by AlgAtmosShowerList::FormVertexShowers(). 00039 { fBegVtxFlag=flag; return; };
|
|
|
Definition at line 42 of file ShowerCamAtNu.h. References fEndVtxFlag. Referenced by AlgAtmosShowerList::FormVertexShowers(). 00042 { fEndVtxFlag=flag; return; };
|
|
|
Definition at line 64 of file ShowerCamAtNu.h. References fPartner. Referenced by AlgAtmosShowerList::Form3DShowers(). 00064 { fPartner=shw; };
|
|
|
Definition at line 61 of file ShowerCamAtNu.h. References fReseedFlag. Referenced by AlgAtmosShowerList::Form3DShowers(), and AlgAtmosShowerList::FormVertexShowers(). 00061 { fReseedFlag=flag; };
|
|
|
Definition at line 74 of file ShowerCamAtNu.h. Referenced by AddAssocTrack(), GetAssocTrackAt(), and GetNAssocTrack(). |
|
|
Definition at line 77 of file ShowerCamAtNu.h. Referenced by AddHit(). |
|
|
Definition at line 79 of file ShowerCamAtNu.h. Referenced by AddHit(). |
|
|
Definition at line 81 of file ShowerCamAtNu.h. Referenced by SetBegVtxFlag(). |
|
|
Definition at line 78 of file ShowerCamAtNu.h. Referenced by AddHit(). |
|
|
Definition at line 80 of file ShowerCamAtNu.h. Referenced by AddHit(). |
|
|
Definition at line 82 of file ShowerCamAtNu.h. Referenced by SetEndVtxFlag(). |
|
|
Definition at line 75 of file ShowerCamAtNu.h. Referenced by AddHit(), GetHit(), and GetNHits(). |
|
|
Definition at line 84 of file ShowerCamAtNu.h. Referenced by SetPartner(). |
|
|
Definition at line 83 of file ShowerCamAtNu.h. Referenced by SetReseedFlag(). |
|
|
Definition at line 76 of file ShowerCamAtNu.h. |
1.3.9.1