ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
InDet::ClusterMakerTool Class Reference

#include <ClusterMakerTool.h>

Inheritance diagram for InDet::ClusterMakerTool:
Collaboration diagram for InDet::ClusterMakerTool:

Public Member Functions

 ClusterMakerTool (const std::string &type, const std::string &name, const IInterface *parent)
 
 ~ClusterMakerTool ()=default
 
StatusCode initialize ()
 
PixelCluster pixelCluster (const Identifier &clusterID, const Amg::Vector2D &localPos, std::vector< Identifier > &&rdoList, const int lvl1a, std::vector< int > &&totList, const SiWidth &width, const InDetDD::SiDetectorElement *element, bool ganged, int errorStrategy, const PixelID &pixelID, bool split, double splitProb1, double splitProb2, const PixelChargeCalibCondData *calibData, const PixelCalib::PixelOfflineCalibData *offlineCalibData, const EventContext &ctx) const
 
xAOD::PixelClusterxAODpixelCluster (xAOD::PixelCluster &cluster, const Amg::Vector2D &localPos, const std::vector< Identifier > &rdoList, const int lvl1a, const std::vector< int > &totList, const SiWidth &width, const InDetDD::SiDetectorElement *element, bool ganged, int errorStrategy, const PixelID &pixelID, bool split, double splitProb1, double splitProb2, const PixelChargeCalibCondData *calibData, const PixelCalib::PixelOfflineCalibData *offlineCalibData, const EventContext &ctx) const
 
SCT_Cluster sctCluster (const Identifier &clusterID, const Amg::Vector2D &localPos, std::vector< Identifier > &&rdoList, const SiWidth &width, const InDetDD::SiDetectorElement *element, int errorStrategy) 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 sysInitialize () override
 Perform system initialization for an algorithm. 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
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

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

template<typename ClusterType , typename IdentifierVec , typename ToTList >
ClusterType makePixelCluster (const Identifier &clusterID, const Amg::Vector2D &localPos, IdentifierVec &&rdoList, const int lvl1a, ToTList &&totList, const SiWidth &width, const InDetDD::SiDetectorElement *element, bool ganged, int errorStrategy, const PixelID &pixelID, bool split, double splitProb1, double splitProb2, const PixelChargeCalibCondData *calibData, const PixelCalib::PixelOfflineCalibData *offlineCalibData, const EventContext &ctx, xAOD::PixelCluster *cluster=nullptr) const
 
double getPixelCTBPhiError (int layer, int phi, int PhiClusterSize) 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

ServiceHandle< InDetDD::IPixelReadoutManagerm_pixelReadout {this, "PixelReadoutManager", "PixelReadoutManager", "Pixel readout manager" }
 
ToolHandle< ISiLorentzAngleToolm_pixelLorentzAngleTool {this, "PixelLorentzAngleTool", "SiLorentzAngleTool/PixelLorentzAngleTool", "Tool to retreive Lorentz angle of Pixel"}
 
ToolHandle< ISiLorentzAngleToolm_sctLorentzAngleTool {this, "SCTLorentzAngleTool", "SiLorentzAngleTool/SCTLorentzAngleTool", "Tool to retreive Lorentz angle of SCT"}
 
bool m_forceErrorStrategy1B {false}
 
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

Definition at line 56 of file ClusterMakerTool.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ ClusterMakerTool()

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

Definition at line 142 of file ClusterMakerTool.cxx.

144  :
145  AthAlgTool(t,n,p)
146 {
147  declareInterface<ClusterMakerTool>(this);
148 }

◆ ~ClusterMakerTool()

InDet::ClusterMakerTool::~ClusterMakerTool ( )
default

Member Function Documentation

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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; }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::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

◆ getPixelCTBPhiError()

double InDet::ClusterMakerTool::getPixelCTBPhiError ( int  layer,
int  phi,
int  PhiClusterSize 
) const
private

