REROOT_TMedium Class Reference

#include <REROOT_TMedium.h>

List of all members.

Public Member Functions

 REROOT_TMedium (TMEDIUM_DEF *)
 REROOT_TMedium ()
 ~REROOT_TMedium ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
const Char_t * Name () const
Int_t Material () const
Int_t ISVol () const
Int_t IField () const
Float_t FieldMax () const
Float_t TMaxFD () const
Float_t StepMax () const
Float_t DEEmax () const
Float_t Epsil () const
Float_t StepMin () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Char_t m_Name [33]
Int_t m_Material
Int_t m_ISVol
Int_t m_IField
Float_t m_FieldMax
Float_t m_TMaxFD
Float_t m_StepMax
Float_t m_DEEmax
Float_t m_Epsil
Float_t m_StepMin


Detailed Description

Definition at line 16 of file REROOT_TMedium.h.


Constructor & Destructor Documentation

REROOT_TMedium::REROOT_TMedium ( TMEDIUM_DEF  ) 

Definition at line 59 of file REROOT_TMedium.cxx.

References init().

00060 {
00061   m_ID       = nr->ID - 1;                                    // C index
00062   m_Material = nr->Material - 1;                              // C index
00063   m_ISVol    = nr->ISVol;
00064   m_IField   = nr->IField;
00065   m_FieldMax = nr->FieldMax;
00066   m_TMaxFD   = nr->TMaxFD;
00067   m_StepMax  = nr->StepMax;
00068   m_DEEmax   = nr->DEEmax;
00069   m_Epsil    = nr->Epsil;
00070   m_StepMin  = nr->StepMin;
00071 
00072 // Fill String objects for char vectors from TMedium struct.
00073   Int_t i;    // Keep this declaration here for scope outside for-loops.
00074   for (i=0; i<32; i++)  {
00075         if (nr->Name[i]=='\0' ||
00076             nr->Name[i]==' ') break;
00077         m_Name[i] = nr->Name[i];
00078   }
00079   m_Name[i] = '\0';
00080 
00081   init();
00082 }

REROOT_TMedium::REROOT_TMedium (  ) 

Definition at line 84 of file REROOT_TMedium.cxx.

00085 {
00086 }

REROOT_TMedium::~REROOT_TMedium (  ) 

Definition at line 92 of file REROOT_TMedium.cxx.

00093 {
00094 }


Member Function Documentation

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

Definition at line 38 of file REROOT_TMedium.h.

References REROOT_Visitor::visit().

00038 { v.visit(this); }

void REROOT_TMedium::clear (  ) 

Definition at line 96 of file REROOT_TMedium.cxx.

00097 {
00098 }

Float_t REROOT_TMedium::DEEmax (  )  const [inline]

Definition at line 52 of file REROOT_TMedium.h.

References m_DEEmax.

00052 {return m_DEEmax;  }            // DEEmax

Float_t REROOT_TMedium::Epsil (  )  const [inline]

Definition at line 53 of file REROOT_TMedium.h.

References m_Epsil.

00053 {return m_Epsil;  }              // Epsil

Float_t REROOT_TMedium::FieldMax (  )  const [inline]

Definition at line 49 of file REROOT_TMedium.h.

References m_FieldMax.

00049 {return m_FieldMax;  }        // FieldMax

Int_t REROOT_TMedium::ID (  )  const [inline]

Definition at line 44 of file REROOT_TMedium.h.

References m_ID.

00044 {return m_ID;  }                    // ID

Int_t REROOT_TMedium::IField (  )  const [inline]

Definition at line 48 of file REROOT_TMedium.h.

References m_IField.

00048 {return m_IField;  }            // IField

void REROOT_TMedium::init (  )  [private]

Definition at line 88 of file REROOT_TMedium.cxx.

00089 {
00090 }

Int_t REROOT_TMedium::ISVol (  )  const [inline]

Definition at line 47 of file REROOT_TMedium.h.

References m_ISVol.

00047 {return m_ISVol;  }              // ISVol

Int_t REROOT_TMedium::Material (  )  const [inline]

Definition at line 46 of file REROOT_TMedium.h.

References m_Material.

00046 {return m_Material;  }        // Material

const Char_t* REROOT_TMedium::Name ( void   )  const [inline]

Definition at line 45 of file REROOT_TMedium.h.

References m_Name.

00045 {return m_Name;  }            // Name[33]

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

Definition at line 101 of file REROOT_TMedium.cxx.

00102 {
00103   pstream << "======================= TMedium =====================\n";
00104 }

Float_t REROOT_TMedium::StepMax (  )  const [inline]

Definition at line 51 of file REROOT_TMedium.h.

References m_StepMax.

00051 {return m_StepMax;  }          // StepMax

Float_t REROOT_TMedium::StepMin (  )  const [inline]

Definition at line 54 of file REROOT_TMedium.h.

References m_StepMin.

00054 {return m_StepMin;  }          // StepMin

Float_t REROOT_TMedium::TMaxFD (  )  const [inline]

Definition at line 50 of file REROOT_TMedium.h.

References m_TMaxFD.

00050 {return m_TMaxFD;  }            // TMaxFD


Member Data Documentation

Float_t REROOT_TMedium::m_DEEmax [private]

Definition at line 27 of file REROOT_TMedium.h.

Referenced by DEEmax().

Float_t REROOT_TMedium::m_Epsil [private]

Definition at line 28 of file REROOT_TMedium.h.

Referenced by Epsil().

Float_t REROOT_TMedium::m_FieldMax [private]

Definition at line 24 of file REROOT_TMedium.h.

Referenced by FieldMax().

Int_t REROOT_TMedium::m_ID [private]

Definition at line 19 of file REROOT_TMedium.h.

Referenced by ID().

Int_t REROOT_TMedium::m_IField [private]

Definition at line 23 of file REROOT_TMedium.h.

Referenced by IField().

Int_t REROOT_TMedium::m_ISVol [private]

Definition at line 22 of file REROOT_TMedium.h.

Referenced by ISVol().

Int_t REROOT_TMedium::m_Material [private]

Definition at line 21 of file REROOT_TMedium.h.

Referenced by Material().

Char_t REROOT_TMedium::m_Name[33] [private]

Definition at line 20 of file REROOT_TMedium.h.

Referenced by Name().

Float_t REROOT_TMedium::m_StepMax [private]

Definition at line 26 of file REROOT_TMedium.h.

Referenced by StepMax().

Float_t REROOT_TMedium::m_StepMin [private]

Definition at line 29 of file REROOT_TMedium.h.

Referenced by StepMin().

Float_t REROOT_TMedium::m_TMaxFD [private]

Definition at line 25 of file REROOT_TMedium.h.

Referenced by TMaxFD().


The documentation for this class was generated from the following files:
Generated on Mon Sep 1 00:52:39 2014 for loon by  doxygen 1.4.7