|
ATLAS Offline Software
|
Go to the documentation of this file.
22 base_class(
name, pSvcLocator),
23 m_svcCollection(
name),
42 msg(MSG::WARNING) <<
"No services to be called!" <<
endmsg;
45 if (
sc.isFailure() ) {
46 msg(MSG::ERROR) <<
"Couldn't retrieve services: "
56 SmartIF<StoreGateSvc>
detStore{service(
"DetectorStore")};
60 std::string managerName;
65 << managerName <<
" !" <<
endmsg;
71 if (
sc.isFailure() ) {
82 return StatusCode::SUCCESS;
99 int nelements=element->
nStraws();
100 for(
int i=0;
i<nelements;
i++){
124 int nelements=element->
nStraws();
125 for(
int i=0;
i<nelements;
i++){
181 int nelements=element->
nStraws();
182 for(
int i=0;
i<nelements;
i++){
206 int nelements=element->
nStraws();
207 for(
int i=0;
i<nelements;
i++){
256 ServiceHandleArray<ITRT_ConditionsSvc>::const_iterator svcItr;
260 thisSvcFlag = (*svcItr)->condSummaryStatus(
ident );
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
InDet::TRT_CondFlag condSummaryStatus(const Identifier &ident)
ServiceHandleArray< ITRT_ConditionsSvc > m_svcCollection
unsigned int nStraws() const
Number of straws in the element.
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
virtual ~TRT_ConditionsSummarySvc()
virtual double goodFraction(const IdentifierHash &elementHash, const Identifier &idStart, const Identifier &idEnd)
int straw(const Identifier &id) const
virtual double activeFraction(const IdentifierHash &elementHash, const Identifier &idStart, const Identifier &idEnd)
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual bool isGood(const Identifier &elementId, const InDetConditions::Hierarchy h=InDetConditions::DEFAULT)
TRT_ConditionsSummarySvc(const std::string &name, ISvcLocator *svc)
Service constructor.
virtual StatusCode finalize()
Service finalize.
const InDetDD::TRT_DetectorManager * m_manager
virtual StatusCode initialize()
Service init.
const TRT_BaseElement * getElement(Identifier id) const
Access Elements Generically---------------------------------------------—.
virtual bool isActive(const Identifier &elementId, const InDetConditions::Hierarchy h=InDetConditions::DEFAULT)
TRT_CondFlag
status flag to be derived from the inheriting tool's conditions info
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Identifier straw_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, int straw) const
Three ways of getting id for a single straw: