ATLAS Offline Software
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
Trk::AlignModuleTool Class Referenceabstract

#include <AlignModuleTool.h>

Inheritance diagram for Trk::AlignModuleTool:
Collaboration diagram for Trk::AlignModuleTool:

Public Types

typedef DataVector< AlignParAlignParVec
 
typedef DataVector< AlignParVecAlignPar2DVec
 

Public Member Functions

 AlignModuleTool (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual ~AlignModuleTool ()
 
virtual StatusCode initialize ()
 
virtual StatusCode finalize ()
 
void setAlignModules (AlignModuleList *alignmods, std::vector< AlignModuleList * > *idHashMaps)
 sets alignModuleLists and idHash maps for a set of AlignModules. More...
 
void setAlignParLists (AlignPar2DVec *fullAlignParList, AlignPar2DVec *alignParList=0)
 Sets the AlignParLists using boost::multi_array. More...
 
void setSubDetElement (AlignModule::DetectorType detType, bool status)
 set and retrieve flag whether or not the sub-TrkDetElementBase structures are aligned for a given detector type More...
 
bool subDetElement (AlignModule::DetectorType detType) const
 
virtual AlignModulefindAlignModule (const RIO_OnTrack *rio, AlignModule::DetectorType detType) const
 Returns pointer to AlignModule containing RIO. More...
 
virtual AlignModulefindAlignModule (const TrkDetElementBase *det, AlignModule::DetectorType detType) const
 Returns pointer to AlignModule containing RIO. More...
 
int nAlignParameters () const
 Returns total number of alignment parameters. More...
 
const AlignModuleListalignModules1D ()
 Returns 1-D vector of all AlignModules containing all detector types. More...
 
AlignParVecalignParList1D ()
 Returns 1-D vector of all AlignPars for all detector types. More...
 
AlignParVecgetAlignPars (const AlignModule *alignModule) const
 returns vector of AlignPars for an AlignModule More...
 
virtual void shiftModule (const AlignModule *, const Track *, AlignModule::TransformParameters, double) const
 methods used for numerical derivative to shift module before refitting track and restore to normal position, to be inherited by detector-specific align modules More...
 
virtual void restoreModule (const AlignModule *) const
 
virtual void fillDetAlignmentParameters (const TrkDetElementBase *det, DataVector< AlignPar > *apVec, AlignModule::DetectorType detType) const
 fills values for alignment parameters for a detector element, applying AlignModule transforms if necessary More...
 
virtual const AlignModuleListgetAlignModuleCollection () const
 Returns collection of AlignModules for a particular detector type. More...
 
AlignParVecgetFullAlignPars (const AlignModule *alignModule) const
 returns vector of full AlignPars for an AlignModule More...
 
AlignModule::DetectorType getDetectorType (const TrkDetElementBase *det) const
 Returns detector type (AlignModule enum) for a detector element. More...
 
virtual int subDetElementIDHash (Identifier) const
 Returns identifier hash for sub-TrkDetElementBase structure based on detector type. More...
 
AlignPar2DVecalignParList () const
 returns complete AlignParList (active parameters only) More...
 
AlignPar2DVecfullAlignParList () const
 returns complete AlignParList More...
 
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
 
AlignModuleListType alignModuleListType ()
 returns type of AlignModuleList (see AlignModuleList.h for more info) More...
 
virtual void setAlignParLists (DataVector< DataVector< AlignPar > > *fullAlignParList, DataVector< DataVector< AlignPar > > *alignParList)=0
 sets AlignPar for AlignModules for a particular detector type More...
 
virtual void setMeasurementProperties (AlignTSOS *) const
 allows to set detector specific properties of AlignTSOS, like measurement direction (CSC) or fan-out angle (SCT) More...
 
virtual void setLogStream (std::ostream *os)
 sets the output stream for the logfile More...
 

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

Protected Attributes

const AtlasDetectorIDm_idHelper
 Used to identify type of detector. More...
 
int m_alignModuleListType
 uses Trk enum AlignModuleListType (L1,L2,L3,L1_5,L2_5) More...
 
std::ostream * m_logStream
 logfile output stream 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

AlignModuleListm_alignModules
 list of AlignModules More...
 
std::vector< const AlignModuleList * > m_alignModuleMaps
 maps detector element idHash to AlignModule More...
 
AlignPar2DVecm_alignParList
 contains active parameters More...
 
AlignPar2DVecm_fullAlignParList
 contains all parameters More...
 
std::vector< AlignModule * > m_alignModules1D
 1-D vector of AlignModules More...
 
AlignParVec m_alignParList1D
 1-D vector of AlignPars More...
 
std::vector< bool > m_subDetElement
 identify detectors aligning structures smaller than TrkDetElementBase More...
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 36 of file AlignModuleTool.h.

Member Typedef Documentation

◆ AlignPar2DVec

Definition at line 40 of file AlignModuleTool.h.

◆ AlignParVec

Definition at line 39 of file AlignModuleTool.h.

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ AlignModuleTool()

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

Definition at line 20 of file AlignModuleTool.cxx.

24  , m_idHelper (nullptr)
25  , m_alignModules (nullptr)
27  , m_alignParList (nullptr)
28  , m_fullAlignParList (nullptr)
31  {
32  declareInterface<IAlignModuleTool>(this);
33 
34  declareProperty("AlignModuleListType", m_alignModuleListType = Trk::L3);
35 
36  m_logStream = nullptr;
37  }

◆ ~AlignModuleTool()

AlignModuleTool::~AlignModuleTool ( )
virtualdefault

Member Function Documentation

◆ alignModuleListType()

AlignModuleListType Trk::IAlignModuleTool::alignModuleListType ( )
inlineinherited

returns type of AlignModuleList (see AlignModuleList.h for more info)

Definition at line 53 of file IAlignModuleTool.h.

◆ alignModules1D()

const AlignModuleList* Trk::AlignModuleTool::alignModules1D ( )
inlinevirtual

Returns 1-D vector of all AlignModules containing all detector types.

Implements Trk::IAlignModuleTool.

Definition at line 86 of file AlignModuleTool.h.

86 { return &m_alignModules1D; }

◆ alignParList()

AlignPar2DVec* Trk::AlignModuleTool::alignParList ( ) const
inline

returns complete AlignParList (active parameters only)

Definition at line 141 of file AlignModuleTool.h.

141 { return m_alignParList; }

◆ alignParList1D()

AlignParVec* Trk::AlignModuleTool::alignParList1D ( )
inlinevirtual

Returns 1-D vector of all AlignPars for all detector types.

Implements Trk::IAlignModuleTool.

Definition at line 89 of file AlignModuleTool.h.

89 { return &m_alignParList1D; }

◆ 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

◆ fillDetAlignmentParameters()

void AlignModuleTool::fillDetAlignmentParameters ( const TrkDetElementBase det,
DataVector< AlignPar > *  apVec,
AlignModule::DetectorType  detType 
) const
virtual

fills values for alignment parameters for a detector element, applying AlignModule transforms if necessary

Implements Trk::IAlignModuleTool.

Definition at line 208 of file AlignModuleTool.cxx.

211  {
212  if (detType==AlignModule::NDetectorTypes)
213  detType=getDetectorType(det);
214  if (detType==AlignModule::NDetectorTypes || !m_alignModuleMaps[detType]) return;
215 
216  // get AlignModule
217  int idHash=det->identifyHash();
218  AlignModule* alignModule=(*(m_alignModuleMaps[detType]))[idHash];
219 
220  ATH_MSG_DEBUG("have alignModule "<<alignModule->identify());
221  // get alignment parameters
222  const AlignParVec* modAlignPar = getFullAlignPars(alignModule);
223  ATH_MSG_DEBUG("modAlignPar size: "<<modAlignPar->size());
224 
225  double alignModPar[AlignModule::NTransformPar];
226  double alignModErr[AlignModule::NTransformPar];
227  for (int i=0;i<AlignModule::NTransformPar;i++) {
228  if ((*modAlignPar)[i]) {
229  alignModPar[i]=(*modAlignPar)[i]->par();
230  alignModErr[i]=(*modAlignPar)[i]->err();
231  }
232  else {
233  alignModPar[i]=alignModErr[i]=0.;
234  ATH_MSG_DEBUG("no alignModPar!");
235  }
236  }
237 
238  ATH_MSG_DEBUG("getting transforms");
239 
240  Amg::Translation3D alignModXTranslation(alignModPar[AlignModule::TransX],
241  alignModPar[AlignModule::TransY],
242  alignModPar[AlignModule::TransZ]);
243 
244  Amg::Transform3D alignModXform = alignModXTranslation * Amg::RotationMatrix3D::Identity();
245  alignModXform *= Amg::AngleAxis3D(alignModPar[AlignModule::RotZ], Amg::Vector3D(0.,0.,1.));
246  alignModXform *= Amg::AngleAxis3D(alignModPar[AlignModule::RotY], Amg::Vector3D(0.,1.,0.));
247  alignModXform *= Amg::AngleAxis3D(alignModPar[AlignModule::RotX], Amg::Vector3D(1.,0.,0.));
248 
249 
250  Amg::Translation3D alignModXTranslationErr(alignModErr[AlignModule::TransX],
251  alignModErr[AlignModule::TransY],
252  alignModErr[AlignModule::TransZ]);
253 
254  Amg::Transform3D alignModXformErr = alignModXTranslationErr * Amg::RotationMatrix3D::Identity();
255  alignModXformErr *= Amg::AngleAxis3D(alignModErr[AlignModule::RotZ], Amg::Vector3D(0.,0.,1.));
256  alignModXformErr *= Amg::AngleAxis3D(alignModErr[AlignModule::RotY], Amg::Vector3D(0.,1.,0.));
257  alignModXformErr *= Amg::AngleAxis3D(alignModErr[AlignModule::RotX], Amg::Vector3D(1.,0.,0.));
258 
259  ATH_MSG_DEBUG("getting AlignPars for detector element "<<det->identify());
260 
261  // get the transform for this detector element
262  const Amg::Transform3D* transform = alignModule->alignModuleToDetElementTransform(detType,det);
263 
264  // get the alignment parameters for this detector element
265  ATH_MSG_WARNING("Check that order is correct: AlignModuleTool:271,284");
266  Amg::Transform3D xformPar( (*transform) * alignModXform );
267  double* detpars = new double[AlignModule::NTransformPar];
268  double* deterrs = new double[AlignModule::NTransformPar];
269  decomposeTransform(xformPar,detpars);
270 
271  ATH_MSG_DEBUG("transx="<<detpars[0]);
272  ATH_MSG_DEBUG("transy="<<detpars[1]);
273  ATH_MSG_DEBUG("transz="<<detpars[2]);
274  ATH_MSG_DEBUG("rotx=" <<detpars[3]);
275  ATH_MSG_DEBUG("roty=" <<detpars[4]);
276  ATH_MSG_DEBUG("rotz=" <<detpars[5]);
277 
278  Amg::Transform3D xformErr( (*transform) * alignModXformErr);
279  decomposeTransform(xformErr,deterrs);
280 
281  // set in AlignParList for this detector element
282  ATH_MSG_DEBUG("setting AlignPar for detector element ");
283  for (int ipar=0;ipar<AlignModule::NTransformPar;ipar++) {
284  AlignPar* ap=(*detAPVec)[ipar];
285  ap->setPar(detpars[ipar],deterrs[ipar]);
286  ap->setFinalPar(ap->initPar()+detpars[ipar],
287  std::sqrt(ap->initErr()*ap->initErr() + deterrs[ipar]*deterrs[ipar]) );
288  }
289 
290  ATH_MSG_DEBUG("set");
291 
292  }

◆ finalize()

StatusCode AlignModuleTool::finalize ( )
virtual

Implements Trk::IAlignModuleTool.

Reimplemented in InDet::InDetAlignModuleTool.

Definition at line 65 of file AlignModuleTool.cxx.

66  {
67 
68  return StatusCode::SUCCESS;
69  }

◆ findAlignModule() [1/2]

AlignModule * AlignModuleTool::findAlignModule ( const RIO_OnTrack rio,
AlignModule::DetectorType  detType 
) const
virtual

Returns pointer to AlignModule containing RIO.

Returns 0 if not found.

Implements Trk::IAlignModuleTool.

Definition at line 153 of file AlignModuleTool.cxx.

155  {
156 
157  ATH_MSG_DEBUG("in AlignModuleTool::findAlignModule(rio,detType)");
158 
159  if (!rio) {
160  ATH_MSG_VERBOSE("no rio!");
161  return nullptr;
162  }
163 
164  // find detector type using TrkDetElementBase
165  const TrkDetElementBase * detelement = rio->detectorElement();
166  if (detelement) {
167  ATH_MSG_DEBUG("have detelement");
168 
169  if (detType==AlignModule::NDetectorTypes)
170  detType=getDetectorType(detelement);
171  if (detType==AlignModule::NDetectorTypes || !m_alignModuleMaps[detType]) {
172  ATH_MSG_VERBOSE("bad detector type or no map for detType "<<detType);
173  return nullptr;
174  }
175 
176  // find align module
177  int idHash(0);
178  if (m_subDetElement[detType]) {
179  idHash = subDetElementIDHash(rio->identify());
180  ATH_MSG_DEBUG("idHash (from subDetElement): "<<idHash);
181  }
182  else {
183  idHash = detelement->identifyHash();
184  ATH_MSG_DEBUG("idHash: "<<idHash);
185  }
186 
187  return (*m_alignModuleMaps[detType])[idHash];
188 
189  }
190 
191  ATH_MSG_VERBOSE("no detector element!");
192  return nullptr;
193  }

◆ findAlignModule() [2/2]

AlignModule * AlignModuleTool::findAlignModule ( const TrkDetElementBase det,
AlignModule::DetectorType  detType 
) const
virtual

Returns pointer to AlignModule containing RIO.

Returns 0 if not found.

Implements Trk::IAlignModuleTool.

Definition at line 122 of file AlignModuleTool.cxx.

124  {
125  ATH_MSG_DEBUG("in AlignModuleTool::findAlignModule(det,detType)");
126 
127  if (!det) {
128  ATH_MSG_VERBOSE("no det!");
129  return nullptr;
130  }
131 
132  if (m_subDetElement[detType]) {
133  ATH_MSG_ERROR("please use findAlignModule method passing RIO_OnTrack");
134  return nullptr;
135  }
136 
137  ATH_MSG_VERBOSE("in findAlignModule, detType="<<detType);
138 
139  if (detType==AlignModule::NDetectorTypes)
140  detType=getDetectorType(det);
141  if (detType==AlignModule::NDetectorTypes || !m_alignModuleMaps[detType]) {
142  ATH_MSG_VERBOSE("bad detector type or no map for detType "<<detType);
143  return nullptr;
144  }
145 
146  // find align module
147  int idHash = det->identifyHash();
148  return (*m_alignModuleMaps[detType])[idHash];
149 
150  }

◆ fullAlignParList()

AlignPar2DVec* Trk::AlignModuleTool::fullAlignParList ( ) const
inline

returns complete AlignParList

Definition at line 144 of file AlignModuleTool.h.

144 { return m_fullAlignParList; }

◆ getAlignModuleCollection()

virtual const AlignModuleList* Trk::AlignModuleTool::getAlignModuleCollection ( ) const
inlinevirtual

Returns collection of AlignModules for a particular detector type.

Implements Trk::IAlignModuleTool.

Definition at line 118 of file AlignModuleTool.h.

119  { return m_alignModules; }

◆ getAlignPars()

DataVector< AlignPar > * AlignModuleTool::getAlignPars ( const AlignModule alignModule) const
virtual

returns vector of AlignPars for an AlignModule

Implements Trk::IAlignModuleTool.

Definition at line 197 of file AlignModuleTool.cxx.

198  {
199  if (!alignModule) return nullptr;
200 
201  int idHash =alignModule->identifyHash();
202  ATH_MSG_DEBUG("getting alignPars for idHash "<<idHash);
203 
204  return std::as_const(m_alignParList)->at(idHash);
205  }

◆ getDetectorType()

AlignModule::DetectorType AlignModuleTool::getDetectorType ( const TrkDetElementBase det) const
virtual

Returns detector type (AlignModule enum) for a detector element.

Implements Trk::IAlignModuleTool.

Definition at line 296 of file AlignModuleTool.cxx.

297  {
298  Identifier id = det->identify();
299 
300  // get dector type
301  if ( id.is_valid()) {
302  if (m_idHelper->is_pixel(id)) return AlignModule::Pixel;
303  else if (m_idHelper->is_sct(id)) return AlignModule::SCT;
304  else if (m_idHelper->is_trt(id)) return AlignModule::TRT;
305  else if (m_idHelper->is_mdt(id)) return AlignModule::MDT;
306  else if (m_idHelper->is_csc(id)) return AlignModule::CSC;
307  else if (m_idHelper->is_rpc(id)) return AlignModule::RPC;
308  else if (m_idHelper->is_tgc(id)) return AlignModule::TGC;
309  }
310 
312  }

◆ getFullAlignPars()

AlignModuleTool::AlignParVec * AlignModuleTool::getFullAlignPars ( const AlignModule alignModule) const
virtual

returns vector of full AlignPars for an AlignModule

Implements Trk::IAlignModuleTool.

Definition at line 316 of file AlignModuleTool.cxx.

317  {
318  int idHash =alignModule->identifyHash();
319  return std::as_const(m_fullAlignParList)->at(idHash);
320  }

◆ initialize()

StatusCode AlignModuleTool::initialize ( )
virtual

Implements Trk::IAlignModuleTool.

Reimplemented in InDet::InDetAlignModuleTool.

Definition at line 44 of file AlignModuleTool.cxx.

45  {
46  // Number of layers in the superstructures
48  msg(MSG::FATAL)<<"AlignModuleListType can be 0, 1, 2, or 3" << endmsg;
49  return StatusCode::FAILURE;
50  }
51 
52  msg(MSG::INFO).setColor(MSG::GREEN);
53  ATH_MSG_INFO("AlignModuleListType set to " << m_alignModuleListType);
54 
55  // Set up ATLAS ID helper
56  if (detStore()->retrieve(m_idHelper, "AtlasID").isFailure()) {
57  msg(MSG::FATAL)<<"Could not get Atlas ID helper"<<endmsg;
58  return StatusCode::FAILURE;
59  }
60 
61  return StatusCode::SUCCESS;
62  }

