#include <SimProcess.h>
Public Types | |
| kUnknown = 0 | |
| kPrimaryVertex | |
| kWorldBoundary | |
| kGeomBoundary | |
| kParticleStart | |
| kTransportation | |
| kElectromagnetic | |
| kOptical | |
| kHadronic | |
| kPhotolepton_hadron | |
| kDecay | |
| kGeneral | |
| kParameterisation | |
| kUserDefined | |
| enum | Type { kUnknown = 0, kPrimaryVertex, kWorldBoundary, kGeomBoundary, kParticleStart, kTransportation, kElectromagnetic, kOptical, kHadronic, kPhotolepton_hadron, kDecay, kGeneral, kParameterisation, kUserDefined } |
| Process type. More... | |
Public Member Functions | |
| SimProcess (const Type &t, const std::string &name) | |
| Create a SimProcess with optional initialization. | |
| SimProcess () | |
| Default constructor. | |
| virtual | ~SimProcess () |
| Default Destructor. | |
| virtual std::ostream & | fillStream (std::ostream &s) const |
| Fill the ASCII output stream. | |
| bool | isValid () const |
| Return true if type is not unknown. | |
| const Type & | type () const |
| Retrieve const The process type. | |
| const std::string & | name () const |
| Retrieve const The process name. | |
Static Public Member Functions | |
| static void * | operator new (size_t size) |
| operator new | |
| static void * | operator new (size_t size, void *pObj) |
| placement operator new it is needed by libstdc++ 3.2.3 (e.g. | |
| static void | operator delete (void *p) |
| operator delete | |
| static void | operator delete (void *p, void *pObj) |
| placement operator delete not sure if really needed, but it does not harm | |
Private Attributes | |
| Type | m_type |
| The process type. | |
| std::string | m_name |
| The process name. | |
Definition at line 42 of file SimProcess.h.
Process type.
| kUnknown | |
| kPrimaryVertex | |
| kWorldBoundary | |
| kGeomBoundary | |
| kParticleStart | |
| kTransportation | |
| kElectromagnetic | |
| kOptical | |
| kHadronic | |
| kPhotolepton_hadron | |
| kDecay | |
| kGeneral | |
| kParameterisation | |
| kUserDefined |
Definition at line 47 of file SimProcess.h.
00047 { kUnknown = 0, // Unknown type, for error conditions 00048 kPrimaryVertex, // Not really a process, but a seed 00049 kWorldBoundary, // Not really a process, just hit the wall 00050 kGeomBoundary, // Not really a process, just changed volumes 00051 kParticleStart, // 00052 kTransportation, // As defined by G4ProcessType 00053 kElectromagnetic, // As defined by G4ProcessType 00054 kOptical, // As defined by G4ProcessType 00055 kHadronic, // As defined by G4ProcessType 00056 kPhotolepton_hadron, // As defined by G4ProcessType 00057 kDecay, // As defined by G4ProcessType 00058 kGeneral, // As defined by G4ProcessType 00059 kParameterisation, // As defined by G4ProcessType 00060 kUserDefined // As defined by G4ProcessType 00061 };
| DayaBay::SimProcess::SimProcess | ( | const Type & | t, | |
| const std::string & | name | |||
| ) | [inline] |
| DayaBay::SimProcess::SimProcess | ( | ) | [inline] |
| virtual DayaBay::SimProcess::~SimProcess | ( | ) | [inline, virtual] |
| std::ostream & DayaBay::SimProcess::fillStream | ( | std::ostream & | s | ) | const [inline, virtual] |
| bool DayaBay::SimProcess::isValid | ( | ) | const [inline] |
| const DayaBay::SimProcess::Type & DayaBay::SimProcess::type | ( | ) | const [inline] |
Retrieve const The process type.
Definition at line 173 of file SimProcess.h.
00174 { 00175 return m_type; 00176 }
| const std::string & DayaBay::SimProcess::name | ( | ) | const [inline] |
Retrieve const The process name.
Definition at line 178 of file SimProcess.h.
00179 { 00180 return m_name; 00181 }
| static void* DayaBay::SimProcess::operator new | ( | size_t | size | ) | [inline, static] |
operator new
Definition at line 92 of file SimProcess.h.
00093 { 00094 return ( sizeof(SimProcess) == size ? 00095 boost::singleton_pool<SimProcess, sizeof(SimProcess)>::malloc() : 00096 ::operator new(size) ); 00097 }
| static void* DayaBay::SimProcess::operator new | ( | size_t | size, | |
| void * | pObj | |||
| ) | [inline, static] |
placement operator new it is needed by libstdc++ 3.2.3 (e.g.
in std::vector) it is not needed in libstdc++ >= 3.4
Definition at line 102 of file SimProcess.h.
| static void DayaBay::SimProcess::operator delete | ( | void * | p | ) | [inline, static] |
operator delete
Definition at line 108 of file SimProcess.h.
00109 { 00110 boost::singleton_pool<SimProcess, sizeof(SimProcess)>::is_from(p) ? 00111 boost::singleton_pool<SimProcess, sizeof(SimProcess)>::free(p) : 00112 ::operator delete(p); 00113 }
| static void DayaBay::SimProcess::operator delete | ( | void * | p, | |
| void * | pObj | |||
| ) | [inline, static] |
placement operator delete not sure if really needed, but it does not harm
Definition at line 117 of file SimProcess.h.
00118 { 00119 ::operator delete (p, pObj); 00120 }
Type DayaBay::SimProcess::m_type [private] |
std::string DayaBay::SimProcess::m_name [private] |
1.4.7