ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_PrepDataToxAOD Class Reference

#include <SCT_PrepDataToxAOD.h>

Inheritance diagram for SCT_PrepDataToxAOD:

Public Member Functions

 SCT_PrepDataToxAOD (const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) const override
virtual StatusCode finalize () override
virtual bool isClonable () const override
 Make this algorithm clonable.
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
 Get filter decision:
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 Set filter decision:
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
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.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

void addSDOInformation (xAOD::TrackMeasurementValidation *xprd, const InDet::SCT_Cluster *prd, const InDetSimDataCollection *sdoCollection) const
void addSiHitInformation (xAOD::TrackMeasurementValidation *xprd, const InDet::SCT_Cluster *prd, const std::vector< const SiHit * > *siHits) const
void findAllHitsCompatibleWithCluster (const InDet::SCT_Cluster *prd, const std::vector< const SiHit * > *siHits, std::vector< SiHit > &matchingHits) const
void addRDOInformation (xAOD::TrackMeasurementValidation *, const InDet::SCT_Cluster *, const std::map< Identifier, const SCT_RDORawData * > &idToRAWDataMap) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

const SCT_IDm_SCTHelper {nullptr}
SG::ReadHandleKey< InDet::SCT_ClusterContainer > m_clustercontainer {this, "SiClusterContainer", "SCT_Clusters"}
SG::ReadHandleKey< InDetSimDataCollectionm_SDOcontainer {this, "MC_SDOs", "SCT_SDO_Map"}
SG::ReadHandleKey< SiHitCollectionm_sihitContainer {this, "MC_Hits", "SCT_Hits"}
SG::ReadHandleKey< PRD_MultiTruthCollectionm_multiTruth {this, "PRD_MultiTruth", "PRD_MultiTruthSCT"}
SG::ReadHandleKey< xAODTruthParticleLinkVectorm_truthParticleLinks {this,"InputTruthParticleLinks","","The key for the truth particle link collection."}
SG::ReadHandleKey< SCT_RDO_Containerm_rdoContainer {this, "SctRdoContainer", "SCT_RDOs"}
SG::WriteHandleKey< xAOD::TrackMeasurementValidationContainerm_xAodContainer {this, "SctxAodContainer", "SCT_Clusters"}
SG::WriteHandleKey< std::vector< unsigned int > > m_xAodOffset {this, "SctxAodOffset", "SCT_ClustersOffsets"}
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollectionm_SCTDetEleCollKey {this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"}
BooleanProperty m_useTruthInfo {this, "UseTruthInfo", false}
BooleanProperty m_writeRDOinformation {this, "WriteRDOinformation", true}
BooleanProperty m_writeSDOs {this, "WriteSDOs", false}
BooleanProperty m_writeSiHits {this, "WriteSiHits", false}
std::atomic< unsigned int > m_haveTruthLink {}
std::atomic< unsigned int > m_missingTruthParticle {}
std::atomic< unsigned int > m_missingParentParticle {}
std::atomic_bool m_firstEventWarnings {false}
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 44 of file SCT_PrepDataToxAOD.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ SCT_PrepDataToxAOD()

SCT_PrepDataToxAOD::SCT_PrepDataToxAOD ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 34 of file SCT_PrepDataToxAOD.cxx.

34 :
35 AthReentrantAlgorithm(name, pSvcLocator)
36{
37}

Member Function Documentation

◆ addRDOInformation()

void SCT_PrepDataToxAOD::addRDOInformation ( xAOD::TrackMeasurementValidation * xprd,
const InDet::SCT_Cluster * prd,
const std::map< Identifier, const SCT_RDORawData * > & idToRAWDataMap ) const
private

Definition at line 497 of file SCT_PrepDataToxAOD.cxx.

499 {
500 std::vector<int> strip(prd->rdoList().size(), -1);
501 std::vector<int> timebin(prd->rdoList().size(), -1);
502 std::vector<int> groupsize(prd->rdoList().size(), -1);
503
504 unsigned int nRDOs{0};
505 for (const auto& hitIdentifier: prd->rdoList()) {
506 auto result{idToRAWDataMap.find(hitIdentifier)};
507 if (result != idToRAWDataMap.end()) {
508 const SCT_RDORawData* sctRdo{result->second};
509 if (sctRdo){
510 strip[nRDOs] = m_SCTHelper->strip(sctRdo->identify());
511 const SCT3_RawData* rdo3{dynamic_cast<const SCT3_RawData*>(sctRdo)};
512 if (rdo3) {
513 timebin[nRDOs] = rdo3->getTimeBin();
514 groupsize[nRDOs] = rdo3->getGroupSize();
515 }
516 }
517 }
518 nRDOs++;
519 }
520
521 AUXDATA(xprd, std::vector<int>, rdo_strip) = std::move(strip);
522 AUXDATA(xprd, std::vector<int>, rdo_timebin) = std::move(timebin);
523 AUXDATA(xprd, std::vector<int>, rdo_groupsize) = std::move(groupsize);
524}
#define AUXDATA(OBJ, TYP, NAME)
virtual Identifier identify() const override final
int getTimeBin() const
virtual int getGroupSize() const override final
const SCT_ID * m_SCTHelper
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)

