REROOT_RecoShwEnergy Class Reference

#include <REROOT_RecoShwEnergy.h>

List of all members.

Public Member Functions

 REROOT_RecoShwEnergy (RECOSHWENERGY_DEF *)
 REROOT_RecoShwEnergy ()
 ~REROOT_RecoShwEnergy ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Float_t Energy () const
Float_t SignalSum () const
const Char_t * Routine () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Float_t m_Energy
Float_t m_SignalSum
Char_t m_Routine [65]

Detailed Description

Definition at line 16 of file REROOT_RecoShwEnergy.h.


Constructor & Destructor Documentation

REROOT_RecoShwEnergy::REROOT_RecoShwEnergy ( RECOSHWENERGY_DEF nr  ) 

Definition at line 59 of file REROOT_RecoShwEnergy.cxx.

References init().

00060 {
00061   m_ID        = nr->ID - 1;                                   // C index
00062   m_Energy    = nr->Energy;
00063   m_SignalSum = nr->SignalSum;
00064 
00065 // Fill String objects for char vectors from RecoShwEnergy struct.
00066   Int_t i;    // Keep this declaration here for scope outside for-loops.
00067   for (i=0; i<64; i++) {
00068         if (nr->Routine[i]=='\0' || nr->Routine[i]==' ') break;
00069         m_Routine[i] = nr->Routine[i];
00070   }
00071   m_Routine[i] = '\0';
00072 
00073   init();
00074 }

REROOT_RecoShwEnergy::REROOT_RecoShwEnergy (  ) 

Definition at line 76 of file REROOT_RecoShwEnergy.cxx.

00077 {
00078 }

REROOT_RecoShwEnergy::~REROOT_RecoShwEnergy (  ) 

Definition at line 84 of file REROOT_RecoShwEnergy.cxx.

00085 {
00086 }


Member Function Documentation

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

Definition at line 31 of file REROOT_RecoShwEnergy.h.

References REROOT_Visitor::visit().

00031 { v.visit(this); }

void REROOT_RecoShwEnergy::clear (  ) 

Definition at line 88 of file REROOT_RecoShwEnergy.cxx.

00089 {
00090 }

Float_t REROOT_RecoShwEnergy::Energy (  )  const [inline]

Definition at line 38 of file REROOT_RecoShwEnergy.h.

References m_Energy.

00038 {return m_Energy;  }           // Energy

Int_t REROOT_RecoShwEnergy::ID (  )  const [inline]

Definition at line 37 of file REROOT_RecoShwEnergy.h.

References m_ID.

00037 {return m_ID;  }                   // ID

void REROOT_RecoShwEnergy::init ( void   )  [private]

Definition at line 80 of file REROOT_RecoShwEnergy.cxx.

00081 {
00082 }

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

Definition at line 92 of file REROOT_RecoShwEnergy.cxx.

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

const Char_t* REROOT_RecoShwEnergy::Routine (  )  const [inline]

Definition at line 40 of file REROOT_RecoShwEnergy.h.

References m_Routine.

00040 {return m_Routine;  }     // Routine[65]

Float_t REROOT_RecoShwEnergy::SignalSum (  )  const [inline]

Definition at line 39 of file REROOT_RecoShwEnergy.h.

References m_SignalSum.

00039 {return m_SignalSum;  }     // SignalSum


Member Data Documentation

Float_t REROOT_RecoShwEnergy::m_Energy [private]

Definition at line 20 of file REROOT_RecoShwEnergy.h.

Referenced by Energy().

Int_t REROOT_RecoShwEnergy::m_ID [private]

Definition at line 19 of file REROOT_RecoShwEnergy.h.

Referenced by ID().

Char_t REROOT_RecoShwEnergy::m_Routine[65] [private]

Definition at line 22 of file REROOT_RecoShwEnergy.h.

Referenced by Routine().

Definition at line 21 of file REROOT_RecoShwEnergy.h.

Referenced by SignalSum().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1