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::SiSpacePointMakerTool Class Referencefinal

#include <SiSpacePointMakerTool.h>

Inheritance diagram for InDet::SiSpacePointMakerTool:
Collaboration diagram for InDet::SiSpacePointMakerTool:

Public Member Functions

 SiSpacePointMakerTool (const std::string &type, const std::string &name, const IInterface *parent)
 Constructor. More...
 
virtual ~SiSpacePointMakerTool ()=default
 Default destructor. More...
 
virtual StatusCode initialize () override
 Initialize. More...
 
virtual StatusCode finalize () override
 Finalize. More...
 
void fillSCT_SpacePointCollection (std::array< const InDetDD::SiDetectorElement *, nNeighbours > &, std::array< const SCT_ClusterCollection *, nNeighbours > &, std::array< double, 14 > &, bool, const Amg::Vector3D &, SpacePointCollection *, SpacePointOverlapCollection *, DataPool< SCT_SpacePoint > *dataItemsSCT) 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 ()
 Return interfaceID. More...
 
static Trk::SpacePointmakeSCT_SpacePoint (InDet::SCTinformation &, InDet::SCTinformation &, IdentifierHash, IdentifierHash, double, double, DataPool< SCT_SpacePoint > *dataItemsSCT)
 Convert clusters to space points: SCT_Clusters -> SCT_SpacePoints. More...
 
static void fillPixelSpacePointCollection (const InDet::PixelClusterCollection *clusters, SpacePointCollection *spacepointCollection, DataPool< PixelSpacePoint > *dataItemsPixel)
 Convert clusters to space points: PixelClusters -> PixelSpacePoints. More...
 

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

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

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
 
Cut parameters
DoubleProperty m_stripLengthTolerance {this, "StripLengthTolerance", 0.01}
 
DoubleProperty m_SCTgapParameter {this, "SCTGapParameter", 0., "Recommend 0.001 - 0.0015 for ITK geometry"}
 

ID helper

const SCT_IDm_idHelper {nullptr}
 
void updateRange (const InDetDD::SiDetectorElement *element1, const InDetDD::SiDetectorElement *element2, double &stripLengthGapTolerance, double &min, double &max) const
 update range accordingly to the gap between the stereo modules More...
 
double offset (const InDetDD::SiDetectorElement *element1, const InDetDD::SiDetectorElement *element2, double &stripLengthGapTolerance) const
 Get stripLengthGapTolerance and return offset value for two SiDetectorElement's. More...
 
bool fillSCT_Information (const InDet::SCT_ClusterCollection *clusters1, const InDet::SCT_ClusterCollection *clusters2, const Amg::Vector3D &vertexVec, const InDetDD::SiDetectorElementCollection *elements) const
 Not implemented yet. More...
 

Detailed Description

Used by SiTrackerSpacePointFinder. Make PixelSpacePoints from PixelClusters. Make SCT_SpacePoints from SCT_Clusters. Make OverlapSpacePoints from SCT_Clusters.

Definition at line 45 of file SiSpacePointMakerTool.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

◆ SiSpacePointMakerTool()

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

Constructor.

Definition at line 32 of file SiSpacePointMakerTool.cxx.

34  :
36  declareInterface< SiSpacePointMakerTool>(this);
37  }

◆ ~SiSpacePointMakerTool()

virtual InDet::SiSpacePointMakerTool::~SiSpacePointMakerTool ( )
virtualdefault

Default destructor.

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

◆ fillPixelSpacePointCollection()

void InDet::SiSpacePointMakerTool::fillPixelSpacePointCollection ( const InDet::PixelClusterCollection clusters,
SpacePointCollection spacepointCollection,
DataPool< PixelSpacePoint > *  dataItemsPixel 
)
static

Convert clusters to space points: PixelClusters -> PixelSpacePoints.

Definition at line 52 of file SiSpacePointMakerTool.cxx.