Definition at line 587 of file ClusterMakerTool.cxx.

588  {
589 
590  double sigmaL0Phi1[3] = { 8.2*micrometer, 9.7*micrometer, 14.6*micrometer};
591  double sigmaL1Phi1[3] = {14.6*micrometer, 9.3*micrometer, 14.6*micrometer};
592  double sigmaL2Phi1[3] = {14.6*micrometer, 8.6*micrometer, 14.6*micrometer};
593  double sigmaL0Phi0[3] = {14.6*micrometer, 13.4*micrometer, 13.0*micrometer};
594  double sigmaL1Phi0[3] = {14.6*micrometer, 8.5*micrometer, 11.0*micrometer};
595  double sigmaL2Phi0[3] = {14.6*micrometer, 11.6*micrometer, 9.3*micrometer};
596 
597  if(phiClusterSize > 3) return 14.6*micrometer;
598 
599  if(layer == 0 && phi == 0) return sigmaL0Phi0[phiClusterSize-1];
600  if(layer == 1 && phi == 0) return sigmaL1Phi0[phiClusterSize-1];
601  if(layer == 2 && phi == 0) return sigmaL2Phi0[phiClusterSize-1];
602  if(layer == 0 && phi == 1) return sigmaL0Phi1[phiClusterSize-1];
603  if(layer == 1 && phi == 1) return sigmaL1Phi1[phiClusterSize-1];
604  if(layer == 2 && phi == 1) return sigmaL2Phi1[phiClusterSize-1];
605 
606  // shouldn't really happen...
607  ATH_MSG_WARNING("Unexpected layer and phi numbers: layer = "
608  << layer << " and phi = " << phi);
609  return 14.6*micrometer;
610 
611 }

◆ initialize()

StatusCode InDet::ClusterMakerTool::initialize ( )

Definition at line 152 of file ClusterMakerTool.cxx.

