#include <DetDesc/IDetectorElement.h>
Inheritance diagram for IDetectorElement:
Public Types | |
typedef std::vector< IDetectorElement * > | IDEContainer |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
enum | Status |
Public Member Functions | |
virtual const std::string & | name () const =0 |
"accessor": name/identifier of the Detector Element | |
virtual bool | hasCondition (const std::string &name) const =0 |
Check if the condition called 'name' is in the list of conditionrefs. | |
virtual SmartRef< Condition > | condition (const std::string &name) const =0 |
Return the SmartRef for the condition called 'name'. | |
virtual IGeometryInfo * | geometry ()=0 |
delegations: | |
virtual const IGeometryInfo * | geometry () const =0 |
"accessor": delegates the IGeometryInfo Interface (const) | |
virtual IAlignment * | alignment ()=0 |
"accessor": delegates the IAlignment Interface | |
virtual const IAlignment * | alignment () const =0 |
"accessor": delegates the IAlignment Interface (const) | |
virtual ICalibration * | calibration ()=0 |
"accessor": delegates the ICalibration Interface | |
virtual const ICalibration * | calibration () const =0 |
"accessor": delegates the ICalibration Interface (const) | |
virtual IReadOut * | readOut ()=0 |
"accessor": delegates the IReadOut Interface | |
virtual const IReadOut * | readOut () const =0 |
"accessor": delegates the IReadOut Interface (const) | |
virtual ISlowControl * | slowControl ()=0 |
"accessor": delegates the ISlowControl Interface | |
virtual const ISlowControl * | slowControl () const =0 |
"accessor": delegates the ISlowControl Interface (const) | |
virtual IFastControl * | fastControl ()=0 |
"accessor": delegates the IFastControl Interface | |
virtual const IFastControl * | fastControl () const =0 |
virtual | operator IGeometryInfo * ()=0 |
Another way of accessiong the information: "pseudo-conversion" cast to IGeometryInfo*. | |
virtual | operator const IGeometryInfo * () const =0 |
cast to const IGeometryInfo* | |
virtual | operator IAlignment * ()=0 |
cast to IAlignment* | |
virtual | operator const IAlignment * () const =0 |
cast to const IAlignment* | |
virtual | operator ICalibration * ()=0 |
cast to ICalibration* | |
virtual | operator const ICalibration * () const =0 |
cast to const ICalibration* | |
virtual | operator IReadOut * ()=0 |
cast to IReadOut* | |
virtual | operator const IReadOut * () const =0 |
cast to const IReadOut* | |
virtual | operator ISlowControl * ()=0 |
cast to ISlowControl* | |
virtual | operator const ISlowControl * () const =0 |
cast to const ISlowControl* | |
virtual | operator IFastControl * ()=0 |
cast to IFastControl* | |
virtual | operator const IFastControl * () const =0 |
cast to const IFastControl* | |
virtual | operator IGeometryInfo & ()=0 |
cast to IGeometryInfo& | |
virtual | operator const IGeometryInfo & () const =0 |
cast to const IGeometryInfo& | |
virtual | operator IAlignment & ()=0 |
cast to IAlingment& | |
virtual | operator const IAlignment & () const =0 |
cast to const IAlignment& | |
virtual | operator ICalibration & ()=0 |
cast to ICalibration& | |
virtual | operator const ICalibration & () const =0 |
cast to const ICalibration& | |
virtual | operator IReadOut & ()=0 |
cast to IReadOut& | |
virtual | operator const IReadOut & () const =0 |
cast to const IReadOut& | |
virtual | operator ISlowControl & ()=0 |
cast to ISlowControl& | |
virtual | operator const ISlowControl & () const =0 |
cast to const ISlowControl& | |
virtual | operator IFastControl & ()=0 |
cast to IFastControl& | |
virtual | operator const IFastControl & () const =0 |
cast to const IFastControl& | |
virtual IDetectorElement * | parentIDetectorElement () const =0 |
some functions to simplify the navigation (according to feedback after release 3) pointer to parent IDetectorElement (const version) | |
virtual IDetectorElement::IDEContainer & | childIDetectorElements () const =0 |
(reference to) container of pointers to child detector elements | |
virtual IDetectorElement::IDEContainer::iterator | childBegin ()=0 |
iterators for manipulation of daughter elements begin iterator | |
virtual IDetectorElement::IDEContainer::const_iterator | childBegin () const =0 |
virtual IDetectorElement::IDEContainer::iterator | childEnd ()=0 |
end iterator | |
virtual IDetectorElement::IDEContainer::const_iterator | childEnd () const =0 |
virtual std::ostream & | printOut (std::ostream &) const =0 |
functions for listing of objects, used in overloaded << operations | |
virtual IDetectorElement * | reset ()=0 |
reset to the initial state | |
virtual const ParamValidDataObject * | params () const =0 |
Method used to access the ParamValidDataObject methods from IDetectorElement interface. | |
virtual int | sensitiveVolumeID (const Gaudi::XYZPoint &globalPos) const =0 |
Return a sensitive volume identifier for a given point in the global reference frame. | |
virtual StatusCode | initialize ()=0 |
This method initializes the detector element. | |
virtual | ~IDetectorElement () |
destructor | |
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvInterface)=0 |
virtual unsigned long | addRef ()=0 |
virtual unsigned long | release ()=0 |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
retrieve the unique interface identifier | |
Public Attributes | |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR |
Just delegates all questions to right guys.
Vanya Belyaev
Marco Clemencic <marco.clemencic@cern.ch>
Definition at line 42 of file IDetectorElement.h.
typedef std::vector<IDetectorElement*> IDetectorElement::IDEContainer |
Definition at line 47 of file IDetectorElement.h.
virtual IDetectorElement::~IDetectorElement | ( | ) | [virtual] |
destructor
static const InterfaceID& IDetectorElement::interfaceID | ( | ) | [inline, static] |
retrieve the unique interface identifier
Reimplemented from IInterface.
Definition at line 54 of file IDetectorElement.h.
00054 { return IID_IDetectorElement; }
virtual const std::string& IDetectorElement::name | ( | ) | const [pure virtual] |
virtual bool IDetectorElement::hasCondition | ( | const std::string & | name | ) | const [pure virtual] |
Check if the condition called 'name' is in the list of conditionrefs.
Implemented in DetectorElement.
virtual IGeometryInfo* IDetectorElement::geometry | ( | ) | [pure virtual] |
virtual const IGeometryInfo* IDetectorElement::geometry | ( | ) | const [pure virtual] |
virtual IAlignment* IDetectorElement::alignment | ( | ) | [pure virtual] |
virtual const IAlignment* IDetectorElement::alignment | ( | ) | const [pure virtual] |
virtual ICalibration* IDetectorElement::calibration | ( | ) | [pure virtual] |
virtual const ICalibration* IDetectorElement::calibration | ( | ) | const [pure virtual] |
virtual IReadOut* IDetectorElement::readOut | ( | ) | [pure virtual] |
virtual const IReadOut* IDetectorElement::readOut | ( | ) | const [pure virtual] |
virtual ISlowControl* IDetectorElement::slowControl | ( | ) | [pure virtual] |
virtual const ISlowControl* IDetectorElement::slowControl | ( | ) | const [pure virtual] |
virtual IFastControl* IDetectorElement::fastControl | ( | ) | [pure virtual] |
virtual const IFastControl* IDetectorElement::fastControl | ( | ) | const [pure virtual] |
Implemented in DetectorElement.
virtual IDetectorElement::operator IGeometryInfo * | ( | ) | [pure virtual] |
Another way of accessiong the information: "pseudo-conversion" cast to IGeometryInfo*.
Implemented in DetectorElement.
virtual IDetectorElement::operator const IGeometryInfo * | ( | ) | const [pure virtual] |
virtual IDetectorElement::operator IAlignment * | ( | ) | [pure virtual] |
virtual IDetectorElement::operator const IAlignment * | ( | ) | const [pure virtual] |
virtual IDetectorElement::operator ICalibration * | ( | ) | [pure virtual] |
virtual IDetectorElement::operator const ICalibration * | ( | ) | const [pure virtual] |
virtual IDetectorElement::operator IReadOut * | ( | ) | [pure virtual] |
virtual IDetectorElement::operator const IReadOut * | ( | ) | const [pure virtual] |
virtual IDetectorElement::operator ISlowControl * | ( | ) | [pure virtual] |
virtual IDetectorElement::operator const ISlowControl * | ( | ) | const [pure virtual] |
virtual IDetectorElement::operator IFastControl * | ( | ) | [pure virtual] |
virtual IDetectorElement::operator const IFastControl * | ( | ) | const [pure virtual] |
virtual IDetectorElement::operator IGeometryInfo & | ( | ) | [pure virtual] |
virtual IDetectorElement::operator const IGeometryInfo & | ( | ) | const [pure virtual] |
virtual IDetectorElement::operator IAlignment & | ( | ) | [pure virtual] |
virtual IDetectorElement::operator const IAlignment & | ( | ) | const [pure virtual] |
virtual IDetectorElement::operator ICalibration & | ( | ) | [pure virtual] |
virtual IDetectorElement::operator const ICalibration & | ( | ) | const [pure virtual] |
virtual IDetectorElement::operator IReadOut & | ( | ) | [pure virtual] |
virtual IDetectorElement::operator const IReadOut & | ( | ) | const [pure virtual] |
virtual IDetectorElement::operator ISlowControl & | ( | ) | [pure virtual] |
virtual IDetectorElement::operator const ISlowControl & | ( | ) | const [pure virtual] |
virtual IDetectorElement::operator IFastControl & | ( | ) | [pure virtual] |
virtual IDetectorElement::operator const IFastControl & | ( | ) | const [pure virtual] |
virtual IDetectorElement* IDetectorElement::parentIDetectorElement | ( | ) | const [pure virtual] |
some functions to simplify the navigation (according to feedback after release 3) pointer to parent IDetectorElement (const version)
Implemented in DetectorElement.
virtual IDetectorElement::IDEContainer& IDetectorElement::childIDetectorElements | ( | ) | const [pure virtual] |
virtual IDetectorElement::IDEContainer::iterator IDetectorElement::childBegin | ( | ) | [pure virtual] |
virtual IDetectorElement::IDEContainer::const_iterator IDetectorElement::childBegin | ( | ) | const [pure virtual] |
Implemented in DetectorElement.
virtual IDetectorElement::IDEContainer::iterator IDetectorElement::childEnd | ( | ) | [pure virtual] |
virtual IDetectorElement::IDEContainer::const_iterator IDetectorElement::childEnd | ( | ) | const [pure virtual] |
Implemented in DetectorElement.
virtual std::ostream& IDetectorElement::printOut | ( | std::ostream & | ) | const [pure virtual] |
virtual IDetectorElement* IDetectorElement::reset | ( | ) | [pure virtual] |
virtual const ParamValidDataObject* IDetectorElement::params | ( | ) | const [pure virtual] |
Method used to access the ParamValidDataObject methods from IDetectorElement interface.
Implemented in DetectorElement.
virtual int IDetectorElement::sensitiveVolumeID | ( | const Gaudi::XYZPoint & | globalPos | ) | const [pure virtual] |
Return a sensitive volume identifier for a given point in the global reference frame.
Implemented in DetectorElement.
virtual StatusCode IDetectorElement::initialize | ( | ) | [pure virtual] |
This method initializes the detector element.
It should be overridden and used for computation purposes. This is a kind of hook for adding user code easily in the initialization of a detector element.
Implemented in DetectorElement.