◆ 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 & Trk::IAlignModuleTool::interfaceID ( )
inlinestaticinherited

Definition at line 149 of file IAlignModuleTool.h.

150  { return IID_TRKALIGNINTERFACES_IAlignModuleTool; }

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

◆ nAlignParameters()

int Trk::AlignModuleTool::nAlignParameters ( ) const
inlinevirtual

Returns total number of alignment parameters.

Implements Trk::IAlignModuleTool.

Definition at line 83 of file AlignModuleTool.h.

83 { return m_alignParList1D.size(); }

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

◆ restoreModule()

virtual void Trk::AlignModuleTool::restoreModule ( const AlignModule ) const
inlinevirtual

Reimplemented from Trk::IAlignModuleTool.

Definition at line 104 of file AlignModuleTool.h.

104 {}

◆ setAlignModules()

void AlignModuleTool::setAlignModules ( AlignModuleList alignmods,
std::vector< AlignModuleList * > *  idHashMaps 
)
virtual

sets alignModuleLists and idHash maps for a set of AlignModules.

AlignModuleList should be of type Combined, containing detector elements of different types.

Implements Trk::IAlignModuleTool.

Definition at line 72 of file AlignModuleTool.cxx.

74  {
75  ATH_MSG_DEBUG("in setAlignModules");
76 
77  m_alignModules=alignmods;
78 
79  for (int i=0;i<(int)idHashMaps->size();i++) {
80  if ((*idHashMaps)[i]) m_alignModuleMaps[i]=(*idHashMaps)[i];
81  }
82 
83  // reset 1-D collection
84  ATH_MSG_DEBUG("clearing alignModules1D");
85  int nmods(0);
86  for (int imod=0;imod<(int)m_alignModules->size();imod++) {
87  m_alignModules1D.push_back((*m_alignModules)[imod]);
88  (*m_alignModules)[imod]->setIdHash(nmods++); // this overwrites what's set in geometry manager tool... should we do this?
89  }
90 
91  ATH_MSG_DEBUG("done setting AlignModules");
92  }