152  {
153  // Code entered here will be executed once at program start.
154 
155  ATH_MSG_DEBUG ( name() << " initialize()" );
156 
157  if (not m_pixelReadout.empty()) {
158  ATH_CHECK(m_pixelReadout.retrieve());
159  }
160 
161  if (not m_pixelLorentzAngleTool.empty()) {
163  } else {
164  m_pixelLorentzAngleTool.disable();
165  }
166  if (not m_sctLorentzAngleTool.empty()) {
167  ATH_CHECK(m_sctLorentzAngleTool.retrieve());
168  } else {
169  m_sctLorentzAngleTool.disable();
170  }
171 
172 
173  return StatusCode::SUCCESS;
174 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ interfaceID()

static const InterfaceID& InDet::ClusterMakerTool::interfaceID ( )
inlinestatic

Definition at line 68 of file ClusterMakerTool.h.

68 { return IID_ClusterMakerTool; };

◆ makePixelCluster()

template<typename ClusterType , typename IdentifierVec , typename ToTList >
ClusterType InDet::ClusterMakerTool::makePixelCluster ( const Identifier clusterID,
const Amg::Vector2D localPos,
IdentifierVec &&  rdoList,
const int  lvl1a,
ToTList &&  totList,
const SiWidth width,
const InDetDD::SiDetectorElement element,
bool  ganged,
int  errorStrategy,
const PixelID pixelID,
bool  split,
double  splitProb1,
double  splitProb2,
const PixelChargeCalibCondData calibData,
const PixelCalib::PixelOfflineCalibData offlineCalibData,
const EventContext &  ctx,
xAOD::PixelCluster cluster = nullptr 
) const
private

Definition at line 198 of file ClusterMakerTool.cxx.

215  {
216 
217  ATH_MSG_VERBOSE("ClusterMakerTool called, number ");
218  if ( errorStrategy==2 && m_forceErrorStrategy1B ) errorStrategy=1;
219 
220  // Fill vector of charges and compute charge balance
221  const InDetDD::PixelModuleDesign* design = (dynamic_cast<const InDetDD::PixelModuleDesign*>(&element->design()));
222  if (not design){
223  throw std::runtime_error( "Dynamic cast failed for design in ClusterMakerTool.cxx");
224  }
225  int rowMin = design->rows();
226  int rowMax = 0;
227  int colMin = design->columns();
228  int colMax = 0;
229  float qRowMin = 0; float qRowMax = 0;
230  float qColMin = 0; float qColMax = 0;
231  std::vector<float> chargeList;
232  int nRDO=rdoList.size();
233  if (calibData) {
234  chargeList.reserve(nRDO);
235  for (int i=0; i<nRDO; i++) {
236  Identifier pixid=rdoList[i];
237  int ToT=totList[i];
238 
239  float charge = ToT;
240  Identifier moduleID = pixelID.wafer_id(pixid);
241  IdentifierHash moduleHash = pixelID.wafer_hash(moduleID); // wafer hash
242  unsigned int FE = m_pixelReadout->getFE(pixid, moduleID);
243  InDetDD::PixelDiodeType type = m_pixelReadout->getDiodeType(pixid);
244  charge = calibData->getCharge(type, moduleHash, FE, ToT);
245  if (design->getReadoutTechnology() != InDetDD::PixelReadoutTechnology::RD53 && (moduleHash<12 || moduleHash>2035)) {
246  charge = ToT/8.0*(8000.0-1200.0)+1200.0;
247  }
248  chargeList.push_back(charge);
249  }
250  }
251 
252  for (int i=0; i<nRDO; i++) {
253  Identifier pixid=rdoList[i];
254  int ToT=totList[i];
255 
256  float charge = ToT;
257  if (calibData) { charge=chargeList[i]; }
258 
259  // std::cout << "tot, charge = " << ToT << " " << charge << std::endl;
260  int row = pixelID.phi_index(pixid);
261  int col = pixelID.eta_index(pixid);
262  if (row == rowMin) qRowMin += charge;
263  if (row < rowMin){
264  rowMin = row;
265  qRowMin = charge;
266  }
267 
268  if (row == rowMax) qRowMax += charge;
269  if (row > rowMax){
270  rowMax = row;
271  qRowMax = charge;
272  }
273  if (col == colMin) qColMin += charge;
274  if (col < colMin){
275  colMin = col;
276  qColMin = charge;
277  }
278 
279  if (col == colMax) qColMax += charge;
280  if (col > colMax){
281  colMax = col;
282  qColMax = charge;
283  }
284  }
285 
286  Identifier newClusterID = pixelID.pixel_id(pixelID.wafer_id(clusterID),rowMin,colMin);
287  // Compute omega for charge interpolation correction (if required)
288  // Two pixels may have charge=0 (very rarely, hopefully)
289  float omegax = -1;
290  float omegay = -1;
291  if(qRowMin+qRowMax > 0) omegax = qRowMax/float(qRowMin+qRowMax);
292  if(qColMin+qColMax > 0) omegay = qColMax/float(qColMin+qColMax);
293 
294  ATH_MSG_VERBOSE("omega = " << omegax << " " << omegay);
295 
296 // ask for Lorentz correction, get global position
297  double shift = m_pixelLorentzAngleTool->getLorentzShift(element->identifyHash(), ctx);
298  Amg::Vector2D locpos(localPos[Trk::locX]+shift, localPos[Trk::locY]);
299 // find global position of element
300  const Amg::Transform3D& T = element->surface().transform();
301  double Ax[3] = {T(0,0),T(1,0),T(2,0)};
302  double Ay[3] = {T(0,1),T(1,1),T(2,1)};
303  double R [3] = {T(0,3),T(1,3),T(2,3)};
304 
305  const Amg::Vector2D& M = locpos;
306  Amg::Vector3D globalPos(M[0]*Ax[0]+M[1]*Ay[0]+R[0],M[0]*Ax[1]+M[1]*Ay[1]+R[1],M[0]*Ax[2]+M[1]*Ay[2]+R[2]);
307 
308  // error matrix
309  const Amg::Vector2D& colRow = width.colRow();// made ref to avoid
310  // unnecessary copy EJWM
311  auto errorMatrix = Amg::MatrixX(2,2);
312  errorMatrix.setIdentity();
313 
314  // switches are more readable **OPT**
315  // actually they're slower as well (so I'm told) so perhaps
316  // this should be re-written at some point EJWM
317  double eta = std::abs(globalPos.eta());
318  double zPitch = width.z()/colRow.y();
319 
320  const AtlasDetectorID* aid = element->getIdHelper();
321 
323  throw std::runtime_error( "Wrong helper type in ClusterMakerTool.cxx.");
324  }
325  const PixelID* pid = static_cast<const PixelID*>(aid);
326  int layer = pid->layer_disk(clusterID);
327  int phimod = pid->phi_module(clusterID);
328  switch (errorStrategy){
329  case 0:
330  errorMatrix.fillSymmetric(0,0,square(width.phiR())*ONE_TWELFTH);
331  errorMatrix.fillSymmetric(1,1,square(width.z())*ONE_TWELFTH);
332  break;
333  case 1:
334  errorMatrix.fillSymmetric(0,0,square(width.phiR()/colRow.x())*ONE_TWELFTH);
335  errorMatrix.fillSymmetric(1,1,square(width.z()/colRow.y())*ONE_TWELFTH);
336  break;
337  case 2:
338  // use parameterization only if the cluster does not
339  // contain long pixels or ganged pixels
340  // Also require calibration service is available....
341  if (!ganged && zPitch>399*micrometer && zPitch<401*micrometer) {
342  if (offlineCalibData) {
343  if (element->isBarrel()) {
344  int ibin = offlineCalibData->getPixelClusterErrorData()->getBarrelBin(eta,int(colRow.y()),int(colRow.x()));
345  double phiError = offlineCalibData->getPixelClusterErrorData()->getPixelBarrelPhiError(ibin);
346  double etaError = offlineCalibData->getPixelClusterErrorData()->getPixelBarrelEtaError(ibin);
347  errorMatrix.fillSymmetric(0,0,pow(phiError,2));
348  errorMatrix.fillSymmetric(1,1,pow(etaError,2));
349  }
350  else {
351  int ibin = offlineCalibData->getPixelClusterErrorData()->getEndcapBin(int(colRow.y()),int(colRow.x()));
352  double phiError = offlineCalibData->getPixelClusterErrorData()->getPixelEndcapPhiError(ibin);
353  double etaError = offlineCalibData->getPixelClusterErrorData()->getPixelEndcapRError(ibin);
354  errorMatrix.fillSymmetric(0,0,square(phiError));
355  errorMatrix.fillSymmetric(1,1,square(etaError));
356  }
357  }
358  }else{// cluster with ganged and/or long pixels
359  errorMatrix.fillSymmetric(0,0,square(width.phiR()/colRow.x())*ONE_TWELFTH);
360  errorMatrix.fillSymmetric(1,1,square(zPitch)*ONE_TWELFTH);
361  }
362  break;
363 
364  case 10:
365  errorMatrix.fillSymmetric(0,0,square( getPixelCTBPhiError(layer,phimod,int(colRow.x()))));
366  errorMatrix.fillSymmetric(1,1,square(width.z()/colRow.y())*ONE_TWELFTH);
367  break;
368 
369  default:
370  errorMatrix.fillSymmetric(0,0,square(width.phiR()/colRow.x())*ONE_TWELFTH);
371  errorMatrix.fillSymmetric(1,1,square(width.z()/colRow.y())*ONE_TWELFTH);
372  break;
373  }
374 
375  //1) We want to move always for the Trk::PixelCluster
376  //2) We forward the rdoList and chargeList that could have be passed
377  // different ways.
378  //
379  static_assert(std::is_same_v<ClusterType, PixelCluster> ||
380  std::is_same_v<std::remove_pointer_t<ClusterType>,
382  "Not an InDet::PixelCluster or xAOD::PixelCluster");
384  return newInDetpixelCluster(newClusterID, locpos,
385  globalPos,
386  std::forward<IdentifierVec>(rdoList),
387  lvl1a,
388  std::forward<ToTList>(totList),
389  std::move(chargeList),
390  width,
391  element,
392  std::move(errorMatrix),
393  omegax,
394  omegay,
395  split,
396  splitProb1,
397  splitProb2);
398  } else{
399  return AddNewxAODpixelCluster(*cluster)(newClusterID,
400  locpos,
401  globalPos,
402  std::forward<IdentifierVec>(rdoList),
403  lvl1a,
404  std::forward<ToTList>(totList),
405  chargeList,
406  width,
407  element,
408  errorMatrix,
409  omegax,
410  omegay,
411  split,
412  splitProb1,
413  splitProb2);
414  }
415 }

