REROOT_RecoMuon Class Reference

#include <REROOT_RecoMuon.h>

List of all members.

Public Member Functions

 REROOT_RecoMuon (RECOMUON_DEF *)
 REROOT_RecoMuon ()
 ~REROOT_RecoMuon ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Int_t Index () const
TVector3 Origin () const
Float_t dxdz () const
Float_t dydz () const
Float_t qp0 () const
Float_t DX0 () const
Float_t DY0 () const
Float_t Ddxdz () const
Float_t Ddydz () const
Float_t Dp0 () const
const Float_t * P () const
Int_t Method () const
Int_t Exit () const
Float_t PathLength () const
const Char_t * TrkRoutine () const
const Char_t * FitRoutine () const
Int_t error () const
Float_t ChiFit () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Int_t m_Index
Float_t m_Origin [3]
Float_t m_dxdz
Float_t m_dydz
Float_t m_qp0
Float_t m_DX0
Float_t m_DY0
Float_t m_Ddxdz
Float_t m_Ddydz
Float_t m_Dp0
Float_t m_P [4]
Int_t m_Method
Int_t m_Exit
Float_t m_PathLength
Char_t m_TrkRoutine [65]
Char_t m_FitRoutine [65]
Int_t m_error
Float_t m_ChiFit

Detailed Description

Definition at line 18 of file REROOT_RecoMuon.h.


Constructor & Destructor Documentation

REROOT_RecoMuon::REROOT_RecoMuon ( RECOMUON_DEF nr  ) 

Definition at line 59 of file REROOT_RecoMuon.cxx.

References init().

00060 {
00061   m_ID         = nr->ID - 1;                                  // C index
00062   m_Index      = nr->Index - 1;                               // C index
00063   m_dxdz       = nr->dxdz;
00064   m_dydz       = nr->dydz;
00065   m_qp0        = nr->qp0;
00066   m_DX0        = nr->DX0;
00067   m_DY0        = nr->DY0;
00068   m_Ddxdz      = nr->Ddxdz;
00069   m_Ddydz      = nr->Ddydz;
00070   m_Dp0        = nr->Dp0;
00071   m_Method     = nr->Method;
00072   m_Exit       = nr->Exit;
00073   m_PathLength = nr->PathLength;
00074   m_error      = nr->error;
00075   m_ChiFit     = nr->ChiFit;
00076 
00077 // Fill simple arrays from RecoMuon struct.
00078   Int_t i;    // Keep this declaration here for scope outside for-loops.
00079   for (i=0; i<3; i++) {
00080         m_Origin[i] = nr->Origin[i];
00081   }
00082   for (i=0; i<4; i++) {
00083         m_P[i] = nr->P[i];
00084   }
00085 
00086 // Fill String objects for char vectors from RecoMuon struct.
00087   for (i=0; i<64; i++) {
00088         if (nr->TrkRoutine[i]=='\0' || nr->TrkRoutine[i]==' ') break;
00089         m_TrkRoutine[i] = nr->TrkRoutine[i];
00090   }
00091   m_TrkRoutine[i] = '\0';
00092   for (i=0; i<64; i++) {
00093         if (nr->FitRoutine[i]=='\0' || nr->FitRoutine[i]==' ') break;
00094         m_FitRoutine[i] = nr->FitRoutine[i];
00095   }
00096   m_FitRoutine[i] = '\0';
00097 
00098   init();
00099 }

REROOT_RecoMuon::REROOT_RecoMuon (  ) 

Definition at line 101 of file REROOT_RecoMuon.cxx.

00102 {
00103 }

REROOT_RecoMuon::~REROOT_RecoMuon (  ) 

Definition at line 109 of file REROOT_RecoMuon.cxx.

00110 {
00111 }


Member Function Documentation

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

Definition at line 48 of file REROOT_RecoMuon.h.

References REROOT_Visitor::visit().

00048 { v.visit(this); }

Float_t REROOT_RecoMuon::ChiFit (  )  const [inline]

Definition at line 76 of file REROOT_RecoMuon.h.

References m_ChiFit.

00076 {return m_ChiFit;  }          // ChiFit

void REROOT_RecoMuon::clear (  ) 

Definition at line 113 of file REROOT_RecoMuon.cxx.

00114 {
00115 }

Float_t REROOT_RecoMuon::Ddxdz (  )  const [inline]

Definition at line 66 of file REROOT_RecoMuon.h.

References m_Ddxdz.

00066 {return m_Ddxdz;  }            // Ddxdz

Float_t REROOT_RecoMuon::Ddydz (  )  const [inline]

Definition at line 67 of file REROOT_RecoMuon.h.

References m_Ddydz.

00067 {return m_Ddydz;  }            // Ddydz

Float_t REROOT_RecoMuon::Dp0 (  )  const [inline]

Definition at line 68 of file REROOT_RecoMuon.h.

References m_Dp0.

00068 {return m_Dp0;  }                // Dp0

Float_t REROOT_RecoMuon::DX0 (  )  const [inline]

Definition at line 64 of file REROOT_RecoMuon.h.

References m_DX0.

00064 {return m_DX0;  }                // DX0

Float_t REROOT_RecoMuon::dxdz (  )  const [inline]

Definition at line 61 of file REROOT_RecoMuon.h.

References m_dxdz.

00061 {return m_dxdz;  }              // dxdz

Float_t REROOT_RecoMuon::DY0 (  )  const [inline]

Definition at line 65 of file REROOT_RecoMuon.h.

References m_DY0.

00065 {return m_DY0;  }                // DY0

Float_t REROOT_RecoMuon::dydz (  )  const [inline]

Definition at line 62 of file REROOT_RecoMuon.h.

References m_dydz.

