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

general tool to converts clusters or driftcircles (Trk::PrepRawData) to fully calibrated hits (Trk::RIO_OnTrack) further use in track fits. More...

#include <RIO_OnTrackCreator.h>

Inheritance diagram for Trk::RIO_OnTrackCreator:
Collaboration diagram for Trk::RIO_OnTrackCreator:

Public Member Functions

 RIO_OnTrackCreator (const std::string &, const std::string &, const IInterface *)
 standard AlgTool constructor More...
 
virtual ~RIO_OnTrackCreator ()
 virtual destructor More...
 
virtual StatusCode initialize () override
 get specific ROT tools and the AtlasIdHelper More...
 
RIO_OnTrackcorrect (const PrepRawData &, const TrackParameters &, const EventContext &ctx) const override
 the master method for going from RIO to ROT. 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
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 The AlgTool InterfaceID. 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

enum  Mode { Mode::all = 0, Mode::indet = 1, Mode::muon = 2, Mode::invalid = 3 }
 
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

const AtlasDetectorIDm_idHelper {nullptr}
 Helper to detect type of sub-detector from PRD->identify(). More...
 
ToolHandle< IRIO_OnTrackCreatorm_pixClusCor
 Detector-specific helper tool, performing the actual calibration corrections for every InDet::PixelCluster. More...
 
ToolHandle< IRIO_OnTrackCreatorm_sctClusCor
 Detector-specific helper tool, performing the actual calibration corrections for every InDet::SCT_Cluster. More...
 
ToolHandle< IRIO_OnTrackCreatorm_trt_Cor
 Detector-specific helper tool, performing the actual calibration corrections for every InDet::TRT::DriftCircle. More...
 
ToolHandle< IRIO_OnTrackCreatorm_muonDriftCircleCor
 Detector-specific helper tool, performing the actual calibration corrections for every Muon::MdtPrepData. More...
 
ToolHandle< IRIO_OnTrackCreatorm_muonClusterCor
 Detector-specific helper tool, performing the actual calibration corrections for the remaining muon detector technologies: RPC, TGC, CSC, MM, sTGC. More...
 
Gaudi::Property< std::string > m_mode {this, "Mode" ,"all" }
 flag: can be 'all', 'indet' or 'muon' More...
 
bool m_doPixel {true}
 Load Pixel IRIO_OnTrackCreator. More...
 
bool m_doSCT {true}
 Load SCT IRIO_OnTrackCreator. More...
 
bool m_doTRT {true}
 Load TRT IRIO_OnTrackCreator. More...
 
Mode m_enumMode = Mode::all
 
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

general tool to converts clusters or driftcircles (Trk::PrepRawData) to fully calibrated hits (Trk::RIO_OnTrack) further use in track fits.

This implementation is the technology-independent master tool which identifies the detector where the hit comes from (e.g. PixelCluster) and calls the appropriate tool to create e.g. PixelClusterOnTrack. The use of detector-specific tools is configured via job options.

Both this tool and the detector-specific tools need a track hypothesis to make the conversion from Trk::PrepRawData to Trk:: RIO_OnTrack. This needs to be provided by the local pattern recognition or the track fitting tool.

Author
Wolfgang Liebig http://consult.cern.ch/xwho/people/54608

Definition at line 53 of file RIO_OnTrackCreator.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ Mode

enum Trk::RIO_OnTrackCreator::Mode
strongprivate
Enumerator
all 
indet 
muon 
invalid 

Definition at line 112 of file RIO_OnTrackCreator.h.

112  {
113  all = 0,
114  indet = 1,
115  muon = 2,
116  invalid = 3
117  };

Constructor & Destructor Documentation

◆ RIO_OnTrackCreator()

Trk::RIO_OnTrackCreator::RIO_OnTrackCreator ( const std::string &  t,
const std::string &  n,
const IInterface *  p 
)

standard AlgTool constructor

il costruttore

Definition at line 26 of file RIO_OnTrackCreator.cxx.

29  : AthAlgTool(t,n,p){}

◆ ~RIO_OnTrackCreator()

Trk::RIO_OnTrackCreator::~RIO_OnTrackCreator ( )
virtualdefault

virtual destructor

Member Function Documentation

◆ correct()

Trk::RIO_OnTrack * Trk::RIO_OnTrackCreator::correct ( const PrepRawData rio,
const TrackParameters trk,
const EventContext &  ctx 
) const
overridevirtual