◆ addSDOInformation()

void SCT_PrepDataToxAOD::addSDOInformation ( xAOD::TrackMeasurementValidation * xprd,
const InDet::SCT_Cluster * prd,
const InDetSimDataCollection * sdoCollection ) const
private

Definition at line 302 of file SCT_PrepDataToxAOD.cxx.

305{
306 std::vector<int> sdo_word;
307 std::vector<std::vector<int>> sdo_depositsUniqueID;
308 std::vector<std::vector<float>> sdo_depositsEnergy;
309 // find hit
310 for (const auto& hitIdentifier: prd->rdoList()) {
311 auto pos{sdoCollection->find(hitIdentifier)};
312 if (pos == sdoCollection->end()) continue;
313 sdo_word.push_back(pos->second.word());
314 std::vector<int> sdoDepUniqueID(pos->second.getdeposits().size(), HepMC::INVALID_PARTICLE_ID);
315 std::vector<float> sdoDepEnergy(pos->second.getdeposits().size());
316 unsigned int nDepos{0};
317 for (auto& deposit: pos->second.getdeposits()) {
318 if (deposit.first) sdoDepUniqueID[nDepos] = HepMC::uniqueID(deposit.first);
319 ATH_MSG_DEBUG(" SDO Energy Deposit " << deposit.second);
320 sdoDepEnergy[nDepos] = deposit.second;
321 nDepos++;
322 }
323 sdo_depositsUniqueID.push_back(std::move(sdoDepUniqueID));
324 sdo_depositsEnergy.push_back(std::move(sdoDepEnergy));
325 }
326 AUXDATA(xprd, std::vector<int>, sdo_words) = std::move(sdo_word);
327 AUXDATA(xprd, std::vector<std::vector<int>>, sdo_depositsBarcode) = std::move(sdo_depositsUniqueID); // TODO rename variable to be consistent?
328 AUXDATA(xprd, std::vector<std::vector<float>>, sdo_depositsEnergy) = std::move(sdo_depositsEnergy);
329}
#define ATH_MSG_DEBUG(x)
constexpr int INVALID_PARTICLE_ID
int uniqueID(const T &p)

◆ addSiHitInformation()

void SCT_PrepDataToxAOD::addSiHitInformation ( xAOD::TrackMeasurementValidation * xprd,
const InDet::SCT_Cluster * prd,
const std::vector< const SiHit * > * siHits ) const
private

Definition at line 332 of file SCT_PrepDataToxAOD.cxx.

335{
336 std::vector<SiHit> matchingHits;
337 findAllHitsCompatibleWithCluster(prd, siHits, matchingHits);
338
339 long unsigned int numHits{matchingHits.size()};
340
341 std::vector<float> sihit_energyDeposit(numHits, 0.);
342 std::vector<float> sihit_meanTime(numHits, 0.);
343 std::vector<int> sihit_uniqueID(numHits, HepMC::UNDEFINED_ID);
344
345 std::vector<float> sihit_startPosX(numHits, 0.);
346 std::vector<float> sihit_startPosY(numHits, 0.);
347 std::vector<float> sihit_startPosZ(numHits, 0.);
348
349 std::vector<float> sihit_endPosX(numHits, 0);
350 std::vector<float> sihit_endPosY(numHits, 0);
351 std::vector<float> sihit_endPosZ(numHits, 0);
352
353 int hitNumber{0};
354 const InDetDD::SiDetectorElement* de{prd->detectorElement()};
355 if (de) {
356 for (const SiHit& sihit : matchingHits) {
357 sihit_energyDeposit[hitNumber] = sihit.energyLoss();
358 sihit_meanTime[hitNumber] = sihit.meanTime();
359 sihit_uniqueID[hitNumber] = HepMC::uniqueID(sihit.particleLink());
360
361 // Convert Simulation frame into reco frame
362 const HepGeom::Point3D<double>& startPos{sihit.localStartPosition()};
363
364 Amg::Vector2D pos{de->hitLocalToLocal(startPos.z(), startPos.y())};
365 sihit_startPosX[hitNumber] = pos[0];
366 sihit_startPosY[hitNumber] = pos[1];
367 sihit_startPosZ[hitNumber] = startPos.x();
368
369 const HepGeom::Point3D<double>& endPos{sihit.localEndPosition()};
370 pos= de->hitLocalToLocal(endPos.z(), endPos.y());
371 sihit_endPosX[hitNumber] = pos[0];
372 sihit_endPosY[hitNumber] = pos[1];
373 sihit_endPosZ[hitNumber] = endPos.x();
374 ++hitNumber;
375 }
376 }
377
378 AUXDATA(xprd, std::vector<float>, sihit_energyDeposit) = std::move(sihit_energyDeposit);
379 AUXDATA(xprd, std::vector<float>, sihit_meanTime) = std::move(sihit_meanTime);
380 AUXDATA(xprd, std::vector<int>, sihit_barcode) = std::move(sihit_uniqueID); // TODO rename variable to be consistent?
381
382 AUXDATA(xprd, std::vector<float>, sihit_startPosX) = std::move(sihit_startPosX);
383 AUXDATA(xprd, std::vector<float>, sihit_startPosY) = std::move(sihit_startPosY);
384 AUXDATA(xprd, std::vector<float>, sihit_startPosZ) = std::move(sihit_startPosZ);
385
386 AUXDATA(xprd, std::vector<float>, sihit_endPosX) = std::move(sihit_endPosX);
387 AUXDATA(xprd, std::vector<float>, sihit_endPosY) = std::move(sihit_endPosY);
388 AUXDATA(xprd, std::vector<float>, sihit_endPosZ) = std::move(sihit_endPosZ);
389}
Amg::Vector2D hitLocalToLocal(double xEta, double xPhi) const
Simulation/Hit local frame to reconstruction local frame.
virtual const InDetDD::SiDetectorElement * detectorElement() const override final
return the detector element corresponding to this PRD The pointer will be zero if the det el is not d...
void findAllHitsCompatibleWithCluster(const InDet::SCT_Cluster *prd, const std::vector< const SiHit * > *siHits, std::vector< SiHit > &matchingHits) const
Eigen::Matrix< double, 2, 1 > Vector2D
constexpr int UNDEFINED_ID

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode SCT_PrepDataToxAOD::execute ( const EventContext & ctx) const
overridevirtual

