REROOT_EmuDigit Class Reference

#include <REROOT_EmuDigit.h>

List of all members.

Public Member Functions

 REROOT_EmuDigit (EMUDIGIT_DEF *)
 REROOT_EmuDigit ()
 ~REROOT_EmuDigit ()
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
Float_t XCenter () const
Float_t YCenter () const
Float_t ZCenter () const
Float_t GrainSize () 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
Float_t m_XCenter
Float_t m_YCenter
Float_t m_ZCenter
Float_t m_GrainSize
Int_t m_CellPos
Int_t m_PlanePos

Detailed Description

Definition at line 18 of file REROOT_EmuDigit.h.


Constructor & Destructor Documentation

REROOT_EmuDigit::REROOT_EmuDigit ( EMUDIGIT_DEF nr  ) 

Definition at line 59 of file REROOT_EmuDigit.cxx.

References init().

00060 {
00061   m_ID              = nr->ID - 1;                             // C index
00062   m_IPln            = nr->IPln - 1;                           // C index
00063   m_ISheet          = nr->ISheet - 1;                         // C index
00064   m_ILayer          = nr->ILayer - 1;                         // C index
00065   m_XCenter         = nr->XCenter;
00066   m_YCenter         = nr->YCenter;
00067   m_ZCenter         = nr->ZCenter;
00068   m_GrainSize       = nr->GrainSize;
00069   m_CellPos         = nr->CellPos - 1;                        // C index
00070   if (nr->PlanePos != 2147483647) m_PlanePos = nr->PlanePos-1;// C index
00071   else                            m_PlanePos = -1;            // C index
00072 
00073   init();
00074 }

REROOT_EmuDigit::REROOT_EmuDigit (  ) 

Definition at line 76 of file REROOT_EmuDigit.cxx.

00077 {
00078 }

REROOT_EmuDigit::~REROOT_EmuDigit (  ) 

Definition at line 84 of file REROOT_EmuDigit.cxx.

00085 {
00086 }


Member Function Documentation

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

Definition at line 40 of file REROOT_EmuDigit.h.

References REROOT_Visitor::visit().

00040 {v.visit(this);}

Int_t REROOT_EmuDigit::CellPos (  )  const [inline]

Definition at line 54 of file REROOT_EmuDigit.h.

References m_CellPos.

00054 {return m_CellPos;}       // CellPos

void REROOT_EmuDigit::clear (  ) 

Definition at line 88 of file REROOT_EmuDigit.cxx.

00089 {
00090 }

Float_t REROOT_EmuDigit::GrainSize (  )  const [inline]

Definition at line 53 of file REROOT_EmuDigit.h.

References m_GrainSize.

00053 {return m_GrainSize;}   // GrainSize

Int_t REROOT_EmuDigit::ID (  )  const [inline]

Definition at line 46 of file REROOT_EmuDigit.h.

References m_ID.

00046 {return m_ID;}                 // ID

Int_t REROOT_EmuDigit::ILayer (  )  const [inline]

Definition at line 49 of file REROOT_EmuDigit.h.

References m_ILayer.

00049 {return m_ILayer;}         // ILayer

void REROOT_EmuDigit::init ( void   )  [private]

Definition at line 80 of file REROOT_EmuDigit.cxx.

00081 {
00082 }

Int_t REROOT_EmuDigit::IPln (  )  const [inline]

Definition at line 47 of file REROOT_EmuDigit.h.

References m_IPln.

00047 {return m_IPln;}             // IPln

Int_t REROOT_EmuDigit::ISheet (  )  const [inline]

Definition at line 48 of file REROOT_EmuDigit.h.

References m_ISheet.

00048 {return m_ISheet;}         // ISheet

Int_t REROOT_EmuDigit::PlanePos (  )  const [inline]

Definition at line 55 of file REROOT_EmuDigit.h.

References m_PlanePos.

00055 {return m_PlanePos;}     // PlanePos

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

Definition at line 92 of file REROOT_EmuDigit.cxx.

00093 {
00094   pstream << "======================= EmuDigit =====================\n";
00095 }

Float_t REROOT_EmuDigit::XCenter (  )  const [inline]

Definition at line 50 of file REROOT_EmuDigit.h.

References m_XCenter.

00050 {return m_XCenter;}       // XCenter

Float_t REROOT_EmuDigit::YCenter (  )  const [inline]

Definition at line 51 of file REROOT_EmuDigit.h.

References m_YCenter.

00051 {return m_YCenter;}       // YCenter

Float_t REROOT_EmuDigit::ZCenter (  )  const [inline]

Definition at line 52 of file REROOT_EmuDigit.h.

References m_ZCenter.

00052 {return m_ZCenter;}       // ZCenter


Member Data Documentation

Int_t REROOT_EmuDigit::m_CellPos [private]

Definition at line 29 of file REROOT_EmuDigit.h.

Referenced by CellPos().

Float_t REROOT_EmuDigit::m_GrainSize [private]

Definition at line 28 of file REROOT_EmuDigit.h.

Referenced by GrainSize().

Int_t REROOT_EmuDigit::m_ID [private]

Definition at line 21 of file REROOT_EmuDigit.h.

Referenced by ID().

Int_t REROOT_EmuDigit::m_ILayer [private]

Definition at line 24 of file REROOT_EmuDigit.h.

Referenced by ILayer().

Int_t REROOT_EmuDigit::m_IPln [private]

Definition at line 22 of file REROOT_EmuDigit.h.

Referenced by IPln().

Int_t REROOT_EmuDigit::m_ISheet [private]

Definition at line 23 of file REROOT_EmuDigit.h.

Referenced by ISheet().

Int_t REROOT_EmuDigit::m_PlanePos [private]

Definition at line 30 of file REROOT_EmuDigit.h.

Referenced by PlanePos().

Float_t REROOT_EmuDigit::m_XCenter [private]

Definition at line 25 of file REROOT_EmuDigit.h.

Referenced by XCenter().

Float_t REROOT_EmuDigit::m_YCenter [private]

Definition at line 26 of file REROOT_EmuDigit.h.

Referenced by YCenter().

Float_t REROOT_EmuDigit::m_ZCenter [private]

Definition at line 27 of file REROOT_EmuDigit.h.

Referenced by ZCenter().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1