the master method for going from RIO to ROT.

Implements Trk::IRIO_OnTrackCreator.

Definition at line 97 of file RIO_OnTrackCreator.cxx.

100 {
101 
102  Identifier id;
103  id = rio.identify();
104 
105  // --- print RIO
106  ATH_MSG_VERBOSE ("RIO ID prints as "<<m_idHelper->print_to_string(id));
107  ATH_MSG_VERBOSE ("RIO.locP = ("<<rio.localPosition().x()<<","<<rio.localPosition().y()<<")");
108 
109  if (m_doPixel && m_idHelper->is_pixel(id)) {
110  if (m_enumMode == Mode::muon) {
112  "No tool to correct the current Pixel hit! return nullptr");
113  return nullptr;
114  }
115  return m_pixClusCor->correct(rio, trk, ctx);
116  }
117 
118  if (m_doSCT && m_idHelper->is_sct(id)) {
119  if (m_enumMode == Mode::muon) {
121  "No tool to correct the current SCT hit! - Giving back nullptr.");
122  return nullptr;
123  }
124  return m_sctClusCor->correct(rio, trk, ctx);
125  }
126 
127  if (m_doTRT && m_idHelper->is_trt(id)) {
128  if (m_enumMode == Mode::muon) {
130  "No tool to correct a TRT DriftCircle! - Giving back nullptr.");
131  return nullptr;
132  }
133  return m_trt_Cor->correct(rio, trk, ctx);
134  }
135 
136  if (m_idHelper->is_mdt(id)) {
137  if (m_enumMode == Mode::indet) {
139  "No tool to correct a MDT DriftCircle! - Giving back nullptr.");
140  return nullptr;
141  }
142  return m_muonDriftCircleCor->correct(rio, trk, ctx);
143  }
144 
145  if ((m_idHelper->is_csc(id)) || (m_idHelper->is_rpc(id)) ||
146  (m_idHelper->is_tgc(id)) || (m_idHelper->is_mm(id)) ||
147  (m_idHelper->is_stgc(id))) {
148  if (m_enumMode == Mode::indet) {
149  ATH_MSG_WARNING("No tool to correct a CSC/RPC/TGC/MM/sTGC hit! - Giving back nullptr.");
150  return nullptr;
151  }
152  return m_muonClusterCor->correct(rio, trk, ctx);
153  }
154 
155  ATH_MSG_WARNING("idHelper could not identify sub-detector for: "
157  << ". Return nil RIO_OnTrack");
158  return nullptr;
159 }

◆ 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

◆ initialize()

StatusCode Trk::RIO_OnTrackCreator::initialize ( )
overridevirtual

get specific ROT tools and the AtlasIdHelper

Definition at line 35 of file RIO_OnTrackCreator.cxx.

36 {
37  if (AlgTool::initialize().isFailure()) return StatusCode::FAILURE;
38 
39  if (m_mode == "all") {
41  } else if (m_mode == "indet") {
43  } else if (m_mode == "muon") {
45  } else {
47  }
48 
49  if (m_enumMode == Mode::invalid) {
50  ATH_MSG_FATAL("Mode is set to unknown value " << m_mode);
51  return StatusCode::FAILURE;
52  }
53 
54  ATH_MSG_INFO("Mode is set to :" <<m_mode);
55 
56  // Get the correction tool to create Pixel/SCT/TRT RIO_onTrack
58  if (!m_pixClusCor.empty()) {
59  ATH_CHECK(m_pixClusCor.retrieve());
60  } else {
61  m_doPixel = false;
62  }
63 
64  if (!m_sctClusCor.empty()) {
65  ATH_CHECK(m_sctClusCor.retrieve());
66  } else {
67  m_doSCT = false;
68  }
69 
70  if (!m_trt_Cor.empty()) {
71  ATH_CHECK(m_trt_Cor.retrieve());
72  } else {
73  m_doTRT = false;
74  }
75  } else {
76  m_trt_Cor.disable();
77  m_pixClusCor.disable();
78  m_sctClusCor.disable();
79  }
80 
82  ATH_CHECK(m_muonDriftCircleCor.retrieve());
83  ATH_CHECK(m_muonClusterCor.retrieve());
84  } else {
85  m_muonClusterCor.disable();
86  m_muonDriftCircleCor.disable();
87  }
88 
89  // Set up ATLAS ID helper to be able to identify the RIO's det-subsystem.
90  ATH_CHECK(detStore()->retrieve(m_idHelper, "AtlasID"));
91 
92  return StatusCode::SUCCESS;
93 }