◆ msg() [1/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

MsgStream& AthCommonMsg< AlgTool >::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< AlgTool >::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< AlgTool > >::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.

◆ pixelCluster()

PixelCluster InDet::ClusterMakerTool::pixelCluster ( const Identifier clusterID,
const Amg::Vector2D localPos,
std::vector< Identifier > &&  rdoList,
const int  lvl1a,
std::vector< int > &&  totList,
const SiWidth width,
const InDetDD::SiDetectorElement element,
bool  ganged,
int  errorStrategy,
const PixelID pixelID,
bool  split,
double  splitProb1,
double  splitProb2,
const PixelChargeCalibCondData calibData,
const PixelCalib::PixelOfflineCalibData offlineCalibData,
const EventContext &  ctx 
) const

Definition at line 417 of file ClusterMakerTool.cxx.

434 {
435  return makePixelCluster<PixelCluster>(
436  clusterID,
437  localPos,
438  std::move(rdoList),
439  lvl1a,
440  std::move(totList),
441  width,
442  element,
443  ganged,
444  errorStrategy,
445  pixelID,
446  split,
447  splitProb1,
448  splitProb2,
449  calibData,
450  offlineCalibData,
451  ctx);
452 }

◆ 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< AlgTool > >::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< AlgTool > >::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  }