Definition at line 73 of file SCT_PrepDataToxAOD.cxx.

74{
75 // the cluster ambiguity map
76 std::map<Identifier, const SCT_RDORawData*> idToRAWDataMap;
78 SG::ReadHandle<SCT_RDO_Container> rdoContainer{m_rdoContainer, ctx};
79 if (rdoContainer.isValid()) {
80 // get all the RIO_Collections in the container
81 for (const auto collection: *rdoContainer) {
82 //get all the RDOs in the collection
83 for (const auto rdo : *collection) {
84 if (rdo==nullptr) {
85 ATH_MSG_WARNING("Null SCT RDO. Skipping it");
86 continue;
87 }
88 Identifier rdoId{rdo->identify()};
89 idToRAWDataMap.insert(std::pair<Identifier, const SCT_RDORawData*>{rdoId, rdo});
90 } // collection
91 } // Have container;
92 } else if (m_firstEventWarnings) {
93 ATH_MSG_WARNING("Failed to retrieve SCT RDO container");
94 }
95 }
96 ATH_MSG_DEBUG("Size of RDO map is " << idToRAWDataMap.size());
97
98 const PRD_MultiTruthCollection* prdmtColl{nullptr};
99 const xAODTruthParticleLinkVector *truth_particle_links{nullptr};
100 if (m_useTruthInfo) {
101 SG::ReadHandle<PRD_MultiTruthCollection> prdmtCollHandle{m_multiTruth, ctx};
102 if (prdmtCollHandle.isValid()) {
103 prdmtColl = &*prdmtCollHandle;
104 }
105 if (!m_truthParticleLinks.empty()) {
106 SG::ReadHandle<xAODTruthParticleLinkVector> truthParticleLinksHandle{m_truthParticleLinks, ctx};
107 if (truthParticleLinksHandle.isValid()) {
108 truth_particle_links = truthParticleLinksHandle.cptr();
109 }
110 }
111 }
112
113 const InDetSimDataCollection* sdoCollection{nullptr};
114 if (m_writeSDOs) {
115 SG::ReadHandle<InDetSimDataCollection> sdoCollectionHandle{m_SDOcontainer, ctx};
116 if (sdoCollectionHandle.isValid()) {
117 sdoCollection = &*sdoCollectionHandle;
118 }
119 }
120
121 std::vector<std::vector<const SiHit*>> siHits(m_SCTHelper->wafer_hash_max());
122 if (m_writeSiHits) {
123 SG::ReadHandle<SiHitCollection> sihitCollection{m_sihitContainer, ctx};
124 if (sihitCollection.isValid()) {
125 for (const SiHit& siHit: *sihitCollection) {
126 // Check if it is an SCT hit
127 if (not siHit.isSCT()) continue;
128
129 Identifier wafer_id{m_SCTHelper->wafer_id(siHit.getBarrelEndcap(),
130 siHit.getLayerDisk(),
131 siHit.getPhiModule(),
132 siHit.getEtaModule(),
133 siHit.getSide())};
134 IdentifierHash wafer_hash{m_SCTHelper->wafer_hash(wafer_id)};
135 siHits[wafer_hash].push_back(&siHit);
136 }
137 }
138 }
139
140 // Mandatory. This is needed and required if this algorithm is scheduled.
141 SG::ReadHandle<InDet::SCT_ClusterContainer> sctClusterContainer{m_clustercontainer, ctx};
142 if (not sctClusterContainer.isValid()) {
143 ATH_MSG_FATAL("Cannot retrieve SCT PrepDataContainer " << m_clustercontainer.key());
144 return StatusCode::FAILURE;
145 }
146
147 // Create the xAOD container and its auxiliary store:
148 SG::WriteHandle<xAOD::TrackMeasurementValidationContainer> xaod{m_xAodContainer, ctx};
149 ATH_CHECK(xaod.record(std::make_unique<xAOD::TrackMeasurementValidationContainer>(),
150 std::make_unique<xAOD::TrackMeasurementValidationAuxContainer>()));
151
152 SG::WriteHandle<std::vector<unsigned int>> offsets{m_xAodOffset, ctx};
153 ATH_CHECK(offsets.record(std::make_unique<std::vector<unsigned int>>(m_SCTHelper->wafer_hash_max(), 0)));
154
155 unsigned int have_truth_link=0u;
156 unsigned int missing_truth_particle=0u;
157 unsigned int missing_parent_particle=0u;
158 // Loop over the container
159 unsigned int counter{0};
160 for (const auto clusterCollection: *sctClusterContainer) {
161 //Fill Offset container
162 (*offsets)[clusterCollection->identifyHash()] = counter;
163
164 // skip empty collections
165 if (clusterCollection->empty()) continue;
166
167 xaod->resize(counter + clusterCollection->size());
168 // loop over collection and convert to xAOD
169 for (const InDet::SCT_Cluster* prd: *clusterCollection) {
170 Identifier clusterId{prd->identify()};
171 if (not clusterId.is_valid()) {
172 ATH_MSG_WARNING("SCT cluster identifier is not valid!");
173 }
174
175 // create and add xAOD object
177 xaod->at(counter) = xprd;
178 ++counter;
179
180 //Set Identifier
181 xprd->setIdentifier(clusterId.get_compact());
182
183 //Set Global Position
184 Amg::Vector3D gpos{prd->globalPosition()};
185 xprd->setGlobalPosition(gpos.x(), gpos.y(), gpos.z());
186
187 //Set Local Position
188 const Amg::Vector2D& locpos{prd->localPosition()};
189 float locY{0.};
190 float locX{static_cast<float>(locpos.x())};
191 if ((not std::isinf(locpos.y()) or std::isnan(locpos.y()))) {
192 if (locpos.y()>=1e-07) locY = locpos.y();
193 } else {
194 locY = -9999.;
195 }
196
197 // Set local error matrix
198 xprd->setLocalPosition(locX, locY);
199
200 const Amg::MatrixX& localCov{prd->localCovariance()};
201 if (localCov.size() == 1) {
202 xprd->setLocalPositionError(localCov(0, 0), 0., 0.);
203 } else if (localCov.size() == 4) {
204 xprd->setLocalPositionError(localCov(0, 0), localCov(1, 1), localCov(0, 1));
205 } else {
206 xprd->setLocalPositionError(0., 0., 0.);
207 }
208
209 // Set vector of hit identifiers
210 std::vector<uint64_t> rdoIdentifierList;
211 rdoIdentifierList.reserve(prd->rdoList().size());
212 for (const auto& hitIdentifier: prd->rdoList()) {
213 rdoIdentifierList.push_back(hitIdentifier.get_compact());
214 }
215 xprd->setRdoIdentifierList(rdoIdentifierList);
216
217 //Add SCT specific information
218 const InDet::SiWidth cw{prd->width()};
219 AUXDATA(xprd, int, SiWidth) = static_cast<int>(cw.colRow()[0]);
220 AUXDATA(xprd, int, hitsInThirdTimeBin) = static_cast<int>(prd->hitsInThirdTimeBin());
221
222 AUXDATA(xprd, int, bec) = m_SCTHelper->barrel_ec(clusterId);
223 AUXDATA(xprd, int, layer) = m_SCTHelper->layer_disk(clusterId);
224 AUXDATA(xprd, int, phi_module) = m_SCTHelper->phi_module(clusterId);
225 AUXDATA(xprd, int, eta_module) = m_SCTHelper->eta_module(clusterId);
226 AUXDATA(xprd, int, side) = m_SCTHelper->side(clusterId);
227
228 // Add the Detector element ID -- not sure if needed as we have the informations above
229 const InDetDD::SiDetectorElement* de{prd->detectorElement()};
230 uint64_t detElementId{0};
231 if (de) {
232 Identifier detId{de->identify()};
233 if (detId.is_valid()) {
234 detElementId = detId.get_compact();
235 }
236 }
237 AUXDATA(xprd, uint64_t, detectorElementID) = detElementId;
238
239 //Add details about the individual hits
241 addRDOInformation(xprd, prd, idToRAWDataMap);
242 }
243
244 // Use the MultiTruth Collection to get a list of all true particle contributing to the cluster
245 if (m_useTruthInfo) {
246 if (prdmtColl) {
247 auto range{prdmtColl->equal_range(clusterId)};
248 if (truth_particle_links) {
249 std::vector<unsigned int> tp_indices;
250 for (auto i{range.first}; i!=range.second; ++i) {
251 ElementLink<xAOD::TruthParticleContainer> a_truth_particle_link = truth_particle_links->find(i->second);
252 if (a_truth_particle_link) {
253 const xAOD::TruthParticle *truth_particle = *a_truth_particle_link;
254 if (truth_particle) {
255 ++have_truth_link;
256 tp_indices.push_back(static_cast<int>(truth_particle->index()));
257 }
258 else {
259 ++missing_parent_particle;
260 }
261 }
262 else {
263 tp_indices.push_back(std::numeric_limits<unsigned int>::max());
264 ++missing_truth_particle;
265 }
266 }
267 AUXDATA(xprd, std::vector<unsigned int>, truth_index) = std::move(tp_indices);
268 }
269 std::vector<int> uniqueIDs;
270 for (auto& i{range.first}; i!=range.second; ++i) {
271 uniqueIDs.push_back(HepMC::uniqueID(i->second));
272 }
273 AUXDATA(xprd, std::vector<int>, truth_barcode) = std::move(uniqueIDs); // TODO rename variable to be consistent?
274 }
275 }
276
277 // Use the SDO Collection to get a list of all true particle contributing to the cluster per readout element
278 // Also get the energy deposited by each true particle per readout element
279 if (m_writeSDOs) {
280 if (sdoCollection) {
281 addSDOInformation(xprd, prd, sdoCollection);
282 }
283 }
284
285 // Now Get the most detailed truth from the SiHits
286 // Note that this could get really slow if there are a lot of hits and clusters
287 if (m_writeSiHits) {
288 addSiHitInformation(xprd, prd, &siHits[prd->detectorElement()->identifyHash()]);
289 }
290 }
291 }
292 ATH_MSG_DEBUG(" recorded SCT_PrepData objects: size " << xaod->size());
293
294 m_haveTruthLink += have_truth_link;
295 m_missingTruthParticle += missing_truth_particle;
296 m_missingParentParticle += missing_parent_particle;
297 m_firstEventWarnings = false; //disable one-time warnings
298
299 return StatusCode::SUCCESS;
300}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_FATAL(x)
#define ATH_MSG_WARNING(x)
bool is_valid() const
Check if id is in a valid state.
value_type get_compact() const
Get the compact id.
virtual Identifier identify() const override final
identifier of this detector element (inline)
const Amg::Vector2D & colRow() const
Definition SiWidth.h:115
void addSiHitInformation(xAOD::TrackMeasurementValidation *xprd, const InDet::SCT_Cluster *prd, const std::vector< const SiHit * > *siHits) const
std::atomic< unsigned int > m_missingParentParticle
void addSDOInformation(xAOD::TrackMeasurementValidation *xprd, const InDet::SCT_Cluster *prd, const InDetSimDataCollection *sdoCollection) const
SG::ReadHandleKey< SiHitCollection > m_sihitContainer
SG::ReadHandleKey< PRD_MultiTruthCollection > m_multiTruth
SG::ReadHandleKey< SCT_RDO_Container > m_rdoContainer
BooleanProperty m_writeSDOs
SG::ReadHandleKey< InDetSimDataCollection > m_SDOcontainer
std::atomic_bool m_firstEventWarnings
BooleanProperty m_writeSiHits
SG::WriteHandleKey< xAOD::TrackMeasurementValidationContainer > m_xAodContainer
SG::WriteHandleKey< std::vector< unsigned int > > m_xAodOffset
BooleanProperty m_writeRDOinformation
SG::ReadHandleKey< xAODTruthParticleLinkVector > m_truthParticleLinks
std::atomic< unsigned int > m_missingTruthParticle
SG::ReadHandleKey< InDet::SCT_ClusterContainer > m_clustercontainer
void addRDOInformation(xAOD::TrackMeasurementValidation *, const InDet::SCT_Cluster *, const std::map< Identifier, const SCT_RDORawData * > &idToRAWDataMap) const
std::atomic< unsigned int > m_haveTruthLink
BooleanProperty m_useTruthInfo
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
ElementLink< xAOD::TruthParticleContainer > find(const HepMcParticleLink &hepMCLink) const
void setRdoIdentifierList(const std::vector< uint64_t > &rdoIdentifierList)
Sets the list of RDO identifiers.
void setLocalPositionError(float localXError, float localYError, float localXYCorrelation)
Sets the local position error.
void setLocalPosition(float localX, float localY)
Sets the local position.
void setIdentifier(uint64_t identifier)
Sets the identifier.
void setGlobalPosition(float globalX, float globalY, float globalZ)
Sets the global position.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Eigen::Matrix< double, 3, 1 > Vector3D
@ locY
local cartesian
Definition ParamDefs.h:38
@ locX
Definition ParamDefs.h:37
@ u
Enums for curvilinear frames.
Definition ParamDefs.h:77
TrackMeasurementValidation_v1 TrackMeasurementValidation
Reference the current persistent version:
TruthParticle_v1 TruthParticle
Typedef to implementation.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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

