#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 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 }
|
|
|
Definition at line 82 of file REROOT_EmuHit.cxx. 00083 {
00084 }
|
|
|
Definition at line 90 of file REROOT_EmuHit.cxx. 00091 {
00092 }
|
|
|
Definition at line 47 of file REROOT_EmuHit.h. References REROOT_Visitor::visit(). 00047 {v.visit(this);}
|
|
|
Definition at line 68 of file REROOT_EmuHit.h. Referenced by MINFEMU::BookHits(), and printEvent(). 00068 {return m_CellPos;} // CellPos
|
|
|
Definition at line 94 of file REROOT_EmuHit.cxx. 00095 {
00096 }
|
|
|
Definition at line 65 of file REROOT_EmuHit.h. Referenced by MINFEMU::GetHitELOSS(), and printEvent(). 00065 {return m_ELoss;} // ELoss
|
|
|
Definition at line 53 of file REROOT_EmuHit.h. Referenced by printEvent(). 00053 {return m_ID;} // ID
|
|
|
Definition at line 56 of file REROOT_EmuHit.h. Referenced by printEvent(). 00056 {return m_ILayer;} // ILayer
|
|
|
Definition at line 86 of file REROOT_EmuHit.cxx. 00087 {
00088 }
|
|
|
Definition at line 67 of file REROOT_EmuHit.h. Referenced by MINFEMU::GetIPDG(), and printEvent(). 00067 {return m_IPDG;} // IPDG
|
|
|
Definition at line 54 of file REROOT_EmuHit.h. Referenced by MINFEMU::BookHits(), and printEvent(). 00054 {return m_IPln;} // IPln
|
|
|
Definition at line 55 of file REROOT_EmuHit.h. Referenced by printEvent(). 00055 {return m_ISheet;} // ISheet
|
|
|
Definition at line 57 of file REROOT_EmuHit.h. Referenced by MINFEMU::BookHits(), and printEvent(). 00057 {return m_ITrack;} // ITrack
|
|
|
Definition at line 69 of file REROOT_EmuHit.h. 00069 {return m_PlanePos;} // PlanePos
|
|
|
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 }
|
|
|
Definition at line 66 of file REROOT_EmuHit.h. Referenced by MINFEMU::GetHitPartMom(), and printEvent(). 00066 {return m_Ptot;} // Ptot
|
|
|
Definition at line 58 of file REROOT_EmuHit.h. Referenced by printEvent(). 00058 {return m_TOFG;} // TOFG
|
|
|
Definition at line 59 of file REROOT_EmuHit.h. Referenced by MINFEMU::BookHits(), and printEvent(). 00059 {return m_XBegin;} // XBegin
|
|
|
Definition at line 62 of file REROOT_EmuHit.h. Referenced by MINFEMU::BookHits(), and printEvent(). 00062 {return m_XEnd;} // XEnd
|
|
|
Definition at line 60 of file REROOT_EmuHit.h. Referenced by MINFEMU::BookHits(), and printEvent(). 00060 {return m_YBegin;} // YBegin
|
|
|
Definition at line 63 of file REROOT_EmuHit.h. Referenced by MINFEMU::BookHits(), and printEvent(). 00063 {return m_YEnd;} // YEnd
|
|
|
Definition at line 61 of file REROOT_EmuHit.h. Referenced by MINFEMU::BookHits(), and printEvent(). 00061 {return m_ZBegin;} // ZBegin
|
|
|
Definition at line 64 of file REROOT_EmuHit.h. Referenced by MINFEMU::BookHits(), and printEvent(). 00064 {return m_ZEnd;} // ZEnd
|
|
|
Definition at line 36 of file REROOT_EmuHit.h. |
|
|
Definition at line 33 of file REROOT_EmuHit.h. |
|
|
Definition at line 21 of file REROOT_EmuHit.h. |
|
|
Definition at line 24 of file REROOT_EmuHit.h. |
|
|
Definition at line 35 of file REROOT_EmuHit.h. |
|
|
Definition at line 22 of file REROOT_EmuHit.h. |
|
|
Definition at line 23 of file REROOT_EmuHit.h. |
|
|
Definition at line 25 of file REROOT_EmuHit.h. |
|
|
Definition at line 37 of file REROOT_EmuHit.h. |
|
|
Definition at line 34 of file REROOT_EmuHit.h. |
|
|
Definition at line 26 of file REROOT_EmuHit.h. |
|
|
Definition at line 27 of file REROOT_EmuHit.h. |
|
|
Definition at line 30 of file REROOT_EmuHit.h. |
|
|
Definition at line 28 of file REROOT_EmuHit.h. |
|
|
Definition at line 31 of file REROOT_EmuHit.h. |
|
|
Definition at line 29 of file REROOT_EmuHit.h. |
|
|
Definition at line 32 of file REROOT_EmuHit.h. |
1.3.9.1