◆ setAlignParLists() [1/2]

void AlignModuleTool::setAlignParLists ( AlignPar2DVec fullAlignParList,
AlignPar2DVec alignParList = 0 
)

Sets the AlignParLists using boost::multi_array.

Lists are owned by GeometryManagerTool.

Definition at line 96 of file AlignModuleTool.cxx.

98  {
99  ATH_MSG_DEBUG("setting fullAlignParList="<<fullAlignParList
100  <<", alignParList="<<alignParList);
101 
104 
105  // recalculate 1-D collection of alignment parameters
106  ATH_MSG_DEBUG("getting AlignParList1D");
108  int index(0);
109 
111 
112  for (AlignPar2DVec::iterator apVec=aplist->begin(); apVec!=aplist->end();++apVec) {
113  for (AlignParVec::iterator ap=(*apVec)->begin(); ap!=(*apVec)->end();++ap) {
115  (*ap)->setIndex(index++);
116  }
117 
118  }
119  }

◆ setAlignParLists() [2/2]

virtual void Trk::IAlignModuleTool::setAlignParLists ( DataVector< DataVector< AlignPar > > *  fullAlignParList,
DataVector< DataVector< AlignPar > > *  alignParList 
)
pure virtualinherited

sets AlignPar for AlignModules for a particular detector type

