REROOT_FLSDigiPln Class Reference

#include <REROOT_FLSDigiPln.h>

List of all members.

Public Member Functions

 REROOT_FLSDigiPln (FLSDIGIPLN_DEF *)
 REROOT_FLSDigiPln ()
 ~REROOT_FLSDigiPln ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Int_t IPln () const
const Char_t * Rotm () const
Int_t NCells () const
const Float_t * XYZBase () const
const Float_t * XYZDir () const
Float_t DirScale () const
Float_t SumRawAdc () const
Float_t SumCorrAdc () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Int_t m_IPln
Char_t m_Rotm [5]
Int_t m_NCells
Float_t m_XYZBase [3]
Float_t m_XYZDir [3]
Float_t m_DirScale
Float_t m_SumRawAdc
Float_t m_SumCorrAdc

Detailed Description

Definition at line 16 of file REROOT_FLSDigiPln.h.


Constructor & Destructor Documentation

REROOT_FLSDigiPln::REROOT_FLSDigiPln ( FLSDIGIPLN_DEF nr  ) 

Definition at line 59 of file REROOT_FLSDigiPln.cxx.

References init().

00060 {
00061   m_ID         = nr->ID - 1;                                  // C index
00062   m_IPln       = nr->IPln - 1;                                // C index
00063   m_NCells     = nr->NCells;
00064   m_DirScale   = nr->DirScale;
00065   m_SumRawAdc  = nr->SumRawAdc;
00066   m_SumCorrAdc = nr->SumCorrAdc;
00067 
00068 // Fill simple arrays from FLSDigiPln struct.
00069   Int_t i;    // Keep this declaration here for scope outside for-loops.
00070   for (i=0; i<3; i++) {
00071         m_XYZBase[i] = nr->XYZBase[i];
00072         m_XYZDir[i]  = nr->XYZDir[i];
00073   }
00074 
00075 // Fill String objects for char vectors from FLSDigiPln struct.
00076   for (i=0; i<4; i++) {
00077         if (nr->Rotm[i]=='\0' || nr->Rotm[i]==' ') break;
00078         m_Rotm[i] = nr->Rotm[i];
00079   }
00080   m_Rotm[i] = '\0';
00081 
00082   init();
00083 }

REROOT_FLSDigiPln::REROOT_FLSDigiPln (  ) 

Definition at line 85 of file REROOT_FLSDigiPln.cxx.

00086 {
00087 }

REROOT_FLSDigiPln::~REROOT_FLSDigiPln (  ) 

Definition at line 93 of file REROOT_FLSDigiPln.cxx.

00094 {
00095 }


Member Function Documentation

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

Definition at line 36 of file REROOT_FLSDigiPln.h.

References REROOT_Visitor::visit().

00036 { v.visit(this); }

void REROOT_FLSDigiPln::clear (  ) 

Definition at line 97 of file REROOT_FLSDigiPln.cxx.

00098 {
00099 }

Float_t REROOT_FLSDigiPln::DirScale (  )  const [inline]

Definition at line 48 of file REROOT_FLSDigiPln.h.

References m_DirScale.

00048 {return m_DirScale;  }       // DirScale

Int_t REROOT_FLSDigiPln::ID (  )  const [inline]

Definition at line 42 of file REROOT_FLSDigiPln.h.

References m_ID.

00042 {return m_ID;  }                   // ID

void REROOT_FLSDigiPln::init ( void   )  [private]

Definition at line 89 of file REROOT_FLSDigiPln.cxx.

00090 {
00091 }

Int_t REROOT_FLSDigiPln::IPln (  )  const [inline]

Definition at line 43 of file REROOT_FLSDigiPln.h.

References m_IPln.

00043 {return m_IPln;  }               // IPln

Int_t REROOT_FLSDigiPln::NCells (  )  const [inline]

Definition at line 45 of file REROOT_FLSDigiPln.h.

References m_NCells.

00045 {return m_NCells;  }           // NCells

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

Definition at line 101 of file REROOT_FLSDigiPln.cxx.

00102 {
00103   pstream << "===================== FLSDigiPln =====================\n";
00104 }

const Char_t* REROOT_FLSDigiPln::Rotm (  )  const [inline]

Definition at line 44 of file REROOT_FLSDigiPln.h.

References m_Rotm.

00044 {return m_Rotm;  }            // Rotm[5]

Float_t REROOT_FLSDigiPln::SumCorrAdc (  )  const [inline]

Definition at line 50 of file REROOT_FLSDigiPln.h.

References m_SumCorrAdc.

00050 {return m_SumCorrAdc;  }   // SumCorrAdc

Float_t REROOT_FLSDigiPln::SumRawAdc (  )  const [inline]

Definition at line 49 of file REROOT_FLSDigiPln.h.

References m_SumRawAdc.

00049 {return m_SumRawAdc;  }     // SumRawAdc

const Float_t* REROOT_FLSDigiPln::XYZBase (  )  const [inline]

Definition at line 46 of file REROOT_FLSDigiPln.h.

References m_XYZBase.

00046 {return m_XYZBase;  }      // XYZBase[3]

const Float_t* REROOT_FLSDigiPln::XYZDir (  )  const [inline]

Definition at line 47 of file REROOT_FLSDigiPln.h.

References m_XYZDir.

00047 {return m_XYZDir;  }        // XYZDir[3]


Member Data Documentation

Float_t REROOT_FLSDigiPln::m_DirScale [private]

Definition at line 25 of file REROOT_FLSDigiPln.h.

Referenced by DirScale().

Int_t REROOT_FLSDigiPln::m_ID [private]

Definition at line 19 of file REROOT_FLSDigiPln.h.

Referenced by ID().

Int_t REROOT_FLSDigiPln::m_IPln [private]

Definition at line 20 of file REROOT_FLSDigiPln.h.

Referenced by IPln().

Int_t REROOT_FLSDigiPln::m_NCells [private]

Definition at line 22 of file REROOT_FLSDigiPln.h.

Referenced by NCells().

Char_t REROOT_FLSDigiPln::m_Rotm[5] [private]

Definition at line 21 of file REROOT_FLSDigiPln.h.

Referenced by Rotm().

Definition at line 27 of file REROOT_FLSDigiPln.h.

Referenced by SumCorrAdc().

Float_t REROOT_FLSDigiPln::m_SumRawAdc [private]

Definition at line 26 of file REROOT_FLSDigiPln.h.

Referenced by SumRawAdc().

Float_t REROOT_FLSDigiPln::m_XYZBase[3] [private]

Definition at line 23 of file REROOT_FLSDigiPln.h.

Referenced by XYZBase().

Float_t REROOT_FLSDigiPln::m_XYZDir[3] [private]

Definition at line 24 of file REROOT_FLSDigiPln.h.

Referenced by XYZDir().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1