#include <ShowerAtNu.h>
Inheritance diagram for ShowerAtNu:

Public Member Functions | |
| ShowerAtNu (CandSliceHandle *slice) | |
| ShowerAtNu (const ShowerAtNu &rhs) | |
| virtual | ~ShowerAtNu () |
| CandSliceHandle * | GetCandSliceHandle () |
| void | AddHit (HitAtNu *hit) |
| void | AddAssocTrack (TrackAtNu *track) |
| Int_t | GetAssocTrackLast () const |
| const TrackAtNu * | GetAssocTrackAt (Int_t i) |
| void | SetBegVtxFlag (Bool_t flag) |
| Bool_t | GetBegVtxFlag () |
| void | SetEndVtxFlag (Bool_t flag) |
| Bool_t | GetEndVtxFlag () |
| Int_t | IsShwAssoc (HitAtNu *hit) |
| Int_t | IsDiffuseShwAssoc (HitAtNu *hit) |
Private Attributes | |
| TObjArray * | fAssocTrackList |
| CandSliceHandle * | fSlice |
| Bool_t | fBegVtxFlag |
| Bool_t | fEndVtxFlag |
|
|
Definition at line 9 of file ShowerAtNu.cxx. 00009 : 00010 fAssocTrackList(0), 00011 fSlice(0), 00012 fBegVtxFlag(0), 00013 fEndVtxFlag(0) 00014 { 00015 fSlice = slice; 00016 }
|
|
|
Definition at line 18 of file ShowerAtNu.cxx. 00018 : 00019 ObjShowerAtNu(rhs), 00020 fAssocTrackList(rhs.fAssocTrackList), 00021 fSlice(rhs.fSlice), 00022 fBegVtxFlag(rhs.fBegVtxFlag), 00023 fEndVtxFlag(rhs.fEndVtxFlag) 00024 { 00025 00026 }
|
|
|
Definition at line 28 of file ShowerAtNu.cxx. 00029 {
00030 if(fAssocTrackList) delete fAssocTrackList;
00031 }
|
|
|
Definition at line 44 of file ShowerAtNu.cxx. References fAssocTrackList. Referenced by AlgAtNuReco::RunAlg(). 00045 {
00046 if(!fAssocTrackList) fAssocTrackList = new TObjArray();
00047 fAssocTrackList->Add(track);
00048 }
|
|
|
Definition at line 38 of file ShowerAtNu.cxx. References ObjShowerAtNu::AddHitToShower(). Referenced by AlgAtNuRecoMCTruth::RunAlg(), and AlgAtNuReco::RunAlg(). 00039 {
00040 if(this->AddHitToShower(hit)) return;
00041 else return;
00042 }
|
|
|
Definition at line 55 of file ShowerAtNu.cxx. References fAssocTrackList. Referenced by AlgShowerAtNu::RunAlg(). 00056 {
00057 if(fAssocTrackList) return (TrackAtNu*)(fAssocTrackList->At(i)); else return 0;
00058 }
|
|
|
Definition at line 50 of file ShowerAtNu.cxx. References fAssocTrackList. 00051 {
00052 if(fAssocTrackList) return fAssocTrackList->GetLast(); else return -1;
00053 }
|
|
|
Definition at line 65 of file ShowerAtNu.cxx. Referenced by AlgShowerAtNu::RunAlg(). 00066 {
00067 return fBegVtxFlag;
00068 }
|
|
|
Definition at line 33 of file ShowerAtNu.cxx. Referenced by AlgShowerAtNu::RunAlg(). 00034 {
00035 return fSlice;
00036 }
|
|
|
Definition at line 75 of file ShowerAtNu.cxx. Referenced by AlgShowerAtNu::RunAlg(). 00076 {
00077 return fEndVtxFlag;
00078 }
|
|
|
Definition at line 91 of file ShowerAtNu.cxx. References ObjAtNu::GetHitAt(), ObjAtNu::GetHitLast(), and HitAtNu::IsDiffuseShwAssoc(). Referenced by AlgAtNuReco::RunAlg(). 00092 {
00093 Int_t assoctmp,assoc=0;
00094 for(Int_t i=0;i<1+this->GetHitLast();i++){
00095 HitAtNu* hittmp = (HitAtNu*)(this->GetHitAt(i));
00096 assoctmp = hittmp->IsDiffuseShwAssoc(hit);
00097 if(assoctmp>assoc) assoc=assoctmp; if(assoc>1) return assoc;
00098 }
00099 return assoc;
00100 }
|
|
|
Definition at line 80 of file ShowerAtNu.cxx. References ObjAtNu::GetHitAt(), ObjAtNu::GetHitLast(), and HitAtNu::IsShwAssoc(). 00081 {
00082 Int_t assoctmp,assoc=0;
00083 for(Int_t i=0;i<1+this->GetHitLast();i++){
00084 HitAtNu* hittmp = (HitAtNu*)(this->GetHitAt(i));
00085 assoctmp = hittmp->IsShwAssoc(hit);
00086 if(assoctmp>assoc) assoc=assoctmp; if(assoc>1) return assoc;
00087 }
00088 return assoc;
00089 }
|
|
|
Definition at line 60 of file ShowerAtNu.cxx. References fBegVtxFlag. Referenced by AlgAtNuReco::RunAlg(). 00061 {
00062 fBegVtxFlag = flag;
00063 }
|
|
|
Definition at line 70 of file ShowerAtNu.cxx. References fEndVtxFlag. Referenced by AlgAtNuReco::RunAlg(). 00071 {
00072 fEndVtxFlag = flag;
00073 }
|
|
|
Definition at line 38 of file ShowerAtNu.h. Referenced by AddAssocTrack(), GetAssocTrackAt(), and GetAssocTrackLast(). |
|
|
Definition at line 40 of file ShowerAtNu.h. Referenced by SetBegVtxFlag(). |
|
|
Definition at line 41 of file ShowerAtNu.h. Referenced by SetEndVtxFlag(). |
|
|
Definition at line 39 of file ShowerAtNu.h. |
1.3.9.1