◆ extraOutputDeps()

const DataObjIDColl & AthCommonAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 89 of file AthCommonAlgorithm.cxx.

54{
55 // If we didn't find any symlinks to add, just return the collection
56 // from the base class. Otherwise, return the extended collection.
57 if (!m_extendedExtraObjects.empty()) {
59 }
61}
Common base class for algorithms.

◆ filterPassed()

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Get filter decision:

Definition at line 93 of file AthCommonAlgorithm.h.

93 {
94 return execState( ctx ).filterPassed();
95 }
virtual bool filterPassed(const EventContext &ctx) const
Get filter decision:

◆ finalize()

StatusCode SCT_PrepDataToxAOD::finalize ( )
overridevirtual

Definition at line 531 of file SCT_PrepDataToxAOD.cxx.

532{
533 if (m_useTruthInfo && !m_truthParticleLinks.empty()) {
534 ATH_MSG_INFO("Missing truth particles " << m_missingTruthParticle << " missing parent: " << m_missingParentParticle
535 << " have " << m_haveTruthLink);
536 }
537 return StatusCode::SUCCESS;
538}
#define ATH_MSG_INFO(x)

◆ findAllHitsCompatibleWithCluster()

void SCT_PrepDataToxAOD::findAllHitsCompatibleWithCluster ( const InDet::SCT_Cluster * prd,
const std::vector< const SiHit * > * siHits,
std::vector< SiHit > & matchingHits ) const
private

