REROOT_RecoShwDir Class Reference

#include <REROOT_RecoShwDir.h>

List of all members.

Public Member Functions

 REROOT_RecoShwDir (RECOSHWDIR_DEF *)
 REROOT_RecoShwDir ()
 ~REROOT_RecoShwDir ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Float_t DirCosX () const
Float_t DirCosY () const
Float_t DirCosZ () const
Float_t Theta () const
Float_t Phi () const
Float_t ThetaBeam () const
const Char_t * Routine () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Float_t m_DirCosX
Float_t m_DirCosY
Float_t m_DirCosZ
Float_t m_Theta
Float_t m_Phi
Float_t m_ThetaBeam
Char_t m_Routine [65]

Detailed Description

Definition at line 16 of file REROOT_RecoShwDir.h.


Constructor & Destructor Documentation

REROOT_RecoShwDir::REROOT_RecoShwDir ( RECOSHWDIR_DEF nr  ) 

Definition at line 59 of file REROOT_RecoShwDir.cxx.

References init().

00060 {
00061   m_ID        = nr->ID - 1;                                   // C index
00062   m_DirCosX   = nr->DirCosX;
00063   m_DirCosY   = nr->DirCosY;
00064   m_DirCosZ   = nr->DirCosZ;
00065   m_Theta     = nr->Theta;
00066   m_Phi       = nr->Phi;
00067   m_ThetaBeam = nr->ThetaBeam;
00068 
00069 // Fill String objects for char vectors from RecoShwDir struct.
00070   Int_t i;    // Keep this declaration here for scope outside for-loops.
00071   for (i=0; i<64; i++) {
00072         if (nr->Routine[i]=='\0' || nr->Routine[i]==' ') break;
00073         m_Routine[i] = nr->Routine[i];
00074   }
00075   m_Routine[i] = '\0';
00076 
00077   init();
00078 }

REROOT_RecoShwDir::REROOT_RecoShwDir (  ) 

Definition at line 80 of file REROOT_RecoShwDir.cxx.

00081 {
00082 }

REROOT_RecoShwDir::~REROOT_RecoShwDir (  ) 

Definition at line 88 of file REROOT_RecoShwDir.cxx.

00089 {
00090 }


Member Function Documentation

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

Definition at line 35 of file REROOT_RecoShwDir.h.

References REROOT_Visitor::visit().

00035 { v.visit(this); }

void REROOT_RecoShwDir::clear (  ) 

Definition at line 92 of file REROOT_RecoShwDir.cxx.

00093 {
00094 }

Float_t REROOT_RecoShwDir::DirCosX (  )  const [inline]

Definition at line 42 of file REROOT_RecoShwDir.h.

References m_DirCosX.

00042 {return m_DirCosX;  }         // DirCosX

Float_t REROOT_RecoShwDir::DirCosY (  )  const [inline]

Definition at line 43 of file REROOT_RecoShwDir.h.

References m_DirCosY.

00043 {return m_DirCosY;  }         // DirCosY

Float_t REROOT_RecoShwDir::DirCosZ (  )  const [inline]

Definition at line 44 of file REROOT_RecoShwDir.h.

References m_DirCosZ.

00044 {return m_DirCosZ;  }         // DirCosZ

Int_t REROOT_RecoShwDir::ID (  )  const [inline]

Definition at line 41 of file REROOT_RecoShwDir.h.

References m_ID.

00041 {return m_ID;  }                   // ID

void REROOT_RecoShwDir::init ( void   )  [private]

Definition at line 84 of file REROOT_RecoShwDir.cxx.

00085 {
00086 }

Float_t REROOT_RecoShwDir::Phi (  )  const [inline]

Definition at line 46 of file REROOT_RecoShwDir.h.

References m_Phi.

00046 {return m_Phi;  }                 // Phi

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

Definition at line 96 of file REROOT_RecoShwDir.cxx.

00097 {
00098   pstream << "===================== RecoShwDir =====================\n";
00099 }

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

Definition at line 48 of file REROOT_RecoShwDir.h.

References m_Routine.

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

Float_t REROOT_RecoShwDir::Theta (  )  const [inline]

Definition at line 45 of file REROOT_RecoShwDir.h.

References m_Theta.

00045 {return m_Theta;  }             // Theta

Float_t REROOT_RecoShwDir::ThetaBeam (  )  const [inline]

Definition at line 47 of file REROOT_RecoShwDir.h.

References m_ThetaBeam.

00047 {return m_ThetaBeam;  }     // ThetaBeam


Member Data Documentation

Float_t REROOT_RecoShwDir::m_DirCosX [private]

Definition at line 20 of file REROOT_RecoShwDir.h.

Referenced by DirCosX().

Float_t REROOT_RecoShwDir::m_DirCosY [private]

Definition at line 21 of file REROOT_RecoShwDir.h.

Referenced by DirCosY().

Float_t REROOT_RecoShwDir::m_DirCosZ [private]

Definition at line 22 of file REROOT_RecoShwDir.h.

Referenced by DirCosZ().

Int_t REROOT_RecoShwDir::m_ID [private]

Definition at line 19 of file REROOT_RecoShwDir.h.

Referenced by ID().

Float_t REROOT_RecoShwDir::m_Phi [private]

Definition at line 24 of file REROOT_RecoShwDir.h.

Referenced by Phi().

Char_t REROOT_RecoShwDir::m_Routine[65] [private]

Definition at line 26 of file REROOT_RecoShwDir.h.

Referenced by Routine().

Float_t REROOT_RecoShwDir::m_Theta [private]

Definition at line 23 of file REROOT_RecoShwDir.h.

Referenced by Theta().

Float_t REROOT_RecoShwDir::m_ThetaBeam [private]

Definition at line 25 of file REROOT_RecoShwDir.h.

Referenced by ThetaBeam().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1