#include <PmtGeomInfoSvc.h>
Inheritance diagram for PmtGeomInfoSvc:
Public Types | |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
enum | Status |
Public Member Functions | |
PmtGeomInfoSvc (const std::string &name, ISvcLocator *svc) | |
~PmtGeomInfoSvc () | |
virtual StatusCode | initialize () |
virtual StatusCode | reinitialize () |
virtual StatusCode | finalize () |
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvInterface) |
IPmtGeomInfo * | get (std::string structure_path) |
Look up by TDS path of detector element. | |
IPmtGeomInfo * | get (IDetectorElement *pmtde) |
Look up by DetectorElement. | |
IPmtGeomInfo * | get (unsigned int pmtid) |
Look up by fully qualified PMT id (see Conventions/Detectors.h). | |
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 () |
Public Attributes | |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
Protected Member Functions | |
int | outputLevel () const |
virtual void | setServiceManager (ISvcManager *)=0 |
Protected Attributes | |
IntegerProperty | m_outputLevel |
Gaudi::StateMachine::State | m_state |
Gaudi::StateMachine::State | m_targetState |
IMessageSvc * | m_messageSvc |
Private Types | |
typedef std::map< unsigned int, IPmtGeomInfo * > | MapByInt |
typedef std::map< std::string, IPmtGeomInfo * > | MapByString |
typedef std::map< IDetectorElement *, IPmtGeomInfo * > | MapByDE |
Private Member Functions | |
IPmtGeomInfo * | add (unsigned int pmtid, const std::string &path, IDetectorElement *de) |
IPmtGeomInfo * | find (unsigned int pmtid, IDetectorElement *de) |
IDetectorElement * | findParent (unsigned int pmtid, IDetectorElement *currentDE) |
Private Attributes | |
std::vector< std::string > | m_StreamItems |
Property: StreamItems. | |
std::vector< IDetectorElement * > | m_topDEs |
std::string | m_SiteIdUserParameter |
Property: SiteIdUserParameter. | |
std::string | m_DetectorIdUserParameter |
Property: DetectorIdUserParameter. | |
std::string | m_PmtIdUserParameter |
Property: PmtIdUserParameter. | |
bool | m_enableSabGeometry |
Property: EnableSabGeometry. | |
MapByInt | m_byId |
MapByString | m_byPath |
MapByDE | m_byDE |
IDataProviderSvc * | m_detSvc |
IDetectorElement * | m_detector |
Friends | |
friend class | ServiceManager |
Definition at line 28 of file PmtGeomInfoSvc.h.
typedef std::map<unsigned int,IPmtGeomInfo*> PmtGeomInfoSvc::MapByInt [private] |
Definition at line 87 of file PmtGeomInfoSvc.h.
typedef std::map<std::string,IPmtGeomInfo*> PmtGeomInfoSvc::MapByString [private] |
Definition at line 89 of file PmtGeomInfoSvc.h.
typedef std::map<IDetectorElement*,IPmtGeomInfo*> PmtGeomInfoSvc::MapByDE [private] |
Definition at line 91 of file PmtGeomInfoSvc.h.
PmtGeomInfoSvc::PmtGeomInfoSvc | ( | const std::string & | name, | |
ISvcLocator * | svc | |||
) |
PmtGeomInfoSvc::~PmtGeomInfoSvc | ( | ) |
virtual StatusCode PmtGeomInfoSvc::initialize | ( | ) | [virtual] |
Reimplemented from Service.
virtual StatusCode PmtGeomInfoSvc::reinitialize | ( | ) | [virtual] |
Reimplemented from Service.
virtual StatusCode PmtGeomInfoSvc::finalize | ( | ) | [virtual] |
Reimplemented from Service.
virtual StatusCode PmtGeomInfoSvc::queryInterface | ( | const InterfaceID & | riid, | |
void ** | ppvInterface | |||
) | [virtual] |
Reimplemented from Service.
IPmtGeomInfo* PmtGeomInfoSvc::get | ( | std::string | structure_path | ) | [virtual] |
IPmtGeomInfo* PmtGeomInfoSvc::get | ( | IDetectorElement * | pmtde | ) | [virtual] |
IPmtGeomInfo* PmtGeomInfoSvc::get | ( | unsigned int | pmtid | ) | [virtual] |
IPmtGeomInfo* PmtGeomInfoSvc::add | ( | unsigned int | pmtid, | |
const std::string & | path, | |||
IDetectorElement * | de | |||
) | [private] |
IPmtGeomInfo* PmtGeomInfoSvc::find | ( | unsigned int | pmtid, | |
IDetectorElement * | de | |||
) | [private] |
IDetectorElement* PmtGeomInfoSvc::findParent | ( | unsigned int | pmtid, | |
IDetectorElement * | currentDE | |||
) | [private] |
const InterfaceID & IPmtGeomInfoSvc::interfaceID | ( | ) | [static, inherited] |
Reimplemented from IService.
Definition at line 3 of file IPmtGeomInfoSvc.cc.
00003 { 00004 00005 static const InterfaceID m_IID("IPmtGeomInfoSvc", 1, 0); 00006 00007 return m_IID; 00008 }
std::vector<std::string> PmtGeomInfoSvc::m_StreamItems [private] |
Property: StreamItems.
List of top level Detector Elements. For simulation this should likely match GiGa's property of the same name.
Definition at line 57 of file PmtGeomInfoSvc.h.
std::vector<IDetectorElement*> PmtGeomInfoSvc::m_topDEs [private] |
Definition at line 58 of file PmtGeomInfoSvc.h.
std::string PmtGeomInfoSvc::m_SiteIdUserParameter [private] |
Property: SiteIdUserParameter.
Name of the user parameter attached to Site detector elements that gives the packed Site ID number. Default is "SiteID"
Definition at line 63 of file PmtGeomInfoSvc.h.
std::string PmtGeomInfoSvc::m_DetectorIdUserParameter [private] |
Property: DetectorIdUserParameter.
Name of the user parameter attached to Detector detector elements that gives the fully qualified packed Detector ID. Default is "DetectorID"
Definition at line 67 of file PmtGeomInfoSvc.h.
std::string PmtGeomInfoSvc::m_PmtIdUserParameter [private] |
Property: PmtIdUserParameter.
Name of the user parameter attached to PMT detector elements that gives the fully qualified packed PMT ID. Default is "PmtID"
Definition at line 71 of file PmtGeomInfoSvc.h.
bool PmtGeomInfoSvc::m_enableSabGeometry [private] |
Property: EnableSabGeometry.
If true, use DYB near site PMT positions for processing SAB data. Default is "True"
Definition at line 75 of file PmtGeomInfoSvc.h.
MapByInt PmtGeomInfoSvc::m_byId [private] |
Definition at line 88 of file PmtGeomInfoSvc.h.
MapByString PmtGeomInfoSvc::m_byPath [private] |
Definition at line 90 of file PmtGeomInfoSvc.h.
MapByDE PmtGeomInfoSvc::m_byDE [private] |
Definition at line 92 of file PmtGeomInfoSvc.h.
IDataProviderSvc* PmtGeomInfoSvc::m_detSvc [private] |
Definition at line 94 of file PmtGeomInfoSvc.h.
IDetectorElement* PmtGeomInfoSvc::m_detector [private] |
Definition at line 97 of file PmtGeomInfoSvc.h.