| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

PmtGeomInfoSvc Class Reference

#include <PmtGeomInfoSvc.h>

Inheritance diagram for PmtGeomInfoSvc:

[legend]
Collaboration diagram for PmtGeomInfoSvc:
[legend]
List of all members.

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)
IPmtGeomInfoget (std::string structure_path)
 Look up by TDS path of detector element.
IPmtGeomInfoget (IDetectorElement *pmtde)
 Look up by DetectorElement.
IPmtGeomInfoget (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 InterfaceIDtype () 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 PropertygetProperty (const std::string &name) const
virtual StatusCode getProperty (const std::string &n, std::string &v) const
virtual const std::vector<
Property * > & 
getProperties () const
ISvcLocatorserviceLocator () const
IMessageSvcmsgSvc ()
IMessageSvcmsgSvc () const
IMessageSvcmessageService ()
IMessageSvcmessageService () 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
PropertydeclareProperty (const std::string &name, T &property, const std::string &doc="none") const
PropertydeclareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const
IAuditorSvcauditorSvc () const

Static Public Member Functions

static const InterfaceIDinterfaceID ()
static const InterfaceIDinterfaceID ()
static const InterfaceIDinterfaceID ()
static const InterfaceIDinterfaceID ()

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
IMessageSvcm_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

IPmtGeomInfoadd (unsigned int pmtid, const std::string &path, IDetectorElement *de)
IPmtGeomInfofind (unsigned int pmtid, IDetectorElement *de)
IDetectorElementfindParent (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
IDataProviderSvcm_detSvc
IDetectorElementm_detector

Friends

friend class ServiceManager

Detailed Description

Definition at line 28 of file PmtGeomInfoSvc.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

PmtGeomInfoSvc::PmtGeomInfoSvc ( const std::string &  name,
ISvcLocator svc 
)

PmtGeomInfoSvc::~PmtGeomInfoSvc (  ) 


Member Function Documentation

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]

Look up by TDS path of detector element.

Implements IPmtGeomInfoSvc.

IPmtGeomInfo* PmtGeomInfoSvc::get ( IDetectorElement pmtde  )  [virtual]

Look up by DetectorElement.

Implements IPmtGeomInfoSvc.

IPmtGeomInfo* PmtGeomInfoSvc::get ( unsigned int  pmtid  )  [virtual]

Look up by fully qualified PMT id (see Conventions/Detectors.h).

Implements IPmtGeomInfoSvc.

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 }


Member Data Documentation

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.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:15:11 2011 for DetHelpers by doxygen 1.4.7