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

Public Member Functions | |
| ObjAtNu () | |
| ObjAtNu (const ObjAtNu &rhs) | |
| virtual | ~ObjAtNu () |
| TIter | GetDaughterIterator () const |
| Int_t | GetNDaughters () const |
| Int_t | GetHitLast () const |
| HitAtNu * | GetHitAt (Int_t i) |
| Bool_t | ContainsHit (HitAtNu *hit) |
| Int_t | GetPlaneView () |
| Int_t | GetUID () const |
| void | SetUID (Int_t uid) |
Protected Member Functions | |
| Bool_t | AddHitToList (HitAtNu *hit) |
Private Attributes | |
| TObjArray * | fHitList |
| Int_t | fUid |
| Int_t | fPlaneView |
|
|
Definition at line 7 of file ObjAtNu.cxx. 00007 : 00008 fHitList(0), fUid(0), fPlaneView(-1) 00009 { 00010 fHitList = new TObjArray(); 00011 }
|
|
|
Definition at line 13 of file ObjAtNu.cxx. 00013 : 00014 TObject(rhs), 00015 fHitList(rhs.fHitList), 00016 fUid(rhs.fUid), 00017 fPlaneView(rhs.fPlaneView) 00018 { 00019 00020 }
|
|
|
Definition at line 22 of file ObjAtNu.cxx. 00023 {
00024 delete fHitList;
00025 }
|
|
|
Definition at line 55 of file ObjAtNu.cxx. References ContainsHit(), fHitList, fPlaneView, HitAtNu::GetPlaneView(), and GetPlaneView(). Referenced by ClusterAtNu::AddHit(), ObjShowerAtNu::AddHitToShower(), and ObjTrackAtNu::AddHitToTrack(). 00056 {
00057 if(this->GetPlaneView()<0) fPlaneView=hit->GetPlaneView();
00058 if(hit->GetPlaneView()==fPlaneView && !this->ContainsHit(hit)){
00059 fHitList->Add(hit); return 1;
00060 }
00061 else return 0;
00062 }
|
|
|
Definition at line 47 of file ObjAtNu.cxx. References fHitList. Referenced by AddHitToList(). 00048 {
00049 for(Int_t i=0;i<1+fHitList->GetLast();i++){
00050 if(hit==(HitAtNu*)(fHitList->At(i))) return true;
00051 }
00052 return false;
00053 }
|
|
|
Definition at line 27 of file ObjAtNu.cxx. References fHitList. 00028 {
00029 return TIter(fHitList);
00030 }
|
|
|
|
|
Definition at line 32 of file ObjAtNu.cxx. References fHitList. 00033 {
00034 return 1+fHitList->GetLast();
00035 }
|
|
|
Definition at line 64 of file ObjAtNu.cxx. Referenced by AddHitToList(), and AlgAtNuReco::RunAlg(). 00065 {
00066 return fPlaneView;
00067 }
|
|
|
Definition at line 69 of file ObjAtNu.cxx. Referenced by AlgAtNuReco::RunAlg(). 00070 {
00071 return fUid;
00072 }
|
|
|
Definition at line 74 of file ObjAtNu.cxx. References fUid. Referenced by AlgAtNuReco::RunAlg(). 00075 {
00076 fUid = uid;
00077 }
|
|
|
Definition at line 35 of file ObjAtNu.h. Referenced by AddHitToList(), ContainsHit(), GetDaughterIterator(), GetHitAt(), GetHitLast(), and GetNDaughters(). |
|
|
Definition at line 37 of file ObjAtNu.h. Referenced by AddHitToList(). |
|
|
Definition at line 36 of file ObjAtNu.h. Referenced by SetUID(). |
1.3.9.1