REROOT_LSTHit Class Reference

#include <REROOT_LSTHit.h>

List of all members.

Public Member Functions

 REROOT_LSTHit (LSTHIT_DEF *)
 REROOT_LSTHit ()
 ~REROOT_LSTHit ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Int_t IPln () const
Int_t IExtr () const
Int_t ICell () 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_IExtr
Int_t m_ICell
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

Detailed Description

Definition at line 18 of file REROOT_LSTHit.h.


Constructor & Destructor Documentation

REROOT_LSTHit::REROOT_LSTHit ( LSTHIT_DEF nr  ) 

Definition at line 57 of file REROOT_LSTHit.cxx.

References init().

00058 {
00059   m_ID     = nr->ID - 1;                                      // C index
00060   m_IPln   = nr->IPln - 1;                                    // C index
00061   m_IExtr  = nr->IExtr - 1;                                   // C index
00062   m_ICell  = nr->ICell - 1;                                   // C index
00063   m_ITrack = ((nr->ITrack)>0) ? (nr->ITrack)-1 : (nr->ITrack)+1;// C idx
00064   m_TOFG   = nr->TOFG;            // Will be nonsense for version 1 data
00065   m_XBegin = nr->XBegin;
00066   m_YBegin = nr->YBegin;
00067   m_ZBegin = nr->ZBegin;
00068   m_XEnd   = nr->XEnd;
00069   m_YEnd   = nr->YEnd;
00070   m_ZEnd   = nr->ZEnd;
00071   m_ELoss  = nr->ELoss;
00072   m_Ptot   = nr->Ptot;
00073   m_IPDG   = nr->IPDG;
00074   if (nr->CellPos != 2147483647) m_CellPos = nr->CellPos - 1; // C index
00075   else                           m_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_LSTHit::REROOT_LSTHit (  ) 

Definition at line 82 of file REROOT_LSTHit.cxx.

00083 {
00084 }

REROOT_LSTHit::~REROOT_LSTHit (  ) 

Definition at line 90 of file REROOT_LSTHit.cxx.

00091 {
00092 }


Member Function Documentation

virtual void REROOT_LSTHit::accept ( REROOT_Visitor v  )  [inline, virtual]

Definition at line 47 of file REROOT_LSTHit.h.

References REROOT_Visitor::visit().

00047 {v.visit(this);}

Int_t REROOT_LSTHit::CellPos (  )  const [inline]

Definition at line 68 of file REROOT_LSTHit.h.

References m_CellPos.

Referenced by MINFLST::BookHits().

00068 {return m_CellPos;}              // CellPos

void REROOT_LSTHit::clear (  ) 

Definition at line 94 of file REROOT_LSTHit.cxx.

00095 {
00096 }

Float_t REROOT_LSTHit::ELoss (  )  const [inline]

Definition at line 65 of file REROOT_LSTHit.h.

References m_ELoss.

Referenced by MINFLST::GetHitELOSS().

00065 {return m_ELoss;}                  // ELoss

Int_t REROOT_LSTHit::ICell (  )  const [inline]

Definition at line 56 of file REROOT_LSTHit.h.

References m_ICell.

00056 {return m_ICell;}                  // ICell

Int_t REROOT_LSTHit::ID (  )  const [inline]

Definition at line 53 of file REROOT_LSTHit.h.

References m_ID.

00053 {return m_ID;}                        // ID

Int_t REROOT_LSTHit::IExtr (  )  const [inline]

Definition at line 55 of file REROOT_LSTHit.h.

References m_IExtr.

00055 {return m_IExtr;}                  // IExtr

void REROOT_LSTHit::init ( void   )  [private]

Definition at line 86 of file REROOT_LSTHit.cxx.

00087 {
00088 }

Int_t REROOT_LSTHit::IPDG (  )  const [inline]

Definition at line 67 of file REROOT_LSTHit.h.

References m_IPDG.

Referenced by MINFLST::GetIPDG().

00067 {return m_IPDG;}                    // IPDG

Int_t REROOT_LSTHit::IPln (  )  const [inline]

Definition at line 54 of file REROOT_LSTHit.h.

References m_IPln.

Referenced by MINFLST::BookHits().

00054 {return m_IPln;}                    // IPln

Int_t REROOT_LSTHit::ITrack (  )  const [inline]

Definition at line 57 of file REROOT_LSTHit.h.

References m_ITrack.

Referenced by MINFLST::BookHits().

00057 {return m_ITrack;}                // ITrack

Int_t REROOT_LSTHit::PlanePos (  )  const [inline]

Definition at line 69 of file REROOT_LSTHit.h.

References m_PlanePos.

00069 {return m_PlanePos;}            // PlanePos

void REROOT_LSTHit::printEvent ( std::ostream &  pstream  )  const

Definition at line 98 of file REROOT_LSTHit.cxx.

Referenced by MINFLST::DumpHit().

00099 {
00100   pstream << "======================= LSTHit =====================\n";
00101 }

Float_t REROOT_LSTHit::Ptot (  )  const [inline]

Definition at line 66 of file REROOT_LSTHit.h.

References m_Ptot.

Referenced by MINFLST::GetHitPartMom().

00066 {return m_Ptot;}                    // Ptot

Float_t REROOT_LSTHit::TOFG (  )  const [inline]

Definition at line 58 of file REROOT_LSTHit.h.

References m_TOFG.

00058 {return m_TOFG;}                    // TOFG

Float_t REROOT_LSTHit::XBegin (  )  const [inline]

Definition at line 59 of file REROOT_LSTHit.h.

References m_XBegin.

Referenced by MINFLST::BookHits().

00059 {return m_XBegin;}                // XBegin

Float_t REROOT_LSTHit::XEnd (  )  const [inline]

Definition at line 62 of file REROOT_LSTHit.h.

References m_XEnd.

Referenced by MINFLST::BookHits().

00062 {return m_XEnd;}                    // XEnd

Float_t REROOT_LSTHit::YBegin (  )  const [inline]

Definition at line 60 of file REROOT_LSTHit.h.

References m_YBegin.

Referenced by MINFLST::BookHits().

00060 {return m_YBegin;}                // YBegin

Float_t REROOT_LSTHit::YEnd (  )  const [inline]

Definition at line 63 of file REROOT_LSTHit.h.

References m_YEnd.

Referenced by MINFLST::BookHits().

00063 {return m_YEnd;}                    // YEnd

Float_t REROOT_LSTHit::ZBegin (  )  const [inline]

Definition at line 61 of file REROOT_LSTHit.h.

References m_ZBegin.

Referenced by MINFLST::BookHits().

00061 {return m_ZBegin;}                // ZBegin

Float_t REROOT_LSTHit::ZEnd (  )  const [inline]

Definition at line 64 of file REROOT_LSTHit.h.

References m_ZEnd.

Referenced by MINFLST::BookHits().

00064 {return m_ZEnd;}                    // ZEnd


Member Data Documentation

Int_t REROOT_LSTHit::m_CellPos [private]

Definition at line 36 of file REROOT_LSTHit.h.

Referenced by CellPos().

Float_t REROOT_LSTHit::m_ELoss [private]

Definition at line 33 of file REROOT_LSTHit.h.

Referenced by ELoss().

Int_t REROOT_LSTHit::m_ICell [private]

Definition at line 24 of file REROOT_LSTHit.h.

Referenced by ICell().

Int_t REROOT_LSTHit::m_ID [private]

Definition at line 21 of file REROOT_LSTHit.h.

Referenced by ID().

Int_t REROOT_LSTHit::m_IExtr [private]

Definition at line 23 of file REROOT_LSTHit.h.

Referenced by IExtr().

Int_t REROOT_LSTHit::m_IPDG [private]

Definition at line 35 of file REROOT_LSTHit.h.

Referenced by IPDG().

Int_t REROOT_LSTHit::m_IPln [private]

Definition at line 22 of file REROOT_LSTHit.h.

Referenced by IPln().

Int_t REROOT_LSTHit::m_ITrack [private]

Definition at line 25 of file REROOT_LSTHit.h.

Referenced by ITrack().

Int_t REROOT_LSTHit::m_PlanePos [private]

Definition at line 37 of file REROOT_LSTHit.h.

Referenced by PlanePos().

Float_t REROOT_LSTHit::m_Ptot [private]

Definition at line 34 of file REROOT_LSTHit.h.

Referenced by Ptot().

Float_t REROOT_LSTHit::m_TOFG [private]

Definition at line 26 of file REROOT_LSTHit.h.

Referenced by TOFG().

Float_t REROOT_LSTHit::m_XBegin [private]

Definition at line 27 of file REROOT_LSTHit.h.

Referenced by XBegin().

Float_t REROOT_LSTHit::m_XEnd [private]

Definition at line 30 of file REROOT_LSTHit.h.

Referenced by XEnd().

Float_t REROOT_LSTHit::m_YBegin [private]

Definition at line 28 of file REROOT_LSTHit.h.

Referenced by YBegin().

Float_t REROOT_LSTHit::m_YEnd [private]

Definition at line 31 of file REROOT_LSTHit.h.

Referenced by YEnd().

Float_t REROOT_LSTHit::m_ZBegin [private]

Definition at line 29 of file REROOT_LSTHit.h.

Referenced by ZBegin().

Float_t REROOT_LSTHit::m_ZEnd [private]

Definition at line 32 of file REROOT_LSTHit.h.

Referenced by ZEnd().


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1