00062 {return m_dydz;  }              // dydz

Int_t REROOT_RecoMuon::error (  )  const [inline]

Definition at line 75 of file REROOT_RecoMuon.h.

References m_error.

00075 {return m_error;  }            // error

Int_t REROOT_RecoMuon::Exit (  )  const [inline]

Definition at line 71 of file REROOT_RecoMuon.h.

References m_Exit.

00071 {return m_Exit;  }              // Exit

const Char_t* REROOT_RecoMuon::FitRoutine (  )  const [inline]

Definition at line 74 of file REROOT_RecoMuon.h.

References m_FitRoutine.

00074 {return m_FitRoutine;  }//itRoutine[65]

Int_t REROOT_RecoMuon::ID (  )  const [inline]

Definition at line 54 of file REROOT_RecoMuon.h.

References m_ID.

00054 {return m_ID;  }                  // ID

Int_t REROOT_RecoMuon::Index (  )  const [inline]

Definition at line 55 of file REROOT_RecoMuon.h.

References m_Index.

00055 {return m_Index;  }            // Index

void REROOT_RecoMuon::init ( void   )  [private]

Definition at line 105 of file REROOT_RecoMuon.cxx.

00106 {
00107 }

Int_t REROOT_RecoMuon::Method (  )  const [inline]

Definition at line 70 of file REROOT_RecoMuon.h.

References m_Method.

00070 {return m_Method;  }          // Method

TVector3 REROOT_RecoMuon::Origin (  )  const [inline]

Definition at line 59 of file REROOT_RecoMuon.h.

References m_Origin, and zoffset_REROOT().

00060      { return TVector3(m_Origin[0],m_Origin[1],m_Origin[2]+zoffset_REROOT()); }

const Float_t* REROOT_RecoMuon::P (  )  const [inline]

Definition at line 69 of file REROOT_RecoMuon.h.

References m_P.

00069 {return m_P;  }                 // P[4]

Float_t REROOT_RecoMuon::PathLength (  )  const [inline]

Definition at line 72 of file REROOT_RecoMuon.h.

References m_PathLength.

00072 {return m_PathLength;  }  // PathLength

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

Definition at line 117 of file REROOT_RecoMuon.cxx.

00118 {
00119   pstream << "======================= RecoMuon =====================\n";
00120 }

Float_t REROOT_RecoMuon::qp0 (  )  const [inline]

Definition at line 63 of file REROOT_RecoMuon.h.

References m_qp0.

00063 {return m_qp0;  }                // qp0

const Char_t* REROOT_RecoMuon::TrkRoutine (  )  const [inline]

Definition at line 73 of file REROOT_RecoMuon.h.

References m_TrkRoutine.

00073 {return m_TrkRoutine;  }//rkRoutine[65]


Member Data Documentation

Float_t REROOT_RecoMuon::m_ChiFit [private]

Definition at line 39 of file REROOT_RecoMuon.h.

Referenced by ChiFit().

Float_t REROOT_RecoMuon::m_Ddxdz [private]

Definition at line 29 of file REROOT_RecoMuon.h.

Referenced by Ddxdz().

Float_t REROOT_RecoMuon::m_Ddydz [private]

Definition at line 30 of file REROOT_RecoMuon.h.

Referenced by Ddydz().

Float_t REROOT_RecoMuon::m_Dp0 [private]

Definition at line 31 of file REROOT_RecoMuon.h.

Referenced by Dp0().

Float_t REROOT_RecoMuon::m_DX0 [private]

Definition at line 27 of file REROOT_RecoMuon.h.

Referenced by DX0().

Float_t REROOT_RecoMuon::m_dxdz [private]

Definition at line 24 of file REROOT_RecoMuon.h.

Referenced by dxdz().

Float_t REROOT_RecoMuon::m_DY0 [private]

Definition at line 28 of file REROOT_RecoMuon.h.

Referenced by DY0().

Float_t REROOT_RecoMuon::m_dydz [private]

Definition at line 25 of file REROOT_RecoMuon.h.

Referenced by dydz().

Int_t REROOT_RecoMuon::m_error [private]

Definition at line 38 of file REROOT_RecoMuon.h.

Referenced by error().

Int_t REROOT_RecoMuon::m_Exit [private]

Definition at line 34 of file REROOT_RecoMuon.h.

Referenced by Exit().

Char_t REROOT_RecoMuon::m_FitRoutine[65] [private]

Definition at line 37 of file REROOT_RecoMuon.h.

Referenced by FitRoutine().

Int_t REROOT_RecoMuon::m_ID [private]

Definition at line 21 of file REROOT_RecoMuon.h.

Referenced by ID().

Int_t REROOT_RecoMuon::m_Index [private]

Definition at line 22 of file REROOT_RecoMuon.h.

Referenced by Index().

Int_t REROOT_RecoMuon::m_Method [private]

Definition at line 33 of file REROOT_RecoMuon.h.

Referenced by Method().

Float_t REROOT_RecoMuon::m_Origin[3] [private]

Definition at line 23 of file REROOT_RecoMuon.h.

Referenced by Origin().

Float_t REROOT_RecoMuon::m_P[4] [private]

Definition at line 32 of file REROOT_RecoMuon.h.

Referenced by P().

Float_t REROOT_RecoMuon::m_PathLength [private]

Definition at line 35 of file REROOT_RecoMuon.h.

Referenced by PathLength().

Float_t REROOT_RecoMuon::m_qp0 [private]

Definition at line 26 of file REROOT_RecoMuon.h.

Referenced by qp0().

Char_t REROOT_RecoMuon::m_TrkRoutine[65] [private]

Definition at line 36 of file REROOT_RecoMuon.h.

Referenced by TrkRoutine().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1