54  {
55 
56  InDet::PixelClusterCollection::const_iterator clusStart = clusters->begin();
57  InDet::PixelClusterCollection::const_iterator clusFinish = clusters->end();
58 
59  if ((*clusStart)->detectorElement()) {
60  IdentifierHash idHash = clusters->identifyHash();
61  const Amg::Transform3D& T = (*clusStart)->detectorElement()->surface().transform();
62  double Ax[3] = {T(0,0),T(1,0),T(2,0)};
63  double Ay[3] = {T(0,1),T(1,1),T(2,1)};
64  double Az[3] = {T(0,2),T(1,2),T(2,2)};
65 
66  spacepointCollection->reserve(spacepointCollection->size()+clusters->size());
67 
68  for(; clusStart!=clusFinish; ++clusStart){
69  const InDet::SiCluster* c = (*clusStart);
70  const Amg::MatrixX& V = c->localCovariance();
71 
72  // Global position is already computed during pixel cluster creation and cached in the SiCluster object
73  const Amg::Vector3D& pos = c->globalPosition();
74 
75  double B0[2] = {Ax[0]*V(0,0)+Ax[1]*V(1,0),Ax[0]*V(1,0)+Ax[1]*V(1,1)};
76  double B1[2] = {Ay[0]*V(0,0)+Ay[1]*V(1,0),Ay[0]*V(1,0)+Ay[1]*V(1,1)};
77  double B2[2] = {Az[0]*V(0,0)+Az[1]*V(1,0),Az[0]*V(1,0)+Az[1]*V(1,1)};
78 
79  double C01 = B1[0]*Ax[0]+B1[1]*Ax[1];
80  double C02 = B2[0]*Ax[0]+B2[1]*Ax[1];
81  double C12 = B2[0]*Ay[0]+B2[1]*Ay[1];
82 
83  AmgSymMatrix(3) cov;
84  cov << B0[0] * Ax[0] + B0[1] * Ax[1], C01, C02, C01,
85  B1[0] * Ay[0] + B1[1] * Ay[1], C12,
86  // cppcheck-suppress constStatement
87  C02, C12, B2[0] * Az[0] + B2[1] * Az[1];
88 
89  if (dataItemsPixel) {
90  PixelSpacePoint* pix = dataItemsPixel->nextElementPtr();
91  (*pix) = InDet::PixelSpacePoint(idHash, c, pos, cov);
92  spacepointCollection->push_back(pix);
93 
94  } else {
95  spacepointCollection->push_back(
96  new InDet::PixelSpacePoint(idHash, c, pos, cov));
97  }
98  }
99  }
100  }

◆ fillSCT_Information()

bool InDet::SiSpacePointMakerTool::fillSCT_Information ( const InDet::SCT_ClusterCollection clusters1,
const InDet::SCT_ClusterCollection clusters2,
const Amg::Vector3D vertexVec,
const InDetDD::SiDetectorElementCollection elements 
) const
private

Not implemented yet.

◆ fillSCT_SpacePointCollection()

void InDet::SiSpacePointMakerTool::fillSCT_SpacePointCollection ( std::array< const InDetDD::SiDetectorElement *, nNeighbours > &  elements,
std::array< const SCT_ClusterCollection *, nNeighbours > &  clusters,
std::array< double, 14 > &  overlapExtents,
bool  allClusters,
const Amg::Vector3D vertexVec,
SpacePointCollection spacepointCollection,
SpacePointOverlapCollection spacepointoverlapCollection,
DataPool< SCT_SpacePoint > *  dataItemsSCT 
) const

Definition at line 147 of file SiSpacePointMakerTool.cxx.