Definition at line 391 of file SCT_PrepDataToxAOD.cxx.

394{
395 ATH_MSG_VERBOSE("Got " << siHits->size() << " SiHits to look through");
396
397 // Check if we have detector element -- needed to find the local position of the SiHits
398 const InDetDD::SiDetectorElement* de{prd->detectorElement()};
399 if (de==nullptr) return;
400
401 std::vector<const SiHit*> multiMatchingHits;
402
403 for (const SiHit* siHit: *siHits) {
404 // Now we have all hits in the module that match lets check to see if they match the cluster
405 // Must be within +/- 1 hits of any hit in the cluster to be included
406
407 HepGeom::Point3D<double> averagePosition{siHit->localStartPosition() + siHit->localEndPosition()};
408 averagePosition *= 0.5;
409 Amg::Vector2D pos{de->hitLocalToLocal(averagePosition.z(), averagePosition.y())};
410 InDetDD::SiCellId diode{de->cellIdOfPosition(pos)};
411
412 for (const auto& hitIdentifier: prd->rdoList()) {
413 ATH_MSG_DEBUG("Truth Strip " << diode.phiIndex() << " Cluster Strip " << m_SCTHelper->strip(hitIdentifier));
414
415 if (std::abs(static_cast<int>(diode.phiIndex()) - m_SCTHelper->strip(hitIdentifier))<=1) {
416 multiMatchingHits.push_back(siHit);
417 break;
418 }
419 }
420 }
421
422 matchingHits.reserve(multiMatchingHits.size());
423 //Now we will now make 1 SiHit for each true particle if the SiHits "touch" other
424 std::vector<const SiHit*>::iterator siHitIter{multiMatchingHits.begin()};
425 std::vector<const SiHit*>::iterator siHitIter2{multiMatchingHits.begin()};
426 ATH_MSG_DEBUG("Found " << multiMatchingHits.size() << " SiHit ");
427 for (; siHitIter != multiMatchingHits.end(); ++siHitIter) {
428 const SiHit* lowestXPos{*siHitIter};
429 const SiHit* highestXPos{*siHitIter};
430
431 // We will merge these hits
432 std::vector<const SiHit*> ajoiningHits;
433 ajoiningHits.push_back(*siHitIter);
434
435 siHitIter2 = siHitIter+1;
436 auto uniqueID = HepMC::uniqueID((*siHitIter)->particleLink());
437 while (siHitIter2 != multiMatchingHits.end()) {
438 // Need to come from the same truth particle
439 if ( uniqueID != HepMC::uniqueID((*siHitIter2)->particleLink())) {
440 ++siHitIter2;
441 continue;
442 }
443
444 constexpr double maxDiff = 0.00005;
445 // Check to see if the SiHits are compatible with each other.
446 if (std::abs((highestXPos->localEndPosition().x()-(*siHitIter2)->localStartPosition().x()))<maxDiff and
447 std::abs((highestXPos->localEndPosition().y()-(*siHitIter2)->localStartPosition().y()))<maxDiff and
448 std::abs((highestXPos->localEndPosition().z()-(*siHitIter2)->localStartPosition().z()))<maxDiff) {
449 highestXPos = *siHitIter2;
450 ajoiningHits.push_back(*siHitIter2);
451 // Dont use hit more than once
452 siHitIter2 = multiMatchingHits.erase(siHitIter2);
453 } else if (std::abs((lowestXPos->localStartPosition().x()-(*siHitIter2)->localEndPosition().x()))<maxDiff and
454 std::abs((lowestXPos->localStartPosition().y()-(*siHitIter2)->localEndPosition().y()))<maxDiff and
455 std::abs((lowestXPos->localStartPosition().z()-(*siHitIter2)->localEndPosition().z()))<maxDiff) {
456 lowestXPos = *siHitIter2;
457 ajoiningHits.push_back(*siHitIter2);
458 // Dont use hit more than once
459 siHitIter2 = multiMatchingHits.erase(siHitIter2);
460 } else {
461 ++siHitIter2;
462 }
463 }
464
465 if (ajoiningHits.size()==0) {
466 ATH_MSG_ERROR("This should really never happen");
467 continue;
468 } else if (ajoiningHits.size()==1) {
469 // Copy Si Hit ready to return
470 matchingHits.emplace_back(*ajoiningHits[0]);
471 continue;
472 } else {
473 // Build new SiHit and merge information together.
474 ATH_MSG_DEBUG("Merging " << ajoiningHits.size() << " SiHits together.");
475 float energyDep{0.};
476 float time{0.};
477 for (auto& siHit: ajoiningHits) {
478 energyDep += siHit->energyLoss();
479 time += siHit->meanTime();
480 }
481 time /= static_cast<float>(ajoiningHits.size());
482 matchingHits.emplace_back(lowestXPos->localStartPosition(),
483 highestXPos->localEndPosition(),
484 energyDep,
485 time,
486 (*siHitIter)->particleLink(),
487 1, // 0 for pixel 1 for SCT
488 (*siHitIter)->getBarrelEndcap(),
489 (*siHitIter)->getLayerDisk(),
490 (*siHitIter)->getEtaModule(),
491 (*siHitIter)->getPhiModule(),
492 (*siHitIter)->getSide());
493 }
494 }
495}
#define ATH_MSG_ERROR(x)
#define ATH_MSG_VERBOSE(x)
int phiIndex() const
Get phi index. Equivalent to strip().
Definition SiCellId.h:122
SiCellId cellIdOfPosition(const Amg::Vector2D &localPos) const
As in previous method but returns SiCellId.
HepGeom::Point3D< double > localStartPosition() const
Definition SiHit.cxx:146
HepGeom::Point3D< double > localEndPosition() const
Definition SiHit.cxx:153
time(flags, cells_name, *args, **kw)

◆ initialize()

StatusCode SCT_PrepDataToxAOD::initialize ( )
overridevirtual

Definition at line 44 of file SCT_PrepDataToxAOD.cxx.

45{
46 ATH_CHECK(detStore()->retrieve(m_SCTHelper, "SCT_ID"));
47
48 //make sure we don't write what we don't have
49 if (not m_useTruthInfo) {
50 m_writeSDOs.set(false);
51 m_writeSiHits.set(false);
52 }
53
54 ATH_CHECK(m_clustercontainer.initialize());
59 ATH_CHECK(m_xAodContainer.initialize());
60 ATH_CHECK(m_xAodOffset.initialize());
62
63 ATH_CHECK(m_SCTDetEleCollKey.initialize());
64
65 return StatusCode::SUCCESS;
66}
const ServiceHandle< StoreGateSvc > & detStore() const
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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.

◆ isClonable()

virtual bool SCT_PrepDataToxAOD::isClonable ( ) const
inlineoverridevirtual

Make this algorithm clonable.

Reimplemented from AthCommonAlgorithm< Gaudi::Algorithm >.

Definition at line 55 of file SCT_PrepDataToxAOD.h.

55{ return true; };

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

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

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
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)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

virtual void AthCommonAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Set filter decision:

Reimplemented in AthFilterAlgorithm.

