Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

REROOT_EmuHit Class Reference

#include <REROOT_EmuHit.h>

List of all members.

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


Constructor & Destructor Documentation

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  ) 
 

Definition at line 82 of file REROOT_EmuHit.cxx.

00083 {
00084 }

REROOT_EmuHit::~REROOT_EmuHit  ) 
 

Definition at line 90 of file REROOT_EmuHit.cxx.

00091 {
00092 }


Member Function Documentation

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.

Referenced by MINFEMU::BookHits(), and printEvent().

00068 {return m_CellPos;}         // CellPos

void REROOT_EmuHit::clear  ) 
 

Definition at line 94 of file REROOT_EmuHit.cxx.

00095 {
00096 }

Float_t REROOT_EmuHit::ELoss  )  const [inline]
 

Definition at line 65 of file REROOT_EmuHit.h.

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.

Referenced by printEvent().

00053 {return m_ID;}                   // ID

Int_t REROOT_EmuHit::ILayer  )  const [inline]
 

Definition at line 56 of file REROOT_EmuHit.h.

Referenced by printEvent().

00056 {return m_ILayer;}           // ILayer

void REROOT_EmuHit::init  )  [private]
 

Definition at line 86 of file REROOT_EmuHit.cxx.

00087 {
00088 }

Int_t REROOT_EmuHit::IPDG  )  const [inline]
 

Definition at line 67 of file REROOT_EmuHit.h.

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.

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.

Referenced by printEvent().

00055 {return m_ISheet;}           // ISheet

Int_t REROOT_EmuHit::ITrack  )  const [inline]
 

Definition at line 57 of file REROOT_EmuHit.h.

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.

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.

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.

Referenced by printEvent().

00058 {return m_TOFG;}               // TOFG

Float_t REROOT_EmuHit::XBegin  )  const [inline]
 

Definition at line 59 of file REROOT_EmuHit.h.

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.

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.

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.

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.

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.

Referenced by MINFEMU::BookHits(), and printEvent().

00064 {return m_ZEnd;}               // ZEnd


Member Data Documentation

Int_t REROOT_EmuHit::m_CellPos [private]
 

Definition at line 36 of file REROOT_EmuHit.h.

Float_t REROOT_EmuHit::m_ELoss [private]
 

Definition at line 33 of file REROOT_EmuHit.h.

Int_t REROOT_EmuHit::m_ID [private]
 

Definition at line 21 of file REROOT_EmuHit.h.

Int_t REROOT_EmuHit::m_ILayer [private]
 

Definition at line 24 of file REROOT_EmuHit.h.

Int_t REROOT_EmuHit::m_IPDG [private]
 

Definition at line 35 of file REROOT_EmuHit.h.

Int_t REROOT_EmuHit::m_IPln [private]
 

Definition at line 22 of file REROOT_EmuHit.h.

Int_t REROOT_EmuHit::m_ISheet [private]
 

Definition at line 23 of file REROOT_EmuHit.h.

Int_t REROOT_EmuHit::m_ITrack [private]
 

Definition at line 25 of file REROOT_EmuHit.h.

Int_t REROOT_EmuHit::m_PlanePos [private]
 

Definition at line 37 of file REROOT_EmuHit.h.

Float_t REROOT_EmuHit::m_Ptot [private]
 

Definition at line 34 of file REROOT_EmuHit.h.

Float_t REROOT_EmuHit::m_TOFG [private]
 

Definition at line 26 of file REROOT_EmuHit.h.

Float_t REROOT_EmuHit::m_XBegin [private]
 

Definition at line 27 of file REROOT_EmuHit.h.

Float_t REROOT_EmuHit::m_XEnd [private]
 

Definition at line 30 of file REROOT_EmuHit.h.

Float_t REROOT_EmuHit::m_YBegin [private]
 

Definition at line 28 of file REROOT_EmuHit.h.

Float_t REROOT_EmuHit::m_YEnd [private]
 

Definition at line 31 of file REROOT_EmuHit.h.

Float_t REROOT_EmuHit::m_ZBegin [private]
 

Definition at line 29 of file REROOT_EmuHit.h.

Float_t REROOT_EmuHit::m_ZEnd [private]
 

Definition at line 32 of file REROOT_EmuHit.h.


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:10:12 2010 for loon by  doxygen 1.3.9.1