◆ sctCluster()

SCT_Cluster InDet::ClusterMakerTool::sctCluster ( const Identifier clusterID,
const Amg::Vector2D localPos,
std::vector< Identifier > &&  rdoList,
const SiWidth width,
const InDetDD::SiDetectorElement element,
int  errorStrategy 
) const

Definition at line 508 of file ClusterMakerTool.cxx.

514 {
515 
516  double shift =
517  m_sctLorentzAngleTool->getLorentzShift(element->identifyHash(), Gaudi::Hive::currentContext());
518  Amg::Vector2D locpos(localPos[Trk::locX] + shift, localPos[Trk::locY]);
519 
520  // error matrix
521  const Amg::Vector2D& colRow = width.colRow(); // made ref to avoid
522  // unnecessary copy EJWM
523 
524  auto errorMatrix = Amg::MatrixX(2,2);
525  errorMatrix.setIdentity();
526 
527  // switches are more readable **OPT**
528  // actually they're slower as well (so I'm told) so perhaps
529  // this should be re-written at some point EJWM
530 
531  switch (errorStrategy){
532  case 0:
533  errorMatrix.fillSymmetric(0,0,square(width.phiR())*ONE_TWELFTH);
534  errorMatrix.fillSymmetric(1,1,square(width.z())*ONE_TWELFTH);
535  break;
536  case 1:
537  // mat(1,1) = pow(width.phiR()/colRow.x(),2)/12;
538  // single strip - resolution close to pitch/sqrt(12)
539  // two-strip hits: better resolution, approx. 40% lower
540  if(colRow.x() == 1){
541  errorMatrix.fillSymmetric(0,0,square(1.05*width.phiR())*ONE_TWELFTH);
542  }
543  else if(colRow.x() == 2){
544  errorMatrix.fillSymmetric(0,0,square(0.27*width.phiR())*ONE_TWELFTH);
545  }
546  else{
547  errorMatrix.fillSymmetric(0,0,square(width.phiR())*ONE_TWELFTH);
548  }
549  errorMatrix.fillSymmetric(1,1,square(width.z()/colRow.y())*ONE_TWELFTH);
550  break;
551  default:
552  // single strip - resolution close to pitch/sqrt(12)
553  // two-strip hits: better resolution, approx. 40% lower
554  if(colRow.x() == 1){
555  errorMatrix.fillSymmetric(0,0,square(width.phiR())*ONE_TWELFTH);
556  }
557  else if(colRow.x() == 2){
558  errorMatrix.fillSymmetric(0,0,square(0.27*width.phiR())*ONE_TWELFTH);
559  }
560  else{
561  errorMatrix.fillSymmetric(0,0,square(width.phiR())*ONE_TWELFTH);
562  }
563  errorMatrix.fillSymmetric(1,1,square(width.z()/colRow.y())*ONE_TWELFTH);
564  break;
565  }
566 
567  auto designShape = element->design().shape();
568  // rotation for endcap SCT
569  if(designShape == InDetDD::Trapezoid || designShape == InDetDD::Annulus) {
570  double sn = element->sinStereoLocal(localPos);
571  double sn2 = sn*sn;
572  double cs2 = 1.-sn2;
573  double w = element->phiPitch(localPos)/element->phiPitch();
574  double v0 = (errorMatrix)(0,0)*w*w;
575  double v1 = (errorMatrix)(1,1);
576  errorMatrix.fillSymmetric(0,0,cs2*v0+sn2*v1);
577  errorMatrix.fillSymmetric(0,1,sn*sqrt(cs2)*(v0-v1));
578  errorMatrix.fillSymmetric(1,1,sn2*v0+cs2*v1);
579  } //else if (designShape == InDetDD::PolarAnnulus) {// Polar rotation for endcap}
580 
581  return SCT_Cluster(clusterID, locpos, std::move(rdoList), width, element, std::move(errorMatrix));
582 
583 }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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  }

