ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
SCTSiLorentzAngleCondAlg Class Reference

#include <SCTSiLorentzAngleCondAlg.h>

Inheritance diagram for SCTSiLorentzAngleCondAlg:
Collaboration diagram for SCTSiLorentzAngleCondAlg:

Public Member Functions

 SCTSiLorentzAngleCondAlg (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual ~SCTSiLorentzAngleCondAlg ()=default
 
virtual StatusCode initialize () override final
 
virtual StatusCode execute (const EventContext &ctx) const override final
 
virtual StatusCode finalize () override final
 
virtual bool isReEntrant () const override final
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual bool isClonable () const override
 Specify if the algorithm is clonable. More...
 
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
 
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
virtual bool filterPassed (const EventContext &ctx) const
 
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
 
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

Amg::Vector3D getMagneticField (MagField::AtlasFieldCache &fieldCache, const InDetDD::SiDetectorElement *element) const
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

SG::ReadCondHandleKey< SCT_DCSFloatCondDatam_readKeyTemp {this, "ReadKeyTemp", "SCT_SiliconTempCondData", "Key of input SCT temperature"}
 
SG::ReadCondHandleKey< SCT_DCSFloatCondDatam_readKeyHV {this, "ReadKeyHV", "SCT_SiliconBiasVoltCondData", "Key of input SCT HV"}
 
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollectionm_SCTDetEleCollKey {this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"}
 
SG::ReadCondHandleKey< AtlasFieldCacheCondObjm_fieldCondObjInputKey
 
SG::WriteCondHandleKey< SiLorentzAngleCondDatam_writeKey {this, "WriteKey", "SCTSiLorentzAngleCondData", "Key of output SiLorentzAngleCondData"}
 
ToolHandle< ISiliconConditionsToolm_siConditionsTool {this, "SiConditionsTool", "SCT_SiliconConditionsTool", "Tool to retrieve SCT silicon information"}
 
DoubleProperty m_temperature {this, "Temperature", -7., "Default temperature in Celcius."}
 
DoubleProperty m_temperatureMin {this, "TemperatureMin", -80., "Minimum temperature allowed in Celcius."}
 
DoubleProperty m_temperatureMax {this, "TemperatureMax", 100., "Maximum temperature allowed in Celcius."}
 
DoubleProperty m_deplVoltage {this, "DepletionVoltage", 70., "Default depletion voltage in Volt."}
 
DoubleProperty m_biasVoltage {this, "BiasVoltage", 150., "Default bias voltage in Volt."}
 
DoubleProperty m_nominalField {this, "NominalField", 2.0834*Gaudi::Units::tesla}
 
BooleanProperty m_useMagFieldCache {this, "UseMagFieldCache", true}
 
BooleanProperty m_useMagFieldDcs {this, "UseMagFieldDcs", true}
 
BooleanProperty m_sctDefaults {this, "useSctDefaults", false}
 
BooleanProperty m_useGeoModel {this, "UseGeoModel", false}
 
unsigned int m_maxHash
 
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

This class prepares SiLorentAngleCondData using SCT_SiliconConditionsTool

Definition at line 36 of file SCTSiLorentzAngleCondAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ SCTSiLorentzAngleCondAlg()

SCTSiLorentzAngleCondAlg::SCTSiLorentzAngleCondAlg ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Definition at line 23 of file SCTSiLorentzAngleCondAlg.cxx.

23  :
24  ::AthReentrantAlgorithm(name, pSvcLocator),
25  m_maxHash{0}
26 {
27 }

◆ ~SCTSiLorentzAngleCondAlg()

virtual SCTSiLorentzAngleCondAlg::~SCTSiLorentzAngleCondAlg ( )
virtualdefault

Member Function Documentation

◆ cardinality()

unsigned int AthReentrantAlgorithm::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKeyArray>

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleBase>

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( ) const
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

StatusCode SCTSiLorentzAngleCondAlg::execute ( const EventContext &  ctx) const
finaloverridevirtual

Definition at line 58 of file SCTSiLorentzAngleCondAlg.cxx.

59 {
60  // Write Cond Handle
62  // Do we have a valid Write Cond Handle for current time?
63  if (writeHandle.isValid()) {
64  ATH_MSG_DEBUG("CondHandle " << writeHandle.fullKey() << " is already valid."
65  << " In theory this should not be called, but may happen"
66  << " if multiple concurrent events are being processed out of order.");
67  return StatusCode::SUCCESS;
68  }
69 
70  // Get SCT_DetectorElementCollection
72  const InDetDD::SiDetectorElementCollection* elements(sctDetEle.retrieve());
73  if (elements==nullptr) {
74  ATH_MSG_FATAL(m_SCTDetEleCollKey.fullKey() << " could not be retrieved");
75  return StatusCode::FAILURE;
76  }
77  writeHandle.addDependency(sctDetEle); // Run-LB IOV
78 
79  if ((not m_sctDefaults.value()) and (not m_useGeoModel.value())) {
80  // Read Cond Handle (temperature)
82  const SCT_DCSFloatCondData* readCdoTemp{*readHandleTemp};
83  if (readCdoTemp==nullptr) {
84  ATH_MSG_FATAL("Null pointer to the read conditions object");
85  return StatusCode::FAILURE;
86  }
87  writeHandle.addDependency(readHandleTemp);
88  ATH_MSG_INFO("Input is " << readHandleTemp.fullKey() << " with the range of " << readHandleTemp.getRange());
89 
90  // Read Cond Handle (HV)
92  const SCT_DCSFloatCondData* readCdoHV{*readHandleHV};
93  if (readCdoHV==nullptr) {
94  ATH_MSG_FATAL("Null pointer to the read conditions object");
95  return StatusCode::FAILURE;
96  }
97  writeHandle.addDependency(readHandleHV);
98  ATH_MSG_INFO("Input is " << readHandleHV.fullKey() << " with the range of " << readHandleHV.getRange());
99  }
100 
101  MagField::AtlasFieldCache fieldCache;
102  if (m_useMagFieldCache.value()) {
103  // Get field cache object
105  const AtlasFieldCacheCondObj* fieldCondObj{*readHandle};
106 
107  if (fieldCondObj==nullptr) {
108  ATH_MSG_FATAL("Failed to retrieve AtlasFieldCacheCondObj with key " << m_fieldCondObjInputKey.key());
109  return StatusCode::FAILURE;
110  }
111  writeHandle.addDependency(readHandle);
112  fieldCondObj->getInitializedCache(fieldCache);
113  }
114 
115  // Construct the output Cond Object and fill it in
116  std::unique_ptr<SiLorentzAngleCondData> writeCdo{std::make_unique<SiLorentzAngleCondData>()};
117  writeCdo->resize(m_maxHash);
118  // SiLorentzAngleCondData myData;
119 
120  for (unsigned int hash{0}; hash<m_maxHash; hash++) {
121  const IdentifierHash elementHash{hash};
122 
123  double temperatureC{0.0};
124  double deplVoltage{0.0};
125  double biasVoltage{0.0};
126 
127  if (m_sctDefaults.value()) {
128  temperatureC = m_temperature.value();
129  deplVoltage = m_deplVoltage.value() * CLHEP::volt;
130  biasVoltage = m_biasVoltage.value() * CLHEP::volt;
131  } else {
132  temperatureC = m_siConditionsTool->temperature(elementHash, ctx);
133  deplVoltage = m_siConditionsTool->depletionVoltage(elementHash, ctx) * CLHEP::volt;
134  biasVoltage = m_siConditionsTool->biasVoltage(elementHash, ctx) * CLHEP::volt;
135  ATH_MSG_DEBUG("SCT Hash = " << elementHash << " Temperature = " << temperatureC << " [deg C], BiasV = " << biasVoltage << " DeplV = " << deplVoltage);
136  }
137 
138  // Protect against invalid temperature
139  if (not ((temperatureC>m_temperatureMin) and (temperatureC<m_temperatureMax))) {
140  temperatureC = m_temperature.value();
141  ATH_MSG_DEBUG("Invalid temperature: " << temperatureC << " C. " << "Setting to " << m_temperature.value() << " C. " << "Detector element hash: " << elementHash);
142  }
143  double temperature{temperatureC + Gaudi::Units::STP_Temperature}; // C -> K
144 
145  // Calculate depletion depth. If biasVoltage is less than depletionVoltage
146  // the detector is not fully depleted and we need to take this into account.
147  // We take absolute values just in case voltages are signed.
148  const InDetDD::SiDetectorElement* element{elements->getDetectorElement(elementHash)};
149  double depletionDepth{element->thickness()};
150  if (deplVoltage==0.0) {
151  ATH_MSG_WARNING("Depletion voltage in "<<__FILE__<<" is zero, which might be a bug.");
152  }
153  if (std::abs(biasVoltage) < std::abs(deplVoltage)) {
154  depletionDepth *= sqrt(std::abs(biasVoltage / deplVoltage));
155  }
156 
157  double meanElectricField{0.};
158  if (depletionDepth>0.) {
159  meanElectricField = biasVoltage / depletionDepth;
160  }
161  InDet::SiliconProperties siProperties;
162  siProperties.setConditions(temperature, meanElectricField);
163  double mobility{siProperties.signedHallMobility(element->carrierType())};
164 
165  // Get magnetic field. This first checks that field cache is valid.
166  Amg::Vector3D magneticField{getMagneticField(fieldCache, element)};
167 
168  // The angles are in the hit frame. This is because that is what is needed by the digization and also
169  // gives a more physical sign of the angle (ie dosen't flip sign when the detector is flipped).
170  // The hit depth axis is pointing from the readout side to the backside if m_design->readoutSide() < 0
171  // The hit depth axis is pointing from the backside to the readout side if m_design->readoutSide() > 0
172  double tanLorentzAnglePhi{element->design().readoutSide() * mobility * element->hitDepthDirection()
173  * element->hitPhiDirection() * (element->normal().cross(magneticField)).dot(element->phiAxis())};
174  writeCdo->setTanLorentzAngle(elementHash, tanLorentzAnglePhi);
175 
176  // This gives the effective correction in the reconstruction frame hence the extra hitPhiDirection()
177  // as the angle above is in the hit frame.
178  double lorentzCorrectionPhi{-0.5 * element->hitPhiDirection() * tanLorentzAnglePhi * depletionDepth};
179  writeCdo->setLorentzShift(elementHash, lorentzCorrectionPhi);
180 
181  // The Lorentz eta shift very small and so can be ignored, but we include it for completeness.
182  // In the SCT its largest in the stereo side of the barrel modules where it is about 0.3 micron along the strip.
183  double tanLorentzAngleEta{element->design().readoutSide() * mobility * element->hitDepthDirection()
184  * element->hitEtaDirection() * (element->normal().cross(magneticField)).dot(element->etaAxis())};
185  writeCdo->setTanLorentzAngleEta(elementHash, tanLorentzAngleEta);
186  double lorentzCorrectionEta{-0.5 * element->hitPhiDirection() * tanLorentzAngleEta * depletionDepth};
187  writeCdo->setLorentzShiftEta(elementHash, lorentzCorrectionEta);
188 
189  // Monitoring value
190  writeCdo->setBiasVoltage(elementHash, biasVoltage/CLHEP::volt);
191  writeCdo->setTemperature(elementHash, temperatureC);
192  writeCdo->setDepletionVoltage(elementHash, deplVoltage/CLHEP::volt);
193 
194  ATH_MSG_DEBUG("Hash = " << elementHash << " tanPhi = " << lorentzCorrectionPhi << " shiftPhi = " << writeCdo->getLorentzShift(elementHash) << "Depletion depth = " << depletionDepth);
195  ATH_MSG_VERBOSE("Temperature (C), bias voltage, depletion voltage: " << temperatureC << ", " << biasVoltage/CLHEP::volt << ", " << deplVoltage/CLHEP::volt);
196  ATH_MSG_VERBOSE("Depletion depth: " << depletionDepth/CLHEP::mm);
197  ATH_MSG_VERBOSE("Mobility (cm2/V/s): " << mobility/(CLHEP::cm2/CLHEP::volt/CLHEP::s));
198  ATH_MSG_VERBOSE("Magnetic Field (tesla): " << "(" << magneticField.x()/CLHEP::tesla << "," << magneticField.y()/CLHEP::tesla << "," << magneticField.z()/CLHEP::tesla << ")");
199  ATH_MSG_VERBOSE("LorentzShift, tanLorentzAngle = " << writeCdo->getLorentzShift(elementHash) << ", " << writeCdo->getTanLorentzAngle(elementHash));
200  ATH_MSG_VERBOSE("LorentzShiftEta, tanLorentzAngleEta = " << writeCdo->getLorentzShiftEta(elementHash) << ", " << writeCdo->getTanLorentzAngleEta(elementHash));
201  }
202 
203  // Record the output cond object
204  if (writeHandle.record(std::move(writeCdo)).isFailure()) {
205  ATH_MSG_FATAL("Could not record SiLorentzAngleCondData " << writeHandle.key()
206  << " with EventRange " << writeHandle.getRange() << " into Conditions Store");
207  return StatusCode::FAILURE;
208  }
209  ATH_MSG_INFO("recorded new CDO " << writeHandle.key() << " with range " << writeHandle.getRange() << " into Conditions Store");
210 
211  return StatusCode::SUCCESS;
212 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase &  ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 79 of file AthReentrantAlgorithm.cxx.

80 {
81  // If we didn't find any symlinks to add, just return the collection
82  // from the base class. Otherwise, return the extended collection.
83  if (!m_extendedExtraObjects.empty()) {
85  }
86  return Algorithm::extraOutputDeps();
87 }

◆ filterPassed()

virtual bool AthReentrantAlgorithm::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 135 of file AthReentrantAlgorithm.h.

135  {
136  return execState( ctx ).filterPassed();
137  }

◆ finalize()

StatusCode SCTSiLorentzAngleCondAlg::finalize ( )
finaloverridevirtual

Definition at line 214 of file SCTSiLorentzAngleCondAlg.cxx.

215 {
216  return StatusCode::SUCCESS;
217 }

◆ getMagneticField()

Amg::Vector3D SCTSiLorentzAngleCondAlg::getMagneticField ( MagField::AtlasFieldCache fieldCache,
const InDetDD::SiDetectorElement element 
) const
private

Definition at line 219 of file SCTSiLorentzAngleCondAlg.cxx.

219  {
220 
221  if (m_useMagFieldCache.value()) {
222  Amg::Vector3D pointvec{element->center()};
223 
224  ATH_MSG_VERBOSE("Getting magnetic field from MT magnetic field service.");
225 
226  double point[3];
227  point[0] = pointvec[0];
228  point[1] = pointvec[1];
229  point[2] = pointvec[2];
230  double field[3];
231  fieldCache.getField(point, field);
232  return Amg::Vector3D(field[0], field[1], field[2]);
233  } else {
234  ATH_MSG_VERBOSE("Using Nominal Field");
235  return Amg::Vector3D(0., 0., m_nominalField);
236  }
237 }

◆ initialize()

StatusCode SCTSiLorentzAngleCondAlg::initialize ( )
finaloverridevirtual

Definition at line 29 of file SCTSiLorentzAngleCondAlg.cxx.

30 {
31  if (m_siConditionsTool.empty()) m_sctDefaults.setValue(true);
32 
33  if (not m_sctDefaults.value()) {
34  // SCTSiliconConditionsTool
35  ATH_CHECK(m_siConditionsTool.retrieve());
36  } else {
37  m_siConditionsTool.disable();
38  }
39  // Read Cond handle
40  ATH_CHECK(m_readKeyTemp.initialize((not m_sctDefaults.value()) and (not m_useGeoModel.value())));
41  ATH_CHECK(m_readKeyHV.initialize((not m_sctDefaults.value()) and (not m_useGeoModel.value())));
42 
44 
46 
47  // Write Cond Handle
49 
50  // Get maximum hash for vector sizes. We need the idhelper for this.
51  const SCT_ID* idHelper{nullptr};
52  ATH_CHECK(detStore()->retrieve(idHelper, "SCT_ID"));
53  m_maxHash = idHelper->wafer_hash_max();
54 
55  return StatusCode::SUCCESS;
56 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

bool AthReentrantAlgorithm::isClonable ( ) const
overridevirtualinherited

◆ isReEntrant()

virtual bool SCTSiLorentzAngleCondAlg::isReEntrant ( ) const
inlinefinaloverridevirtual

Definition at line 44 of file SCTSiLorentzAngleCondAlg.h.

44 { return false; }

◆ msg() [1/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24  {
25  return this->msgStream();
26  }

◆ msg() [2/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30  {
31  return this->msgLevel(lvl);
32  }

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t<std::is_void_v<std::result_of_t<decltype(&T::renounce)(T)> > && !std::is_base_of_v<SG::VarHandleKeyArray, T> && std::is_base_of_v<Gaudi::DataHandle, T>, void> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ setFilterPassed()

virtual void AthReentrantAlgorithm::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 139 of file AthReentrantAlgorithm.h.

139  {
140  execState( ctx ).setFilterPassed( state );
141  }

◆ sysExecute()

StatusCode AthReentrantAlgorithm::sysExecute ( const EventContext &  ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 67 of file AthReentrantAlgorithm.cxx.

68 {
69  return Gaudi::Algorithm::sysExecute (ctx);
70 }

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

96  {
98 
99  if (sc.isFailure()) {
100  return sc;
101  }
102 
103  ServiceHandle<ICondSvc> cs("CondSvc",name());
104  for (auto h : outputHandles()) {
105  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
106  // do this inside the loop so we don't create the CondSvc until needed
107  if ( cs.retrieve().isFailure() ) {
108  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
109  return StatusCode::SUCCESS;
110  }
111  if (cs->regHandle(this,*h).isFailure()) {
112  sc = StatusCode::FAILURE;
113  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
114  << " with CondSvc");
115  }
116  }
117  }
118  return sc;
119 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase &  )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_biasVoltage

DoubleProperty SCTSiLorentzAngleCondAlg::m_biasVoltage {this, "BiasVoltage", 150., "Default bias voltage in Volt."}
private

Definition at line 64 of file SCTSiLorentzAngleCondAlg.h.

◆ m_deplVoltage

DoubleProperty SCTSiLorentzAngleCondAlg::m_deplVoltage {this, "DepletionVoltage", 70., "Default depletion voltage in Volt."}
private

Definition at line 63 of file SCTSiLorentzAngleCondAlg.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 153 of file AthReentrantAlgorithm.h.

◆ m_fieldCondObjInputKey

SG::ReadCondHandleKey<AtlasFieldCacheCondObj> SCTSiLorentzAngleCondAlg::m_fieldCondObjInputKey
private
Initial value:
{this, "AtlasFieldCacheCondObj", "fieldCondObj",
"Name of the Magnetic Field conditions object key"}

Definition at line 52 of file SCTSiLorentzAngleCondAlg.h.

◆ m_maxHash

unsigned int SCTSiLorentzAngleCondAlg::m_maxHash
private

Definition at line 70 of file SCTSiLorentzAngleCondAlg.h.

◆ m_nominalField

DoubleProperty SCTSiLorentzAngleCondAlg::m_nominalField {this, "NominalField", 2.0834*Gaudi::Units::tesla}
private

Definition at line 65 of file SCTSiLorentzAngleCondAlg.h.

◆ m_readKeyHV

SG::ReadCondHandleKey<SCT_DCSFloatCondData> SCTSiLorentzAngleCondAlg::m_readKeyHV {this, "ReadKeyHV", "SCT_SiliconBiasVoltCondData", "Key of input SCT HV"}
private

Definition at line 48 of file SCTSiLorentzAngleCondAlg.h.

◆ m_readKeyTemp

SG::ReadCondHandleKey<SCT_DCSFloatCondData> SCTSiLorentzAngleCondAlg::m_readKeyTemp {this, "ReadKeyTemp", "SCT_SiliconTempCondData", "Key of input SCT temperature"}
private

Definition at line 47 of file SCTSiLorentzAngleCondAlg.h.

◆ m_sctDefaults

BooleanProperty SCTSiLorentzAngleCondAlg::m_sctDefaults {this, "useSctDefaults", false}
private

Definition at line 68 of file SCTSiLorentzAngleCondAlg.h.

◆ m_SCTDetEleCollKey

SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> SCTSiLorentzAngleCondAlg::m_SCTDetEleCollKey {this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"}
private

Definition at line 50 of file SCTSiLorentzAngleCondAlg.h.

◆ m_siConditionsTool

ToolHandle<ISiliconConditionsTool> SCTSiLorentzAngleCondAlg::m_siConditionsTool {this, "SiConditionsTool", "SCT_SiliconConditionsTool", "Tool to retrieve SCT silicon information"}
private

Definition at line 56 of file SCTSiLorentzAngleCondAlg.h.

◆ m_temperature

DoubleProperty SCTSiLorentzAngleCondAlg::m_temperature {this, "Temperature", -7., "Default temperature in Celcius."}
private

Definition at line 60 of file SCTSiLorentzAngleCondAlg.h.

◆ m_temperatureMax

DoubleProperty SCTSiLorentzAngleCondAlg::m_temperatureMax {this, "TemperatureMax", 100., "Maximum temperature allowed in Celcius."}
private

Definition at line 62 of file SCTSiLorentzAngleCondAlg.h.

◆ m_temperatureMin

DoubleProperty SCTSiLorentzAngleCondAlg::m_temperatureMin {this, "TemperatureMin", -80., "Minimum temperature allowed in Celcius."}
private

Definition at line 61 of file SCTSiLorentzAngleCondAlg.h.

◆ m_useGeoModel

BooleanProperty SCTSiLorentzAngleCondAlg::m_useGeoModel {this, "UseGeoModel", false}
private

Definition at line 69 of file SCTSiLorentzAngleCondAlg.h.

◆ m_useMagFieldCache

BooleanProperty SCTSiLorentzAngleCondAlg::m_useMagFieldCache {this, "UseMagFieldCache", true}
private

Definition at line 66 of file SCTSiLorentzAngleCondAlg.h.

◆ m_useMagFieldDcs

BooleanProperty SCTSiLorentzAngleCondAlg::m_useMagFieldDcs {this, "UseMagFieldDcs", true}
private

Definition at line 67 of file SCTSiLorentzAngleCondAlg.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.

◆ m_writeKey

SG::WriteCondHandleKey<SiLorentzAngleCondData> SCTSiLorentzAngleCondAlg::m_writeKey {this, "WriteKey", "SCTSiLorentzAngleCondData", "Key of output SiLorentzAngleCondData"}
private

Definition at line 54 of file SCTSiLorentzAngleCondAlg.h.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
SCTSiLorentzAngleCondAlg::m_nominalField
DoubleProperty m_nominalField
Definition: SCTSiLorentzAngleCondAlg.h:65
SCT_DCSFloatCondData
Class for data object used in SCT_DCSConditions{HV,Temp}CondAlg, SCT_DCSConditionsTool,...
Definition: SCT_DCSFloatCondData.h:30
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
SCTSiLorentzAngleCondAlg::m_temperatureMin
DoubleProperty m_temperatureMin
Definition: SCTSiLorentzAngleCondAlg.h:61
InDetDD::SiDetectorElementCollection
Definition: SiDetectorElementCollection.h:30
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
AtlasFieldCacheCondObj
Definition: AtlasFieldCacheCondObj.h:19
python.PhysicalConstants.STP_Temperature
float STP_Temperature
Definition: PhysicalConstants.py:119
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
InDetDD::SolidStateDetectorElementBase::center
virtual const Amg::Vector3D & center() const override final
Center in global coordinates.
SCTSiLorentzAngleCondAlg::m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Definition: SCTSiLorentzAngleCondAlg.h:50
AthCommonDataStore::renounce
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
Definition: AthCommonDataStore.h:380
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
ReadOfcFromCool.field
field
Definition: ReadOfcFromCool.py:48
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
SCTSiLorentzAngleCondAlg::m_temperature
DoubleProperty m_temperature
Definition: SCTSiLorentzAngleCondAlg.h:60
SCTSiLorentzAngleCondAlg::m_maxHash
unsigned int m_maxHash
Definition: SCTSiLorentzAngleCondAlg.h:70
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
SCTSiLorentzAngleCondAlg::m_useMagFieldCache
BooleanProperty m_useMagFieldCache
Definition: SCTSiLorentzAngleCondAlg.h:66
SCTSiLorentzAngleCondAlg::m_readKeyHV
SG::ReadCondHandleKey< SCT_DCSFloatCondData > m_readKeyHV
Definition: SCTSiLorentzAngleCondAlg.h:48
SCTSiLorentzAngleCondAlg::m_sctDefaults
BooleanProperty m_sctDefaults
Definition: SCTSiLorentzAngleCondAlg.h:68
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
python.SystemOfUnits.cm2
int cm2
Definition: SystemOfUnits.py:88
InDetDD::SolidStateDetectorElementBase::thickness
double thickness() const
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
python.SystemOfUnits.volt
int volt
Definition: SystemOfUnits.py:204
SCTSiLorentzAngleCondAlg::m_siConditionsTool
ToolHandle< ISiliconConditionsTool > m_siConditionsTool
Definition: SCTSiLorentzAngleCondAlg.h:56
dot.dot
def dot(G, fn, nodesToHighlight=[])
Definition: dot.py:5
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
SCTSiLorentzAngleCondAlg::getMagneticField
Amg::Vector3D getMagneticField(MagField::AtlasFieldCache &fieldCache, const InDetDD::SiDetectorElement *element) const
Definition: SCTSiLorentzAngleCondAlg.cxx:219
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
python.SystemOfUnits.tesla
int tesla
Definition: SystemOfUnits.py:228
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
InDet::SiliconProperties
Definition: SiliconProperties.h:24
InDet::SiliconProperties::signedHallMobility
double signedHallMobility(InDetDD::CarrierType carrier) const
Definition: SiliconProperties.cxx:114
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
SCTSiLorentzAngleCondAlg::m_useGeoModel
BooleanProperty m_useGeoModel
Definition: SCTSiLorentzAngleCondAlg.h:69
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
SCTSiLorentzAngleCondAlg::m_fieldCondObjInputKey
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCondObjInputKey
Definition: SCTSiLorentzAngleCondAlg.h:52
a
TList * a
Definition: liststreamerinfos.cxx:10
h
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
SCT_ID
Definition: SCT_ID.h:68
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
SCTSiLorentzAngleCondAlg::m_biasVoltage
DoubleProperty m_biasVoltage
Definition: SCTSiLorentzAngleCondAlg.h:64
SCTSiLorentzAngleCondAlg::m_temperatureMax
DoubleProperty m_temperatureMax
Definition: SCTSiLorentzAngleCondAlg.h:62
MagField::AtlasFieldCache
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Definition: AtlasFieldCache.h:43
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
MagField::AtlasFieldCache::getField
void getField(const double *ATH_RESTRICT xyz, double *ATH_RESTRICT bxyz, double *ATH_RESTRICT deriv=nullptr)
get B field value at given position xyz[3] is in mm, bxyz[3] is in kT if deriv[9] is given,...
Definition: AtlasFieldCache.cxx:42
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
IdentifierHash
Definition: IdentifierHash.h:38
SCTSiLorentzAngleCondAlg::m_deplVoltage
DoubleProperty m_deplVoltage
Definition: SCTSiLorentzAngleCondAlg.h:63
SCTSiLorentzAngleCondAlg::m_readKeyTemp
SG::ReadCondHandleKey< SCT_DCSFloatCondData > m_readKeyTemp
Definition: SCTSiLorentzAngleCondAlg.h:47
SG::WriteCondHandle
Definition: WriteCondHandle.h:26
SCTSiLorentzAngleCondAlg::m_writeKey
SG::WriteCondHandleKey< SiLorentzAngleCondData > m_writeKey
Definition: SCTSiLorentzAngleCondAlg.h:54
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
InDet::SiliconProperties::setConditions
void setConditions(double temperature, double electricField)
Definition: SiliconProperties.cxx:71
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >