#include <GtGenerator.h>
Inheritance diagram for GtGenerator:
Public Member Functions | |
GtGenerator (const std::string &name, ISvcLocator *pSvcLocator) | |
virtual | ~GtGenerator () |
virtual StatusCode | initialize () |
virtual StatusCode | execute () |
virtual StatusCode | finalize () |
DayaBay::GenHeader * | GetCurrentHeaderObject () const |
virtual StatusCode | sysInitialize () |
virtual StatusCode | sysExecute () |
virtual StatusCode | preExecute () |
virtual StatusCode | postExecute () |
virtual StatusCode | sysFinalize () |
IDataProviderSvc * | arcSvc () const |
void | putTES (DataObject *obj, std::string location) const |
TYPE * | getTES (std::string location) const |
TYPE * | getAES (std::string location, int index) const |
std::vector< DataObject * > | getAEScollection (std::string location) const |
int | getExecNum () |
std::string | Location () const |
void | put (IDataProviderSvc *svc, DataObject *object, const std::string &address, const bool useRootInTES=true) const |
void | put (DataObject *object, const std::string &address, const bool useRootInTES=true) const |
Gaudi::Utils::GetData< TYPE >::return_type | get (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
Gaudi::Utils::GetData< TYPE >::return_type | get (const std::string &location, const bool useRootInTES=true) const |
TYPE * | getDet (IDataProviderSvc *svc, const std::string &location) const |
TYPE * | getDet (const std::string &location) const |
bool | exist (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
bool | exist (const std::string &location, const bool useRootInTES=true) const |
bool | existDet (IDataProviderSvc *svc, const std::string &location) const |
bool | existDet (const std::string &location) const |
TYPE * | getOrCreate (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
TYPE * | getOrCreate (const std::string &location, const bool useRootInTES=true) const |
bool | registerContext () const |
INTupleSvc * | evtColSvc () const |
IAlgContextSvc * | contextSvc () const |
TOOL * | tool (const std::string &type, const std::string &name, const IInterface *parent=0, bool create=true) const |
TOOL * | tool (const std::string &type, const IInterface *parent=0, bool create=true) const |
SERVICE * | svc (const std::string &name, const bool create=true) const |
IUpdateManagerSvc * | updMgrSvc () const |
IDataProviderSvc * | fastContainersSvc () const |
StatusCode | Error (const std::string &msg, const StatusCode st=StatusCode::FAILURE, const size_t mx=10) const |
StatusCode | Warning (const std::string &msg, const StatusCode st=StatusCode::FAILURE, const size_t mx=10) const |
StatusCode | Print (const std::string &msg, const StatusCode st=StatusCode::SUCCESS, const MSG::Level lev=MSG::INFO) const |
StatusCode | Assert (const bool ok, const std::string &message="", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
StatusCode | Assert (const bool ok, const char *message, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
StatusCode | Exception (const std::string &msg, const GaudiException &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
StatusCode | Exception (const std::string &msg, const std::exception &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
StatusCode | Exception (const std::string &msg="no message", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
MsgStream & | msgStream (const MSG::Level level) const |
MsgStream & | always () const |
MsgStream & | fatal () const |
MsgStream & | err () const |
MsgStream & | error () const |
MsgStream & | warning () const |
MsgStream & | info () const |
MsgStream & | debug () const |
MsgStream & | verbose () const |
MsgStream & | msg () const |
const Statistics & | counters () const |
StatEntity & | counter (const std::string &tag) const |
MSG::Level | msgLevel () const |
bool | msgLevel (const MSG::Level level) const |
void | resetMsgStream () const |
bool | typePrint () const |
bool | propsPrint () const |
bool | statPrint () const |
bool | errorsPrint () const |
long | printStat (const MSG::Level level=MSG::ALWAYS) const |
long | printErrors (const MSG::Level level=MSG::ALWAYS) const |
long | printProps (const MSG::Level level=MSG::ALWAYS) const |
void | registerCondition (const std::string &condition, StatusCode(CallerClass::*mf)()=NULL) |
void | registerCondition (const std::string &condition, CondType *&condPtrDest, StatusCode(CallerClass::*mf)()=NULL) |
void | registerCondition (char *condition, StatusCode(CallerClass::*mf)()=NULL) |
void | registerCondition (TargetClass *condition, StatusCode(CallerClass::*mf)()=NULL) |
StatusCode | runUpdate () |
TransientFastContainer< T > * | getFastContainer (const std::string &location, typename TransientFastContainer< T >::size_type initial=0) |
StatusCode | release (const IInterface *interface) const |
unsigned long | release () |
const std::string & | context () const |
const std::string & | rootInTES () const |
double | globalTimeOffset () const |
virtual StatusCode | sysStart () |
virtual StatusCode | sysReinitialize () |
virtual StatusCode | sysRestart () |
virtual StatusCode | sysStop () |
virtual StatusCode | sysBeginRun () |
virtual StatusCode | sysEndRun () |
virtual const std::string & | name () const |
virtual const std::string & | version () const |
virtual StatusCode | configure () |
virtual StatusCode | terminate () |
virtual StatusCode | start () |
virtual StatusCode | stop () |
virtual StatusCode | reinitialize () |
virtual StatusCode | restart () |
virtual bool | isExecuted () const |
virtual void | setExecuted (bool state) |
virtual void | resetExecuted () |
virtual StatusCode | beginRun () |
virtual StatusCode | endRun () |
virtual Gaudi::StateMachine::State | FSMState () const |
virtual Gaudi::StateMachine::State | targetFSMState () const |
virtual bool | isEnabled () const |
virtual bool | filterPassed () const |
virtual void | setFilterPassed (bool state) |
StatusCode | service (const std::string &name, T *&psvc, bool createIf=true) const |
StatusCode | service (const std::string &svcType, const std::string &svcName, T *&psvc) const |
void | setOutputLevel (int level) |
IAuditorSvc * | auditorSvc () const |
IChronoStatSvc * | chronoSvc () const |
IChronoStatSvc * | chronoStatService () const |
IDataProviderSvc * | detSvc () const |
IDataProviderSvc * | detDataService () const |
IConversionSvc * | detCnvSvc () const |
IConversionSvc * | detDataCnvService () const |
IDataProviderSvc * | eventSvc () const |
IDataProviderSvc * | evtSvc () const |
IDataProviderSvc * | eventDataService () const |
IConversionSvc * | eventCnvSvc () const |
IConversionSvc * | eventDataCnvService () const |
IHistogramSvc * | histoSvc () const |
IHistogramSvc * | histogramDataService () const |
IMessageSvc * | msgSvc () const |
IMessageSvc * | messageService () const |
INTupleSvc * | ntupleSvc () const |
INTupleSvc * | ntupleService () const |
IRndmGenSvc * | randSvc () const |
IToolSvc * | toolSvc () const |
IExceptionSvc * | exceptionSvc () const |
ISvcLocator * | serviceLocator () const |
ISvcLocator * | svcLoc () const |
StatusCode | createSubAlgorithm (const std::string &type, const std::string &name, Algorithm *&pSubAlg) |
std::vector< Algorithm * > * | subAlgorithms () const |
virtual StatusCode | setProperty (const Property &p) |
virtual StatusCode | setProperty (const std::string &s) |
virtual StatusCode | setProperty (const std::string &n, const std::string &v) |
StatusCode | setProperty (const std::string &name, const TYPE &value) |
virtual StatusCode | getProperty (Property *p) const |
virtual const Property & | getProperty (const std::string &name) const |
virtual StatusCode | getProperty (const std::string &n, std::string &v) const |
virtual const std::vector< Property * > & | getProperties () const |
StatusCode | setProperties () |
Property * | declareProperty (const std::string &name, T &property, const std::string &doc="none") const |
Property * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const |
IMonitorSvc * | monitorSvc () const |
void | declareInfo (const std::string &name, const T &var, const std::string &desc) const |
void | declareInfo (const std::string &name, const std::string &format, const void *var, int size, const std::string &desc) const |
unsigned long | addRef () |
StatusCode | queryInterface (const InterfaceID &riid, void **) |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
static const InterfaceID & | interfaceID () |
static const InterfaceID & | interfaceID () |
Public Attributes | |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
Protected Types | |
typedef std::map< std::string, StatEntity > | Statistics |
typedef std::map< std::string, unsigned int > | Counter |
typedef std::vector< IAlgTool * > | AlgTools |
typedef std::pair< IInterface *, std::string > | ServiceEntry |
typedef std::vector< ServiceEntry > | Services |
Protected Member Functions | |
DayaBay::GenHeader * | MakeHeaderObject () |
void | InitializeHeader (DayaBay::HeaderObject *header) |
void | AppendInputHeader (const DayaBay::HeaderObject *header) const |
StatusCode | releaseTool (const IAlgTool *tool) const |
StatusCode | releaseSvc (const IInterface *svc) const |
bool | isInitialized () const |
bool | isFinalized () const |
int | outputLevel () const |
IntegerProperty & | outputLevelProperty () |
void | initOutputLevel (Property &prop) |
Protected Attributes | |
DayaBay::HeaderObject * | m_headerObject |
bool | m_pullMode |
std::string | m_location |
Static Protected Attributes | |
static const bool | IgnoreRootInTES |
static const bool | UseRootInTES |
Private Attributes | |
std::vector< std::string > | m_genToolNames |
Tool to do initial generation. | |
std::vector< IHepMCEventMutator * > | m_genTools |
std::string | m_genName |
Name for this generator to be put in the HepMCEvent. | |
time_t | m_tsseconds |
TimeStamp: a starting time stamp in seconds from the Unix Epoch. | |
TimeStamp | m_now |
Definition at line 27 of file GtGenerator.h.
typedef std::map< std::string, StatEntity > DybAlgorithm< DayaBay::GenHeader >::Statistics [protected, inherited] |
Reimplemented from DybBaseAlg.
typedef std::map< std::string, unsigned int > DybAlgorithm< DayaBay::GenHeader >::Counter [protected, inherited] |
Reimplemented from DybBaseAlg.
typedef std::vector< IAlgTool * > DybAlgorithm< DayaBay::GenHeader >::AlgTools [protected, inherited] |
Reimplemented from DybBaseAlg.
typedef std::pair< IInterface *, std::string > DybAlgorithm< DayaBay::GenHeader >::ServiceEntry [protected, inherited] |
Reimplemented from DybBaseAlg.
typedef std::vector< ServiceEntry > DybAlgorithm< DayaBay::GenHeader >::Services [protected, inherited] |
Reimplemented from DybBaseAlg.
GtGenerator::GtGenerator | ( | const std::string & | name, | |
ISvcLocator * | pSvcLocator | |||
) |
Definition at line 21 of file GtGenerator.cc.
00022 : DybAlgorithm<DayaBay::GenHeader>(name,pSvcLocator) 00023 { 00024 declareProperty("TimeStamp",m_tsseconds = 0, 00025 "Absolute start time in seconds from the unix epoch. " 00026 "Caution: this is a bare integer, do not multiply by CLHEP seconds."); 00027 declareProperty("GenTools",m_genToolNames, 00028 "Tools to generate HepMC::GenEvents"); 00029 declareProperty("GenName", m_genName = "GtGenerator", 00030 "Name of this generator for book keeping purposes."); 00031 }
GtGenerator::~GtGenerator | ( | ) | [virtual] |
StatusCode GtGenerator::initialize | ( | ) | [virtual] |
Reimplemented from DybAlgorithm< DayaBay::GenHeader >.
Definition at line 37 of file GtGenerator.cc.
00038 { 00039 for (size_t ind=0; ind < m_genToolNames.size(); ++ind) { 00040 std::string gtn = m_genToolNames[ind]; 00041 try { 00042 m_genTools.push_back(tool<IHepMCEventMutator>(gtn)); 00043 } 00044 catch(const GaudiException& exg) { 00045 fatal() << "Failed to get generator: \"" << gtn << "\"" << endreq; 00046 return StatusCode::FAILURE; 00047 } 00048 info () << "Added gen tool " << gtn << endreq; 00049 } 00050 00051 // Set the generator start time 00052 m_now = TimeStamp(m_tsseconds); 00053 00054 return StatusCode::SUCCESS; 00055 }
StatusCode GtGenerator::execute | ( | ) | [virtual] |
Reimplemented from DybAlgorithm< DayaBay::GenHeader >.
Definition at line 57 of file GtGenerator.cc.
00058 { 00059 // Look for pre-existing header object or make new one 00060 DayaBay::GenHeader* gen_header = MakeHeaderObject(); 00061 00062 00063 HepMC::GenEvent* event = new HepMC::GenEvent; 00064 event->set_event_number(this->getExecNum()); 00065 00066 // Let each tool do its thing on the event 00067 for (size_t ind = 0; ind< m_genTools.size(); ++ind) { 00068 debug () << "Running gen tool #" << ind << " " << m_genToolNames[ind] << endreq; 00069 if (m_genTools[ind]->mutate(*event).isFailure()) { 00070 fatal() << "Generator Tool " << m_genToolNames[ind] 00071 << " failed" << endreq; 00072 return StatusCode::FAILURE; 00073 } 00074 } 00075 00076 // Find the smallest time 00077 double dt = std::numeric_limits<double>::max(); 00078 { 00079 HepMC::GenEvent::vertex_const_iterator it, done = event->vertices_end(); 00080 for (it = event->vertices_begin(); it != done; ++it) { 00081 double t = (*it)->position().t(); 00082 if (t < dt) dt = t; 00083 } 00084 } 00085 debug () << "Smallest time of " 00086 << event->vertices_size() << " vertices = " << dt << endreq; 00087 00088 // Slurp away seconds and ns and leave the rest 00089 dt = dt/CLHEP::second; // bring into explicit units of seconds 00090 time_t seconds = (time_t)dt; 00091 double fractional = dt - seconds; 00092 int ns = (int)(1e9*fractional); 00093 double rest = fractional - (1e-9*ns); 00094 00095 // how much we steal away from each vertex time 00096 double toffset = (dt - rest)*CLHEP::second; // put back into system of units 00097 00098 // Increment our notion of now 00099 m_now.Add(TimeStamp(seconds,ns)); 00100 gen_header->setTimeStamp(m_now); 00101 00102 debug() << "Offset time is " << toffset 00103 << ", now is " << m_now << endreq; 00104 00105 // Loop over vertices to set reduce time we stole and set time extent 00106 { 00107 double earliest = -1, latest = -1; 00108 HepMC::GenEvent::vertex_iterator it, done = event->vertices_end(); 00109 for (it = event->vertices_begin(); it != done; ++it) { 00110 HepMC::FourVector vtx = (*it)->position(); 00111 double t = vtx.t() - toffset; 00112 vtx.setT(t); 00113 (*it)->set_position(vtx); 00114 00115 if (earliest < 0 || earliest > t) earliest = t; 00116 if (latest < 0 || latest < t) latest = t; 00117 } 00118 00119 TimeStamp ts_earliest(m_now); 00120 if (earliest > 0) 00121 ts_earliest.Add(earliest/CLHEP::second); 00122 gen_header->setEarliest(ts_earliest); 00123 00124 TimeStamp ts_latest(m_now); 00125 if (latest > 0) 00126 ts_latest.Add(latest/CLHEP::second); 00127 gen_header->setLatest(ts_latest); 00128 } 00129 00130 // GenHeader subclass 00131 gen_header->setEvent(event); 00132 gen_header->setGeneratorName(m_genName); 00133 00134 return StatusCode::SUCCESS; 00135 }
StatusCode GtGenerator::finalize | ( | ) | [virtual] |
Reimplemented from DybAlgorithm< DayaBay::GenHeader >.
Definition at line 137 of file GtGenerator.cc.
00138 { 00139 // Do NOT release the tools. This is handled implicitly 00140 m_genTools.clear(); 00141 00142 return this->GaudiAlgorithm::finalize(); 00143 }
DayaBay::GenHeader * DybAlgorithm< DayaBay::GenHeader >::GetCurrentHeaderObject | ( | ) | const [inherited] |
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::sysInitialize | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::sysExecute | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::preExecute | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::postExecute | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::sysFinalize | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
IDataProviderSvc * DybAlgorithm< DayaBay::GenHeader >::arcSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::putTES | ( | DataObject * | obj, | |
std::string | location | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
TYPE * DybAlgorithm< DayaBay::GenHeader >::getTES | ( | std::string | location | ) | const [inherited] |
Reimplemented from DybBaseAlg.
TYPE * DybAlgorithm< DayaBay::GenHeader >::getAES | ( | std::string | location, | |
int | index | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
std::vector< DataObject * > DybAlgorithm< DayaBay::GenHeader >::getAEScollection | ( | std::string | location | ) | const [inherited] |
Reimplemented from DybBaseAlg.
int DybAlgorithm< DayaBay::GenHeader >::getExecNum | ( | ) | [inherited] |
Reimplemented from DybBaseAlg.
std::string DybAlgorithm< DayaBay::GenHeader >::Location | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::put | ( | IDataProviderSvc * | svc, | |
DataObject * | object, | |||
const std::string & | address, | |||
const bool | useRootInTES = true | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::put | ( | DataObject * | object, | |
const std::string & | address, | |||
const bool | useRootInTES = true | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
Gaudi::Utils::GetData< TYPE >::return_type DybAlgorithm< DayaBay::GenHeader >::get | ( | IDataProviderSvc * | svc, | |
const std::string & | location, | |||
const bool | useRootInTES = true | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
Gaudi::Utils::GetData< TYPE >::return_type DybAlgorithm< DayaBay::GenHeader >::get | ( | const std::string & | location, | |
const bool | useRootInTES = true | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
TYPE * DybAlgorithm< DayaBay::GenHeader >::getDet | ( | IDataProviderSvc * | svc, | |
const std::string & | location | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
TYPE * DybAlgorithm< DayaBay::GenHeader >::getDet | ( | const std::string & | location | ) | const [inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::exist | ( | IDataProviderSvc * | svc, | |
const std::string & | location, | |||
const bool | useRootInTES = true | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::exist | ( | const std::string & | location, | |
const bool | useRootInTES = true | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::existDet | ( | IDataProviderSvc * | svc, | |
const std::string & | location | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::existDet | ( | const std::string & | location | ) | const [inherited] |
Reimplemented from DybBaseAlg.
TYPE * DybAlgorithm< DayaBay::GenHeader >::getOrCreate | ( | IDataProviderSvc * | svc, | |
const std::string & | location, | |||
const bool | useRootInTES = true | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
TYPE * DybAlgorithm< DayaBay::GenHeader >::getOrCreate | ( | const std::string & | location, | |
const bool | useRootInTES = true | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::registerContext | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
INTupleSvc * DybAlgorithm< DayaBay::GenHeader >::evtColSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IAlgContextSvc * DybAlgorithm< DayaBay::GenHeader >::contextSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
TOOL * DybAlgorithm< DayaBay::GenHeader >::tool | ( | const std::string & | type, | |
const std::string & | name, | |||
const IInterface * | parent = 0 , |
|||
bool | create = true | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
TOOL * DybAlgorithm< DayaBay::GenHeader >::tool | ( | const std::string & | type, | |
const IInterface * | parent = 0 , |
|||
bool | create = true | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
SERVICE * DybAlgorithm< DayaBay::GenHeader >::svc | ( | const std::string & | name, | |
const bool | create = true | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
IUpdateManagerSvc * DybAlgorithm< DayaBay::GenHeader >::updMgrSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IDataProviderSvc * DybAlgorithm< DayaBay::GenHeader >::fastContainersSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::Error | ( | const std::string & | msg, | |
const StatusCode | st = StatusCode::FAILURE , |
|||
const size_t | mx = 10 | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::Warning | ( | const std::string & | msg, | |
const StatusCode | st = StatusCode::FAILURE , |
|||
const size_t | mx = 10 | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::Print | ( | const std::string & | msg, | |
const StatusCode | st = StatusCode::SUCCESS , |
|||
const MSG::Level | lev = MSG::INFO | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::Assert | ( | const bool | ok, | |
const std::string & | message = "" , |
|||
const StatusCode | sc = StatusCode(StatusCode::FAILURE, true) | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::Assert | ( | const bool | ok, | |
const char * | message, | |||
const StatusCode | sc = StatusCode(StatusCode::FAILURE, true) | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::Exception | ( | const std::string & | msg, | |
const GaudiException & | exc, | |||
const StatusCode | sc = StatusCode(StatusCode::FAILURE, true) | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::Exception | ( | const std::string & | msg, | |
const std::exception & | exc, | |||
const StatusCode | sc = StatusCode(StatusCode::FAILURE, true) | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::Exception | ( | const std::string & | msg = "no message" , |
|
const StatusCode | sc = StatusCode(StatusCode::FAILURE, true) | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
MsgStream & DybAlgorithm< DayaBay::GenHeader >::msgStream | ( | const MSG::Level | level | ) | const [inherited] |
Reimplemented from DybBaseAlg.
MsgStream & DybAlgorithm< DayaBay::GenHeader >::always | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
MsgStream & DybAlgorithm< DayaBay::GenHeader >::fatal | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
MsgStream & DybAlgorithm< DayaBay::GenHeader >::err | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
MsgStream & DybAlgorithm< DayaBay::GenHeader >::error | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
MsgStream & DybAlgorithm< DayaBay::GenHeader >::warning | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
MsgStream & DybAlgorithm< DayaBay::GenHeader >::info | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
MsgStream & DybAlgorithm< DayaBay::GenHeader >::debug | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
MsgStream & DybAlgorithm< DayaBay::GenHeader >::verbose | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
MsgStream & DybAlgorithm< DayaBay::GenHeader >::msg | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
const Statistics & DybAlgorithm< DayaBay::GenHeader >::counters | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
StatEntity & DybAlgorithm< DayaBay::GenHeader >::counter | ( | const std::string & | tag | ) | const [inherited] |
Reimplemented from DybBaseAlg.
MSG::Level DybAlgorithm< DayaBay::GenHeader >::msgLevel | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::msgLevel | ( | const MSG::Level | level | ) | const [inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::resetMsgStream | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::typePrint | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::propsPrint | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::statPrint | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::errorsPrint | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
long DybAlgorithm< DayaBay::GenHeader >::printStat | ( | const MSG::Level | level = MSG::ALWAYS |
) | const [inherited] |
Reimplemented from DybBaseAlg.
long DybAlgorithm< DayaBay::GenHeader >::printErrors | ( | const MSG::Level | level = MSG::ALWAYS |
) | const [inherited] |
Reimplemented from DybBaseAlg.
long DybAlgorithm< DayaBay::GenHeader >::printProps | ( | const MSG::Level | level = MSG::ALWAYS |
) | const [inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::registerCondition | ( | const std::string & | condition, | |
StatusCode(CallerClass::*)() | mf = NULL | |||
) | [inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::registerCondition | ( | const std::string & | condition, | |
CondType *& | condPtrDest, | |||
StatusCode(CallerClass::*)() | mf = NULL | |||
) | [inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::registerCondition | ( | char * | condition, | |
StatusCode(CallerClass::*)() | mf = NULL | |||
) | [inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::registerCondition | ( | TargetClass * | condition, | |
StatusCode(CallerClass::*)() | mf = NULL | |||
) | [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::runUpdate | ( | ) | [inherited] |
Reimplemented from DybBaseAlg.
TransientFastContainer< T > * DybAlgorithm< DayaBay::GenHeader >::getFastContainer | ( | const std::string & | location, | |
typename TransientFastContainer< T >::size_type | initial = 0 | |||
) | [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::release | ( | const IInterface * | interface | ) | const [inherited] |
Reimplemented from DybBaseAlg.
unsigned long DybAlgorithm< DayaBay::GenHeader >::release | ( | ) | [inherited] |
Reimplemented from DybBaseAlg.
const std::string & DybAlgorithm< DayaBay::GenHeader >::context | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
const std::string & DybAlgorithm< DayaBay::GenHeader >::rootInTES | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
double DybAlgorithm< DayaBay::GenHeader >::globalTimeOffset | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::sysStart | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::sysReinitialize | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::sysRestart | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::sysStop | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::sysBeginRun | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::sysEndRun | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual const std::string & DybAlgorithm< DayaBay::GenHeader >::name | ( | ) | const [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual const std::string & DybAlgorithm< DayaBay::GenHeader >::version | ( | ) | const [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::configure | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::terminate | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::start | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::stop | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::reinitialize | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::restart | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual bool DybAlgorithm< DayaBay::GenHeader >::isExecuted | ( | ) | const [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual void DybAlgorithm< DayaBay::GenHeader >::setExecuted | ( | bool | state | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual void DybAlgorithm< DayaBay::GenHeader >::resetExecuted | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::beginRun | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::endRun | ( | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual Gaudi::StateMachine::State DybAlgorithm< DayaBay::GenHeader >::FSMState | ( | ) | const [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual Gaudi::StateMachine::State DybAlgorithm< DayaBay::GenHeader >::targetFSMState | ( | ) | const [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual bool DybAlgorithm< DayaBay::GenHeader >::isEnabled | ( | ) | const [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual bool DybAlgorithm< DayaBay::GenHeader >::filterPassed | ( | ) | const [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual void DybAlgorithm< DayaBay::GenHeader >::setFilterPassed | ( | bool | state | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::service | ( | const std::string & | name, | |
T *& | psvc, | |||
bool | createIf = true | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::service | ( | const std::string & | svcType, | |
const std::string & | svcName, | |||
T *& | psvc | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::setOutputLevel | ( | int | level | ) | [inherited] |
Reimplemented from DybBaseAlg.
IAuditorSvc * DybAlgorithm< DayaBay::GenHeader >::auditorSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IChronoStatSvc * DybAlgorithm< DayaBay::GenHeader >::chronoSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IChronoStatSvc * DybAlgorithm< DayaBay::GenHeader >::chronoStatService | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IDataProviderSvc * DybAlgorithm< DayaBay::GenHeader >::detSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IDataProviderSvc * DybAlgorithm< DayaBay::GenHeader >::detDataService | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IConversionSvc * DybAlgorithm< DayaBay::GenHeader >::detCnvSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IConversionSvc * DybAlgorithm< DayaBay::GenHeader >::detDataCnvService | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IDataProviderSvc * DybAlgorithm< DayaBay::GenHeader >::eventSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IDataProviderSvc * DybAlgorithm< DayaBay::GenHeader >::evtSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IDataProviderSvc * DybAlgorithm< DayaBay::GenHeader >::eventDataService | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IConversionSvc * DybAlgorithm< DayaBay::GenHeader >::eventCnvSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IConversionSvc * DybAlgorithm< DayaBay::GenHeader >::eventDataCnvService | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IHistogramSvc * DybAlgorithm< DayaBay::GenHeader >::histoSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IHistogramSvc * DybAlgorithm< DayaBay::GenHeader >::histogramDataService | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IMessageSvc * DybAlgorithm< DayaBay::GenHeader >::msgSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IMessageSvc * DybAlgorithm< DayaBay::GenHeader >::messageService | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
INTupleSvc * DybAlgorithm< DayaBay::GenHeader >::ntupleSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
INTupleSvc * DybAlgorithm< DayaBay::GenHeader >::ntupleService | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IRndmGenSvc * DybAlgorithm< DayaBay::GenHeader >::randSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IToolSvc * DybAlgorithm< DayaBay::GenHeader >::toolSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
IExceptionSvc * DybAlgorithm< DayaBay::GenHeader >::exceptionSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
ISvcLocator * DybAlgorithm< DayaBay::GenHeader >::serviceLocator | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
ISvcLocator * DybAlgorithm< DayaBay::GenHeader >::svcLoc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::createSubAlgorithm | ( | const std::string & | type, | |
const std::string & | name, | |||
Algorithm *& | pSubAlg | |||
) | [inherited] |
Reimplemented from DybBaseAlg.
std::vector< Algorithm * > * DybAlgorithm< DayaBay::GenHeader >::subAlgorithms | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::setProperty | ( | const Property & | p | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::setProperty | ( | const std::string & | s | ) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::setProperty | ( | const std::string & | n, | |
const std::string & | v | |||
) | [virtual, inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::setProperty | ( | const std::string & | name, | |
const TYPE & | value | |||
) | [inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::getProperty | ( | Property * | p | ) | const [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual const Property & DybAlgorithm< DayaBay::GenHeader >::getProperty | ( | const std::string & | name | ) | const [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual StatusCode DybAlgorithm< DayaBay::GenHeader >::getProperty | ( | const std::string & | n, | |
std::string & | v | |||
) | const [virtual, inherited] |
Reimplemented from DybBaseAlg.
virtual const std::vector< Property * > & DybAlgorithm< DayaBay::GenHeader >::getProperties | ( | ) | const [virtual, inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::setProperties | ( | ) | [inherited] |
Reimplemented from DybBaseAlg.
Property * DybAlgorithm< DayaBay::GenHeader >::declareProperty | ( | const std::string & | name, | |
T & | property, | |||
const std::string & | doc = "none" | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
Property * DybAlgorithm< DayaBay::GenHeader >::declareRemoteProperty | ( | const std::string & | name, | |
IProperty * | rsvc, | |||
const std::string & | rname = "" | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
IMonitorSvc * DybAlgorithm< DayaBay::GenHeader >::monitorSvc | ( | ) | const [inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::declareInfo | ( | const std::string & | name, | |
const T & | var, | |||
const std::string & | desc | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::declareInfo | ( | const std::string & | name, | |
const std::string & | format, | |||
const void * | var, | |||
int | size, | |||
const std::string & | desc | |||
) | const [inherited] |
Reimplemented from DybBaseAlg.
unsigned long DybAlgorithm< DayaBay::GenHeader >::addRef | ( | ) | [inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::queryInterface | ( | const InterfaceID & | riid, | |
void ** | ||||
) | [inherited] |
Reimplemented from DybBaseAlg.
static const InterfaceID & DybAlgorithm< DayaBay::GenHeader >::interfaceID | ( | ) | [static, inherited] |
Reimplemented from DybBaseAlg.
static const InterfaceID & DybAlgorithm< DayaBay::GenHeader >::interfaceID | ( | ) | [static, inherited] |
Reimplemented from DybBaseAlg.
static const InterfaceID & DybAlgorithm< DayaBay::GenHeader >::interfaceID | ( | ) | [static, inherited] |
Reimplemented from DybBaseAlg.
DayaBay::GenHeader * DybAlgorithm< DayaBay::GenHeader >::MakeHeaderObject | ( | ) | [protected, inherited] |
void DybAlgorithm< DayaBay::GenHeader >::InitializeHeader | ( | DayaBay::HeaderObject * | header | ) | [protected, inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::AppendInputHeader | ( | const DayaBay::HeaderObject * | header | ) | const [protected, inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::releaseTool | ( | const IAlgTool * | tool | ) | const [protected, inherited] |
Reimplemented from DybBaseAlg.
StatusCode DybAlgorithm< DayaBay::GenHeader >::releaseSvc | ( | const IInterface * | svc | ) | const [protected, inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::isInitialized | ( | ) | const [protected, inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::isFinalized | ( | ) | const [protected, inherited] |
Reimplemented from DybBaseAlg.
int DybAlgorithm< DayaBay::GenHeader >::outputLevel | ( | ) | const [protected, inherited] |
Reimplemented from DybBaseAlg.
IntegerProperty & DybAlgorithm< DayaBay::GenHeader >::outputLevelProperty | ( | ) | [protected, inherited] |
Reimplemented from DybBaseAlg.
void DybAlgorithm< DayaBay::GenHeader >::initOutputLevel | ( | Property & | prop | ) | [protected, inherited] |
Reimplemented from DybBaseAlg.
std::vector<std::string> GtGenerator::m_genToolNames [private] |
std::vector<IHepMCEventMutator*> GtGenerator::m_genTools [private] |
Definition at line 40 of file GtGenerator.h.
std::string GtGenerator::m_genName [private] |
time_t GtGenerator::m_tsseconds [private] |
TimeStamp: a starting time stamp in seconds from the Unix Epoch.
Definition at line 46 of file GtGenerator.h.
TimeStamp GtGenerator::m_now [private] |
Definition at line 49 of file GtGenerator.h.
DybAlgorithm< DayaBay::GenHeader >::SUCCESS [inherited] |
Reimplemented from DybBaseAlg.
DybAlgorithm< DayaBay::GenHeader >::NO_INTERFACE [inherited] |
Reimplemented from DybBaseAlg.
DybAlgorithm< DayaBay::GenHeader >::VERSMISMATCH [inherited] |
Reimplemented from DybBaseAlg.
DybAlgorithm< DayaBay::GenHeader >::LAST_ERROR [inherited] |
Reimplemented from DybBaseAlg.
DayaBay::HeaderObject * DybAlgorithm< DayaBay::GenHeader >::m_headerObject [protected, inherited] |
Reimplemented from DybBaseAlg.
bool DybAlgorithm< DayaBay::GenHeader >::m_pullMode [protected, inherited] |
Reimplemented from DybBaseAlg.
std::string DybAlgorithm< DayaBay::GenHeader >::m_location [protected, inherited] |
Reimplemented from DybBaseAlg.
const bool DybAlgorithm< DayaBay::GenHeader >::IgnoreRootInTES [static, protected, inherited] |
Reimplemented from DybBaseAlg.
const bool DybAlgorithm< DayaBay::GenHeader >::UseRootInTES [static, protected, inherited] |
Reimplemented from DybBaseAlg.