◆ xAODpixelCluster()

xAOD::PixelCluster * InDet::ClusterMakerTool::xAODpixelCluster ( xAOD::PixelCluster cluster,
const Amg::Vector2D localPos,
const std::vector< Identifier > &  rdoList,
const int  lvl1a,
const std::vector< int > &  totList,
const SiWidth width,
const InDetDD::SiDetectorElement element,
bool  ganged,
int  errorStrategy,
const PixelID pixelID,
bool  split,
double  splitProb1,
double  splitProb2,
const PixelChargeCalibCondData calibData,
const PixelCalib::PixelOfflineCalibData offlineCalibData,
const EventContext &  ctx 
) const

Definition at line 454 of file ClusterMakerTool.cxx.

471 {
472  return makePixelCluster<xAOD::PixelCluster*>(
473  Identifier(),
474  localPos,
475  rdoList,
476  lvl1a,
477  totList,
478  width,
479  element,
480  ganged,
481  errorStrategy,
482  pixelID,
483  split,
484  splitProb1,
485  splitProb2,
486  calibData,
487  offlineCalibData,
488  ctx,
489  &cluster);
490 }

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_forceErrorStrategy1B

bool InDet::ClusterMakerTool::m_forceErrorStrategy1B {false}
private

Definition at line 176 of file ClusterMakerTool.h.

◆ m_pixelLorentzAngleTool

