REROOT_RecoVtx Class Reference

#include <REROOT_RecoVtx.h>

List of all members.

Public Member Functions

 REROOT_RecoVtx (RECOVTX_DEF *)
 REROOT_RecoVtx ()
 ~REROOT_RecoVtx ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Float_t X () const
Float_t Y () const
Float_t Z () const
Int_t IPln () const
const Char_t * Routine () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Float_t m_X
Float_t m_Y
Float_t m_Z
Int_t m_IPln
Char_t m_Routine [65]

Detailed Description

Definition at line 17 of file REROOT_RecoVtx.h.


Constructor & Destructor Documentation

REROOT_RecoVtx::REROOT_RecoVtx ( RECOVTX_DEF nr  ) 

Definition at line 59 of file REROOT_RecoVtx.cxx.

References init().

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

REROOT_RecoVtx::REROOT_RecoVtx (  ) 

Definition at line 78 of file REROOT_RecoVtx.cxx.

00079 {
00080 }

REROOT_RecoVtx::~REROOT_RecoVtx (  ) 

Definition at line 86 of file REROOT_RecoVtx.cxx.

00087 {
00088 }


Member Function Documentation

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

Definition at line 34 of file REROOT_RecoVtx.h.

References REROOT_Visitor::visit().

00034 { v.visit(this); }

void REROOT_RecoVtx::clear (  ) 

Definition at line 90 of file REROOT_RecoVtx.cxx.

00091 {
00092 }

Int_t REROOT_RecoVtx::ID (  )  const [inline]

Definition at line 40 of file REROOT_RecoVtx.h.

References m_ID.

00040 {return m_ID;  }                    // ID

void REROOT_RecoVtx::init ( void   )  [private]

Definition at line 82 of file REROOT_RecoVtx.cxx.

00083 {
00084 }

Int_t REROOT_RecoVtx::IPln (  )  const [inline]

Definition at line 44 of file REROOT_RecoVtx.h.

References m_IPln.

00044 {return m_IPln;  }                // IPln

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

Definition at line 94 of file REROOT_RecoVtx.cxx.

00095 {
00096   pstream << "======================= RecoVtx =====================\n";
00097 }

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

Definition at line 45 of file REROOT_RecoVtx.h.

References m_Routine.

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

Float_t REROOT_RecoVtx::X (  )  const [inline]

Definition at line 41 of file REROOT_RecoVtx.h.

References m_X.

00041 {return m_X;  }                      // X

Float_t REROOT_RecoVtx::Y (  )  const [inline]

Definition at line 42 of file REROOT_RecoVtx.h.

References m_Y.

00042 {return m_Y;  }                      // Y

Float_t REROOT_RecoVtx::Z ( void   )  const [inline]

Definition at line 43 of file REROOT_RecoVtx.h.

References m_Z, and zoffset_REROOT().

00043 {return m_Z + zoffset_REROOT();  }   // Z


Member Data Documentation

Int_t REROOT_RecoVtx::m_ID [private]

Definition at line 20 of file REROOT_RecoVtx.h.

Referenced by ID().

Int_t REROOT_RecoVtx::m_IPln [private]

Definition at line 24 of file REROOT_RecoVtx.h.

Referenced by IPln().

Char_t REROOT_RecoVtx::m_Routine[65] [private]

Definition at line 25 of file REROOT_RecoVtx.h.

Referenced by Routine().

Float_t REROOT_RecoVtx::m_X [private]

Definition at line 21 of file REROOT_RecoVtx.h.

Referenced by X().

Float_t REROOT_RecoVtx::m_Y [private]

Definition at line 22 of file REROOT_RecoVtx.h.

Referenced by Y().

Float_t REROOT_RecoVtx::m_Z [private]

Definition at line 23 of file REROOT_RecoVtx.h.

Referenced by Z().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1