155  {
156 
157  // This function is called once all the needed quantities are collected.
158  // It is used to build space points checking the compatibility of clusters on pairs of detector elements.
159  // Detector elements and cluster collections are elements and clusters, respectively.
160  // [0] is the trigger element
161  // [1] is the opposite element
162  // [2]-[3] are the elements tested for eta overlaps
163  // [4]-[5] are the elements tested for phi overlaps
164  //
165  // To build space points:
166  // - For the opposite element and the ones tested for eta overlaps, you have to check
167  // if clusters are compatible with the local position of the trigger cluster
168  // requiring that the distance between the two clusters in phi is withing a specified range.
169  // - overlapExtents[0], overlapExtents[1] are filled for the opposite element
170  // - overlapExtents[2], overlapExtents[3], overlapExtents[4], overlapExtents[5] are filled for the eta overlapping elements
171  // - For the elements tested for phi overlaps, you have to check
172  // if clusters are compatible with the local position of the trigger cluster.
173  // This needs that the trigger cluster is at the edge of the trigger module
174  // and that the other cluster is on the compatible edge of its module
175  // - overlapExtents[6], overlapExtents[7], overlapExtents[10], overlapExtents[11]
176  // overlapExtents[8], overlapExtents[9], overlapExtents[12], overlapExtents[13] are filled for the phi overlapping elements
177 
178  constexpr int otherSideIndex{1};
179  constexpr int maxEtaIndex{3};
180  std::array<int, nNeighbours-1> elementIndex{};
181  int nElements = 0;
182 
183  // For the nNeighbours sides, fill elementIndex with the indices of the existing elements.
184  // Same the number of elements in nElements to loop on the later on
185  for(int n=1; n!=nNeighbours; ++n) {
186  if(elements[n]) {
187  elementIndex[nElements++] = n;
188  }
189  }
190  // return if all detector elements are nullptr
191  if(!nElements) return;
192 
193  // trigger element and clusters
194  const InDetDD::SiDetectorElement* element = elements[0];
195  IdentifierHash Id = clusters[0]->identifyHash();
196 
197  std::vector<SCTinformation> sctInfos;
198  sctInfos.reserve(clusters[0]->size());
199 
200  // loop on all clusters on the trigger detector element and save the related information
201  for (const auto *const cluster : *clusters[0]) {
202  Amg::Vector2D locpos = cluster->localPosition();
203  std::pair<Amg::Vector3D, Amg::Vector3D > ends(element->endsOfStrip(InDetDD::SiLocalPosition(locpos.y(),locpos.x(),0.)));
204  InDet::SCTinformation sct(cluster,ends.first, ends.second, vertexVec,locpos.x());
205  sctInfos.push_back(sct);
206  }
207 
208  double limit = 1. + m_stripLengthTolerance;
209  double slimit = 0. ;
210  std::vector<Trk::SpacePoint*> tmpSpacePoints;
211  tmpSpacePoints.reserve(sctInfos.size());
212 
213  if(!allClusters) {
214 
215  // Start processing the opposite side and the eta overlapping elements
216  int n = 0;
217  for(; n < nElements; ++n) {
218 
219  int currentIndex = elementIndex[n];
220 
221  if(currentIndex > maxEtaIndex) break;
222 
223  // get the detector element and the IdentifierHash
224  const InDetDD::SiDetectorElement* currentElement = elements[currentIndex];
225  IdentifierHash currentId = clusters[currentIndex]->identifyHash();
226 
227  // retrieve the range
228  double min = overlapExtents[currentIndex*2-2];
229  double max = overlapExtents[currentIndex*2-1];
230 
231  if (m_SCTgapParameter != 0.) {
232  updateRange(element, currentElement, slimit, min, max);
233  }
234 
235  InDet::SCTinformation sctInfo;
236  for (const auto *const cluster : *clusters[currentIndex]) {
237 
238  bool processed = false;
239  const Amg::Vector2D& locpos = cluster->localPosition();
240  double lx1 = locpos.x();
241 
242  for(auto& sct : sctInfos) {
243 
244  double diff = lx1-sct.locX();
245 
246  if(diff < min || diff > max) continue;
247 
248  if (not processed) {
249  processed = true;
250  std::pair<Amg::Vector3D, Amg::Vector3D > ends(currentElement->endsOfStrip(InDetDD::SiLocalPosition(locpos.y(),locpos.x(),0.)));
251  sctInfo.set(cluster,ends.first, ends.second, vertexVec,lx1);
252  }
253 
255  sct, sctInfo, Id, currentId, limit, slimit, dataItemsSCT);
256  if (sp) {
257  tmpSpacePoints.push_back(sp);
258  }
259  }
260  }
261  // If you are processing the opposite element, save the space points into
262  // the spacepointCollection and clear the temporary collection
263  if( currentIndex==otherSideIndex && !tmpSpacePoints.empty() ) {
264  spacepointCollection->reserve(tmpSpacePoints.size()+spacepointCollection->size());
265  for (Trk::SpacePoint* sp: tmpSpacePoints) {
266  spacepointCollection->push_back(sp);
267  }
268  tmpSpacePoints.clear();
269  }
270  }
271 
272  // process the phi overlapping elements
273  // if possible n starts from 4
274  for(; n < nElements; ++n) {
275 
276  int currentIndex = elementIndex[n];
277  const InDetDD::SiDetectorElement* currentElement = elements[currentIndex];
278 
279  double min = overlapExtents[4*currentIndex-10];
280  double max = overlapExtents[4*currentIndex- 9];
281 
282  if (m_SCTgapParameter != 0.) {
283  updateRange(element, currentElement, slimit, min, max);
284  }
285 
286  std::vector<SCTinformation*> sctPhiInfos;
287  sctPhiInfos.reserve(sctInfos.size());
288 
289  for(auto& sct : sctInfos) {
290  double lx0 = sct.locX();
291  if (min <= lx0 && lx0 <= max) {
292  sctPhiInfos.push_back(&sct);
293  }
294  }
295  // continue if you have no cluster from the phi overlapping region of the trigger element
296  if(sctPhiInfos.empty()) continue;
297 
298  IdentifierHash currentId = clusters[currentIndex]->identifyHash();
299 
300  min = overlapExtents[4*currentIndex-8];
301  max = overlapExtents[4*currentIndex-7];
302 
303  if (m_SCTgapParameter != 0.) {
304  updateRange(element, currentElement, slimit, min, max);
305  }
306 
307  for (const auto *const cluster : *clusters[currentIndex]) {
308 
309  const Amg::Vector2D& locpos = cluster->localPosition();
310  double lx1 = locpos.x();
311  if(lx1 < min || lx1 > max ) continue;
312 
313  std::pair<Amg::Vector3D, Amg::Vector3D > ends(currentElement->endsOfStrip(InDetDD::SiLocalPosition(locpos.y(),locpos.x(),0.)));
314  InDet::SCTinformation sctInfo(cluster,ends.first, ends.second, vertexVec,lx1);
315 
316  for(auto& sct : sctPhiInfos) {
318  *sct, sctInfo, Id, currentId, limit, slimit, dataItemsSCT);
319  if (sp) {
320  tmpSpacePoints.push_back(sp);
321  }
322  }
323  }
324  }
325 
326  // fill the space point collection for eta/phi overlapping clusters
327  if(!tmpSpacePoints.empty()) {
328  spacepointoverlapCollection->reserve(tmpSpacePoints.size()+spacepointoverlapCollection->size());
329  for (Trk::SpacePoint* sp: tmpSpacePoints) {
330  spacepointoverlapCollection->push_back(sp);
331  }
332  }
333  return;
334  }
335 
336  // the following code is used to create spacepoints processing all clusters without limits
337 
338  for(int n=0; n!=nElements; ++n) {
339 
340  int currentIndex = elementIndex[n];
341  const InDetDD::SiDetectorElement* currentElement = elements[currentIndex];
342  IdentifierHash currentId = clusters[currentIndex]->identifyHash();
343 
344  if (m_SCTgapParameter != 0.) {
345  offset(element, currentElement, slimit);
346  }
347 
348  for (const auto *const cluster : *clusters[currentIndex]) {
349 
350  const Amg::Vector2D& locpos = cluster->localPosition();
351  std::pair<Amg::Vector3D, Amg::Vector3D > ends(currentElement->endsOfStrip(InDetDD::SiLocalPosition(locpos.y(),locpos.x(),0.)));
352  InDet::SCTinformation sctInfo(cluster,ends.first, ends.second,vertexVec,locpos.x());
353 
354  for(auto& sct : sctInfos) {
355  Trk::SpacePoint* sp = makeSCT_SpacePoint(sct,sctInfo,Id,currentId,limit,slimit,dataItemsSCT);
356  if(sp) {
357  tmpSpacePoints.push_back(sp);
358  }
359  }
360  }
361  // If you are processing the opposite element, save the space points into
362  // the spacepointCollection and clear the temporary collection
363  if( currentIndex==otherSideIndex && !tmpSpacePoints.empty() ) {
364  spacepointCollection->reserve(tmpSpacePoints.size()+spacepointCollection->size());
365  for (Trk::SpacePoint* sp: tmpSpacePoints) {
366  spacepointCollection->push_back(sp);
367  }
368  tmpSpacePoints.clear();
369  }
370  }
371  // fill the space point collection for eta/phi overlapping clusters
372  if(!tmpSpacePoints.empty()) {
373  spacepointoverlapCollection->reserve(tmpSpacePoints.size()+spacepointoverlapCollection->size());
374  for (Trk::SpacePoint* sp: tmpSpacePoints) {
375  spacepointoverlapCollection->push_back(sp);
376  }
377  }
378  }

