Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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"}
 
DoubleProperty m_locXOffset_ECEtaOvlpRaws9n10 {this, "locXOffset_ECEtaOvlpRaws9n10", 31.4, "Local x offset between EC raws 9 and 10 (31.4 for ITk)"}
 

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  // Eta overlap in the endcap between rows 9 and 10 (stereo element in eta row 10):
236  // The phi module granularity changes from 1 to 2 modules,
237  // and introduces an offset of ~31.4 mm on the local x values for row 10 wrt. row 9
238  // in a positive or negative direction depending on the phi position of the eta 10 row,
239  // stored as neighbours 2 or 3.
240  // This has to be taken into account when computing "diff" below
241  double lx1_offset = 0.;
242  if (m_idHelper->barrel_ec(currentElement->identify())!=0 &&
243  m_idHelper->eta_module(currentElement->identify())==10) {
244  if (currentIndex==2) lx1_offset = -1.*m_locXOffset_ECEtaOvlpRaws9n10;
245  else if (currentIndex==3) lx1_offset = m_locXOffset_ECEtaOvlpRaws9n10;
246  }
247 
248  // Loop on all clusters of the stereo element
249  InDet::SCTinformation sctInfo;
250  for (const auto *const cluster : *clusters[currentIndex]) {
251 
252  bool processed = false;
253  const Amg::Vector2D& locpos = cluster->localPosition();
254  double lx1 = locpos.x();
255 
256  // Loop on all clusters of the trigger element
257  for(auto& sct : sctInfos) {
258 
259  double diff = lx1+lx1_offset-sct.locX();
260 
261  // In negative endcap, local x is opposite of positive endcap
262  // need to invert the difference for proper comparison
263  if( m_idHelper->barrel_ec(currentElement->identify())<0 ) diff = -diff;
264 
265  if(diff < min || diff > max) continue;
266 
267  if (not processed) {
268  processed = true;
269  std::pair<Amg::Vector3D, Amg::Vector3D > ends(currentElement->endsOfStrip(InDetDD::SiLocalPosition(locpos.y(),locpos.x(),0.)));
270  sctInfo.set(cluster,ends.first, ends.second, vertexVec,lx1);
271  }
272 
274  sct, sctInfo, Id, currentId, limit, slimit, dataItemsSCT);
275  if (sp) {
276  tmpSpacePoints.push_back(sp);
277  }
278  }
279  }
280  // If you are processing the opposite element, save the space points into
281  // the spacepointCollection and clear the temporary collection
282  if( currentIndex==otherSideIndex && !tmpSpacePoints.empty() ) {
283  spacepointCollection->reserve(tmpSpacePoints.size()+spacepointCollection->size());
284  for (Trk::SpacePoint* sp: tmpSpacePoints) {
285  spacepointCollection->push_back(sp);
286  }
287  tmpSpacePoints.clear();
288  }
289  }
290 
291  // process the phi overlapping elements
292  // if possible n starts from 4
293  for(; n < nElements; ++n) {
294 
295  int currentIndex = elementIndex[n];
296  const InDetDD::SiDetectorElement* currentElement = elements[currentIndex];
297 
298  double min = overlapExtents[4*currentIndex-10];
299  double max = overlapExtents[4*currentIndex- 9];
300 
301  if (m_SCTgapParameter != 0.) {
302  updateRange(element, currentElement, slimit, min, max);
303  }
304 
305  std::vector<SCTinformation*> sctPhiInfos;
306  sctPhiInfos.reserve(sctInfos.size());
307 
308  for(auto& sct : sctInfos) {
309  double lx0 = sct.locX();
310  if (min <= lx0 && lx0 <= max) {
311  sctPhiInfos.push_back(&sct);
312  }
313  }
314  // continue if you have no cluster from the phi overlapping region of the trigger element
315  if(sctPhiInfos.empty()) continue;
316 
317  IdentifierHash currentId = clusters[currentIndex]->identifyHash();
318 
319  min = overlapExtents[4*currentIndex-8];
320  max = overlapExtents[4*currentIndex-7];
321 
322  if (m_SCTgapParameter != 0.) {
323  updateRange(element, currentElement, slimit, min, max);
324  }
325 
326  for (const auto *const cluster : *clusters[currentIndex]) {
327 
328  const Amg::Vector2D& locpos = cluster->localPosition();
329  double lx1 = locpos.x();
330  if(lx1 < min || lx1 > max ) continue;
331 
332  std::pair<Amg::Vector3D, Amg::Vector3D > ends(currentElement->endsOfStrip(InDetDD::SiLocalPosition(locpos.y(),locpos.x(),0.)));
333  InDet::SCTinformation sctInfo(cluster,ends.first, ends.second, vertexVec,lx1);
334 
335  for(auto& sct : sctPhiInfos) {
337  *sct, sctInfo, Id, currentId, limit, slimit, dataItemsSCT);
338  if (sp) {
339  tmpSpacePoints.push_back(sp);
340  }
341  }
342  }
343  }
344 
345  // fill the space point collection for eta/phi overlapping clusters
346  if(!tmpSpacePoints.empty()) {
347  spacepointoverlapCollection->reserve(tmpSpacePoints.size()+spacepointoverlapCollection->size());
348  for (Trk::SpacePoint* sp: tmpSpacePoints) {
349  spacepointoverlapCollection->push_back(sp);
350  }
351  }
352  return;
353  }
354 
355  // the following code is used to create spacepoints processing all clusters without limits
356 
357  for(int n=0; n!=nElements; ++n) {
358 
359  int currentIndex = elementIndex[n];
360  const InDetDD::SiDetectorElement* currentElement = elements[currentIndex];
361  IdentifierHash currentId = clusters[currentIndex]->identifyHash();
362 
363  if (m_SCTgapParameter != 0.) {
364  offset(element, currentElement, slimit);
365  }
366 
367  for (const auto *const cluster : *clusters[currentIndex]) {
368 
369  const Amg::Vector2D& locpos = cluster->localPosition();
370  std::pair<Amg::Vector3D, Amg::Vector3D > ends(currentElement->endsOfStrip(InDetDD::SiLocalPosition(locpos.y(),locpos.x(),0.)));
371  InDet::SCTinformation sctInfo(cluster,ends.first, ends.second,vertexVec,locpos.x());
372 
373  for(auto& sct : sctInfos) {
374  Trk::SpacePoint* sp = makeSCT_SpacePoint(sct,sctInfo,Id,currentId,limit,slimit,dataItemsSCT);
375  if(sp) {
376  tmpSpacePoints.push_back(sp);
377  }
378  }
379  }
380  // If you are processing the opposite element, save the space points into
381  // the spacepointCollection and clear the temporary collection
382  if( currentIndex==otherSideIndex && !tmpSpacePoints.empty() ) {
383  spacepointCollection->reserve(tmpSpacePoints.size()+spacepointCollection->size());
384  for (Trk::SpacePoint* sp: tmpSpacePoints) {
385  spacepointCollection->push_back(sp);
386  }
387  tmpSpacePoints.clear();
388  }
389  }
390  // fill the space point collection for eta/phi overlapping clusters
391  if(!tmpSpacePoints.empty()) {
392  spacepointoverlapCollection->reserve(tmpSpacePoints.size()+spacepointoverlapCollection->size());
393  for (Trk::SpacePoint* sp: tmpSpacePoints) {
394  spacepointoverlapCollection->push_back(sp);
395  }
396  }
397  }