◆ setLogStream()

virtual void Trk::IAlignModuleTool::setLogStream ( std::ostream *  os)
inlinevirtualinherited

sets the output stream for the logfile

Definition at line 140 of file IAlignModuleTool.h.

140 { m_logStream = os; }

◆ setMeasurementProperties()

virtual void Trk::IAlignModuleTool::setMeasurementProperties ( AlignTSOS ) const
inlinevirtualinherited

allows to set detector specific properties of AlignTSOS, like measurement direction (CSC) or fan-out angle (SCT)

Reimplemented in InDet::InDetAlignModuleTool.

Definition at line 87 of file IAlignModuleTool.h.

87 {};

◆ setSubDetElement()

void Trk::AlignModuleTool::setSubDetElement ( AlignModule::DetectorType  detType,
bool  status 
)
inlinevirtual

set and retrieve flag whether or not the sub-TrkDetElementBase structures are aligned for a given detector type

Implements Trk::IAlignModuleTool.

Definition at line 63 of file AlignModuleTool.h.

63 { m_subDetElement[detType]=status; }

◆ shiftModule()

virtual void Trk::AlignModuleTool::shiftModule ( const AlignModule ,
const Track ,
AlignModule::TransformParameters  ,
double   
) const
inlinevirtual

methods used for numerical derivative to shift module before refitting track and restore to normal position, to be inherited by detector-specific align modules

