REROOT_NeuVtx Class Reference

#include <REROOT_NeuVtx.h>

List of all members.

Public Member Functions

 REROOT_NeuVtx (NEUVTX_DEF *)
 REROOT_NeuVtx ()
 ~REROOT_NeuVtx ()
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

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Float_t m_X
Float_t m_Y
Float_t m_Z


Detailed Description

Definition at line 17 of file REROOT_NeuVtx.h.


Constructor & Destructor Documentation

REROOT_NeuVtx::REROOT_NeuVtx ( NEUVTX_DEF  ) 

Definition at line 61 of file REROOT_NeuVtx.cxx.

References init().

00062 {
00063   m_ID = nr->ID - 1;                                          // C index
00064   m_X  = nr->X;
00065   m_Y  = nr->Y;
00066   m_Z  = nr->Z;
00067 
00068   init();
00069 }

REROOT_NeuVtx::REROOT_NeuVtx (  ) 

Definition at line 71 of file REROOT_NeuVtx.cxx.

00072 {
00073 }

REROOT_NeuVtx::~REROOT_NeuVtx (  ) 

Definition at line 79 of file REROOT_NeuVtx.cxx.

00080 {
00081 }


Member Function Documentation

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

Definition at line 32 of file REROOT_NeuVtx.h.

References REROOT_Visitor::visit().

00032 { v.visit(this); }

void REROOT_NeuVtx::clear (  ) 

Definition at line 83 of file REROOT_NeuVtx.cxx.

00084 {
00085 }

Int_t REROOT_NeuVtx::ID (  )  const [inline]

Definition at line 38 of file REROOT_NeuVtx.h.

References m_ID.

00038 {return m_ID;      }                            // ID

void REROOT_NeuVtx::init (  )  [private]

Definition at line 75 of file REROOT_NeuVtx.cxx.

00076 {
00077 }

void REROOT_NeuVtx::printEvent ( std::ostream &   )  const

Definition at line 87 of file REROOT_NeuVtx.cxx.

References m_ID, m_X, m_Y, and m_Z.

00088 {
00089   pstream << "======================= NeuVtx =====================\n";
00090   pstream << " ID: " << m_ID 
00091           << " (" << m_X << ", " << m_Y << ", " << m_Z << ")" << endl;
00092 }

Float_t REROOT_NeuVtx::X (  )  const [inline]

Definition at line 39 of file REROOT_NeuVtx.h.

References m_X.

Referenced by FitTrackMSListModule::Ana().

00039 {return m_X;       }                              // X

Float_t REROOT_NeuVtx::Y (  )  const [inline]

Definition at line 40 of file REROOT_NeuVtx.h.

References m_Y.

Referenced by FitTrackMSListModule::Ana().

00040 {return m_Y;       }                              // Y

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

Definition at line 41 of file REROOT_NeuVtx.h.

References m_Z, and zoffset_REROOT().

Referenced by FitTrackMSListModule::Ana().

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


Member Data Documentation

Int_t REROOT_NeuVtx::m_ID [private]

Definition at line 20 of file REROOT_NeuVtx.h.

Referenced by ID(), and printEvent().

Float_t REROOT_NeuVtx::m_X [private]

Definition at line 21 of file REROOT_NeuVtx.h.

Referenced by printEvent(), and X().

Float_t REROOT_NeuVtx::m_Y [private]

Definition at line 22 of file REROOT_NeuVtx.h.

Referenced by printEvent(), and Y().

Float_t REROOT_NeuVtx::m_Z [private]

Definition at line 23 of file REROOT_NeuVtx.h.

Referenced by printEvent(), and Z().


The documentation for this class was generated from the following files:
Generated on Wed Sep 10 22:52:04 2014 for loon by  doxygen 1.4.7