ToolHandle<ISiLorentzAngleTool> InDet::ClusterMakerTool::m_pixelLorentzAngleTool {this, "PixelLorentzAngleTool", "SiLorentzAngleTool/PixelLorentzAngleTool", "Tool to retreive Lorentz angle of Pixel"}
private

Definition at line 170 of file ClusterMakerTool.h.

◆ m_pixelReadout

ServiceHandle<InDetDD::IPixelReadoutManager> InDet::ClusterMakerTool::m_pixelReadout {this, "PixelReadoutManager", "PixelReadoutManager", "Pixel readout manager" }
private

Definition at line 167 of file ClusterMakerTool.h.

◆ m_sctLorentzAngleTool

ToolHandle<ISiLorentzAngleTool> InDet::ClusterMakerTool::m_sctLorentzAngleTool {this, "SCTLorentzAngleTool", "SiLorentzAngleTool/SCTLorentzAngleTool", "Tool to retreive Lorentz angle of SCT"}
private

Definition at line 173 of file ClusterMakerTool.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
query_example.row
row
Definition: query_example.py:24
test_pyathena.eta
eta
Definition: test_pyathena.py:10
PixelID::phi_index
int phi_index(const Identifier &id) const
Definition: PixelID.h:658
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:27
Trk::locX
@ locX
Definition: ParamDefs.h:37
InDetDD::PixelModuleDesign
Definition: PixelModuleDesign.h:48
Trk::locY
@ locY
local cartesian
Definition: ParamDefs.h:38
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
AtlasDetectorID::HelperType::Pixel
@ Pixel
PixelCalib::PixelClusterErrorData::getPixelBarrelEtaError
float getPixelBarrelEtaError(int ibin) const
Definition: PixelClusterErrorData.cxx:89
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
InDetDD::DetectorDesign::shape
virtual DetectorShape shape() const
Shape of element.
Definition: DetectorDesign.cxx:96
PixelCalib::PixelOfflineCalibData::getPixelClusterErrorData
PixelClusterErrorData * getPixelClusterErrorData()
Definition: PixelOfflineCalibData.h:97
InDetDD::PixelDiodeType
PixelDiodeType
Definition: PixelReadoutDefinitions.h:25
InDetDD::SolidStateDetectorElementBase::surface
Trk::Surface & surface()
Element Surface.
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
athena.value
value
Definition: athena.py:124
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
InDetDD::SolidStateDetectorElementBase::identifyHash
virtual IdentifierHash identifyHash() const override final
identifier hash (inline)
PixelID::wafer_id
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
Definition: PixelID.h:364
PixelCalib::PixelClusterErrorData::getPixelEndcapPhiError
float getPixelEndcapPhiError(int ibin) const
Definition: PixelClusterErrorData.cxx:71
InDetDD::SolidStateDetectorElementBase::getIdHelper
const AtlasDetectorID * getIdHelper() const
Returns the id helper (inline)
SCT_Cluster
Definition: Trigger/TrigAccel/TrigCudaFitter/src/SCT_Cluster.h:8
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
InDetDD::PixelReadoutTechnology::RD53
@ RD53
PixelCalib::PixelClusterErrorData::getPixelBarrelPhiError
float getPixelBarrelPhiError(int ibin) const
Definition: PixelClusterErrorData.cxx:83
InDetDD::SiDetectorElement::phiPitch
double phiPitch() const
Pitch (inline methods)
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
InDet::ClusterMakerTool::m_pixelReadout
ServiceHandle< InDetDD::IPixelReadoutManager > m_pixelReadout
Definition: ClusterMakerTool.h:168
PixelID::wafer_hash
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
Definition: PixelID.h:387
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
parseMapping.v0
def v0
Definition: parseMapping.py:149
lumiFormat.i
int i
Definition: lumiFormat.py:85
CaloSwCorrections.phimod
def phimod(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:203
beamspotman.n
n
Definition: beamspotman.py:731
InDetDD::Annulus
@ Annulus
Definition: DetectorDesign.h:42
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
ParticleGun_EoverP_Config.pid
pid
Definition: ParticleGun_EoverP_Config.py:62
PixelID::eta_index
int eta_index(const Identifier &id) const
Definition: PixelID.h:664
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
PixelCalib::PixelClusterErrorData::getPixelEndcapRError
float getPixelEndcapRError(int ibin) const
Definition: PixelClusterErrorData.cxx:77
AnalysisUtils::Delta::R
double R(const INavigable4Momentum *p1, const double v_eta, const double v_phi)
Definition: AnalysisMisc.h:49
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
python.SystemOfUnits.micrometer
int micrometer
Definition: SystemOfUnits.py:71
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
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
AtlasDetectorID::helper
virtual HelperType helper() const
Type of helper, defaulted to 'Unimplemented'.
Definition: AtlasDetectorID.h:95
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
IDTPM::etaError
float etaError(const U &p)
Definition: TrackParametersHelper.h:222
PixelCalib::PixelClusterErrorData::getBarrelBin
int getBarrelBin(double eta, int etaClusterSize, int phiClusterSize) const
Definition: PixelClusterErrorData.cxx:150
charge
double charge(const T &p)
Definition: AtlasPID.h:756
InDetDD::SiDetectorElement::isBarrel
bool isBarrel() const
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
query_example.col
col
Definition: query_example.py:7
PixelCalib::PixelClusterErrorData::getEndcapBin
int getEndcapBin(int etaClusterSize, int phiClusterSize) const
Definition: PixelClusterErrorData.cxx:165
InDet::ClusterMakerTool::getPixelCTBPhiError
double getPixelCTBPhiError(int layer, int phi, int PhiClusterSize) const
Definition: ClusterMakerTool.cxx:587
a
TList * a
Definition: liststreamerinfos.cxx:10
xAOD::PixelCluster_v1
Definition: PixelCluster_v1.h:17
h
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
PixelID::pixel_id
Identifier pixel_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index) const
For an individual pixel.
Definition: PixelID.h:432
InDetDD::SiDetectorElement::sinStereoLocal
double sinStereoLocal(const Amg::Vector2D &localPos) const
Angle of strip in local frame with respect to the etaAxis.
Definition: SiDetectorElement.cxx:288
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
ActsTrk::ONE_TWELFTH
constexpr double ONE_TWELFTH
Definition: StripClusteringTool.cxx:17
PixelChargeCalibCondData::getCharge
float getCharge(InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE, float ToT) const
Definition: PixelChargeCalibCondData.cxx:192
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
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
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200
InDetDD::SiDetectorElement::design
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):
InDet::ClusterMakerTool::m_pixelLorentzAngleTool
ToolHandle< ISiLorentzAngleTool > m_pixelLorentzAngleTool
Definition: ClusterMakerTool.h:171
PixelID
Definition: PixelID.h:67
pow
constexpr int pow(int base, int exp) noexcept
Definition: ap_fixedTest.cxx:15
InDet::ClusterMakerTool::m_sctLorentzAngleTool
ToolHandle< ISiLorentzAngleTool > m_sctLorentzAngleTool
Definition: ClusterMakerTool.h:174
Trk::Surface::transform
const Amg::Transform3D & transform() const
Returns HepGeom::Transform3D by reference.
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
readCCLHist.float
float
Definition: readCCLHist.py:83
Trk::split
@ split
Definition: LayerMaterialProperties.h:38
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57
InDet::ClusterMakerTool::m_forceErrorStrategy1B
bool m_forceErrorStrategy1B
Definition: ClusterMakerTool.h:176
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
InDetDD::Trapezoid
@ Trapezoid
Definition: DetectorDesign.h:42
fitman.k
k
Definition: fitman.py:528
Identifier
Definition: IdentifierFieldParser.cxx:14