#include <REROOT_EmuHit.h>
Public Member Functions | |
| REROOT_EmuHit (EMUHIT_DEF *) | |
| REROOT_EmuHit () | |
| ~REROOT_EmuHit () | |
| virtual void | accept (REROOT_Visitor &v) |
| void | clear () |
| void | printEvent (std::ostream &) const |
| Int_t | ID () const |
| Int_t | IPln () const |
| Int_t | ISheet () const |
| Int_t | ILayer () const |
| Int_t | ITrack () const |
| Float_t | TOFG () const |
| Float_t | XBegin () const |
| Float_t | YBegin () const |
| Float_t | ZBegin () const |
| Float_t | XEnd () const |
| Float_t | YEnd () const |
| Float_t | ZEnd () const |
| Float_t | ELoss () const |
| Float_t | Ptot () const |
| Int_t | IPDG () const |
| Int_t | CellPos () const |
| Int_t | PlanePos () const |
Private Member Functions | |
| void | init () |
Private Attributes | |
| Int_t | m_ID |
| Int_t | m_IPln |
| Int_t | m_ISheet |
| Int_t | m_ILayer |
| Int_t | m_ITrack |
| Float_t | m_TOFG |
| Float_t | m_XBegin |
| Float_t | m_YBegin |
| Float_t | m_ZBegin |
| Float_t | m_XEnd |
| Float_t | m_YEnd |
| Float_t | m_ZEnd |
| Float_t | m_ELoss |
| Float_t | m_Ptot |
| Int_t | m_IPDG |
| Int_t | m_CellPos |
| Int_t | m_PlanePos |
Definition at line 18 of file REROOT_EmuHit.h.
| REROOT_EmuHit::REROOT_EmuHit | ( | EMUHIT_DEF * | ) |
Definition at line 58 of file REROOT_EmuHit.cxx.
References init().
00059 { 00060 m_ID = nr->ID - 1; // C index 00061 m_IPln = nr->IPln - 1; // C index 00062 m_ISheet = nr->ISheet - 1; // C index 00063 m_ILayer = nr->ILayer - 1; // C index 00064 m_ITrack = ((nr->ITrack)>0) ? (nr->ITrack)-1 : (nr->ITrack)+1; //Cidx 00065 m_TOFG = nr->TOFG; 00066 m_XBegin = nr->XBegin; 00067 m_YBegin = nr->YBegin; 00068 m_ZBegin = nr->ZBegin; 00069 m_XEnd = nr->XEnd; 00070 m_YEnd = nr->YEnd; 00071 m_ZEnd = nr->ZEnd; 00072 m_ELoss = nr->ELoss; 00073 m_Ptot = nr->Ptot; 00074 m_IPDG = nr->IPDG; 00075 m_CellPos = nr->CellPos - 1; // C index 00076 if (nr->PlanePos != 2147483647) m_PlanePos = nr->PlanePos-1;// C index 00077 else m_PlanePos = -1; // C index 00078 00079 init(); 00080 }
| REROOT_EmuHit::REROOT_EmuHit | ( | ) |
| REROOT_EmuHit::~REROOT_EmuHit | ( | ) |
| virtual void REROOT_EmuHit::accept | ( | REROOT_Visitor & | v | ) | [inline, virtual] |
Definition at line 47 of file REROOT_EmuHit.h.
References REROOT_Visitor::visit().
00047 {v.visit(this);}
| Int_t REROOT_EmuHit::CellPos | ( | ) | const [inline] |
Definition at line 68 of file REROOT_EmuHit.h.
References m_CellPos.
Referenced by MINFEMU::BookHits(), and printEvent().
00068 {return m_CellPos;} // CellPos
| void REROOT_EmuHit::clear | ( | ) |
| Float_t REROOT_EmuHit::ELoss | ( | ) | const [inline] |
Definition at line 65 of file REROOT_EmuHit.h.
References m_ELoss.
Referenced by MINFEMU::GetHitELOSS(), and printEvent().
00065 {return m_ELoss;} // ELoss
| Int_t REROOT_EmuHit::ID | ( | ) | const [inline] |
Definition at line 53 of file REROOT_EmuHit.h.
References m_ID.
Referenced by printEvent().
00053 {return m_ID;} // ID
| Int_t REROOT_EmuHit::ILayer | ( | ) | const [inline] |
Definition at line 56 of file REROOT_EmuHit.h.
References m_ILayer.
Referenced by printEvent().
00056 {return m_ILayer;} // ILayer
| void REROOT_EmuHit::init | ( | ) | [private] |
| Int_t REROOT_EmuHit::IPDG | ( | ) | const [inline] |
Definition at line 67 of file REROOT_EmuHit.h.
References m_IPDG.
Referenced by MINFEMU::GetIPDG(), and printEvent().
00067 {return m_IPDG;} // IPDG
| Int_t REROOT_EmuHit::IPln | ( | ) | const [inline] |
Definition at line 54 of file REROOT_EmuHit.h.
References m_IPln.
Referenced by MINFEMU::BookHits(), and printEvent().
00054 {return m_IPln;} // IPln
| Int_t REROOT_EmuHit::ISheet | ( | ) | const [inline] |
Definition at line 55 of file REROOT_EmuHit.h.
References m_ISheet.
Referenced by printEvent().
00055 {return m_ISheet;} // ISheet
| Int_t REROOT_EmuHit::ITrack | ( | ) | const [inline] |
Definition at line 57 of file REROOT_EmuHit.h.
References m_ITrack.
Referenced by MINFEMU::BookHits(), and printEvent().
00057 {return m_ITrack;} // ITrack
| Int_t REROOT_EmuHit::PlanePos | ( | ) | const [inline] |
Definition at line 69 of file REROOT_EmuHit.h.
References m_PlanePos.
00069 {return m_PlanePos;} // PlanePos
| void REROOT_EmuHit::printEvent | ( | std::ostream & | ) | const |
Definition at line 98 of file REROOT_EmuHit.cxx.
References CellPos(), ELoss(), ID(), ILayer(), IPDG(), IPln(), ISheet(), ITrack(), Ptot(), TOFG(), XBegin(), XEnd(), YBegin(), YEnd(), ZBegin(), and ZEnd().
Referenced by MINFEMU::DumpHit().
00099 { 00100 pstream << "======================= EmuHit ======================\n"; 00101 pstream << "EmuHit.ID = " << ID() << "\n"; 00102 pstream << "EmuHit.IPln = " << IPln() << "\n"; 00103 pstream << "EmuHit.ISheet = " << ISheet() << "\n"; 00104 pstream << "EmuHit.ILayer = " << ILayer() << "\n"; 00105 pstream << "EmuHit.ITrack = " << ITrack() << "\n"; 00106 pstream << "EmuHit.TOFG = " << TOFG() << "\n"; 00107 pstream << "EmuHit.XBegin = " << XBegin() << "\n"; 00108 pstream << "EmuHit.YBegin = " << YBegin() << "\n"; 00109 pstream << "EmuHit.ZBegin = " << ZBegin() << "\n"; 00110 pstream << "EmuHit.XEnd = " << XEnd() << "\n"; 00111 pstream << "EmuHit.YEnd = " << YEnd() << "\n"; 00112 pstream << "EmuHit.ZEnd = " << ZEnd() << "\n"; 00113 pstream << "EmuHit.ELoss = " << ELoss() << "\n"; 00114 pstream << "EmuHit.Ptot = " << Ptot() << "\n"; 00115 pstream << "EmuHit.IPDG = " << IPDG() << "\n"; 00116 pstream << "EmuHit.CellPos = " << CellPos() << "\n"; 00117 }
| Float_t REROOT_EmuHit::Ptot | ( | ) | const [inline] |
Definition at line 66 of file REROOT_EmuHit.h.
References m_Ptot.
Referenced by MINFEMU::GetHitPartMom(), and printEvent().
00066 {return m_Ptot;} // Ptot
| Float_t REROOT_EmuHit::TOFG | ( | ) | const [inline] |
Definition at line 58 of file REROOT_EmuHit.h.
References m_TOFG.
Referenced by printEvent().
00058 {return m_TOFG;} // TOFG
| Float_t REROOT_EmuHit::XBegin | ( | ) | const [inline] |
Definition at line 59 of file REROOT_EmuHit.h.
References m_XBegin.
Referenced by MINFEMU::BookHits(), and printEvent().
00059 {return m_XBegin;} // XBegin
| Float_t REROOT_EmuHit::XEnd | ( | ) | const [inline] |
Definition at line 62 of file REROOT_EmuHit.h.
References m_XEnd.
Referenced by MINFEMU::BookHits(), and printEvent().
00062 {return m_XEnd;} // XEnd
| Float_t REROOT_EmuHit::YBegin | ( | ) | const [inline] |
Definition at line 60 of file REROOT_EmuHit.h.
References m_YBegin.
Referenced by MINFEMU::BookHits(), and printEvent().
00060 {return m_YBegin;} // YBegin
| Float_t REROOT_EmuHit::YEnd | ( | ) | const [inline] |
Definition at line 63 of file REROOT_EmuHit.h.
References m_YEnd.
Referenced by MINFEMU::BookHits(), and printEvent().
00063 {return m_YEnd;} // YEnd
| Float_t REROOT_EmuHit::ZBegin | ( | ) | const [inline] |
Definition at line 61 of file REROOT_EmuHit.h.
References m_ZBegin.
Referenced by MINFEMU::BookHits(), and printEvent().
00061 {return m_ZBegin;} // ZBegin
| Float_t REROOT_EmuHit::ZEnd | ( | ) | const [inline] |
Definition at line 64 of file REROOT_EmuHit.h.
References m_ZEnd.
Referenced by MINFEMU::BookHits(), and printEvent().
00064 {return m_ZEnd;} // ZEnd
Int_t REROOT_EmuHit::m_CellPos [private] |
Float_t REROOT_EmuHit::m_ELoss [private] |
Int_t REROOT_EmuHit::m_ID [private] |
Int_t REROOT_EmuHit::m_ILayer [private] |
Int_t REROOT_EmuHit::m_IPDG [private] |
Int_t REROOT_EmuHit::m_IPln [private] |
Int_t REROOT_EmuHit::m_ISheet [private] |
Int_t REROOT_EmuHit::m_ITrack [private] |
Int_t REROOT_EmuHit::m_PlanePos [private] |
Float_t REROOT_EmuHit::m_Ptot [private] |
Float_t REROOT_EmuHit::m_TOFG [private] |
Float_t REROOT_EmuHit::m_XBegin [private] |
Float_t REROOT_EmuHit::m_XEnd [private] |
Float_t REROOT_EmuHit::m_YBegin [private] |
Float_t REROOT_EmuHit::m_YEnd [private] |
Float_t REROOT_EmuHit::m_ZBegin [private] |
Float_t REROOT_EmuHit::m_ZEnd [private] |
1.4.7