◆ 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 401 of file SiSpacePointMakerTool.cxx.

404  {
405 
406  double a =-In0.traj_direction().dot(In1.normal());
407  double b = In0.strip_direction().dot(In1.normal());
408  double l0 = In0.oneOverStrip()*slimit+limit ;
409 
410  if(std::abs(a) > (std::abs(b)*l0)) return nullptr;
411 
412  double c =-In1.traj_direction().dot(In0.normal());
413  double d = In1.strip_direction().dot(In0.normal());
414  double l1 = In1.oneOverStrip()*slimit+limit ;
415 
416  if(std::abs(c) > (std::abs(d)*l1)) return nullptr;
417 
418  double m = a/b;
419 
420  if(slimit!=0.) {
421 
422  double n = c/d;
423 
424  if (m > limit || n > limit) {
425 
426  double cs = In0.strip_direction().dot(In1.strip_direction())*(In0.oneOverStrip()*In0.oneOverStrip());
427  double dm = (m-1);
428  double dmn = (n-1.)*cs;
429  if(dmn > dm) dm = dmn;
430  m-=dm; n-=(dm/cs);
431  if(std::abs(m) > limit || std::abs(n) > limit) return nullptr;
432  } else if(m < -limit || n < -limit) {
433 
434  double cs = In0.strip_direction().dot(In1.strip_direction())*(In0.oneOverStrip()*In0.oneOverStrip());
435  double dm = -(1.+m);
436  double dmn = -(1.+n)*cs;
437  if(dmn > dm) dm = dmn;
438  m+=dm; n+=(dm/cs);
439  if(std::abs(m) > limit || std::abs(n) > limit) return nullptr;
440  }
441  }
442  Amg::Vector3D point(In0.position(m));
443 
444  const std::pair<IdentifierHash,IdentifierHash> elementIdList(ID0,ID1);
445  //if we have a DataPool use it
446  if (dataItemsSCT) {
447  SCT_SpacePoint* sp = dataItemsSCT->nextElementPtr();
448  (*sp) = InDet::SCT_SpacePoint(elementIdList, point,
449  {In0.cluster(), In1.cluster()});
450  return sp;
451  }
452  return new InDet::SCT_SpacePoint(elementIdList, point,
453  {In0.cluster(), In1.cluster()});
454  }