Reimplemented from Trk::IAlignModuleTool.

Definition at line 102 of file AlignModuleTool.h.

103  {}

◆ subDetElement()

bool Trk::AlignModuleTool::subDetElement ( AlignModule::DetectorType  detType) const
inlinevirtual

Implements Trk::IAlignModuleTool.

Definition at line 64 of file AlignModuleTool.h.

64 { return m_subDetElement[detType]; }

◆ subDetElementIDHash()

virtual int Trk::AlignModuleTool::subDetElementIDHash ( Identifier  ) const
inlinevirtual

Returns identifier hash for sub-TrkDetElementBase structure based on detector type.

It needs detector specific implementation in a derived class

Reimplemented in InDet::InDetAlignModuleTool.

Definition at line 138 of file AlignModuleTool.h.

138 { return 0; }

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

Member Data Documentation

◆ m_alignModuleListType

int Trk::IAlignModuleTool::m_alignModuleListType
protectedinherited

uses Trk enum AlignModuleListType (L1,L2,L3,L1_5,L2_5)

Definition at line 143 of file IAlignModuleTool.h.

◆ m_alignModuleMaps

std::vector<const AlignModuleList*> Trk::AlignModuleTool::m_alignModuleMaps
private

maps detector element idHash to AlignModule

Definition at line 152 of file AlignModuleTool.h.

