ATLAS Offline Software
Public Member Functions | List of all members
SCT_DCSConditionsTool Class Reference

Class to provide DCS information about modules from the COOL database. More...

#include <SCT_DCSConditionsTool.h>

Inheritance diagram for SCT_DCSConditionsTool:
Collaboration diagram for SCT_DCSConditionsTool:

Public Member Functions

 SCT_DCSConditionsTool (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual ~SCT_DCSConditionsTool ()=default
 
virtual StatusCode initialize () override
 
virtual StatusCode finalize () override
 

Methods to be implemented from virtual baseclass methods, when introduced

BooleanProperty m_readAllDBFolders {this, "ReadAllDBFolders", true}
 
BooleanProperty m_returnHVTemp {this, "ReturnHVTemp", true}
 
FloatProperty m_barrel_correction {this, "TempBarrelCorrection", -3.7}
 
FloatProperty m_ecInner_correction {this, "TempEcInnerCorrection", -13.1}
 
FloatProperty m_ecOuter_correction {this, "TempEcOuterCorrection", -15.5}
 
SG::ReadCondHandleKey< SCT_DCSStatCondDatam_condKeyState {this, "CondKeyState", "SCT_DCSStatCondData", "SCT DCS state"}
 
SG::ReadCondHandleKey< SCT_DCSFloatCondDatam_condKeyHV {this, "CondKeyHV", "SCT_DCSHVCondData", "SCT DCS HV"}
 
SG::ReadCondHandleKey< SCT_DCSFloatCondDatam_condKeyTemp0 {this, "CondKeyTemp0", "SCT_DCSTemp0CondData", "SCT DCS temperature on side 0"}
 
const SCT_IDm_pHelper {nullptr}
 
static const Identifier s_invalidId
 
static const float s_defaultHV {-30.}
 
static const float s_defaultTemperature {-40.}
 
virtual bool canReportAbout (InDetConditions::Hierarchy h) const override
 Return whether this service can report on the hierarchy level (e.g. module, chip...) More...
 
virtual Identifier getModuleID (const Identifier &elementId, InDetConditions::Hierarchy h) const
 
virtual bool isGood (const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override
 Summarise the result from the service as good/bad. More...
 
virtual bool isGood (const Identifier &elementId, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override
 
virtual bool isGood (const IdentifierHash &hashId, const EventContext &ctx) const override
 is it good?, using wafer hash More...
 
virtual bool isGood (const IdentifierHash &hashId) const override
 
virtual void getDetectorElementStatus (const EventContext &ctx, InDet::SiDetectorElementStatus &element_status, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const override
 
virtual float modHV (const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override
 
virtual float modHV (const Identifier &elementId, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override
 
virtual float modHV (const IdentifierHash &hashId, const EventContext &ctx) const override
 
virtual float modHV (const IdentifierHash &hashId) const override
 
virtual float hybridTemperature (const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override
 
virtual float hybridTemperature (const Identifier &elementId, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override
 
virtual float hybridTemperature (const IdentifierHash &hashId, const EventContext &ctx) const override
 
virtual float hybridTemperature (const IdentifierHash &hashId) const override
 
virtual float sensorTemperature (const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override
 
virtual float sensorTemperature (const Identifier &elementId, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override
 
virtual float sensorTemperature (const IdentifierHash &hashId, const EventContext &ctx) const override
 
virtual float sensorTemperature (const IdentifierHash &hashId) const override
 
const SCT_DCSStatCondDatagetCondDataState (const EventContext &ctx) const
 
const SCT_DCSFloatCondDatagetCondDataHV (const EventContext &ctx) const
 
const SCT_DCSFloatCondDatagetCondDataTemp0 (const EventContext &ctx) const
 

Detailed Description

Class to provide DCS information about modules from the COOL database.

Tool that returns DCS info about a module

Definition at line 40 of file SCT_DCSConditionsTool.h.

Constructor & Destructor Documentation

◆ SCT_DCSConditionsTool()

SCT_DCSConditionsTool::SCT_DCSConditionsTool ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Definition at line 22 of file SCT_DCSConditionsTool.cxx.

22  :
23  base_class(type, name, parent)
24 {
25 }

◆ ~SCT_DCSConditionsTool()

virtual SCT_DCSConditionsTool::~SCT_DCSConditionsTool ( )
virtualdefault

Member Function Documentation

◆ canReportAbout()

bool SCT_DCSConditionsTool::canReportAbout ( InDetConditions::Hierarchy  h) const
overridevirtual

Return whether this service can report on the hierarchy level (e.g. module, chip...)

Definition at line 48 of file SCT_DCSConditionsTool.cxx.

◆ finalize()

StatusCode SCT_DCSConditionsTool::finalize ( )
overridevirtual

Definition at line 43 of file SCT_DCSConditionsTool.cxx.

43  {
44  return StatusCode::SUCCESS;
45 }

◆ getCondDataHV()

const SCT_DCSFloatCondData * SCT_DCSConditionsTool::getCondDataHV ( const EventContext &  ctx) const
private

Definition at line 260 of file SCT_DCSConditionsTool.cxx.

260  {
262  return condData.retrieve();
263 }

◆ getCondDataState()

const SCT_DCSStatCondData * SCT_DCSConditionsTool::getCondDataState ( const EventContext &  ctx) const
private

Definition at line 254 of file SCT_DCSConditionsTool.cxx.

254  {
256  return condData.retrieve();
257 }

◆ getCondDataTemp0()

const SCT_DCSFloatCondData * SCT_DCSConditionsTool::getCondDataTemp0 ( const EventContext &  ctx) const
private

Definition at line 266 of file SCT_DCSConditionsTool.cxx.

266  {
268  return condData.retrieve();
269 }

◆ getDetectorElementStatus()

void SCT_DCSConditionsTool::getDetectorElementStatus ( const EventContext &  ctx,
InDet::SiDetectorElementStatus element_status,
SG::WriteCondHandle< InDet::SiDetectorElementStatus > *  whandle 
) const
overridevirtual

Definition at line 96 of file SCT_DCSConditionsTool.cxx.

97  {
100  if (not condDataHandle.isValid()) {
101  ATH_MSG_ERROR("Failed to get " << m_condKeyState.key());
102  return;
103  }
104  if (whandle) {
105  whandle->addDependency (condDataHandle);
106  }
107  const SCT_DCSStatCondData* condDataState{ condDataHandle.cptr() };
108  if (condDataState==nullptr) return;
109  std::vector<bool> &status = element_status.getElementStatus();
110  if (status.empty()) {
111  status.resize(m_pHelper->wafer_hash_max(),true);
112  }
113  std::vector<InDet::ChipFlags_t> &chip_status = element_status.getElementChipStatus();
114  constexpr unsigned int N_CHIPS_PER_SIDE = 6;
115  constexpr unsigned int N_SIDES = 2;
116  constexpr InDet::ChipFlags_t all_flags_set = static_cast<InDet::ChipFlags_t>((1ul<<(N_CHIPS_PER_SIDE*N_SIDES)) - 1ul);
117  if (chip_status.empty()) {
118  chip_status.resize(status.size(), all_flags_set);
119  }
120  for ( const std::pair< const CondAttrListCollection::ChanNum, std::vector<std::string> > & dcs_state : condDataState->badChannelsMap() ) {
121  Identifier moduleId{ Identifier32{dcs_state.first} };
122  //find the corresponding hash
123  for (unsigned int side_i=0; side_i<2; ++side_i) {
124  Identifier waferId(m_pHelper->wafer_id(m_pHelper->barrel_ec (moduleId),
125  m_pHelper->layer_disk(moduleId),
126  m_pHelper->phi_module(moduleId),
127  m_pHelper->eta_module(moduleId),
128  side_i) );
129  const IdentifierHash hashId{m_pHelper->wafer_hash(waferId)};
130  status.at(hashId.value() ) = status.at(hashId.value() ) && dcs_state.second.empty();
131  chip_status.at(hashId.value()) = chip_status.at(hashId.value()) & ( dcs_state.second.empty() ? all_flags_set : 0 );
132  }
133  }
134  }
135 }

◆ getModuleID()

Identifier SCT_DCSConditionsTool::getModuleID ( const Identifier elementId,
InDetConditions::Hierarchy  h 
) const
virtual

Definition at line 53 of file SCT_DCSConditionsTool.cxx.

53  {
54  if (not canReportAbout(h)) return s_invalidId;
55 
56  Identifier moduleId;
57 
59  moduleId = elementId;
60  } else if (h==InDetConditions::SCT_SIDE) {
61  moduleId = m_pHelper->module_id(elementId);
62  } else if (h==InDetConditions::SCT_STRIP) {
63  Identifier waferId = m_pHelper->wafer_id(elementId);
64  moduleId = m_pHelper->module_id(waferId);
65  }
66  return moduleId;
67 }

◆ hybridTemperature() [1/4]

float SCT_DCSConditionsTool::hybridTemperature ( const Identifier elementId,
const EventContext &  ctx,
InDetConditions::Hierarchy  h = InDetConditions::DEFAULT 
) const
overridevirtual

Definition at line 178 of file SCT_DCSConditionsTool.cxx.

178  {
179  Identifier moduleId{getModuleID(elementId, h)};
180  if (not moduleId.is_valid()) return s_defaultTemperature; // not canreportabout
181 
182  const SCT_DCSFloatCondData* condDataTemp0{getCondDataTemp0(ctx)};
183  if (condDataTemp0==nullptr) return s_defaultTemperature; // no cond data
184 
185  float temperature{s_defaultTemperature};
186  if (condDataTemp0->getValue(castId(moduleId), temperature) and isGood(elementId, h)) {
187  return temperature;
188  }
189  return s_defaultTemperature;//didn't find the module, return -40.
190 }

◆ hybridTemperature() [2/4]

float SCT_DCSConditionsTool::hybridTemperature ( const Identifier elementId,
InDetConditions::Hierarchy  h = InDetConditions::DEFAULT 
) const
overridevirtual

Definition at line 192 of file SCT_DCSConditionsTool.cxx.

192  {
193  const EventContext& ctx{Gaudi::Hive::currentContext()};
194  return hybridTemperature(elementId, ctx, h);
195 }

◆ hybridTemperature() [3/4]

float SCT_DCSConditionsTool::hybridTemperature ( const IdentifierHash hashId) const
overridevirtual

Definition at line 204 of file SCT_DCSConditionsTool.cxx.

204  {
205  const EventContext& ctx{Gaudi::Hive::currentContext()};
206  return hybridTemperature(hashId, ctx);
207 }

◆ hybridTemperature() [4/4]

float SCT_DCSConditionsTool::hybridTemperature ( const IdentifierHash hashId,
const EventContext &  ctx 
) const
overridevirtual

Definition at line 198 of file SCT_DCSConditionsTool.cxx.

198  {
199  Identifier waferId{m_pHelper->wafer_id(hashId)};
200  Identifier moduleId{m_pHelper->module_id(waferId)};
201  return hybridTemperature(moduleId, ctx, InDetConditions::SCT_MODULE);
202 }

◆ initialize()

StatusCode SCT_DCSConditionsTool::initialize ( )
overridevirtual

Definition at line 27 of file SCT_DCSConditionsTool.cxx.

27  {
28  if (detStore()->retrieve(m_pHelper,"SCT_ID").isFailure()) {
29  ATH_MSG_ERROR("SCT helper failed to retrieve ");
30  return StatusCode::FAILURE;
31  }
32 
33  // Read Cond Handle Keys
36 
37  const bool useState = (m_readAllDBFolders and m_returnHVTemp) or (not m_readAllDBFolders and not m_returnHVTemp);
39 
40  return StatusCode::SUCCESS;
41 }

◆ isGood() [1/4]

bool SCT_DCSConditionsTool::isGood ( const Identifier elementId,
const EventContext &  ctx,
InDetConditions::Hierarchy  h = InDetConditions::DEFAULT 
) const
overridevirtual

Summarise the result from the service as good/bad.

Definition at line 70 of file SCT_DCSConditionsTool.cxx.

70  {
71  Identifier moduleId{getModuleID(elementId, h)};
72  if (not moduleId.is_valid()) return true; // not canreportabout
73 
75  const SCT_DCSStatCondData* condDataState{getCondDataState(ctx)};
76  if (condDataState==nullptr) return false; // no cond data
77  else if (condDataState->output(castId(moduleId))==0) return true; //No params are listed as bad
78  else return false;
79  } else {
80  return true;
81  }
82 }

◆ isGood() [2/4]

bool SCT_DCSConditionsTool::isGood ( const Identifier elementId,
InDetConditions::Hierarchy  h = InDetConditions::DEFAULT 
) const
overridevirtual

Definition at line 84 of file SCT_DCSConditionsTool.cxx.

84  {
85  const EventContext& ctx{Gaudi::Hive::currentContext()};
86  return isGood(elementId, ctx, h);
87 }

◆ isGood() [3/4]

bool SCT_DCSConditionsTool::isGood ( const IdentifierHash hashId) const
overridevirtual

Definition at line 137 of file SCT_DCSConditionsTool.cxx.

137  {
138  const EventContext& ctx{Gaudi::Hive::currentContext()};
139  return isGood(hashId, ctx);
140 }

◆ isGood() [4/4]

bool SCT_DCSConditionsTool::isGood ( const IdentifierHash hashId,
const EventContext &  ctx 
) const
overridevirtual

is it good?, using wafer hash

Definition at line 90 of file SCT_DCSConditionsTool.cxx.

90  {
91  Identifier waferId{m_pHelper->wafer_id(hashId)};
92  Identifier moduleId{m_pHelper->module_id(waferId)};
93  return isGood(moduleId, ctx, InDetConditions::SCT_MODULE);
94 }

◆ modHV() [1/4]

float SCT_DCSConditionsTool::modHV ( const Identifier elementId,
const EventContext &  ctx,
InDetConditions::Hierarchy  h = InDetConditions::DEFAULT 
) const
overridevirtual

Definition at line 146 of file SCT_DCSConditionsTool.cxx.

146  {
147  Identifier moduleId{getModuleID(elementId, h)};
148  if (not moduleId.is_valid()) return s_defaultHV; // not canreportabout, return s_defaultHV(-30)
149 
150  const SCT_DCSFloatCondData* condDataHV{getCondDataHV(ctx)};
151  if (condDataHV==nullptr) return s_defaultHV; // no cond data
152 
153  float hvval{s_defaultHV};
154  if (condDataHV->getValue(castId(moduleId), hvval) and isGood(elementId, h)) {
155  return hvval;
156  }
157  return s_defaultHV; //didn't find the module, return s_defaultHV(-30)
158 }

◆ modHV() [2/4]

float SCT_DCSConditionsTool::modHV ( const Identifier elementId,
InDetConditions::Hierarchy  h = InDetConditions::DEFAULT 
) const
overridevirtual

Definition at line 160 of file SCT_DCSConditionsTool.cxx.

160  {
161  const EventContext& ctx{Gaudi::Hive::currentContext()};
162  return modHV(elementId, ctx, h);
163 }

◆ modHV() [3/4]

float SCT_DCSConditionsTool::modHV ( const IdentifierHash hashId) const
overridevirtual

Definition at line 172 of file SCT_DCSConditionsTool.cxx.

172  {
173  const EventContext& ctx{Gaudi::Hive::currentContext()};
174  return modHV(hashId, ctx);
175 }

◆ modHV() [4/4]

float SCT_DCSConditionsTool::modHV ( const IdentifierHash hashId,
const EventContext &  ctx 
) const
overridevirtual

Definition at line 166 of file SCT_DCSConditionsTool.cxx.

166  {
167  Identifier waferId{m_pHelper->wafer_id(hashId)};
168  Identifier moduleId{m_pHelper->module_id(waferId)};
169  return modHV(moduleId, ctx, InDetConditions::SCT_MODULE);
170 }

◆ sensorTemperature() [1/4]

float SCT_DCSConditionsTool::sensorTemperature ( const Identifier elementId,
const EventContext &  ctx,
InDetConditions::Hierarchy  h = InDetConditions::DEFAULT 
) const
overridevirtual

Definition at line 210 of file SCT_DCSConditionsTool.cxx.

210  {
211  Identifier moduleId{getModuleID(elementId, h)};
212  if (not moduleId.is_valid()) return s_defaultTemperature; // not canreportabout
213 
214  const SCT_DCSFloatCondData* condDataTemp0{getCondDataTemp0(ctx)};
215  if (condDataTemp0==nullptr) return s_defaultTemperature; // no cond data
216 
217  float temperature{s_defaultTemperature};
218  if (condDataTemp0->getValue(castId(moduleId), temperature) and isGood(elementId, h)) {
219  int bec{m_pHelper->barrel_ec(moduleId)};
220  if (bec==0) { // Barrel
221  return ( temperature + m_barrel_correction); //return the temp+correction
222  } else { // Endcaps
223  int modeta{m_pHelper->eta_module(moduleId)};
224  if (modeta==2) {
225  return (temperature + m_ecInner_correction); //return the temp+correction
226  } else {
227  return (temperature + m_ecOuter_correction); //return the temp+correction
228  }
229  }
230  }
231  return s_defaultTemperature; //didn't find the module, return s_defaultTemperature(-40).
232 }

◆ sensorTemperature() [2/4]

float SCT_DCSConditionsTool::sensorTemperature ( const Identifier elementId,
InDetConditions::Hierarchy  h = InDetConditions::DEFAULT 
) const
overridevirtual

Definition at line 234 of file SCT_DCSConditionsTool.cxx.

234  {
235  const EventContext& ctx{Gaudi::Hive::currentContext()};
236  return sensorTemperature(elementId, ctx, h);
237 }

◆ sensorTemperature() [3/4]

float SCT_DCSConditionsTool::sensorTemperature ( const IdentifierHash hashId) const
overridevirtual

Definition at line 246 of file SCT_DCSConditionsTool.cxx.

246  {
247  const EventContext& ctx{Gaudi::Hive::currentContext()};
248  return sensorTemperature(hashId, ctx);
249 }

◆ sensorTemperature() [4/4]

float SCT_DCSConditionsTool::sensorTemperature ( const IdentifierHash hashId,
const EventContext &  ctx 
) const
overridevirtual

Definition at line 240 of file SCT_DCSConditionsTool.cxx.

240  {
241  Identifier waferId{m_pHelper->wafer_id(hashId)};
242  Identifier moduleId{m_pHelper->module_id(waferId)};
243  return sensorTemperature(moduleId, ctx, InDetConditions::SCT_MODULE);
244 }

Member Data Documentation

◆ m_barrel_correction

FloatProperty SCT_DCSConditionsTool::m_barrel_correction {this, "TempBarrelCorrection", -3.7}
private

Definition at line 86 of file SCT_DCSConditionsTool.h.

◆ m_condKeyHV

SG::ReadCondHandleKey<SCT_DCSFloatCondData> SCT_DCSConditionsTool::m_condKeyHV {this, "CondKeyHV", "SCT_DCSHVCondData", "SCT DCS HV"}
private

Definition at line 90 of file SCT_DCSConditionsTool.h.

◆ m_condKeyState

SG::ReadCondHandleKey<SCT_DCSStatCondData> SCT_DCSConditionsTool::m_condKeyState {this, "CondKeyState", "SCT_DCSStatCondData", "SCT DCS state"}
private

Definition at line 89 of file SCT_DCSConditionsTool.h.

◆ m_condKeyTemp0

SG::ReadCondHandleKey<SCT_DCSFloatCondData> SCT_DCSConditionsTool::m_condKeyTemp0 {this, "CondKeyTemp0", "SCT_DCSTemp0CondData", "SCT DCS temperature on side 0"}
private

Definition at line 91 of file SCT_DCSConditionsTool.h.

◆ m_ecInner_correction

FloatProperty SCT_DCSConditionsTool::m_ecInner_correction {this, "TempEcInnerCorrection", -13.1}
private

Definition at line 87 of file SCT_DCSConditionsTool.h.

◆ m_ecOuter_correction

FloatProperty SCT_DCSConditionsTool::m_ecOuter_correction {this, "TempEcOuterCorrection", -15.5}
private

Definition at line 88 of file SCT_DCSConditionsTool.h.

◆ m_pHelper

const SCT_ID* SCT_DCSConditionsTool::m_pHelper {nullptr}
private

Definition at line 92 of file SCT_DCSConditionsTool.h.

◆ m_readAllDBFolders

BooleanProperty SCT_DCSConditionsTool::m_readAllDBFolders {this, "ReadAllDBFolders", true}
private

Definition at line 84 of file SCT_DCSConditionsTool.h.

◆ m_returnHVTemp

BooleanProperty SCT_DCSConditionsTool::m_returnHVTemp {this, "ReturnHVTemp", true}
private

Definition at line 85 of file SCT_DCSConditionsTool.h.

◆ s_defaultHV

const float SCT_DCSConditionsTool::s_defaultHV {-30.}
staticprivate

Definition at line 94 of file SCT_DCSConditionsTool.h.

◆ s_defaultTemperature

const float SCT_DCSConditionsTool::s_defaultTemperature {-40.}
staticprivate

Definition at line 95 of file SCT_DCSConditionsTool.h.

◆ s_invalidId

const Identifier SCT_DCSConditionsTool::s_invalidId
staticprivate

Definition at line 93 of file SCT_DCSConditionsTool.h.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
SCT_DCSConditionsTool::m_condKeyHV
SG::ReadCondHandleKey< SCT_DCSFloatCondData > m_condKeyHV
Definition: SCT_DCSConditionsTool.h:90
Identifier32
Definition: Identifier32.h:25
SCT_DCSFloatCondData
Class for data object used in SCT_DCSConditions{HV,Temp}CondAlg, SCT_DCSConditionsTool,...
Definition: SCT_DCSFloatCondData.h:30
InDet::SiDetectorElementStatus::getElementStatus
const std::vector< bool > & getElementStatus() const
Definition: SiDetectorElementStatus.h:116
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
SCT_DCSConditionsTool::m_barrel_correction
FloatProperty m_barrel_correction
Definition: SCT_DCSConditionsTool.h:86
SCT_DCSConditionsTool::s_invalidId
static const Identifier s_invalidId
Definition: SCT_DCSConditionsTool.h:93
SCT_DCSConditionsTool::m_condKeyState
SG::ReadCondHandleKey< SCT_DCSStatCondData > m_condKeyState
Definition: SCT_DCSConditionsTool.h:89
ParticleGun_SamplingFraction.bec
int bec
Definition: ParticleGun_SamplingFraction.py:89
SCT_ConditionsTools::castId
unsigned int castId(const Identifier &identifier)
Definition: SCT_IdConverter.h:13
SCT_DCSConditionsTool::m_ecOuter_correction
FloatProperty m_ecOuter_correction
Definition: SCT_DCSConditionsTool.h:88
SCT::N_SIDES
constexpr unsigned int N_SIDES
Definition: SCT_ChipUtils.h:16
SCT_ID::barrel_ec
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
Definition: SCT_ID.h:728
SCT_ID::phi_module
int phi_module(const Identifier &id) const
Definition: SCT_ID.h:740
SCT_DCSConditionsTool::m_ecInner_correction
FloatProperty m_ecInner_correction
Definition: SCT_DCSConditionsTool.h:87
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
SCT_ID::module_id
Identifier module_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
Definition: SCT_ID.h:416
SCT_DCSStatCondData
Classs for data object used in SCT_DCSConditionsStatCondAlg, SCT_DCSConditionsTool,...
Definition: SCT_DCSStatCondData.h:29
SCT_DCSConditionsTool::hybridTemperature
virtual float hybridTemperature(const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override
Definition: SCT_DCSConditionsTool.cxx:178
SCT_DCSConditionsTool::m_readAllDBFolders
BooleanProperty m_readAllDBFolders
Definition: SCT_DCSConditionsTool.h:84
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
InDetConditions::SCT_MODULE
@ SCT_MODULE
Definition: InDetHierarchy.h:14
test_pyathena.parent
parent
Definition: test_pyathena.py:15
SCT_DCSConditionsTool::modHV
virtual float modHV(const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override
Definition: SCT_DCSConditionsTool.cxx:146
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
SCT_DCSConditionsTool::canReportAbout
virtual bool canReportAbout(InDetConditions::Hierarchy h) const override
Return whether this service can report on the hierarchy level (e.g. module, chip.....
Definition: SCT_DCSConditionsTool.cxx:48
SCT_ID::wafer_hash
IdentifierHash wafer_hash(const Identifier &wafer_id) const
wafer hash from id - optimized
Definition: SCT_ID.h:492
detail::ul
unsigned long ul
Definition: PrimitiveHelpers.h:46
SCT_DCSConditionsTool::sensorTemperature
virtual float sensorTemperature(const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override
Definition: SCT_DCSConditionsTool.cxx:210
SCT_DCSConditionsTool::m_condKeyTemp0
SG::ReadCondHandleKey< SCT_DCSFloatCondData > m_condKeyTemp0
Definition: SCT_DCSConditionsTool.h:91
SCT_DCSConditionsTool::s_defaultHV
static const float s_defaultHV
Definition: SCT_DCSConditionsTool.h:94
CondAttrListCollection::ChanNum
unsigned int ChanNum
Definition: CondAttrListCollection.h:55
SCT_DCSConditionsTool::m_pHelper
const SCT_ID * m_pHelper
Definition: SCT_DCSConditionsTool.h:92
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
SCT_DCSConditionsTool::getCondDataTemp0
const SCT_DCSFloatCondData * getCondDataTemp0(const EventContext &ctx) const
Definition: SCT_DCSConditionsTool.cxx:266
SCT_DCSConditionsTool::isGood
virtual bool isGood(const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override
Summarise the result from the service as good/bad.
Definition: SCT_DCSConditionsTool.cxx:70
SCT_DCSConditionsTool::getCondDataState
const SCT_DCSStatCondData * getCondDataState(const EventContext &ctx) const
Definition: SCT_DCSConditionsTool.cxx:254
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_ID::wafer_hash_max
size_type wafer_hash_max(void) const
Definition: SCT_ID.cxx:645
SCT_ID::layer_disk
int layer_disk(const Identifier &id) const
Definition: SCT_ID.h:734
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
h
SCT_DCSConditionsTool::getCondDataHV
const SCT_DCSFloatCondData * getCondDataHV(const EventContext &ctx) const
Definition: SCT_DCSConditionsTool.cxx:260
InDet::SiDetectorElementStatus::getElementChipStatus
const std::vector< ChipFlags_t > & getElementChipStatus() const
Definition: SiDetectorElementStatus.h:118
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
SCT_ID::eta_module
int eta_module(const Identifier &id) const
Definition: SCT_ID.h:746
InDet::ChipFlags_t
unsigned short ChipFlags_t
Definition: SiDetectorElementStatus.h:60
SCT_DCSConditionsTool::m_returnHVTemp
BooleanProperty m_returnHVTemp
Definition: SCT_DCSConditionsTool.h:85
merge.status
status
Definition: merge.py:17
SCT_ID::wafer_id
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.
Definition: SCT_ID.h:464
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
InDetConditions::SCT_STRIP
@ SCT_STRIP
Definition: InDetHierarchy.h:14
InDetConditions::SCT_SIDE
@ SCT_SIDE
Definition: InDetHierarchy.h:14
SCT_DCSConditionsTool::getModuleID
virtual Identifier getModuleID(const Identifier &elementId, InDetConditions::Hierarchy h) const
Definition: SCT_DCSConditionsTool.cxx:53
SCT_DCSConditionsTool::s_defaultTemperature
static const float s_defaultTemperature
Definition: SCT_DCSConditionsTool.h:95
SCT::N_CHIPS_PER_SIDE
constexpr unsigned int N_CHIPS_PER_SIDE
Definition: SCT_ChipUtils.h:15
SG::WriteCondHandle::addDependency
void addDependency(const EventIDRange &range)
Definition: WriteCondHandle.h:275
Identifier
Definition: IdentifierFieldParser.cxx:14