ATLAS Offline Software
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
InDet::InDetEventCnvTool Class Reference

Helper tool uses to convert InDet objects in generic tracking custom convertor TrkEventAthenaPool. More...

#include <InDetEventCnvTool.h>

Inheritance diagram for InDet::InDetEventCnvTool:
Collaboration diagram for InDet::InDetEventCnvTool:

Public Types

enum  InDetConcreteType { SCT, Pixel, TRT, Unknown }
 

Public Member Functions

 InDetEventCnvTool (const std::string &, const std::string &, const IInterface *)
 
virtual ~InDetEventCnvTool ()=default
 
virtual StatusCode initialize () override
 
virtual void checkRoT (const Trk::RIO_OnTrack &rioOnTrack) const override
 
virtual std::pair< const Trk::TrkDetElementBase *, const Trk::PrepRawData * > getLinks (Trk::RIO_OnTrack &rioOnTrack) const override
 use the passed identifier to recreate the detector element and PRD links on the passed RIO_OnTrack More...
 
virtual void prepareRIO_OnTrack (Trk::RIO_OnTrack *rot) const override
 
virtual void prepareRIO_OnTrackLink (const Trk::RIO_OnTrack *rot, ELKey_t &key, ELIndex_t &index) const override
 Similar, but just return the EL components rather then changing ROT. More...
 
virtual void recreateRIO_OnTrack (Trk::RIO_OnTrack *RoT) const override
 
virtual const Trk::TrkDetElementBasegetDetectorElement (const Identifier &id, const IdentifierHash &idHash) const override
 Return the detectorElement associated with this Identifier. More...
 
virtual const Trk::TrkDetElementBasegetDetectorElement (const Identifier &id) const override
 Return the detectorElement associated with this Identifier. More...
 

Private Member Functions

virtual const Trk::PrepRawDatapixelClusterLink (const Identifier &id, const IdentifierHash &idHash) const
 use the passed identifier to recreate the pixel cluster link on the passed RIO_OnTrack More...
 
virtual const Trk::PrepRawDatasctClusterLink (const Identifier &id, const IdentifierHash &idHash) const
 use the passed identifier to recreate the SCT cluster link on the passed RIO_OnTrack More...
 
virtual const Trk::PrepRawDatatrtDriftCircleLink (const Identifier &id, const IdentifierHash &idHash) const
 use the passed identifier to recreate the TRT Drift circle link on the passed RIO_OnTrack More...
 
const InDetDD::SiDetectorElementgetPixelDetectorElement (const IdentifierHash &waferHash) const
 use the passed IdentifierHash to get SiDetectorElement for Pixel More...
 
const InDetDD::SiDetectorElementgetSCTDetectorElement (const IdentifierHash &waferHash) const
 use the passed IdentifierHash to get SiDetectorElement for SCT More...
 
const InDetDD::TRT_BaseElementgetTRTDetectorElement (const IdentifierHash &HashId) const
 use the passed IdentifierHash to get TRTDetectorElement for TRT More...
 

Private Attributes

bool m_setPrepRawDataLink
 if true, attempt to recreate link to PRD More...
 
const AtlasDetectorIDm_IDHelper
 
const PixelIDm_pixelHelper
 
const SCT_IDm_SCTHelper
 
const TRT_IDm_TRTHelper
 
const IdDictManagerm_idDictMgr
 
SG::ReadHandleKey< PixelClusterContainerm_pixClusContName {this, "PixelClusterContainer", "PixelClusters", "Pixel Cluster container name"}
 location of container of pixel clusters More...
 
SG::ReadHandleKey< SCT_ClusterContainerm_sctClusContName {this, "SCT_ClusterContainer", "SCT_Clusters", "SCT Cluster container name"}
 location of container of sct clusters More...
 
SG::ReadHandleKey< TRT_DriftCircleContainerm_trtDriftCircleContName {this, "TRT_DriftCircleContainer", "TRT_DriftCircleContainer", "TRT DriftCircle Container"}
 location of container of TRT drift circles More...
 
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollectionm_pixelDetEleCollKey {this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"}
 
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollectionm_SCTDetEleCollKey {this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"}
 
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainerm_trtDetEleContKey {this, "TRTDetEleContKey", "TRT_DetElementContainer", "Key of TRT_DetElementContainer for TRT"}
 

Detailed Description

Helper tool uses to convert InDet objects in generic tracking custom convertor TrkEventAthenaPool.

See "mainpage" for discussion of jobOpts.

Definition at line 40 of file InDetEventCnvTool.h.

Member Enumeration Documentation

◆ InDetConcreteType

Enumerator
SCT 
Pixel 
TRT 
Unknown 

Definition at line 44 of file InDetEventCnvTool.h.

44 { SCT, Pixel, TRT, Unknown };

Constructor & Destructor Documentation

◆ InDetEventCnvTool()

InDet::InDetEventCnvTool::InDetEventCnvTool ( const std::string &  t,
const std::string &  n,
const IInterface *  p 
)

Definition at line 31 of file InDetEventCnvTool.cxx.

34  :
35  base_class(t,n,p),
36  m_setPrepRawDataLink(false),
37  m_IDHelper(nullptr),
38  m_pixelHelper(nullptr),
39  m_SCTHelper(nullptr),
40  m_TRTHelper(nullptr),
41  m_idDictMgr(nullptr)
42 {
43  declareProperty("RecreatePRDLinks", m_setPrepRawDataLink);
44 
45 }

◆ ~InDetEventCnvTool()

virtual InDet::InDetEventCnvTool::~InDetEventCnvTool ( )
virtualdefault

Member Function Documentation

◆ checkRoT()

void InDet::InDetEventCnvTool::checkRoT ( const Trk::RIO_OnTrack rioOnTrack) const
overridevirtual

Definition at line 81 of file InDetEventCnvTool.cxx.

81  {
83  if (nullptr!=dynamic_cast<const SCT_ClusterOnTrack*>(&rioOnTrack) ) type = SCT;
84  if (nullptr!=dynamic_cast<const PixelClusterOnTrack*>(&rioOnTrack) ) type = Pixel;
85  if (nullptr!=dynamic_cast<const TRT_DriftCircleOnTrack*>(&rioOnTrack) ) type = TRT;
86  if (type==Unknown) {
87  ATH_MSG_ERROR("Type does not match known concrete type of InDet! Dumping RoT:"<<rioOnTrack);
88  } else {
89  ATH_MSG_VERBOSE("Type = "<<type);
90  }
91 
92  return;
93 }

◆ getDetectorElement() [1/2]

const Trk::TrkDetElementBase * InDet::InDetEventCnvTool::getDetectorElement ( const Identifier id) const
overridevirtual

Return the detectorElement associated with this Identifier.

Definition at line 206 of file InDetEventCnvTool.cxx.

206  {
207 
208  const Trk::TrkDetElementBase* detEl=nullptr;
209 
210  if (m_IDHelper->is_pixel(id) ) {
211 
212  ATH_MSG_DEBUG("Set Pixel detector element.");
213  // use IdentifierHash for speed
214  const IdentifierHash wafer_hash = m_pixelHelper->wafer_hash(id);
215  detEl = getPixelDetectorElement( wafer_hash ) ;
216  } else if (m_IDHelper->is_sct(id)) {
217 
218  ATH_MSG_DEBUG("Set SCT detector element" );
219  const Identifier wafer_id = m_SCTHelper->wafer_id(id);
220  const IdentifierHash wafer_hash = m_SCTHelper->wafer_hash(wafer_id);
221  detEl = getSCTDetectorElement( wafer_hash ) ;
222  } else if (m_IDHelper->is_trt(id)) {
223  ATH_MSG_DEBUG("Set TRT detector element");
224  // use IdentifierHash for speed
225  const Identifier strawLayerId = m_TRTHelper->layer_id(id);
226  const IdentifierHash hashId = m_TRTHelper->straw_layer_hash(strawLayerId);
227  detEl = getTRTDetectorElement( hashId ) ;
228  } else {
229  ATH_MSG_WARNING("Unknown type of ID detector from identifier :"<< id<<", in string form:"
230  << m_IDHelper->show_to_string(id) );
231  }
232  return detEl;
233 }

◆ getDetectorElement() [2/2]

const Trk::TrkDetElementBase * InDet::InDetEventCnvTool::getDetectorElement ( const Identifier id,
const IdentifierHash idHash 
) const
overridevirtual

Return the detectorElement associated with this Identifier.

Definition at line 177 of file InDetEventCnvTool.cxx.

177  {
178 
179  const Trk::TrkDetElementBase* detEl=nullptr;
180 
181  if (m_IDHelper->is_pixel(id)) {
182 
183  ATH_MSG_DEBUG("Set Pixel detector element.");
184  // use IdentifierHash for speed
185  detEl = getPixelDetectorElement( idHash ) ;
186  } else if (m_IDHelper->is_sct(id)) {
187 
188  ATH_MSG_DEBUG("Set SCT detector element" );
189  // use IdentifierHash for speed
190  detEl = getSCTDetectorElement( idHash ) ;
191  } else if (m_IDHelper->is_trt(id)) {
192 
193  ATH_MSG_DEBUG("Set TRT detector element" );
194  // use IdentifierHash for speed
195  detEl = getTRTDetectorElement( idHash ) ;
196  } else {
197  ATH_MSG_WARNING("Unknown type of ID detector from identifier :"
198  << id<<", in string form:"
199  << m_IDHelper->show_to_string(id)
200  );
201  }
202  return detEl;
203 }

◆ getLinks()

std::pair< const Trk::TrkDetElementBase *, const Trk::PrepRawData * > InDet::InDetEventCnvTool::getLinks ( Trk::RIO_OnTrack rioOnTrack) const
overridevirtual

use the passed identifier to recreate the detector element and PRD links on the passed RIO_OnTrack

Parameters
[in]rioOnTrackThe RIO_OnTrack we're interested in
Returns
std::pair of the pointers to the two corresponding objects

Definition at line 96 of file InDetEventCnvTool.cxx.

97 {
98  using namespace Trk;
99  const TrkDetElementBase* detEl = nullptr;
100  const PrepRawData* prd = nullptr;
101  const Identifier& id = rioOnTrack.identify();
102 
103  if (m_IDHelper->is_pixel(id) ) {
104  ATH_MSG_DEBUG ("Set Pixel detector element.");
105  // use IdentifierHash for speed
106  detEl = getPixelDetectorElement( rioOnTrack.idDE() ) ;
107  if (m_setPrepRawDataLink) prd = pixelClusterLink( id, rioOnTrack.idDE() );
108  } else if (m_IDHelper->is_sct(id)) {
109  ATH_MSG_DEBUG("Set SCT detector element" );
110  // use IdentifierHash for speed
111  detEl = getSCTDetectorElement( rioOnTrack.idDE() ) ;
112  if (m_setPrepRawDataLink) prd = sctClusterLink( id, rioOnTrack.idDE() );
113  } else if (m_IDHelper->is_trt(id)) {
114  ATH_MSG_DEBUG("Set TRT detector element" );
115  // use IdentifierHash for speed
116  detEl = getTRTDetectorElement( rioOnTrack.idDE() ) ;
117  if (m_setPrepRawDataLink) prd = trtDriftCircleLink( id, rioOnTrack.idDE() );
118  } else {
119  ATH_MSG_WARNING("Unknown type of ID detector from identifier :"
120  << id<<", in string form:"
121  << m_IDHelper->show_to_string(id)
122  );
123  }
124  return std::pair<const Trk::TrkDetElementBase*, const Trk::PrepRawData*>(detEl,prd);
125 }

◆ getPixelDetectorElement()

const InDetDD::SiDetectorElement * InDet::InDetEventCnvTool::getPixelDetectorElement ( const IdentifierHash waferHash) const
private

use the passed IdentifierHash to get SiDetectorElement for Pixel

Definition at line 322 of file InDetEventCnvTool.cxx.

322  {
324  if (not pixelDetEle.isValid()) return nullptr;
325  return pixelDetEle->getDetectorElement(waferHash);
326 }

◆ getSCTDetectorElement()

const InDetDD::SiDetectorElement * InDet::InDetEventCnvTool::getSCTDetectorElement ( const IdentifierHash waferHash) const
private

use the passed IdentifierHash to get SiDetectorElement for SCT

Definition at line 328 of file InDetEventCnvTool.cxx.

328  {
330  if (not sctDetEle.isValid()) return nullptr;
331  return sctDetEle->getDetectorElement(waferHash);
332 }

◆ getTRTDetectorElement()

const InDetDD::TRT_BaseElement * InDet::InDetEventCnvTool::getTRTDetectorElement ( const IdentifierHash HashId) const
private

use the passed IdentifierHash to get TRTDetectorElement for TRT

Definition at line 334 of file InDetEventCnvTool.cxx.

334  {
336  const InDetDD::TRT_DetElementCollection* elements(trtDetEleHandle->getElements());
337  if (not trtDetEleHandle.isValid() or elements==nullptr) {
338  ATH_MSG_FATAL(m_trtDetEleContKey.fullKey() << " is not available.");
339  return nullptr;
340  }
341  return elements->getDetectorElement(HashId);
342 }

◆ initialize()

StatusCode InDet::InDetEventCnvTool::initialize ( )
overridevirtual

Definition at line 47 of file InDetEventCnvTool.cxx.

47  {
48 
50  if (sc.isFailure()) return sc;
51 
52  ATH_CHECK(detStore()->retrieve(m_idDictMgr, "IdDict")) ;
53 
54  const IdDictDictionary* dict = m_idDictMgr->manager()->find_dictionary("InnerDetector");
55  if (!dict) {
56  ATH_MSG_ERROR( " Cannot access InnerDetector dictionary ");
57  return StatusCode::FAILURE;
58  }
59 
60  //retrieving the various ID helpers
61  ATH_CHECK (detStore()->retrieve(m_IDHelper, "AtlasID"));
62 
63  ATH_CHECK( detStore()->retrieve(m_pixelHelper, "PixelID") );
64  ATH_CHECK( detStore()->retrieve(m_SCTHelper, "SCT_ID") );
66  ATH_CHECK( detStore()->retrieve(m_TRTHelper, "TRT_ID") );
67 
71 
75 
76  return sc;
77 
78 }

◆ pixelClusterLink()

const Trk::PrepRawData * InDet::InDetEventCnvTool::pixelClusterLink ( const Identifier id,
const IdentifierHash idHash 
) const
privatevirtual

use the passed identifier to recreate the pixel cluster link on the passed RIO_OnTrack

Definition at line 236 of file InDetEventCnvTool.cxx.

236  {
237  using namespace Trk;
238  // need to retrieve pointers to collections
239  // retrieve Pixel cluster container
240 
241  // obviously this can be optimised! EJWM
243  if (!h_pixClusCont.isValid()) {
244  ATH_MSG_ERROR("Pixel Cluster container not found at "<<m_pixClusContName);
245  return nullptr;
246  } else {
247  ATH_MSG_DEBUG("Pixel Cluster Container found" );
248  }
249  const PixelClusterCollection *ptr = h_pixClusCont->indexFindPtr(idHash);
250  // if we find PRD, then recreate link
251  if (ptr!=nullptr) {
252  //loop though collection to find matching PRD.
253  PixelClusterCollection::const_iterator collIt = ptr->begin();
254  PixelClusterCollection::const_iterator collItEnd = ptr->end();
255  // there MUST be a faster way to do this!!
256  for ( ; collIt!=collItEnd; ++collIt){
257  if ( (*collIt)->identify()==id ) return *collIt;
258  }
259  }
260  ATH_MSG_DEBUG("No matching PRD found" );
261  return nullptr;
262 }

◆ prepareRIO_OnTrack()

void InDet::InDetEventCnvTool::prepareRIO_OnTrack ( Trk::RIO_OnTrack rot) const
overridevirtual

Definition at line 127 of file InDetEventCnvTool.cxx.

127  {
128 
130  if (pixel!=nullptr) {
131  prepareRIO_OnTrackElementLink<const InDet::PixelClusterContainer, InDet::PixelClusterOnTrack>(pixel);
132  return;
133  }
134  InDet::SCT_ClusterOnTrack* sct = dynamic_cast<InDet::SCT_ClusterOnTrack*>(RoT);
135  if (sct!=nullptr) {
136  prepareRIO_OnTrackElementLink<const InDet::SCT_ClusterContainer, InDet::SCT_ClusterOnTrack>(sct);
137  return;
138  }
140  if (trt!=nullptr) {
141  prepareRIO_OnTrackElementLink<const InDet::TRT_DriftCircleContainer, InDet::TRT_DriftCircleOnTrack>(trt);
142  return;
143  }
144  return;
145 }

◆ prepareRIO_OnTrackLink()

void InDet::InDetEventCnvTool::prepareRIO_OnTrackLink ( const Trk::RIO_OnTrack rot,
ELKey_t &  key,
ELIndex_t &  index 
) const
overridevirtual

Similar, but just return the EL components rather then changing ROT.

Definition at line 148 of file InDetEventCnvTool.cxx.

151 {
152  const InDet::PixelClusterOnTrack* pixel = dynamic_cast<const InDet::PixelClusterOnTrack*>(RoT);
153  if (pixel!=nullptr) {
154  prepareRIO_OnTrackElementLink<const InDet::PixelClusterContainer, InDet::PixelClusterOnTrack>(pixel, key, index);
155  return;
156  }
157  const InDet::SCT_ClusterOnTrack* sct = dynamic_cast<const InDet::SCT_ClusterOnTrack*>(RoT);
158  if (sct!=nullptr) {
159  prepareRIO_OnTrackElementLink<const InDet::SCT_ClusterContainer, InDet::SCT_ClusterOnTrack>(sct, key, index);
160  return;
161  }
162  const InDet::TRT_DriftCircleOnTrack* trt = dynamic_cast<const InDet::TRT_DriftCircleOnTrack*>(RoT);
163  if (trt!=nullptr) {
164  prepareRIO_OnTrackElementLink<const InDet::TRT_DriftCircleContainer, InDet::TRT_DriftCircleOnTrack>(trt, key, index);
165  return;
166  }
167  return;
168 }

◆ recreateRIO_OnTrack()

void InDet::InDetEventCnvTool::recreateRIO_OnTrack ( Trk::RIO_OnTrack RoT) const
overridevirtual

Definition at line 170 of file InDetEventCnvTool.cxx.

170  {
171  std::pair<const Trk::TrkDetElementBase *, const Trk::PrepRawData *> pair = getLinks( *RoT );
173  return;
174 }

◆ sctClusterLink()

const Trk::PrepRawData * InDet::InDetEventCnvTool::sctClusterLink ( const Identifier id,
const IdentifierHash idHash 
) const
privatevirtual

use the passed identifier to recreate the SCT cluster link on the passed RIO_OnTrack

Definition at line 265 of file InDetEventCnvTool.cxx.

265  {
266  using namespace Trk;
267  // need to retrieve pointers to collections
268  // retrieve Pixel cluster container
269 
270  // obviously this can be optimised! EJWM
272  if (!h_sctClusCont.isValid()) {
273  ATH_MSG_ERROR("SCT Cluster container not found at "<<m_sctClusContName);
274  return nullptr;
275  } else {
276  ATH_MSG_DEBUG("SCT Cluster Container found" );
277  }
278  const SCT_ClusterCollection *ptr = h_sctClusCont->indexFindPtr(idHash);
279  // if we find PRD, then recreate link
280  if (ptr!=nullptr) {
281  //loop though collection to find matching PRD.
282  SCT_ClusterCollection::const_iterator collIt = ptr->begin();
283  SCT_ClusterCollection::const_iterator collItEnd = ptr->end();
284  // there MUST be a faster way to do this!!
285  for ( ; collIt!=collItEnd; ++collIt) {
286  if ( (*collIt)->identify()==id ) return *collIt;
287  }
288  }
289  ATH_MSG_DEBUG("No matching PRD found" );
290  return nullptr;
291 }

◆ trtDriftCircleLink()

const Trk::PrepRawData * InDet::InDetEventCnvTool::trtDriftCircleLink ( const Identifier id,
const IdentifierHash idHash 
) const
privatevirtual

use the passed identifier to recreate the TRT Drift circle link on the passed RIO_OnTrack

Definition at line 294 of file InDetEventCnvTool.cxx.

294  {
295  using namespace Trk;
296  // need to retrieve pointers to collections
297  // retrieve Pixel cluster container
298 
299  // obviously this can be optimised! EJWM
301  if (!h_trtDriftCircleCont.isValid()) {
302  ATH_MSG_ERROR("TRT Drift Circles container not found at "<<m_trtDriftCircleContName);
303  return nullptr;
304  } else {
305  ATH_MSG_DEBUG("TRT Drift Circles Container found" );
306  }
307  const TRT_DriftCircleCollection *ptr = h_trtDriftCircleCont->indexFindPtr(idHash);
308  // if we find PRD, then recreate link
309  if (ptr!=nullptr) {
310  //loop though collection to find matching PRD.
311  TRT_DriftCircleCollection::const_iterator collIt = ptr->begin();
312  TRT_DriftCircleCollection::const_iterator collItEnd = ptr->end();
313  // there MUST be a faster way to do this!!
314  for ( ; collIt!=collItEnd; ++collIt) {
315  if ( (*collIt)->identify()==id ) return *collIt;
316  }
317  }
318  ATH_MSG_DEBUG("No matching PRD found" );
319  return nullptr;
320 }

Member Data Documentation

◆ m_idDictMgr

const IdDictManager* InDet::InDetEventCnvTool::m_idDictMgr
private

Definition at line 109 of file InDetEventCnvTool.h.

◆ m_IDHelper

const AtlasDetectorID* InDet::InDetEventCnvTool::m_IDHelper
private

Definition at line 103 of file InDetEventCnvTool.h.

◆ m_pixClusContName

SG::ReadHandleKey<PixelClusterContainer> InDet::InDetEventCnvTool::m_pixClusContName {this, "PixelClusterContainer", "PixelClusters", "Pixel Cluster container name"}
private

location of container of pixel clusters

Definition at line 111 of file InDetEventCnvTool.h.

◆ m_pixelDetEleCollKey

SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> InDet::InDetEventCnvTool::m_pixelDetEleCollKey {this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"}
private

Definition at line 115 of file InDetEventCnvTool.h.

◆ m_pixelHelper

const PixelID* InDet::InDetEventCnvTool::m_pixelHelper
private

Definition at line 104 of file InDetEventCnvTool.h.

◆ m_sctClusContName

SG::ReadHandleKey<SCT_ClusterContainer> InDet::InDetEventCnvTool::m_sctClusContName {this, "SCT_ClusterContainer", "SCT_Clusters", "SCT Cluster container name"}
private

location of container of sct clusters

Definition at line 112 of file InDetEventCnvTool.h.

◆ m_SCTDetEleCollKey

SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> InDet::InDetEventCnvTool::m_SCTDetEleCollKey {this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"}
private

Definition at line 116 of file InDetEventCnvTool.h.

◆ m_SCTHelper

const SCT_ID* InDet::InDetEventCnvTool::m_SCTHelper
private

Definition at line 105 of file InDetEventCnvTool.h.

◆ m_setPrepRawDataLink

bool InDet::InDetEventCnvTool::m_setPrepRawDataLink
private

if true, attempt to recreate link to PRD

Definition at line 99 of file InDetEventCnvTool.h.

◆ m_trtDetEleContKey

SG::ReadCondHandleKey<InDetDD::TRT_DetElementContainer> InDet::InDetEventCnvTool::m_trtDetEleContKey {this, "TRTDetEleContKey", "TRT_DetElementContainer", "Key of TRT_DetElementContainer for TRT"}
private

Definition at line 117 of file InDetEventCnvTool.h.

◆ m_trtDriftCircleContName

SG::ReadHandleKey<TRT_DriftCircleContainer> InDet::InDetEventCnvTool::m_trtDriftCircleContName {this, "TRT_DriftCircleContainer", "TRT_DriftCircleContainer", "TRT DriftCircle Container"}
private

location of container of TRT drift circles

Definition at line 113 of file InDetEventCnvTool.h.

◆ m_TRTHelper

const TRT_ID* InDet::InDetEventCnvTool::m_TRTHelper
private

Definition at line 106 of file InDetEventCnvTool.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
TRT_ID::layer_id
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
Definition: TRT_ID.h:500
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
InDet::InDetEventCnvTool::sctClusterLink
virtual const Trk::PrepRawData * sctClusterLink(const Identifier &id, const IdentifierHash &idHash) const
use the passed identifier to recreate the SCT cluster link on the passed RIO_OnTrack
Definition: InDetEventCnvTool.cxx:265
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
InDet::InDetEventCnvTool::m_pixClusContName
SG::ReadHandleKey< PixelClusterContainer > m_pixClusContName
location of container of pixel clusters
Definition: InDetEventCnvTool.h:111
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
AtlasDetectorID::is_sct
bool is_sct(Identifier id) const
Definition: AtlasDetectorID.h:770
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
index
Definition: index.py:1
initialize
void initialize()
Definition: run_EoverP.cxx:894
InDet::InDetEventCnvTool::TRT
@ TRT
Definition: InDetEventCnvTool.h:44
InDet::InDetEventCnvTool::Unknown
@ Unknown
Definition: InDetEventCnvTool.h:44
InDet::InDetEventCnvTool::m_IDHelper
const AtlasDetectorID * m_IDHelper
Definition: InDetEventCnvTool.h:103
Trk::TrkDetElementBase
Definition: TrkDetElementBase.h:52
AtlasDetectorID::is_trt
bool is_trt(Identifier id) const
Definition: AtlasDetectorID.h:782
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
InDet::InDetEventCnvTool::pixelClusterLink
virtual const Trk::PrepRawData * pixelClusterLink(const Identifier &id, const IdentifierHash &idHash) const
use the passed identifier to recreate the pixel cluster link on the passed RIO_OnTrack
Definition: InDetEventCnvTool.cxx:236
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
SG::VarHandleKey::empty
bool empty() const
Test if the key is blank.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:150
InDet::TRT_DriftCircleOnTrack
Definition: TRT_DriftCircleOnTrack.h:53
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
InDet::InDetEventCnvTool::m_idDictMgr
const IdDictManager * m_idDictMgr
Definition: InDetEventCnvTool.h:109
IdDictMgr::find_dictionary
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
Definition: IdDictMgr.cxx:161
InDet::InDetEventCnvTool::m_setPrepRawDataLink
bool m_setPrepRawDataLink
if true, attempt to recreate link to PRD
Definition: InDetEventCnvTool.h:99
PixelID::wafer_hash
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
Definition: PixelID.h:387
InDet::InDetEventCnvTool::trtDriftCircleLink
virtual const Trk::PrepRawData * trtDriftCircleLink(const Identifier &id, const IdentifierHash &idHash) const
use the passed identifier to recreate the TRT Drift circle link on the passed RIO_OnTrack
Definition: InDetEventCnvTool.cxx:294
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
InDet::InDetEventCnvTool::m_SCTHelper
const SCT_ID * m_SCTHelper
Definition: InDetEventCnvTool.h:105
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
InDet::InDetEventCnvTool::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition: InDetEventCnvTool.h:115
InDet::InDetEventCnvTool::getSCTDetectorElement
const InDetDD::SiDetectorElement * getSCTDetectorElement(const IdentifierHash &waferHash) const
use the passed IdentifierHash to get SiDetectorElement for SCT
Definition: InDetEventCnvTool.cxx:328
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
InDet::InDetEventCnvTool::InDetConcreteType
InDetConcreteType
Definition: InDetEventCnvTool.h:44
SCT_ID::wafer_hash
IdentifierHash wafer_hash(const Identifier &wafer_id) const
wafer hash from id - optimized
Definition: SCT_ID.h:492
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
InDet::InDetEventCnvTool::m_trtDriftCircleContName
SG::ReadHandleKey< TRT_DriftCircleContainer > m_trtDriftCircleContName
location of container of TRT drift circles
Definition: InDetEventCnvTool.h:113
Trk::ITrkEventCnvTool::setRoT_Values
virtual void setRoT_Values(std::pair< const Trk::TrkDetElementBase *, const Trk::PrepRawData * > &pair, Trk::RIO_OnTrack *RoT) const
InDet::InDetEventCnvTool::getPixelDetectorElement
const InDetDD::SiDetectorElement * getPixelDetectorElement(const IdentifierHash &waferHash) const
use the passed IdentifierHash to get SiDetectorElement for Pixel
Definition: InDetEventCnvTool.cxx:322
Trk::PrepRawData
Definition: PrepRawData.h:62
InDet::InDetEventCnvTool::m_TRTHelper
const TRT_ID * m_TRTHelper
Definition: InDetEventCnvTool.h:106
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
InDet::InDetEventCnvTool::m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Definition: InDetEventCnvTool.h:116
InDet::TRT_DriftCircleCollection
Trk::PrepRawDataCollection< TRT_DriftCircle > TRT_DriftCircleCollection
Definition: TRT_DriftCircleCollection.h:26
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
Trk::RIO_OnTrack::idDE
virtual IdentifierHash idDE() const =0
returns the DE hashID
IdDictDictionary
Definition: IdDictDefs.h:97
InDet::InDetEventCnvTool::getTRTDetectorElement
const InDetDD::TRT_BaseElement * getTRTDetectorElement(const IdentifierHash &HashId) const
use the passed IdentifierHash to get TRTDetectorElement for TRT
Definition: InDetEventCnvTool.cxx:334
AtlasDetectorID::show_to_string
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
Definition: AtlasDetectorID.cxx:574
InDet::PixelClusterOnTrack
Definition: PixelClusterOnTrack.h:51
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
InDet::InDetEventCnvTool::m_pixelHelper
const PixelID * m_pixelHelper
Definition: InDetEventCnvTool.h:104
IdDictManager::manager
const IdDictMgr * manager(void) const
Definition: IdDictManager.cxx:37
Trk::RIO_OnTrack::identify
virtual Identifier identify() const final
return the identifier -extends MeasurementBase
Definition: RIO_OnTrack.h:155
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
InDet::InDetEventCnvTool::SCT
@ SCT
Definition: InDetEventCnvTool.h:44
InDet::InDetEventCnvTool::getLinks
virtual std::pair< const Trk::TrkDetElementBase *, const Trk::PrepRawData * > getLinks(Trk::RIO_OnTrack &rioOnTrack) const override
use the passed identifier to recreate the detector element and PRD links on the passed RIO_OnTrack
Definition: InDetEventCnvTool.cxx:96
InDetDD::TRT_DetElementCollection
Class to hold collection of TRT detector elements.
Definition: TRT_DetElementCollection.h:28
SCT_ID::wafer_id
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.
Definition: SCT_ID.h:464
InDet::InDetEventCnvTool::m_sctClusContName
SG::ReadHandleKey< SCT_ClusterContainer > m_sctClusContName
location of container of sct clusters
Definition: InDetEventCnvTool.h:112
InDet::InDetEventCnvTool::m_trtDetEleContKey
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleContKey
Definition: InDetEventCnvTool.h:117
InDet::SCT_ClusterCollection
Trk::PrepRawDataCollection< SCT_Cluster > SCT_ClusterCollection
Definition: SCT_ClusterCollection.h:26
InDet::InDetEventCnvTool::Pixel
@ Pixel
Definition: InDetEventCnvTool.h:44
SiliconTech::pixel
@ pixel
InDet::PixelClusterCollection
Trk::PrepRawDataCollection< PixelCluster > PixelClusterCollection
Definition: PixelClusterCollection.h:26
TRT_ID::straw_layer_hash
IdentifierHash straw_layer_hash(Identifier straw_layer_id) const
straw_layer hash from id - optimized
Definition: TRT_ID.h:750
InDet::SCT_ClusterOnTrack
Definition: SCT_ClusterOnTrack.h:44
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37