REROOT_Mixture Class Reference

#include <REROOT_Mixture.h>

List of all members.

Public Member Functions

 REROOT_Mixture (MIXTURE_DEF *)
 REROOT_Mixture ()
 ~REROOT_Mixture ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Int_t Material () const
Int_t IElement () const
Float_t A () const
Float_t Z () const
Float_t Fraction () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Int_t m_Material
Int_t m_IElement
Float_t m_A
Float_t m_Z
Float_t m_Fraction

Detailed Description

Definition at line 16 of file REROOT_Mixture.h.


Constructor & Destructor Documentation

REROOT_Mixture::REROOT_Mixture ( MIXTURE_DEF nr  ) 

Definition at line 59 of file REROOT_Mixture.cxx.

References init().

00060 {
00061   m_ID       = nr->ID - 1;                                    // C index
00062   m_Material = nr->Material - 1;                              // C index
00063   m_IElement = nr->IElement - 1;                              // C index
00064   m_A        = nr->A;
00065   m_Z        = nr->Z;
00066   m_Fraction = nr->Fraction;
00067 
00068   init();
00069 }

REROOT_Mixture::REROOT_Mixture (  ) 

Definition at line 71 of file REROOT_Mixture.cxx.

00072 {
00073 }

REROOT_Mixture::~REROOT_Mixture (  ) 

Definition at line 79 of file REROOT_Mixture.cxx.

00080 {
00081 }


Member Function Documentation

Float_t REROOT_Mixture::A ( void   )  const [inline]

Definition at line 42 of file REROOT_Mixture.h.

References m_A.

00042 {return m_A;  }                         // A

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

Definition at line 33 of file REROOT_Mixture.h.

References REROOT_Visitor::visit().

00033 { v.visit(this); }

void REROOT_Mixture::clear (  ) 

Definition at line 83 of file REROOT_Mixture.cxx.

00084 {
00085 }

Float_t REROOT_Mixture::Fraction (  )  const [inline]

Definition at line 44 of file REROOT_Mixture.h.

References m_Fraction.

00044 {return m_Fraction;  }           // Fraction

Int_t REROOT_Mixture::ID (  )  const [inline]

Definition at line 39 of file REROOT_Mixture.h.

References m_ID.

00039 {return m_ID;  }                       // ID

Int_t REROOT_Mixture::IElement (  )  const [inline]

Definition at line 41 of file REROOT_Mixture.h.

References m_IElement.

00041 {return m_IElement;  }           // IElement

void REROOT_Mixture::init ( void   )  [private]

Definition at line 75 of file REROOT_Mixture.cxx.

00076 {
00077 }

Int_t REROOT_Mixture::Material (  )  const [inline]

Definition at line 40 of file REROOT_Mixture.h.

References m_Material.

00040 {return m_Material;  }           // Material

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

Definition at line 87 of file REROOT_Mixture.cxx.

00088 {
00089   pstream << "======================= Mixture =====================\n";
00090 }

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

Definition at line 43 of file REROOT_Mixture.h.

References m_Z.

00043 {return m_Z;  }                         // Z


Member Data Documentation

Float_t REROOT_Mixture::m_A [private]

Definition at line 22 of file REROOT_Mixture.h.

Referenced by A().

Float_t REROOT_Mixture::m_Fraction [private]

Definition at line 24 of file REROOT_Mixture.h.

Referenced by Fraction().

Int_t REROOT_Mixture::m_ID [private]

Definition at line 19 of file REROOT_Mixture.h.

Referenced by ID().

Int_t REROOT_Mixture::m_IElement [private]

Definition at line 21 of file REROOT_Mixture.h.

Referenced by IElement().

Int_t REROOT_Mixture::m_Material [private]

Definition at line 20 of file REROOT_Mixture.h.

Referenced by Material().

Float_t REROOT_Mixture::m_Z [private]

Definition at line 23 of file REROOT_Mixture.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