◆ inputHandles()

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

Return this algorithm's input handles.

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

◆ interfaceID()

static const InterfaceID& Trk::IRIO_OnTrackCreator::interfaceID ( )
inlinestaticinherited

The AlgTool InterfaceID.

Definition at line 42 of file IRIO_OnTrackCreator.h.

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

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

◆ msgLvl()

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

Definition at line 30 of file AthCommonMsg.h.

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

◆ outputHandles()

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

Return this algorithm's output handles.

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

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

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

bool Trk::RIO_OnTrackCreator::m_doPixel {true}
private

Load Pixel IRIO_OnTrackCreator.

Definition at line 108 of file RIO_OnTrackCreator.h.

◆ m_doSCT

bool Trk::RIO_OnTrackCreator::m_doSCT {true}
private

Load SCT IRIO_OnTrackCreator.

Definition at line 109 of file RIO_OnTrackCreator.h.

◆ m_doTRT

bool Trk::RIO_OnTrackCreator::m_doTRT {true}
private

Load TRT IRIO_OnTrackCreator.

Definition at line 110 of file RIO_OnTrackCreator.h.

◆ m_enumMode

Mode Trk::RIO_OnTrackCreator::m_enumMode = Mode::all
private

Definition at line 118 of file RIO_OnTrackCreator.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 AtlasDetectorID* Trk::RIO_OnTrackCreator::m_idHelper {nullptr}
private

Helper to detect type of sub-detector from PRD->identify().

Definition at line 80 of file RIO_OnTrackCreator.h.

◆ m_mode

Gaudi::Property<std::string> Trk::RIO_OnTrackCreator::m_mode {this, "Mode" ,"all" }
private

flag: can be 'all', 'indet' or 'muon'

Definition at line 107 of file RIO_OnTrackCreator.h.

◆ m_muonClusterCor

ToolHandle<IRIO_OnTrackCreator> Trk::RIO_OnTrackCreator::m_muonClusterCor
private
Initial value:
{
this, "ToolMuonCluster",
"Muon::MuonClusterOnTrackCreator/MuonClusterOnTrackTool"}

Detector-specific helper tool, performing the actual calibration corrections for the remaining muon detector technologies: RPC, TGC, CSC, MM, sTGC.

Definition at line 103 of file RIO_OnTrackCreator.h.

◆ m_muonDriftCircleCor

ToolHandle<IRIO_OnTrackCreator> Trk::RIO_OnTrackCreator::m_muonDriftCircleCor
private
Initial value:
{
this, "ToolMuonDriftCircle",
"Muon::MdtDriftCircleOnTrackCreator/MdtDriftCircleOnTrackTool"}

Detector-specific helper tool, performing the actual calibration corrections for every Muon::MdtPrepData.

Definition at line 97 of file RIO_OnTrackCreator.h.

◆ m_pixClusCor

ToolHandle<IRIO_OnTrackCreator> Trk::RIO_OnTrackCreator::m_pixClusCor
private
Initial value:
{
this, "ToolPixelCluster",
"InDet::PixelClusterOnTrackTool/PixelClusterOnTrackTool"}

Detector-specific helper tool, performing the actual calibration corrections for every InDet::PixelCluster.

Definition at line 82 of file RIO_OnTrackCreator.h.

◆ m_sctClusCor

ToolHandle<IRIO_OnTrackCreator> Trk::RIO_OnTrackCreator::m_sctClusCor
private
Initial value:
{
this, "ToolSCT_Cluster",
"InDet::SCT_ClusterOnTrackTool/SCT_ClusterOnTrackTool"}

Detector-specific helper tool, performing the actual calibration corrections for every InDet::SCT_Cluster.

Definition at line 87 of file RIO_OnTrackCreator.h.

◆ m_trt_Cor

ToolHandle<IRIO_OnTrackCreator> Trk::RIO_OnTrackCreator::m_trt_Cor
private
Initial value:
{
this, "ToolTRT_DriftCircle",
"InDet::TRT_DriftCircleOnTrackTool/TRT_DriftCircleOnTrackTool"}

Detector-specific helper tool, performing the actual calibration corrections for every InDet::TRT::DriftCircle.

Definition at line 92 of file RIO_OnTrackCreator.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
AtlasDetectorID::is_pixel
bool is_pixel(Identifier id) const
Definition: AtlasDetectorID.h:760
xAOD::muon
@ muon
Definition: TrackingPrimitives.h:195
AtlasDetectorID::is_rpc
bool is_rpc(Identifier id) const
Definition: AtlasDetectorID.h:875
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
Trk::RIO_OnTrackCreator::Mode::muon
@ muon
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
AtlasDetectorID::is_sct
bool is_sct(Identifier id) const
Definition: AtlasDetectorID.h:770
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
Trk::RIO_OnTrackCreator::m_doPixel
bool m_doPixel
Load Pixel IRIO_OnTrackCreator.
Definition: RIO_OnTrackCreator.h:108
Trk::RIO_OnTrackCreator::m_doTRT
bool m_doTRT
Load TRT IRIO_OnTrackCreator.
Definition: RIO_OnTrackCreator.h:110
initialize
void initialize()
Definition: run_EoverP.cxx:894
AtlasDetectorID::is_mm
bool is_mm(Identifier id) const
Definition: AtlasDetectorID.h:913
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::RIO_OnTrackCreator::Mode::invalid
@ invalid
Trk::RIO_OnTrackCreator::m_muonDriftCircleCor
ToolHandle< IRIO_OnTrackCreator > m_muonDriftCircleCor
Detector-specific helper tool, performing the actual calibration corrections for every Muon::MdtPrepD...
Definition: RIO_OnTrackCreator.h:97
AtlasDetectorID::is_trt
bool is_trt(Identifier id) const
Definition: AtlasDetectorID.h:782
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
Trk::RIO_OnTrackCreator::m_sctClusCor
ToolHandle< IRIO_OnTrackCreator > m_sctClusCor
Detector-specific helper tool, performing the actual calibration corrections for every InDet::SCT_Clu...
Definition: RIO_OnTrackCreator.h:87
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
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
Trk::RIO_OnTrackCreator::m_doSCT
bool m_doSCT
Load SCT IRIO_OnTrackCreator.
Definition: RIO_OnTrackCreator.h:109
AtlasDetectorID::is_tgc
bool is_tgc(Identifier id) const
Definition: AtlasDetectorID.h:902
beamspotman.n
n
Definition: beamspotman.py:731
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
Trk::RIO_OnTrackCreator::m_muonClusterCor
ToolHandle< IRIO_OnTrackCreator > m_muonClusterCor
Detector-specific helper tool, performing the actual calibration corrections for the remaining muon d...
Definition: RIO_OnTrackCreator.h:103
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:
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
AtlasDetectorID::print_to_string
std::string print_to_string(Identifier id, const IdContext *context=0) const
or provide the printout in string form
Definition: AtlasDetectorID.cxx:655
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Trk::RIO_OnTrackCreator::m_pixClusCor
ToolHandle< IRIO_OnTrackCreator > m_pixClusCor
Detector-specific helper tool, performing the actual calibration corrections for every InDet::PixelCl...
Definition: RIO_OnTrackCreator.h:82
Trk::RIO_OnTrackCreator::m_trt_Cor
ToolHandle< IRIO_OnTrackCreator > m_trt_Cor
Detector-specific helper tool, performing the actual calibration corrections for every InDet::TRT::Dr...
Definition: RIO_OnTrackCreator.h:92
Cut::all
@ all
Definition: SUSYToolsAlg.cxx:67
Trk::RIO_OnTrackCreator::m_mode
Gaudi::Property< std::string > m_mode
flag: can be 'all', 'indet' or 'muon'
Definition: RIO_OnTrackCreator.h:107
a
TList * a
Definition: liststreamerinfos.cxx:10
h
Trk::RIO_OnTrackCreator::Mode::all
@ all
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
AtlasDetectorID::is_stgc
bool is_stgc(Identifier id) const
Definition: AtlasDetectorID.h:924
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
Trk::RIO_OnTrackCreator::m_idHelper
const AtlasDetectorID * m_idHelper
Helper to detect type of sub-detector from PRD->identify().
Definition: RIO_OnTrackCreator.h:80
Trk::RIO_OnTrackCreator::m_enumMode
Mode m_enumMode
Definition: RIO_OnTrackCreator.h:118
Trk::RIO_OnTrackCreator::Mode::indet
@ indet
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
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