◆ finalize()

StatusCode InDet::SiSpacePointMakerTool::finalize ( )
overridevirtual

Finalize.

Definition at line 47 of file SiSpacePointMakerTool.cxx.

47  {
48  return StatusCode::SUCCESS;
49  }

◆ initialize()

StatusCode InDet::SiSpacePointMakerTool::initialize ( )
overridevirtual

Initialize.

Definition at line 39 of file SiSpacePointMakerTool.cxx.

39  {
40  // Get the SCT Helper
41  ATH_CHECK(detStore()->retrieve(m_idHelper, "SCT_ID"));
43  if (m_SCTgapParameter > 0.002) m_SCTgapParameter = 0.002;
44  return StatusCode::SUCCESS;
45  }

◆ 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()

const InterfaceID & InDet::SiSpacePointMakerTool::interfaceID ( )
static

Return interfaceID.

Definition at line 27 of file SiSpacePointMakerTool.cxx.

27  {
28  return IID_ISiSpacePointMakerTool;
29  }

◆ makeSCT_SpacePoint()

Trk::SpacePoint * InDet::SiSpacePointMakerTool::makeSCT_SpacePoint ( InDet::SCTinformation In0,
InDet::SCTinformation In1,
IdentifierHash  ID0,
IdentifierHash  ID1,
double  limit,
double  slimit,
DataPool< SCT_SpacePoint > *  dataItemsSCT 
)
static

Convert clusters to space points: SCT_Clusters -> SCT_SpacePoints.

Definition at line 382 of file SiSpacePointMakerTool.cxx.

385  {
386 
387  double a =-In0.traj_direction().dot(In1.normal());
388  double b = In0.strip_direction().dot(In1.normal());
389  double l0 = In0.oneOverStrip()*slimit+limit ;
390 
391  if(std::abs(a) > (std::abs(b)*l0)) return nullptr;
392 
393  double c =-In1.traj_direction().dot(In0.normal());
394  double d = In1.strip_direction().dot(In0.normal());
395  double l1 = In1.oneOverStrip()*slimit+limit ;
396 
397  if(std::abs(c) > (std::abs(d)*l1)) return nullptr;
398 
399  double m = a/b;
400 
401  if(slimit!=0.) {
402 
403  double n = c/d;
404 
405  if (m > limit || n > limit) {
406 
407  double cs = In0.strip_direction().dot(In1.strip_direction())*(In0.oneOverStrip()*In0.oneOverStrip());
408  double dm = (m-1);
409  double dmn = (n-1.)*cs;
410  if(dmn > dm) dm = dmn;
411  m-=dm; n-=(dm/cs);
412  if(std::abs(m) > limit || std::abs(n) > limit) return nullptr;
413  } else if(m < -limit || n < -limit) {
414 
415  double cs = In0.strip_direction().dot(In1.strip_direction())*(In0.oneOverStrip()*In0.oneOverStrip());
416  double dm = -(1.+m);
417  double dmn = -(1.+n)*cs;
418  if(dmn > dm) dm = dmn;
419  m+=dm; n+=(dm/cs);
420  if(std::abs(m) > limit || std::abs(n) > limit) return nullptr;
421  }
422  }
424 
425  const std::pair<IdentifierHash,IdentifierHash> elementIdList(ID0,ID1);
426  //if we have a DataPool use it
427  if (dataItemsSCT) {
428  SCT_SpacePoint* sp = dataItemsSCT->nextElementPtr();
429  (*sp) = InDet::SCT_SpacePoint(elementIdList, point,
430  {In0.cluster(), In1.cluster()});
431  return sp;
432  }
433  return new InDet::SCT_SpacePoint(elementIdList, point,
434  {In0.cluster(), In1.cluster()});
435  }

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

◆ offset()

double InDet::SiSpacePointMakerTool::offset ( const InDetDD::SiDetectorElement element1,
const InDetDD::SiDetectorElement element2,
double &  stripLengthGapTolerance 
) const
private

Get stripLengthGapTolerance and return offset value for two SiDetectorElement's.

Definition at line 106 of file SiSpacePointMakerTool.cxx.

108  {
109  const Amg::Transform3D& T1 = element1->transform();
110  const Amg::Transform3D& T2 = element2->transform();
111  Amg::Vector3D C = element1->center() ;
112  bool isAnnulus = (element1->design().shape() == InDetDD::Annulus);
113  // bool isPolar = (element1->design().shape() == InDetDD::PolarAnnulus);
114 
115  double x12 = T1(0,0)*T2(0,0)+T1(1,0)*T2(1,0)+T1(2,0)*T2(2,0) ;
116  double r = isAnnulus ? std::sqrt(C[0]*C[0]+C[1]*C[1]) : std::sqrt(T1(0,3)*T1(0,3)+T1(1,3)*T1(1,3));
117  double s = (T1(0,3)-T2(0,3))*T1(0,2)+(T1(1,3)-T2(1,3))*T1(1,2)+(T1(2,3)-T2(2,3))*T1(2,2);
118 
119  double dm = (m_SCTgapParameter*r)*std::abs(s*x12);
120  double d = isAnnulus ? dm/.04 : dm/std::sqrt((1.-x12)*(1.+x12));
121 
122  if (std::abs(T1(2,2)) > 0.7) d*=(r/std::abs(T1(2,3))); // endcap d = d*R/Z
123 
124  stripLengthGapTolerance = d;
125 
126  return dm;
127  }

◆ 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.

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

◆ 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.

◆ updateRange()

void InDet::SiSpacePointMakerTool::updateRange ( const InDetDD::SiDetectorElement element1,
const InDetDD::SiDetectorElement element2,
double &  stripLengthGapTolerance,
double &  min,
double &  max 
) const
private

update range accordingly to the gap between the stereo modules

Definition at line 133 of file SiSpacePointMakerTool.cxx.

136  {
137  double dm = offset(element1, element2, stripLengthGapTolerance);
138  min -= dm;
139  max += dm;
140  }

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

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_idHelper

const SCT_ID* InDet::SiSpacePointMakerTool::m_idHelper {nullptr}
private

Definition at line 90 of file SiSpacePointMakerTool.h.

◆ m_SCTgapParameter

DoubleProperty InDet::SiSpacePointMakerTool::m_SCTgapParameter {this, "SCTGapParameter", 0., "Recommend 0.001 - 0.0015 for ITK geometry"}
private

Definition at line 85 of file SiSpacePointMakerTool.h.

◆ m_stripLengthTolerance

DoubleProperty InDet::SiSpacePointMakerTool::m_stripLengthTolerance {this, "StripLengthTolerance", 0.01}
private

Definition at line 84 of file SiSpacePointMakerTool.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:
DataVector::reserve
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
Trk::SpacePoint
Definition: Tracking/TrkEvent/TrkSpacePoint/TrkSpacePoint/SpacePoint.h:35
beamspotman.r
def r
Definition: beamspotman.py:676
InDet::SCTinformation::normal
const Amg::Vector3D & normal() const
Definition: SCTinformation.h:45
InDet::SCTinformation::oneOverStrip
const double & oneOverStrip() const
Definition: SCTinformation.h:46
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
beamspotPlotBcids.k
k
Definition: beamspotPlotBcids.py:524
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:29
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
max
#define max(a, b)
Definition: cfImp.cxx:41
beamspotVtxAnalysis.cs
list cs
Definition: beamspotVtxAnalysis.py:391
InDet::SCTinformation::set
void set(const InDet::SiCluster *CL, const Amg::Vector3D &strip_start, const Amg::Vector3D &strip_end, const Amg::Vector3D &vec, const double &locx)
Definition: SCTinformation.h:112
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
hist_file_dump.d
d
Definition: hist_file_dump.py:137
InDetDD::DetectorDesign::shape
virtual DetectorShape shape() const
Shape of element.
Definition: DetectorDesign.cxx:96
InDetDD::SolidStateDetectorElementBase::center
virtual const Amg::Vector3D & center() const override final
Center in global coordinates.
DMTest::C
C_v1 C
Definition: C.h:26
InDet::SiSpacePointMakerTool::updateRange
void updateRange(const InDetDD::SiDetectorElement *element1, const InDetDD::SiDetectorElement *element2, double &stripLengthGapTolerance, double &min, double &max) const
update range accordingly to the gap between the stereo modules
Definition: SiSpacePointMakerTool.cxx:133
plotBeamSpotVxVal.cov
cov
Definition: plotBeamSpotVxVal.py:201
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
mc.diff
diff
Definition: mc.SFGenPy8_MuMu_DD.py:14
InDet::SiSpacePointMakerTool::m_idHelper
const SCT_ID * m_idHelper
Definition: SiSpacePointMakerTool.h:90
beamspotPlotBcids.lx0
lx0
Definition: beamspotPlotBcids.py:457
InDet::SCTinformation::cluster
const InDet::SiCluster * cluster() const
Definition: SCTinformation.h:41
InDet::SCTinformation
Definition: SCTinformation.h:23
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
InDet::PixelSpacePoint
Definition: PixelSpacePoint.h:31
AmgSymMatrix
#define AmgSymMatrix(dim)
Definition: EventPrimitives.h:52
AthCommonDataStore< AthCommonMsg< AlgTool > >::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
InDetDD::SiLocalPosition
Definition: SiLocalPosition.h:31
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
InDet::nNeighbours
constexpr size_t nNeighbours
Definition: SiSpacePointMakerTool.h:35
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
beamspotCoolDiff.point
int point
Definition: beamspotCoolDiff.py:321
beamspotman.n
n
Definition: beamspotman.py:731
InDetDD::Annulus
@ Annulus
Definition: DetectorDesign.h:42
InDet::SCTinformation::traj_direction
const Amg::Vector3D & traj_direction() const
Definition: SCTinformation.h:44
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
DataPool::nextElementPtr
pointer nextElementPtr()
obtain the next available element in pool by pointer pool is resized if its limit has been reached On...
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
ReadCellNoiseFromCool.dm
dm
Definition: ReadCellNoiseFromCool.py:235
min
#define min(a, b)
Definition: cfImp.cxx:40
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
lumiFormat.array
array
Definition: lumiFormat.py:98
InDetDD::SiDetectorElement::endsOfStrip
std::pair< Amg::Vector3D, Amg::Vector3D > endsOfStrip(const Amg::Vector2D &position) const
Special method for SCT to retrieve the two ends of a "strip" Returned coordinates are in global frame...
Definition: SiDetectorElement.cxx:339
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
InDet::SCT_SpacePoint
Definition: SCT_SpacePoint.h:31
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
readCCLHist.int
int
Definition: readCCLHist.py:84
a
TList * a
Definition: liststreamerinfos.cxx:10
h
InDet::SiSpacePointMakerTool::makeSCT_SpacePoint
static Trk::SpacePoint * makeSCT_SpacePoint(InDet::SCTinformation &, InDet::SCTinformation &, IdentifierHash, IdentifierHash, double, double, DataPool< SCT_SpacePoint > *dataItemsSCT)
Convert clusters to space points: SCT_Clusters -> SCT_SpacePoints.
Definition: SiSpacePointMakerTool.cxx:382
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
InDet::SiSpacePointMakerTool::offset
double offset(const InDetDD::SiDetectorElement *element1, const InDetDD::SiDetectorElement *element2, double &stripLengthGapTolerance) const
Get stripLengthGapTolerance and return offset value for two SiDetectorElement's.
Definition: SiSpacePointMakerTool.cxx:107
RunTileMonitoring.clusters
clusters
Definition: RunTileMonitoring.py:133
if
if(febId1==febId2)
Definition: LArRodBlockPhysicsV0.cxx:569
InDet::SiSpacePointMakerTool::m_stripLengthTolerance
DoubleProperty m_stripLengthTolerance
Definition: SiSpacePointMakerTool.h:84
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
ReadCellNoiseFromCoolCompare.l0
l0
Definition: ReadCellNoiseFromCoolCompare.py:359
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
InDet::SCTinformation::strip_direction
const Amg::Vector3D & strip_direction() const
Definition: SCTinformation.h:43
InDet::SCTinformation::position
Amg::Vector3D position(const double &s) const
Definition: SCTinformation.h:108
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
skel.l1
l1
Definition: skel.GENtoEVGEN.py:426
IdentifierHash
Definition: IdentifierHash.h:38
pix
Definition: PixelMapping.cxx:16
InDetDD::SiDetectorElement::design
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):
python.compressB64.c
def c
Definition: compressB64.py:93
updateCoolNtuple.limit
int limit
Definition: updateCoolNtuple.py:45
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
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::SiCluster
Definition: InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/SiCluster.h:40
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
InDetDD::SolidStateDetectorElementBase::transform
virtual const Amg::Transform3D & transform() const override final
Return local to global transform.
InDet::SiSpacePointMakerTool::m_SCTgapParameter
DoubleProperty m_SCTgapParameter
Definition: SiSpacePointMakerTool.h:85