#include <MixInputSvc.h>
Inheritance diagram for MixInputSvc:
Public Types | |
| typedef std::vector< WorkerEntry > | Workers |
| SUCCESS | |
| NO_INTERFACE | |
| VERSMISMATCH | |
| LAST_ERROR | |
| CONVERSIONSVC_NO_ERROR | |
| NO_CONVERTER | |
| INVALID_ADDRESS | |
| INVALID_OBJECT | |
| NO_MEMORY | |
| BAD_STORAGE_TYPE | |
| NO_SOURCE_OBJECT | |
| ICONVERSIONSVC_LAST_ERROR | |
| typedef std::map< std::string, RootInputStream * > | InputStreamMap |
| typedef std::map< std::string, std::string > | FileMap |
| enum | Status |
| enum | Status |
Public Member Functions | |
| MixInputSvc (const string &name, ISvcLocator *svc) | |
| virtual | ~MixInputSvc () |
| virtual StatusCode | initialize () |
| virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppint) |
| virtual void | setInputFiles (const vector< string > &inputs) |
| virtual StatusCode | prepareStream () |
| virtual StatusCode | getSimHeader (GenHeader *&gh, SimHeader *&sh) |
| virtual StatusCode | reinitialize () |
| virtual StatusCode | finalize () |
| virtual StatusCode | createAddress (long svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&newAddr) |
| virtual StatusCode | createAddress (DataObject *obj, RootOutputAddress *&newAddr) |
| virtual StatusCode | createAddress (long svc_type, const CLID &clid, const std::string &refAddress, IOpaqueAddress *&refpAddress) |
| virtual IDataProviderSvc * | dataSvc () |
| virtual IDataManagerSvc * | dataMgrSvc () |
| RootOutputStream * | outputStream (const RootOutputAddress &roa) |
| const std::string & | outputFilename (const std::string &tespath) |
| void | associateOutput (const char *filename, const char *streamname) |
| FileMap | fileMap () |
| RootInputStream * | inputStream (const RootInputAddress &ria) |
| InputStreamMap & | inputStreams () |
| std::vector< std::string > | inputFilenames (const std::string &tespath) |
| bool | isReadoutForced () const |
| virtual long | repSvcType () const |
| const CLID & | objType () const |
| virtual StatusCode | setDataProvider (IDataProviderSvc *pService) |
| virtual IDataProviderSvc * | dataProvider () const |
| virtual StatusCode | setConversionSvc (IConversionSvc *svc) |
| virtual IConversionSvc * | conversionSvc () const |
| virtual StatusCode | setAddressCreator (IAddressCreator *creator) |
| virtual IAddressCreator * | addressCreator () const |
| virtual StatusCode | createObj (IOpaqueAddress *pAddress, DataObject *&refpObject) |
| virtual StatusCode | fillObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
| virtual StatusCode | updateObj (IOpaqueAddress *pAddress, DataObject *refpObject) |
| virtual StatusCode | updateObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
| virtual StatusCode | createRep (DataObject *pObject, IOpaqueAddress *&refpAddress) |
| virtual StatusCode | fillRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
| virtual StatusCode | updateRep (IOpaqueAddress *pAddress, DataObject *pObject) |
| virtual StatusCode | updateRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
| virtual StatusCode | addConverter (const CLID &clid) |
| virtual StatusCode | addConverter (IConverter *pConverter) |
| virtual StatusCode | removeConverter (const CLID &clid) |
| virtual IConverter * | converter (const CLID &wanted) |
| virtual StatusCode | connectOutput (const std::string &outputFile, const std::string &openMode) |
| virtual StatusCode | connectOutput (const std::string &output) |
| virtual StatusCode | commitOutput (const std::string &output, bool do_commit) |
| virtual StatusCode | convertAddress (const IOpaqueAddress *pAddress, std::string &refAddress) |
| virtual StatusCode | updateServiceState (IOpaqueAddress *pAddress) |
| virtual unsigned long | addRef () |
| virtual unsigned long | release () |
| virtual const std::string & | name () const |
| virtual const InterfaceID & | type () const |
| virtual StatusCode | configure () |
| virtual StatusCode | start () |
| virtual StatusCode | stop () |
| virtual StatusCode | terminate () |
| virtual Gaudi::StateMachine::State | FSMState () const |
| virtual Gaudi::StateMachine::State | targetFSMState () const |
| virtual StatusCode | restart () |
| virtual StatusCode | sysInitialize () |
| virtual StatusCode | sysStart () |
| virtual StatusCode | sysStop () |
| virtual StatusCode | sysFinalize () |
| virtual StatusCode | sysReinitialize () |
| virtual StatusCode | sysRestart () |
| 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 |
| ISvcLocator * | serviceLocator () const |
| IMessageSvc * | msgSvc () |
| IMessageSvc * | msgSvc () const |
| IMessageSvc * | messageService () |
| IMessageSvc * | messageService () const |
| StatusCode | setProperties () |
| 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 |
| 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 |
| IAuditorSvc * | auditorSvc () const |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| static const InterfaceID & | interfaceID () |
| static const InterfaceID & | interfaceID () |
| static const InterfaceID & | interfaceID () |
| static const InterfaceID & | interfaceID () |
| static const InterfaceID & | interfaceID () |
| static const InterfaceID & | interfaceID () |
Public Attributes | |
| SUCCESS | |
| NO_INTERFACE | |
| VERSMISMATCH | |
| LAST_ERROR | |
| CONVERSIONSVC_NO_ERROR | |
| NO_CONVERTER | |
Protected Member Functions | |
| virtual IAddressCreator * | addressCreator () |
| StatusCode | doInitialize () |
| void | initializeInputStream (const std::string &path, const std::string &filename) |
| void | initializeInputStream (const std::string &path, const std::vector< std::string > &filename_list) |
| virtual IConverter * | createConverter (long typ, const CLID &clid, const ICnvFactory *fac) |
| virtual StatusCode | configureConverter (long typ, const CLID &clid, IConverter *cnv) |
| virtual StatusCode | initializeConverter (long typ, const CLID &clid, IConverter *cnv) |
| virtual StatusCode | activateConverter (long typ, const CLID &clid, IConverter *cnv) |
| virtual void | loadConverter (DataObject *pObject) |
| StatusCode | makeCall (int typ, bool ignore_add, bool ignore_obj, bool update, IOpaqueAddress *&pAddress, DataObject *&pObject) |
| int | outputLevel () const |
Protected Attributes | |
| std::map< std::string, std::string > | m_outputFileMap |
| std::map< std::string, RootOutputStream * > | m_outputStreamMap |
| std::string | m_defaultOutputFilename |
| std::map< std::string, std::vector< std::string > > | m_inputFileMap |
| InputStreamMap | m_inputStreamMap |
| std::vector< std::string > | m_defaultInputFilenames |
| std::string | m_dataSvcName |
| IDataProviderSvc * | m_dataSvc |
| IDataManagerSvc * | m_dataMgr |
| IAddressCreator * | m_addressCreator |
| long | m_type |
| Workers * | m_workers |
| IntegerProperty | m_outputLevel |
| Gaudi::StateMachine::State | m_state |
| Gaudi::StateMachine::State | m_targetState |
| IMessageSvc * | m_messageSvc |
Private Member Functions | |
| StatusCode | doInit () |
| double | nextTime (double tau) |
| double | flatdis (double maximum) |
Private Attributes | |
| map< string, vector< string > > | m_inputSamples |
| map< string, RootInputStream * > | m_simMap |
| map< string, RootInputStream * > | m_genMap |
| map< string, map< string, RootInputStream * > > | m_sampleInputStreamMap |
| double | m_maximum |
| double | m_maintau |
| double | m_lasttime |
| TimeStamp | m_lastTime |
| map< string, int > | m_fileNum |
| map< string, int > | m_fileindex |
| map< string, int > | m_fileEntryNum |
| map< string, int > | m_sfileentries |
| map< string, int > | m_gfileentries |
| map< string, int > | m_streamentries |
| map< string, double > | m_nod |
| map< string, double > | m_timeTau |
| MsgStream | m_log |
| TRandom3 | m_randomNum |
| IService * | m_isvc |
| IRootIOSvc * | m_rioSvc |
| IConversionSvc * | m_convSvc |
Friends | |
| friend friend class | ServiceManager |
Definition at line 29 of file MixInputSvc.h.
| MixInputSvc::MixInputSvc | ( | const string & | name, | |
| ISvcLocator * | svc | |||
| ) |
| virtual MixInputSvc::~MixInputSvc | ( | ) | [virtual] |
| virtual StatusCode MixInputSvc::initialize | ( | ) | [virtual] |
Reimplemented from RootIOCnvSvc.
| virtual StatusCode MixInputSvc::queryInterface | ( | const InterfaceID & | riid, | |
| void ** | ppint | |||
| ) | [virtual] |
Reimplemented from RootIOCnvSvc.
| virtual void MixInputSvc::setInputFiles | ( | const vector< string > & | inputs | ) | [inline, virtual] |
Implements IMixInputSvc.
Definition at line 37 of file MixInputSvc.h.
00038 { m_defaultInputFilenames = inputs;}
| virtual StatusCode MixInputSvc::prepareStream | ( | ) | [virtual] |
Implements IMixInputSvc.
| virtual StatusCode MixInputSvc::getSimHeader | ( | GenHeader *& | gh, | |
| SimHeader *& | sh | |||
| ) | [virtual] |
Implements IMixInputSvc.
| StatusCode MixInputSvc::doInit | ( | ) | [private] |
| double MixInputSvc::nextTime | ( | double | tau | ) | [private] |
| double MixInputSvc::flatdis | ( | double | maximum | ) | [private] |
| static const InterfaceID& IMixInputSvc::interfaceID | ( | ) | [inline, static, inherited] |
Reimplemented from IInterface.
Definition at line 35 of file IMixInputSvc.h.
00036 { return IID_IMixInputSvc; }
map<string, vector<string> > MixInputSvc::m_inputSamples [private] |
Definition at line 49 of file MixInputSvc.h.
map<string, RootInputStream*> MixInputSvc::m_simMap [private] |
Definition at line 50 of file MixInputSvc.h.
map<string, RootInputStream*> MixInputSvc::m_genMap [private] |
Definition at line 51 of file MixInputSvc.h.
map<string, map<string, RootInputStream*> > MixInputSvc::m_sampleInputStreamMap [private] |
Definition at line 52 of file MixInputSvc.h.
double MixInputSvc::m_maximum [private] |
Definition at line 54 of file MixInputSvc.h.
double MixInputSvc::m_maintau [private] |
Definition at line 57 of file MixInputSvc.h.
double MixInputSvc::m_lasttime [private] |
Definition at line 58 of file MixInputSvc.h.
TimeStamp MixInputSvc::m_lastTime [private] |
Definition at line 59 of file MixInputSvc.h.
map<string, int> MixInputSvc::m_fileNum [private] |
Definition at line 63 of file MixInputSvc.h.
map<string, int> MixInputSvc::m_fileindex [private] |
Definition at line 64 of file MixInputSvc.h.
map<string, int> MixInputSvc::m_fileEntryNum [private] |
Definition at line 65 of file MixInputSvc.h.
map<string, int> MixInputSvc::m_sfileentries [private] |
Definition at line 66 of file MixInputSvc.h.
map<string, int> MixInputSvc::m_gfileentries [private] |
Definition at line 67 of file MixInputSvc.h.
map<string, int> MixInputSvc::m_streamentries [private] |
Definition at line 68 of file MixInputSvc.h.
map<string, double> MixInputSvc::m_nod [private] |
Definition at line 69 of file MixInputSvc.h.
map<string, double> MixInputSvc::m_timeTau [private] |
Definition at line 70 of file MixInputSvc.h.
MsgStream MixInputSvc::m_log [mutable, private] |
Definition at line 72 of file MixInputSvc.h.
TRandom3 MixInputSvc::m_randomNum [private] |
Definition at line 73 of file MixInputSvc.h.
IService* MixInputSvc::m_isvc [private] |
Definition at line 80 of file MixInputSvc.h.
IRootIOSvc* MixInputSvc::m_rioSvc [private] |
Definition at line 81 of file MixInputSvc.h.
IConversionSvc* MixInputSvc::m_convSvc [private] |
Definition at line 82 of file MixInputSvc.h.
1.4.7