Definition at line 99 of file AthCommonAlgorithm.h.

99 {
101 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const
Set filter decision:

◆ sysExecute()

StatusCode AthCommonAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Reimplemented in AthAnalysisAlgorithm.

Definition at line 80 of file AthCommonAlgorithm.cxx.

41{
42 return BaseAlg::sysExecute (ctx);
43}

◆ sysInitialize()

StatusCode AthCommonAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, HypoBase, InputMakerBase, and PyAthena::Alg.

Definition at line 60 of file AthCommonAlgorithm.cxx.

71 {
73
74 if (sc.isFailure()) {
75 return sc;
76 }
77
78 ServiceHandle<ICondSvc> cs("CondSvc",name());
79 for (auto h : outputHandles()) {
80 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
81 // do this inside the loop so we don't create the CondSvc until needed
82 if ( cs.retrieve().isFailure() ) {
83 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
85 }
86 if (cs->regHandle(this,*h).isFailure()) {
88 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
89 << " with CondSvc");
90 }
91 }
92 }
93 return sc;
94}
virtual StatusCode sysInitialize() override
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ m_clustercontainer

SG::ReadHandleKey<InDet::SCT_ClusterContainer> SCT_PrepDataToxAOD::m_clustercontainer {this, "SiClusterContainer", "SCT_Clusters"}
private

Definition at line 78 of file SCT_PrepDataToxAOD.h.

