REROOT_MassDistrib Class Reference

#include <REROOT_MassDistrib.h>

List of all members.

Public Member Functions

 REROOT_MassDistrib (MASSDISTRIB_DEF *)
 REROOT_MassDistrib ()
 ~REROOT_MassDistrib ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Int_t Material () const
Float_t SBegin () const
Float_t SEnd () const
Float_t PathSumMat () const
const Char_t * Type () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Int_t m_Material
Float_t m_SBegin
Float_t m_SEnd
Float_t m_PathSumMat
Char_t m_Type [5]


Detailed Description

Definition at line 16 of file REROOT_MassDistrib.h.


Constructor & Destructor Documentation

REROOT_MassDistrib::REROOT_MassDistrib ( MASSDISTRIB_DEF  ) 

Definition at line 58 of file REROOT_MassDistrib.cxx.

References init().

00059 {
00060   m_ID         = nr->ID - 1;                                  // C index
00061   m_Material   = nr->Material;
00062   m_SBegin     = nr->SBegin;
00063   m_SEnd       = nr->SEnd;
00064   m_PathSumMat = nr->PathSumMat;
00065 
00066 // Fill String objects for char vectors from MassDistrib struct.
00067   Int_t i;    // Keep this declaration here for scope outside for-loops.
00068   for (i=0; i<4; i++) {
00069         if (nr->Type[i]=='\0' || nr->Type[i]==' ') break;
00070         m_Type[i] = nr->Type[i];
00071   }
00072   m_Type[i] = '\0';
00073 
00074   init();
00075 }

REROOT_MassDistrib::REROOT_MassDistrib (  ) 

Definition at line 78 of file REROOT_MassDistrib.cxx.

00079 {
00080 }

REROOT_MassDistrib::~REROOT_MassDistrib (  ) 

Definition at line 88 of file REROOT_MassDistrib.cxx.

00089 {
00090 }


Member Function Documentation

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

Definition at line 34 of file REROOT_MassDistrib.h.

References REROOT_Visitor::visit().

00034 {v.visit(this);}

void REROOT_MassDistrib::clear (  ) 

Definition at line 93 of file REROOT_MassDistrib.cxx.

00094 {
00095 }

Int_t REROOT_MassDistrib::ID (  )  const [inline]

Definition at line 40 of file REROOT_MassDistrib.h.

References m_ID.

00040 {return m_ID;}                   // ID

void REROOT_MassDistrib::init (  )  [private]

Definition at line 83 of file REROOT_MassDistrib.cxx.

00084 {
00085 }

Int_t REROOT_MassDistrib::Material (  )  const [inline]

Definition at line 41 of file REROOT_MassDistrib.h.

References m_Material.

00041 {return m_Material;}       // Material

Float_t REROOT_MassDistrib::PathSumMat (  )  const [inline]

Definition at line 44 of file REROOT_MassDistrib.h.

References m_PathSumMat.

00044 {return m_PathSumMat;}   // PathSumMat

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

Definition at line 98 of file REROOT_MassDistrib.cxx.

00099 {
00100   pstream << "==================== MassDistrib =====================\n";
00101 }

Float_t REROOT_MassDistrib::SBegin (  )  const [inline]

Definition at line 42 of file REROOT_MassDistrib.h.

References m_SBegin.

00042 {return m_SBegin;}           // SBegin

Float_t REROOT_MassDistrib::SEnd (  )  const [inline]

Definition at line 43 of file REROOT_MassDistrib.h.

References m_SEnd.

00043 {return m_SEnd;}               // SEnd

const Char_t* REROOT_MassDistrib::Type (  )  const [inline]

Definition at line 45 of file REROOT_MassDistrib.h.

References m_Type.

00045 {return m_Type;}            // Type[5]


Member Data Documentation

Int_t REROOT_MassDistrib::m_ID [private]

Definition at line 19 of file REROOT_MassDistrib.h.

Referenced by ID().

Int_t REROOT_MassDistrib::m_Material [private]

Definition at line 20 of file REROOT_MassDistrib.h.

Referenced by Material().

Float_t REROOT_MassDistrib::m_PathSumMat [private]

Definition at line 23 of file REROOT_MassDistrib.h.

Referenced by PathSumMat().

Float_t REROOT_MassDistrib::m_SBegin [private]

Definition at line 21 of file REROOT_MassDistrib.h.

Referenced by SBegin().

Float_t REROOT_MassDistrib::m_SEnd [private]

Definition at line 22 of file REROOT_MassDistrib.h.

Referenced by SEnd().

Char_t REROOT_MassDistrib::m_Type[5] [private]

Definition at line 24 of file REROOT_MassDistrib.h.

Referenced by Type().


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