◆ m_alignModules

AlignModuleList* Trk::AlignModuleTool::m_alignModules
private

list of AlignModules

Definition at line 151 of file AlignModuleTool.h.

◆ m_alignModules1D

std::vector<AlignModule*> Trk::AlignModuleTool::m_alignModules1D
private

1-D vector of AlignModules

Definition at line 157 of file AlignModuleTool.h.

◆ m_alignParList

AlignPar2DVec* Trk::AlignModuleTool::m_alignParList
private

contains active parameters

Definition at line 154 of file AlignModuleTool.h.

◆ m_alignParList1D

AlignParVec Trk::AlignModuleTool::m_alignParList1D
private

1-D vector of AlignPars

Definition at line 158 of file AlignModuleTool.h.

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

AlignPar2DVec* Trk::AlignModuleTool::m_fullAlignParList
private

contains all parameters

Definition at line 155 of file AlignModuleTool.h.

◆ m_idHelper

const AtlasDetectorID* Trk::AlignModuleTool::m_idHelper
protected

Used to identify type of detector.

Definition at line 147 of file AlignModuleTool.h.

◆ m_logStream

std::ostream* Trk::IAlignModuleTool::m_logStream
protectedinherited

logfile output stream

Definition at line 145 of file IAlignModuleTool.h.

