REROOT_MuonTrkHeader Class Reference

#include <REROOT_MuonTrkHeader.h>

List of all members.

Public Member Functions

 REROOT_MuonTrkHeader (MUONTRKHEADER_DEF *)
 REROOT_MuonTrkHeader ()
 ~REROOT_MuonTrkHeader ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Int_t NPoints () const
const Char_t * Routine () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Int_t m_NPoints
Char_t m_Routine [65]

Detailed Description

Definition at line 16 of file REROOT_MuonTrkHeader.h.


Constructor & Destructor Documentation

REROOT_MuonTrkHeader::REROOT_MuonTrkHeader ( MUONTRKHEADER_DEF nr  ) 

Definition at line 59 of file REROOT_MuonTrkHeader.cxx.

References init().

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

REROOT_MuonTrkHeader::REROOT_MuonTrkHeader (  ) 

Definition at line 75 of file REROOT_MuonTrkHeader.cxx.

00076 {
00077 }

REROOT_MuonTrkHeader::~REROOT_MuonTrkHeader (  ) 

Definition at line 83 of file REROOT_MuonTrkHeader.cxx.

00084 {
00085 }


Member Function Documentation

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

Definition at line 30 of file REROOT_MuonTrkHeader.h.

References REROOT_Visitor::visit().

00030 { v.visit(this); }

void REROOT_MuonTrkHeader::clear (  ) 

Definition at line 87 of file REROOT_MuonTrkHeader.cxx.

00088 {
00089 }

Int_t REROOT_MuonTrkHeader::ID (  )  const [inline]

Definition at line 36 of file REROOT_MuonTrkHeader.h.

References m_ID.

00036 {return m_ID;  }                   // ID

void REROOT_MuonTrkHeader::init ( void   )  [private]

Definition at line 79 of file REROOT_MuonTrkHeader.cxx.

00080 {
00081 }

Int_t REROOT_MuonTrkHeader::NPoints (  )  const [inline]

Definition at line 37 of file REROOT_MuonTrkHeader.h.

References m_NPoints.

00037 {return m_NPoints;  }         // NPoints

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

Definition at line 91 of file REROOT_MuonTrkHeader.cxx.

00092 {
00093   pstream << "=================== MuonTrkHeader ====================\n";
00094 }

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

Definition at line 38 of file REROOT_MuonTrkHeader.h.

References m_Routine.

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


Member Data Documentation

Int_t REROOT_MuonTrkHeader::m_ID [private]

Definition at line 19 of file REROOT_MuonTrkHeader.h.

Referenced by ID().

Definition at line 20 of file REROOT_MuonTrkHeader.h.

Referenced by NPoints().

Char_t REROOT_MuonTrkHeader::m_Routine[65] [private]

Definition at line 21 of file REROOT_MuonTrkHeader.h.

Referenced by Routine().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1