#include <HitAtNu.h>
Public Member Functions | |
| HitAtNu (CandStripHandle *strip) | |
| HitAtNu (const HitAtNu &rhs) | |
| ~HitAtNu () | |
| CandStripHandle * | GetCandStripHandle () |
| Int_t | GetPlaneView () const |
| Int_t | GetPlane () const |
| Int_t | GetStrip () const |
| Double_t | GetCharge () const |
| Double_t | GetTime () const |
| Double_t | GetTPos () const |
| Double_t | GetZPos () const |
| Int_t | GetDigits () const |
| void | SetUID (Int_t uid) |
| void | SetTrkFlag (Int_t flag) |
| void | SetShwFlag (Int_t flag) |
| void | SetXtalkFlag (Int_t flag) |
| Int_t | GetUID () const |
| Int_t | GetTrkFlag () const |
| Int_t | GetShwFlag () const |
| Int_t | GetXtalkFlag () const |
| Int_t | IsTrkAssoc (HitAtNu *hit) const |
| Int_t | IsShwAssoc (HitAtNu *hit) const |
| Int_t | IsDiffuseShwAssoc (HitAtNu *hit) const |
Private Attributes | |
| Int_t | fTrkFlag |
| Int_t | fShwFlag |
| Int_t | fXtalkFlag |
| Int_t | fPlaneView |
| CandStripHandle * | fStrip |
| Int_t | fUid |
| Double_t | fTime |
|
|
Definition at line 8 of file HitAtNu.cxx. 00008 : 00009 fTrkFlag(0), 00010 fShwFlag(0), 00011 fXtalkFlag(0), 00012 fPlaneView(-1), 00013 fStrip(0), 00014 fUid(0), 00015 fTime(-999.0) 00016 { 00017 if(strip){ 00018 fStrip=strip; 00019 fTime=1.0e9*strip->GetTime(); 00020 if( strip->GetPlaneView()==PlaneView::kU 00021 || strip->GetPlaneView()==PlaneView::kX 00022 || strip->GetPlaneView()==PlaneView::kA ) fPlaneView=0; 00023 if( strip->GetPlaneView()==PlaneView::kV 00024 || strip->GetPlaneView()==PlaneView::kY 00025 || strip->GetPlaneView()==PlaneView::kB ) fPlaneView=1; 00026 } 00027 }
|
|
|
Definition at line 29 of file HitAtNu.cxx. 00029 : 00030 TObject(rhs), 00031 fTrkFlag(rhs.fTrkFlag), 00032 fShwFlag(rhs.fShwFlag), 00033 fXtalkFlag(rhs.fXtalkFlag), 00034 fPlaneView(rhs.fPlaneView), 00035 fStrip(rhs.fStrip), 00036 fUid(rhs.fUid), 00037 fTime(rhs.fTime) 00038 { 00039 00040 }
|
|
|
Definition at line 42 of file HitAtNu.cxx. 00043 {
00044
00045 }
|
|
|
Definition at line 47 of file HitAtNu.cxx. Referenced by AlgTrackAtNu::RunAlg(), and AlgShowerAtNu::RunAlg(). 00048 {
00049 return fStrip;
00050 }
|
|
|
Definition at line 69 of file HitAtNu.cxx. References fStrip, and CandStripHandle::GetCharge(). Referenced by ClusterAtNu::AddHit(), ObjShowerAtNu::GetCharge(), TrackSegmentAtNu::GetScore(), AlgTrackAtNu::RunAlg(), AlgShowerAtNu::RunAlg(), AlgAtNuRecoMCTruth::RunAlg(), and AlgAtNuReco::RunAlg().
|
|
|
Definition at line 92 of file HitAtNu.cxx. References fStrip, and CandHandle::GetNDaughters(). Referenced by ClusterAtNu::GetDigits(), and AlgAtNuReco::RunAlg(). 00093 {
00094 if(fStrip) return (Int_t)(fStrip->GetNDaughters());
00095 else return 0;
00096 }
|
|
|
|
Definition at line 52 of file HitAtNu.cxx. Referenced by ObjAtNu::AddHitToList(), AlgTrackAtNu::RunAlg(), AlgShowerAtNu::RunAlg(), AlgAtNuRecoMCTruth::RunAlg(), and AlgAtNuReco::RunAlg(). 00053 {
00054 return fPlaneView;
00055 }
|
|
|
Definition at line 128 of file HitAtNu.cxx. Referenced by ObjShowerAtNu::GetCharge(), ObjShowerAtNu::GetDir(), ObjShowerAtNu::GetVtxT(), ObjShowerAtNu::GetVtxZ(), AlgTrackAtNu::RunAlg(), AlgShowerAtNu::RunAlg(), and AlgAtNuReco::RunAlg(). 00129 {
00130 return fShwFlag;
00131 }
|
|
|
Definition at line 63 of file HitAtNu.cxx. References fStrip, and CandStripHandle::GetStrip(). Referenced by ClusterAtNu::AddHit(), ObjTrackAtNu::GetBegStrip(), ObjShowerAtNu::GetBegStrip(), ObjTrackAtNu::GetEndStrip(), ObjShowerAtNu::GetEndStrip(), IsDiffuseShwAssoc(), ClusterAtNu::IsHitAssoc(), IsShwAssoc(), AlgAtNuRecoMCTruth::RunAlg(), and AlgAtNuReco::RunAlg().
|
|
|
Definition at line 75 of file HitAtNu.cxx. Referenced by ClusterAtNu::AddHit(), ObjShowerAtNu::AddHitToShower(), ObjTrackAtNu::AddHitToTrack(), IsDiffuseShwAssoc(), ClusterAtNu::IsHitAssoc(), IsShwAssoc(), and AlgAtNuReco::RunAlg(). 00076 {
00077 return fTime;
00078 }
|
|
|
Definition at line 80 of file HitAtNu.cxx. References fStrip, and CandStripHandle::GetTPos(). Referenced by ClusterAtNu::AddHit(), ObjTrackAtNu::GetBegDir(), ObjTrackAtNu::GetBegVtxT(), ObjShowerAtNu::GetDir(), ObjTrackAtNu::GetEndDir(), ObjTrackAtNu::GetEndVtxT(), TrackSegmentAtNu::GetScore(), ObjShowerAtNu::GetVtxT(), AlgTrackAtNu::RunAlg(), and AlgShowerAtNu::RunAlg().
|
|
|
Definition at line 123 of file HitAtNu.cxx. Referenced by AlgAtNuReco::RunAlg(). 00124 {
00125 return fTrkFlag;
00126 }
|
|
|
Definition at line 118 of file HitAtNu.cxx. Referenced by AlgAtNuReco::RunAlg(). 00119 {
00120 return fUid;
00121 }
|
|
|
Definition at line 133 of file HitAtNu.cxx. 00134 {
00135 return fXtalkFlag;
00136 }
|
|
|
Definition at line 86 of file HitAtNu.cxx. References fStrip, and CandStripHandle::GetZPos(). Referenced by ClusterAtNu::AddHit(), ObjTrackAtNu::AddHitToTrack(), ObjTrackAtNu::GetBegDir(), ObjShowerAtNu::GetDir(), ObjTrackAtNu::GetEndDir(), TrackSegmentAtNu::GetScore(), ObjShowerAtNu::GetVtxZ(), AlgTrackAtNu::RunAlg(), AlgShowerAtNu::RunAlg(), and AlgAtNuReco::RunAlg().
|
|
|
Definition at line 165 of file HitAtNu.cxx. References GetPlane(), GetStrip(), GetTime(), and win. Referenced by ShowerAtNu::IsDiffuseShwAssoc(), and AlgAtNuReco::RunAlg(). 00166 {
00167 Double_t win=99.9;
00168 if(fStrip){
00169 if( hit->GetTime()-this->GetTime()>-win
00170 && hit->GetTime()-this->GetTime()<win ){
00171 if( hit->GetPlane()-this->GetPlane()>-9
00172 && hit->GetPlane()-this->GetPlane()<9
00173 && hit->GetStrip()-this->GetStrip()>-21
00174 && hit->GetStrip()-this->GetStrip()<21 ){
00175 if( hit->GetPlane()-this->GetPlane()>-5
00176 && hit->GetPlane()-this->GetPlane()<5
00177 && hit->GetStrip()-this->GetStrip()>-11
00178 && hit->GetStrip()-this->GetStrip()<11 )
00179 return 2; else return 1;
00180 }
00181 }
00182 }
00183 return 0;
00184 }
|
|
|
Definition at line 144 of file HitAtNu.cxx. References GetPlane(), GetStrip(), GetTime(), and win. Referenced by ShowerAtNu::IsShwAssoc(), and AlgAtNuReco::RunAlg(). 00145 {
00146 Double_t win=99.9;
00147 if(fStrip){
00148 if( hit->GetTime()-this->GetTime()>-win
00149 && hit->GetTime()-this->GetTime()<win ){
00150 if( hit->GetPlane()-this->GetPlane()>-5
00151 && hit->GetPlane()-this->GetPlane()<5
00152 && hit->GetStrip()-this->GetStrip()>-6
00153 && hit->GetStrip()-this->GetStrip()<6 ){
00154 if( hit->GetPlane()-this->GetPlane()>-3
00155 && hit->GetPlane()-this->GetPlane()<3
00156 && hit->GetStrip()-this->GetStrip()>-4
00157 && hit->GetStrip()-this->GetStrip()<4 )
00158 return 2; else return 1;
00159 }
00160 }
00161 }
00162 return 0;
00163 }
|
|
|
Definition at line 138 of file HitAtNu.cxx. 00139 {
00140 if(hit) return 0;
00141 return 0;
00142 }
|
|
|
Definition at line 108 of file HitAtNu.cxx. References fShwFlag. Referenced by AlgAtNuRecoMCTruth::RunAlg(), and AlgAtNuReco::RunAlg(). 00109 {
00110 fShwFlag=flag;
00111 }
|
|
|
Definition at line 103 of file HitAtNu.cxx. References fTrkFlag. Referenced by AlgAtNuRecoMCTruth::RunAlg(), and AlgAtNuReco::RunAlg(). 00104 {
00105 fTrkFlag=flag;
00106 }
|
|
|
Definition at line 98 of file HitAtNu.cxx. References fUid. Referenced by AlgAtNuReco::RunAlg(). 00099 {
00100 fUid=uid;
00101 }
|
|
|
Definition at line 113 of file HitAtNu.cxx. References fXtalkFlag. Referenced by AlgAtNuReco::RunAlg(). 00114 {
00115 fXtalkFlag=flag;
00116 }
|
|
|
|
|
|
Definition at line 46 of file HitAtNu.h. Referenced by SetShwFlag(). |
|
|
Definition at line 49 of file HitAtNu.h. Referenced by GetCharge(), GetDigits(), GetPlane(), GetStrip(), GetTPos(), and GetZPos(). |
|
|
|
|
|
Definition at line 45 of file HitAtNu.h. Referenced by SetTrkFlag(). |
|
|
Definition at line 50 of file HitAtNu.h. Referenced by SetUID(). |
|
|
Definition at line 47 of file HitAtNu.h. Referenced by SetXtalkFlag(). |
1.3.9.1