◆ 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 91 of file SiSpacePointMakerTool.h.

◆ m_locXOffset_ECEtaOvlpRaws9n10

DoubleProperty InDet::SiSpacePointMakerTool::m_locXOffset_ECEtaOvlpRaws9n10 {this, "locXOffset_ECEtaOvlpRaws9n10", 31.4, "Local x offset between EC raws 9 and 10 (31.4 for ITk)"}
private

Definition at line 86 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:44
InDet::SCTinformation::oneOverStrip
const double & oneOverStrip() const
Definition: SCTinformation.h:45
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:27
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
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:107
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:143
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
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.
min
constexpr double min()
Definition: ap_fixedTest.cxx:26
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:91
InDet::SCTinformation::cluster
const InDet::SiCluster * cluster() const
Definition: SCTinformation.h:40
InDet::SCTinformation
Definition: SCTinformation.h:25
SCT_ID::barrel_ec
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
Definition: SCT_ID.h:728
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
InDet::PixelSpacePoint
Definition: PixelSpacePoint.h:31
AmgSymMatrix
#define AmgSymMatrix(dim)
Definition: EventPrimitives.h:50
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
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
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
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
DataPool::nextElementPtr
pointer nextElementPtr()
obtain the next available element in pool by pointer pool is resized if its limit has been reached On...
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
columnar::ContainerId::cluster
@ cluster
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:43
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
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
ReadCellNoiseFromCool.dm
dm
Definition: ReadCellNoiseFromCool.py:235
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:91
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:240
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
a
TList * a
Definition: liststreamerinfos.cxx:10
h
python.CaloAddPedShiftConfig.int
int
Definition: CaloAddPedShiftConfig.py:45
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:401
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
SCT_ID::eta_module
int eta_module(const Identifier &id) const
Definition: SCT_ID.h:746
RunTileMonitoring.clusters
clusters
Definition: RunTileMonitoring.py:133
if
if(febId1==febId2)
Definition: LArRodBlockPhysicsV0.cxx:567
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:629
ReadCellNoiseFromCoolCompare.l0
l0
Definition: ReadCellNoiseFromCoolCompare.py:359
InDet::SCTinformation::strip_direction
const Amg::Vector3D & strip_direction() const
Definition: SCTinformation.h:42
InDet::SCTinformation::position
Amg::Vector3D position(const double &s) const
Definition: SCTinformation.h:103
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
InDet::SiSpacePointMakerTool::m_locXOffset_ECEtaOvlpRaws9n10
DoubleProperty m_locXOffset_ECEtaOvlpRaws9n10
Definition: SiSpacePointMakerTool.h:86
skel.l1
l1
Definition: skel.GENtoEVGEN.py:409
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
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
InDetDD::SolidStateDetectorElementBase::identify
virtual Identifier identify() const override final
identifier of this detector element (inline)
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.
fitman.k
k
Definition: fitman.py:528
InDet::SiSpacePointMakerTool::m_SCTgapParameter
DoubleProperty m_SCTgapParameter
Definition: SiSpacePointMakerTool.h:85