REROOT_FLSDigiView Class Reference

#include <REROOT_FLSDigiView.h>

List of all members.

Public Member Functions

 REROOT_FLSDigiView (FLSDIGIVIEW_DEF *)
 REROOT_FLSDigiView ()
 ~REROOT_FLSDigiView ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
const Char_t * Rotm () const
Int_t NPlns () 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 SumOldAdc () const
Float_t SumCorrAdc () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Char_t m_Rotm [5]
Int_t m_NPlns
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_SumOldAdc
Float_t m_SumCorrAdc

Detailed Description

Definition at line 16 of file REROOT_FLSDigiView.h.


Constructor & Destructor Documentation

REROOT_FLSDigiView::REROOT_FLSDigiView ( FLSDIGIVIEW_DEF nr  ) 

Definition at line 59 of file REROOT_FLSDigiView.cxx.

References init().

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

REROOT_FLSDigiView::REROOT_FLSDigiView (  ) 

Definition at line 86 of file REROOT_FLSDigiView.cxx.

00087 {
00088 }

REROOT_FLSDigiView::~REROOT_FLSDigiView (  ) 

Definition at line 94 of file REROOT_FLSDigiView.cxx.

00095 {
00096 }


Member Function Documentation

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

Definition at line 37 of file REROOT_FLSDigiView.h.

References REROOT_Visitor::visit().

00037 { v.visit(this); }

void REROOT_FLSDigiView::clear (  ) 

Definition at line 98 of file REROOT_FLSDigiView.cxx.

00099 {
00100 }

Float_t REROOT_FLSDigiView::DirScale (  )  const [inline]

Definition at line 49 of file REROOT_FLSDigiView.h.

References m_DirScale.

00049 {return m_DirScale;  }       // DirScale

Int_t REROOT_FLSDigiView::ID (  )  const [inline]

Definition at line 43 of file REROOT_FLSDigiView.h.

References m_ID.

00043 {return m_ID;  }                   // ID

void REROOT_FLSDigiView::init ( void   )  [private]

Definition at line 90 of file REROOT_FLSDigiView.cxx.

00091 {
00092 }

Int_t REROOT_FLSDigiView::NCells (  )  const [inline]

Definition at line 46 of file REROOT_FLSDigiView.h.

References m_NCells.

00046 {return m_NCells;  }           // NCells

Int_t REROOT_FLSDigiView::NPlns (  )  const [inline]

Definition at line 45 of file REROOT_FLSDigiView.h.

References m_NPlns.

00045 {return m_NPlns;  }             // NPlns

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

Definition at line 102 of file REROOT_FLSDigiView.cxx.

00103 {
00104   pstream << "==================== FLSDigiView =====================\n";
00105 }

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

Definition at line 44 of file REROOT_FLSDigiView.h.

References m_Rotm.

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

Float_t REROOT_FLSDigiView::SumCorrAdc (  )  const [inline]

Definition at line 52 of file REROOT_FLSDigiView.h.

References m_SumCorrAdc.

00052 {return m_SumCorrAdc;  }   // SumCorrAdc

Float_t REROOT_FLSDigiView::SumOldAdc (  )  const [inline]

Definition at line 51 of file REROOT_FLSDigiView.h.

References m_SumOldAdc.

00051 {return m_SumOldAdc;  }     // SumOldAdc

Float_t REROOT_FLSDigiView::SumRawAdc (  )  const [inline]

Definition at line 50 of file REROOT_FLSDigiView.h.

References m_SumRawAdc.

00050 {return m_SumRawAdc;  }     // SumRawAdc

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

Definition at line 47 of file REROOT_FLSDigiView.h.

References m_XYZBase.

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

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

Definition at line 48 of file REROOT_FLSDigiView.h.

References m_XYZDir.

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


Member Data Documentation

Float_t REROOT_FLSDigiView::m_DirScale [private]

Definition at line 25 of file REROOT_FLSDigiView.h.

Referenced by DirScale().

Int_t REROOT_FLSDigiView::m_ID [private]

Definition at line 19 of file REROOT_FLSDigiView.h.

Referenced by ID().

Definition at line 22 of file REROOT_FLSDigiView.h.

Referenced by NCells().

Int_t REROOT_FLSDigiView::m_NPlns [private]

Definition at line 21 of file REROOT_FLSDigiView.h.

Referenced by NPlns().

Char_t REROOT_FLSDigiView::m_Rotm[5] [private]

Definition at line 20 of file REROOT_FLSDigiView.h.

Referenced by Rotm().

Definition at line 28 of file REROOT_FLSDigiView.h.

Referenced by SumCorrAdc().

Definition at line 27 of file REROOT_FLSDigiView.h.

Referenced by SumOldAdc().

Definition at line 26 of file REROOT_FLSDigiView.h.

Referenced by SumRawAdc().

Float_t REROOT_FLSDigiView::m_XYZBase[3] [private]

Definition at line 23 of file REROOT_FLSDigiView.h.

Referenced by XYZBase().

Float_t REROOT_FLSDigiView::m_XYZDir[3] [private]

Definition at line 24 of file REROOT_FLSDigiView.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