78{this, "SiClusterContainer", "SCT_Clusters"};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 108 of file AthCommonAlgorithm.h.

◆ m_firstEventWarnings

std::atomic_bool SCT_PrepDataToxAOD::m_firstEventWarnings {false}
mutableprivate

Definition at line 101 of file SCT_PrepDataToxAOD.h.

101{false};

◆ m_haveTruthLink

std::atomic<unsigned int> SCT_PrepDataToxAOD::m_haveTruthLink {}
mutableprivate

Definition at line 98 of file SCT_PrepDataToxAOD.h.

98{};

◆ m_missingParentParticle

std::atomic<unsigned int> SCT_PrepDataToxAOD::m_missingParentParticle {}
mutableprivate

Definition at line 100 of file SCT_PrepDataToxAOD.h.

100{};

◆ m_missingTruthParticle

std::atomic<unsigned int> SCT_PrepDataToxAOD::m_missingTruthParticle {}
mutableprivate

Definition at line 99 of file SCT_PrepDataToxAOD.h.

99{};

◆ m_multiTruth

SG::ReadHandleKey<PRD_MultiTruthCollection> SCT_PrepDataToxAOD::m_multiTruth {this, "PRD_MultiTruth", "PRD_MultiTruthSCT"}
private

Definition at line 81 of file SCT_PrepDataToxAOD.h.

81{this, "PRD_MultiTruth", "PRD_MultiTruthSCT"};

◆ m_rdoContainer

SG::ReadHandleKey<SCT_RDO_Container> SCT_PrepDataToxAOD::m_rdoContainer {this, "SctRdoContainer", "SCT_RDOs"}
private

Definition at line 85 of file SCT_PrepDataToxAOD.h.

85{this, "SctRdoContainer", "SCT_RDOs"};

◆ m_SCTDetEleCollKey

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

Definition at line 90 of file SCT_PrepDataToxAOD.h.

90{this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"};

◆ m_SCTHelper

const SCT_ID* SCT_PrepDataToxAOD::m_SCTHelper {nullptr}
private

Definition at line 77 of file SCT_PrepDataToxAOD.h.

77{nullptr};

◆ m_SDOcontainer

SG::ReadHandleKey<InDetSimDataCollection> SCT_PrepDataToxAOD::m_SDOcontainer {this, "MC_SDOs", "SCT_SDO_Map"}
private

Definition at line 79 of file SCT_PrepDataToxAOD.h.

79{this, "MC_SDOs", "SCT_SDO_Map"};

◆ m_sihitContainer

SG::ReadHandleKey<SiHitCollection> SCT_PrepDataToxAOD::m_sihitContainer {this, "MC_Hits", "SCT_Hits"}
private

Definition at line 80 of file SCT_PrepDataToxAOD.h.

80{this, "MC_Hits", "SCT_Hits"};

◆ m_truthParticleLinks

SG::ReadHandleKey<xAODTruthParticleLinkVector> SCT_PrepDataToxAOD::m_truthParticleLinks {this,"InputTruthParticleLinks","","The key for the truth particle link collection."}
private

Definition at line 82 of file SCT_PrepDataToxAOD.h.

83{this,"InputTruthParticleLinks","","The key for the truth particle link collection."};

◆ m_useTruthInfo

BooleanProperty SCT_PrepDataToxAOD::m_useTruthInfo {this, "UseTruthInfo", false}
private

Definition at line 92 of file SCT_PrepDataToxAOD.h.

92{this, "UseTruthInfo", false};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.

◆ m_writeRDOinformation

BooleanProperty SCT_PrepDataToxAOD::m_writeRDOinformation {this, "WriteRDOinformation", true}
private

Definition at line 93 of file SCT_PrepDataToxAOD.h.

93{this, "WriteRDOinformation", true};

◆ m_writeSDOs

BooleanProperty SCT_PrepDataToxAOD::m_writeSDOs {this, "WriteSDOs", false}
private

Definition at line 94 of file SCT_PrepDataToxAOD.h.

94{this, "WriteSDOs", false};

◆ m_writeSiHits

BooleanProperty SCT_PrepDataToxAOD::m_writeSiHits {this, "WriteSiHits", false}
private

Definition at line 95 of file SCT_PrepDataToxAOD.h.

95{this, "WriteSiHits", false};

◆ m_xAodContainer

SG::WriteHandleKey<xAOD::TrackMeasurementValidationContainer> SCT_PrepDataToxAOD::m_xAodContainer {this, "SctxAodContainer", "SCT_Clusters"}
private

Definition at line 86 of file SCT_PrepDataToxAOD.h.

86{this, "SctxAodContainer", "SCT_Clusters"};

◆ m_xAodOffset

SG::WriteHandleKey<std::vector<unsigned int> > SCT_PrepDataToxAOD::m_xAodOffset {this, "SctxAodOffset", "SCT_ClustersOffsets"}
private

Definition at line 87 of file SCT_PrepDataToxAOD.h.

87{this, "SctxAodOffset", "SCT_ClustersOffsets"};

The documentation for this class was generated from the following files: