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 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 52 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 110 of file RIO_OnTrackCreator.h.

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

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
overridevirtual

the master method for going from RIO to ROT.

Implements Trk::IRIO_OnTrackCreator.

Definition at line 97 of file RIO_OnTrackCreator.cxx.

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

◆ 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 41 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 106 of file RIO_OnTrackCreator.h.

◆ m_doSCT

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

Load SCT IRIO_OnTrackCreator.

Definition at line 107 of file RIO_OnTrackCreator.h.

◆ m_doTRT

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

Load TRT IRIO_OnTrackCreator.

Definition at line 108 of file RIO_OnTrackCreator.h.

◆ m_enumMode

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

Definition at line 116 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 78 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 105 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 101 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 95 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 80 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 85 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 90 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
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
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:106
Trk::RIO_OnTrackCreator::m_doTRT
bool m_doTRT
Load TRT IRIO_OnTrackCreator.
Definition: RIO_OnTrackCreator.h:108
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:95
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:85
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
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:107
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
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:101
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:191
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
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:80
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:90
Cut::all
@ all
Definition: SUSYToolsAlg.cxx:64
Trk::RIO_OnTrackCreator::m_mode
Gaudi::Property< std::string > m_mode
flag: can be 'all', 'indet' or 'muon'
Definition: RIO_OnTrackCreator.h:105
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:616
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
AtlasDetectorID::is_stgc
bool is_stgc(Identifier id) const
Definition: AtlasDetectorID.h:924
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
Trk::RIO_OnTrackCreator::m_idHelper
const AtlasDetectorID * m_idHelper
Helper to detect type of sub-detector from PRD->identify().
Definition: RIO_OnTrackCreator.h:78
Trk::RIO_OnTrackCreator::m_enumMode
Mode m_enumMode
Definition: RIO_OnTrackCreator.h:116
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