REROOT_MuonTrkPoint Class Reference

#include <REROOT_MuonTrkPoint.h>

List of all members.

Public Member Functions

 REROOT_MuonTrkPoint (MUONTRKPOINT_DEF *)
 REROOT_MuonTrkPoint ()
 ~REROOT_MuonTrkPoint ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Int_t Index () const
Float_t X () const
Float_t Y () const
Float_t Z () const
Float_t Weight () const
Float_t transv () const
const Char_t * Rotm () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Int_t m_Index
Float_t m_X
Float_t m_Y
Float_t m_Z
Float_t m_Weight
Float_t m_transv
Char_t m_Rotm [5]

Detailed Description

Definition at line 17 of file REROOT_MuonTrkPoint.h.


Constructor & Destructor Documentation

REROOT_MuonTrkPoint::REROOT_MuonTrkPoint ( MUONTRKPOINT_DEF nr  ) 

Definition at line 10 of file REROOT_MuonTrkPoint.cxx.

References init().

00011 {
00012   m_ID        = nr->ID - 1;                                   // C index
00013   m_Index     = nr->Index - 1;                                // C index
00014   m_X         = nr->X;
00015   m_Y         = nr->Y;
00016   m_Z         = nr->Z;
00017   m_Weight    = nr->Weight;
00018   m_transv    = nr->transv;
00019 
00020 // Fill String objects for char vectors from MuonTrkPoint struct.
00021   Int_t i;    // Keep this declaration here for scope outside for-loops.
00022   for (i=0; i<4; i++) {
00023         if (nr->Rotm[i]=='\0' || nr->Rotm[i]==' ') break;
00024         m_Rotm[i] = nr->Rotm[i];
00025   }
00026   m_Rotm[i] = '\0';
00027 
00028   init();
00029 }

REROOT_MuonTrkPoint::REROOT_MuonTrkPoint (  ) 

Definition at line 31 of file REROOT_MuonTrkPoint.cxx.

00032 {
00033 }

REROOT_MuonTrkPoint::~REROOT_MuonTrkPoint (  ) 

Definition at line 39 of file REROOT_MuonTrkPoint.cxx.

00040 {
00041 }


Member Function Documentation

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

Definition at line 36 of file REROOT_MuonTrkPoint.h.

References REROOT_Visitor::visit().

00036 { v.visit(this); }

void REROOT_MuonTrkPoint::clear (  ) 

Definition at line 43 of file REROOT_MuonTrkPoint.cxx.

00044 {
00045 }

Int_t REROOT_MuonTrkPoint::ID (  )  const [inline]

Definition at line 42 of file REROOT_MuonTrkPoint.h.

References m_ID.

00042 {return m_ID;  }                   // ID

Int_t REROOT_MuonTrkPoint::Index (  )  const [inline]

Definition at line 43 of file REROOT_MuonTrkPoint.h.

References m_Index.

00043 {return m_Index;  }             // Index

void REROOT_MuonTrkPoint::init ( void   )  [private]

Definition at line 35 of file REROOT_MuonTrkPoint.cxx.

00036 {
00037 }

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

Definition at line 47 of file REROOT_MuonTrkPoint.cxx.

00048 {
00049   pstream << "=================== MuonTrkPoint =====================\n";
00050 }

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

Definition at line 49 of file REROOT_MuonTrkPoint.h.

References m_Rotm.

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

Float_t REROOT_MuonTrkPoint::transv (  )  const [inline]

Definition at line 48 of file REROOT_MuonTrkPoint.h.

References m_transv.

00048 {return m_transv;  }           // transv

Float_t REROOT_MuonTrkPoint::Weight (  )  const [inline]

Definition at line 47 of file REROOT_MuonTrkPoint.h.

References m_Weight.

00047 {return m_Weight;  }           // Weight

Float_t REROOT_MuonTrkPoint::X (  )  const [inline]

Definition at line 44 of file REROOT_MuonTrkPoint.h.

References m_X.

00044 {return m_X;  }                     // X

Float_t REROOT_MuonTrkPoint::Y (  )  const [inline]

Definition at line 45 of file REROOT_MuonTrkPoint.h.

References m_Y.

00045 {return m_Y;  }                     // Y

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

Definition at line 46 of file REROOT_MuonTrkPoint.h.

References m_Z, and zoffset_REROOT().

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


Member Data Documentation

Int_t REROOT_MuonTrkPoint::m_ID [private]

Definition at line 20 of file REROOT_MuonTrkPoint.h.

Referenced by ID().

Definition at line 21 of file REROOT_MuonTrkPoint.h.

Referenced by Index().

Char_t REROOT_MuonTrkPoint::m_Rotm[5] [private]

Definition at line 27 of file REROOT_MuonTrkPoint.h.

Referenced by Rotm().

Float_t REROOT_MuonTrkPoint::m_transv [private]

Definition at line 26 of file REROOT_MuonTrkPoint.h.

Referenced by transv().

Float_t REROOT_MuonTrkPoint::m_Weight [private]

Definition at line 25 of file REROOT_MuonTrkPoint.h.

Referenced by Weight().

Float_t REROOT_MuonTrkPoint::m_X [private]

Definition at line 22 of file REROOT_MuonTrkPoint.h.

Referenced by X().

Float_t REROOT_MuonTrkPoint::m_Y [private]

Definition at line 23 of file REROOT_MuonTrkPoint.h.

Referenced by Y().

Float_t REROOT_MuonTrkPoint::m_Z [private]

Definition at line 24 of file REROOT_MuonTrkPoint.h.

Referenced by Z().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1