◆ m_subDetElement

std::vector<bool> Trk::AlignModuleTool::m_subDetElement
private

identify detectors aligning structures smaller than TrkDetElementBase

Definition at line 160 of file AlignModuleTool.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:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
Trk::AlignModuleTool::m_fullAlignParList
AlignPar2DVec * m_fullAlignParList
contains all parameters
Definition: AlignModuleTool.h:155
AtlasDetectorID::is_pixel
bool is_pixel(Identifier id) const
Definition: AtlasDetectorID.h:760
Trk::AlignModule::TGC
@ TGC
Definition: AlignModule.h:57
AtlasDetectorID::is_rpc
bool is_rpc(Identifier id) const
Definition: AtlasDetectorID.h:875
Trk::AlignModule::TRT
@ TRT
Definition: AlignModule.h:57
Trk::AlignModule::TransZ
@ TransZ
Definition: AlignModule.h:54
python.Constants.FATAL
int FATAL
Definition: Control/AthenaCommon/python/Constants.py:19
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
AtlasDetectorID::is_csc
bool is_csc(Identifier id) const
Definition: AtlasDetectorID.h:891
DataVector::iterator
DataModel_detail::iterator< DataVector > iterator
Standard iterator.
Definition: DataVector.h:841
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
Trk::AlignModuleList
std::vector< AlignModule * > AlignModuleList
Definition: AlignModuleList.h:37
SG::VIEW_ELEMENTS
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Definition: OwnershipPolicy.h:18
TRTCalib_Extractor.det
det
Definition: TRTCalib_Extractor.py:36
AtlasDetectorID::is_sct
bool is_sct(Identifier id) const
Definition: AtlasDetectorID.h:770
index
Definition: index.py:1
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
Trk::AlignModuleTool::m_alignModules
AlignModuleList * m_alignModules
list of AlignModules
Definition: AlignModuleTool.h:151
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
Trk::decomposeTransform
void decomposeTransform(const Amg::Transform3D &transform, double *values)
Definition: AlignModule.cxx:57
Trk::AlignModule::Pixel
@ Pixel
Definition: AlignModule.h:57
AtlasDetectorID::is_trt
bool is_trt(Identifier id) const
Definition: AtlasDetectorID.h:782
Trk::AlignModuleTool::m_subDetElement
std::vector< bool > m_subDetElement
identify detectors aligning structures smaller than TrkDetElementBase
Definition: AlignModuleTool.h:160
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
Trk::AlignModule::NDetectorTypes
@ NDetectorTypes
Definition: AlignModule.h:57
python.AtlRunQueryParser.ap
ap
Definition: AtlRunQueryParser.py:826
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:27
AlignModule
AlignModule is a grouping of TrkDetElementBase objects, grouped according to the type of alignment,...
Trk::AlignModuleTool::getFullAlignPars
AlignParVec * getFullAlignPars(const AlignModule *alignModule) const
returns vector of full AlignPars for an AlignModule
Definition: AlignModuleTool.cxx:316
Trk::AlignModuleTool::subDetElementIDHash
virtual int subDetElementIDHash(Identifier) const
Returns identifier hash for sub-TrkDetElementBase structure based on detector type.
Definition: AlignModuleTool.h:138
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Trk::AlignModuleTool::AlignParVec
DataVector< AlignPar > AlignParVec
Definition: AlignModuleTool.h:39
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
lumiFormat.i
int i
Definition: lumiFormat.py:85
Trk::L3
@ L3
Definition: AlignModuleList.h:32
AtlasDetectorID::is_tgc
bool is_tgc(Identifier id) const
Definition: AtlasDetectorID.h:902
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Trk::AlignModule::RotX
@ RotX
Definition: AlignModule.h:54
Trk::AlignModule::SCT
@ SCT
Definition: AlignModule.h:57
Trk::IAlignModuleTool::m_alignModuleListType
int m_alignModuleListType
uses Trk enum AlignModuleListType (L1,L2,L3,L1_5,L2_5)
Definition: IAlignModuleTool.h:143
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
Trk::AlignModuleTool::alignParList
AlignPar2DVec * alignParList() const
returns complete AlignParList (active parameters only)
Definition: AlignModuleTool.h:141
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
DataVector::clear
void clear()
Erase all the elements in the collection.
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
Trk::AlignModuleTool::m_alignModuleMaps
std::vector< const AlignModuleList * > m_alignModuleMaps
maps detector element idHash to AlignModule
Definition: AlignModuleTool.h:152
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
Trk::AlignModuleTool::m_idHelper
const AtlasDetectorID * m_idHelper
Used to identify type of detector.
Definition: AlignModuleTool.h:147
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
Trk::AlignModule::CSC
@ CSC
Definition: AlignModule.h:57
Trk::AlignModuleTool::m_alignParList
AlignPar2DVec * m_alignParList
contains active parameters
Definition: AlignModuleTool.h:154
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
AlignPar
AlignPar contains all the information related to an alignment parameter of a particular align module ...
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Trk::AlignModuleTool::AlignPar2DVec
DataVector< AlignParVec > AlignPar2DVec
Definition: AlignModuleTool.h:40
Trk::AlignModule::TransX
@ TransX
Definition: AlignModule.h:54
DeMoScan.index
string index
Definition: DeMoScan.py:364
python.consts.GREEN
GREEN
Definition: consts.py:3
a
TList * a
Definition: liststreamerinfos.cxx:10
h
Trk::AlignModule::NTransformPar
@ NTransformPar
Definition: AlignModule.h:55
Trk::AlignModuleTool::fullAlignParList
AlignPar2DVec * fullAlignParList() const
returns complete AlignParList
Definition: AlignModuleTool.h:144
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
Trk::AlignModule::RotY
@ RotY
Definition: AlignModule.h:54
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Amg::Translation3D
Eigen::Translation< double, 3 > Translation3D
Definition: GeoPrimitives.h:44
AthCommonMsg< AlgTool >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
Trk::IAlignModuleTool::m_logStream
std::ostream * m_logStream
logfile output stream
Definition: IAlignModuleTool.h:145
Amg::AngleAxis3D
Eigen::AngleAxisd AngleAxis3D
Definition: GeoPrimitives.h:45
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
Trk::AlignModuleTool::getDetectorType
AlignModule::DetectorType getDetectorType(const TrkDetElementBase *det) const
Returns detector type (AlignModule enum) for a detector element.
Definition: AlignModuleTool.cxx:296
merge.status
status
Definition: merge.py:17
Trk::AlignModuleListType
AlignModuleListType
Type of AlignModuleList (see description above).
Definition: AlignModuleList.h:32
Trk::AlignModule::RotZ
@ RotZ
Definition: AlignModule.h:54
Trk::AlignModule::MDT
@ MDT
Definition: AlignModule.h:57
Trk::AlignModuleTool::m_alignModules1D
std::vector< AlignModule * > m_alignModules1D
1-D vector of AlignModules
Definition: AlignModuleTool.h:157
Trk::AlignModule::TransY
@ TransY
Definition: AlignModule.h:54
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
Trk::AlignModule::RPC
@ RPC
Definition: AlignModule.h:57
Trk::AlignModuleTool::m_alignParList1D
AlignParVec m_alignParList1D
1-D vector of AlignPars
Definition: AlignModuleTool.h:158
Trk::L0
@ L0
Definition: AlignModuleList.h:32
AtlasDetectorID::is_mdt
bool is_mdt(Identifier id) const
Definition: AtlasDetectorID.h:859
fitman.k
k
Definition: fitman.py:528
Identifier
Definition: IdentifierFieldParser.cxx:14