ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::PixelClusterTruthDecoratorAlg Class Reference

#include <PixelClusterTruthDecoratorAlg.h>

Inheritance diagram for ActsTrk::PixelClusterTruthDecoratorAlg:
Collaboration diagram for ActsTrk::PixelClusterTruthDecoratorAlg:

Public Member Functions

 PixelClusterTruthDecoratorAlg (const std::string &name, ISvcLocator *pSvcLocator)
virtual ~PixelClusterTruthDecoratorAlg ()=default
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) const override
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
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< StoreGateSvc > StoreGateSvc_t

Private Member Functions

StatusCode labelMeasurementToKeep (const EventContext &ctx, const xAOD::PixelClusterContainer &clusters, std::vector< bool > &labels) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool {this, "LorentzAngleTool", ""}
SG::ReadHandleKey< xAOD::PixelClusterContainer > m_clustercontainer_key {this,"ClusterContainer", "","Input Pixel Cluster container"}
SG::ReadHandleKey< ActsTrk::MeasurementToTruthParticleAssociation > m_associationMap_key {this,"AssociationMapOut","", "Association map between measurements and truth particles"}
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_trackParticlesKey {this, "TrackParticles", {}, "Input xAOD::TrackParticles"}
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey {this, "PixelDetEleCollKey", "ITkPixelDetectorElementCollection"}
SG::WriteHandleKey< xAOD::TrackMeasurementValidationContainer > m_write_xaod_key {this,"MeasurementContainer","", "Output Pixel Validation Clusters"}
SG::WriteDecorHandleKey< xAOD::PixelClusterContainer > m_trackMeasurement_link {this, "MeasurementLink", m_clustercontainer_key, "validationMeasurementLink"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_truth_indices {this, "MeasurementTruthIndices", m_write_xaod_key, "truth_index"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_truth_barcodes {this, "MeasurementTruthBarcode", m_write_xaod_key, "truth_barcode"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_detectorElementID {this, "MeasurementDetectorElementID", m_write_xaod_key, "detectorElementID"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_waferID {this, "MeasurementWaferID", m_write_xaod_key, "waferID"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_bec {this, "MeasurementBEC", m_write_xaod_key, "bec"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_layer {this, "MeasurementLayer", m_write_xaod_key, "layer"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_sizePhi {this, "MeasurementSizePhi", m_write_xaod_key, "sizePhi"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_sizeZ {this, "MeasurementSizeZ", m_write_xaod_key, "sizeZ"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_SiWidth {this, "MeasurementSiWidth", m_write_xaod_key, "SiWidth"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_eta_module {this, "MeasurementEtaModule", m_write_xaod_key, "eta_module"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_phi_module {this, "MeasurementPhiModule", m_write_xaod_key, "phi_module"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_omegax {this, "MeasurementOmegaX", m_write_xaod_key, "omegax"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_omegay {this, "MeasurementOmegaY", m_write_xaod_key, "omegay"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_LorentzShift {this, "MeasurementLorentzShift", m_write_xaod_key, "LorentzShift"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_centroid_xphi {this, "MeasurementCentroidXphi", m_write_xaod_key, "centroid_xphi"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_centroid_xeta {this, "MeasurementCentroidXeta", m_write_xaod_key, "centroid_xeta"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_side {this, "MeasurementSide", m_write_xaod_key, "side"}
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_tots {this, "MeasurementToT", m_write_xaod_key, "tots"}
Gaudi::Property< bool > m_useTruthInfo {this, "UseTruthInfo", true}
Gaudi::Property< bool > m_keepOnlyOnTrackMeasurements {this, "KeepOnlyOnTrackMeasurements", false, "Keep on on-track measurements instead of the full collection"}
Gaudi::Property< std::string > m_idHelperName
const PixelID * m_PixelHelper {nullptr}
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 40 of file PixelClusterTruthDecoratorAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 376 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ PixelClusterTruthDecoratorAlg()

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

Definition at line 17 of file PixelClusterTruthDecoratorAlg.cxx.

18 :
19 AthReentrantAlgorithm(name, pSvcLocator)
20 {}

◆ ~PixelClusterTruthDecoratorAlg()

virtual ActsTrk::PixelClusterTruthDecoratorAlg::~PixelClusterTruthDecoratorAlg ( )
virtualdefault

Member Function Documentation

◆ 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 ActsTrk::PixelClusterTruthDecoratorAlg::execute ( const EventContext & ctx) const
overridevirtual

Definition at line 66 of file PixelClusterTruthDecoratorAlg.cxx.

66 {
67
68 //Mandatory. Require if the algorithm is scheduled.
69 SG::ReadHandle<xAOD::PixelClusterContainer> PixelClusterContainer = SG::makeHandle(m_clustercontainer_key,ctx);
72
73 SG::ReadCondHandle<InDetDD::SiDetectorElementCollection> pixelDetEleHandle = SG::makeHandle( m_pixelDetEleCollKey, ctx );
74 ATH_CHECK(pixelDetEleHandle.isValid());
75 const InDetDD::SiDetectorElementCollection* pixelDetEle = pixelDetEleHandle.cptr();
76
77 // Get the truth association map
78 const MeasurementToTruthParticleAssociation* measToTruth(nullptr);
79 if (m_useTruthInfo) {
80 SG::ReadHandle<MeasurementToTruthParticleAssociation> measToTruthHandle = SG::makeHandle(m_associationMap_key,ctx);
81 ATH_CHECK(measToTruthHandle.isValid());
82 measToTruth = measToTruthHandle.cptr();
83 }
84
85 // Setup outputs
86 // Create the xAOD container and its auxiliary store:
87 SG::WriteHandle<xAOD::TrackMeasurementValidationContainer> xaod = SG::makeHandle(m_write_xaod_key,ctx);
88 ATH_CHECK(xaod.record(std::make_unique<xAOD::TrackMeasurementValidationContainer>(),
89 std::make_unique<xAOD::TrackMeasurementValidationAuxContainer>()));
90
91 // Decorations
92 SG::WriteDecorHandle<xAOD::PixelClusterContainer,
94
95 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, std::uint64_t> decor_detectorElementID ( m_measurement_detectorElementID, ctx );
96 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, int> decor_waferID ( m_measurement_waferID, ctx );
97 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, int> decor_bec ( m_measurement_bec, ctx );
98 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, int> decor_layer ( m_measurement_layer, ctx );
99 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, int> decor_sizePhi ( m_measurement_sizePhi, ctx );
100 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, int> decor_sizeZ ( m_measurement_sizeZ, ctx );
101 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, int> decor_SiWidth( m_measurement_SiWidth, ctx );
102 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, int> decor_eta_module ( m_measurement_eta_module, ctx );
103 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, int> decor_phi_module ( m_measurement_phi_module, ctx );
104 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, float> decor_omegax ( m_measurement_omegax, ctx );
105 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, float> decor_omegay ( m_measurement_omegay, ctx );
106 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, float> decor_LorentzShift ( m_measurement_LorentzShift, ctx );
107 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, float> decor_centroid_xphi ( m_measurement_centroid_xphi, ctx );
108 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, float> decor_centroid_xeta ( m_measurement_centroid_xeta, ctx );
109 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, int> decor_side ( m_measurement_side, ctx );
110
111 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, std::vector<int>> decor_tots ( m_measurement_tots, ctx );
112
113 // Create output collection
114 std::vector<bool> keepClusterCollection {};
115 ATH_CHECK( labelMeasurementToKeep(ctx, *clusters, keepClusterCollection) );
116 xAOD::TrackMeasurementValidationContainer *measurements = xaod.ptr();
117
118 // loop over collection and convert to xAOD::TrackMeasurementValidation
119 for (std::size_t i(0); i<clusters->size(); ++i) {
120 if (not keepClusterCollection[i]) continue;
121 const xAOD::PixelCluster* cluster = clusters->at(i);
122
123 measurements->push_back( new xAOD::TrackMeasurementValidation() );
124 xAOD::TrackMeasurementValidation* measurement = measurements->back();
126 measurements->back()->index(),
127 ctx );
128
129 ATH_CHECK( mlink.isValid() );
130 decorator_measurement_link(*cluster) = std::move(mlink);
131
132 xAOD::DetectorIdentType clusterId = cluster->identifier();
133 xAOD::DetectorIDHashType hashId = cluster->identifierHash();
134
135 const InDetDD::SiDetectorElement *element = pixelDetEle->getDetectorElement(hashId);
136 if ( not element ) {
137 ATH_MSG_FATAL( "Invalid pixel detector element for hash " << hashId );
138 return StatusCode::FAILURE;
139 }
140
142 rdoList = cluster->rdoList();
143 std::vector< std::uint64_t > rdoIdentifierList;
144 rdoIdentifierList.reserve(rdoList.size());
145 int rowmin = std::numeric_limits<int>::max();
146 int rowmax = std::numeric_limits<int>::min();
147 int colmin = std::numeric_limits<int>::max();
148 int colmax = std::numeric_limits<int>::min();
149 for( const Identifier::value_type& hitIdentifierValue : rdoList ){
150 Identifier hitIdentifier(hitIdentifierValue);
151 rdoIdentifierList.push_back( hitIdentifier.get_compact() );
152 //May want to addinformation about the individual hits here
153 int row = m_PixelHelper->phi_index(hitIdentifier);
154 int col = m_PixelHelper->eta_index(hitIdentifier);
155 rowmin = std::min(rowmin, row);
156 rowmax = std::max(rowmax, row);
157 colmin = std::min(colmin, col);
158 colmax = std::max(colmax, col);
159 }
160
161 // compute centroid
162 const InDetDD::PixelModuleDesign* design = dynamic_cast<const InDetDD::PixelModuleDesign*>(&element->design());
163 if (not design) {
164 ATH_MSG_ERROR("Cannot retrieve detector design");
165 return StatusCode::FAILURE;
166 }
167 InDetDD::SiLocalPosition pos1 = design->positionFromColumnRow(colmin,rowmin);
168 InDetDD::SiLocalPosition pos2 = design->positionFromColumnRow(colmax,rowmin);
169 InDetDD::SiLocalPosition pos3 = design->positionFromColumnRow(colmin,rowmax);
170 InDetDD::SiLocalPosition pos4 = design->positionFromColumnRow(colmax,rowmax);
171 InDetDD::SiLocalPosition centroid = 0.25 * (pos1 + pos2 + pos3 + pos4);
172
173 //Set Identifier
174 measurement->setIdentifier( clusterId );
175 measurement->setRdoIdentifierList(std::move(rdoIdentifierList));
176
177 //Set Global Position
178 auto gpos = cluster->globalPosition();
179 measurement->setGlobalPosition(gpos.x(), gpos.y(), gpos.z());
180
181 // Set local position and error matrix
182 auto locpos = cluster->localPosition<2>();
183 measurement->setLocalPosition(locpos[0], locpos[1]);
184
185 auto localCov = cluster->localCovariance<2>();
186 measurement->setLocalPositionError( localCov(0,0), localCov(1,1), localCov(0,1) );
187
188 const auto& [omegax, omegay] = TrackingUtilities::computeOmegas(*cluster,
190
191 const Identifier waferId = m_PixelHelper->wafer_id(hashId);
192 decor_detectorElementID(*measurement) = hashId;
193 decor_waferID(*measurement) = waferId.get_compact();
194 decor_bec(*measurement) = m_PixelHelper->barrel_ec(waferId);
195 decor_layer(*measurement) = m_PixelHelper->layer_disk(waferId);
196 decor_sizePhi(*measurement) = cluster->channelsInPhi();
197 decor_sizeZ(*measurement) = cluster->channelsInEta();
198 decor_SiWidth(*measurement) = cluster->channelsInPhi();
199 decor_eta_module(*measurement) = m_PixelHelper->eta_module(waferId);
200 decor_phi_module(*measurement) = m_PixelHelper->phi_module(waferId);
201 decor_omegax(*measurement) = omegax;
202 decor_omegay(*measurement) = omegay;
203 decor_LorentzShift(*measurement) = static_cast<float>( m_lorentzAngleTool->getLorentzShift(cluster->identifierHash(), ctx) );
204 decor_centroid_xphi(*measurement) = centroid.xPhi();
205 decor_centroid_xeta(*measurement) = centroid.xEta();
206 decor_side(*measurement) = 0;
207 decor_tots(*measurement) = cluster->totList();
208 }
209
210
211 // handle the truth
212 if (m_useTruthInfo) {
213 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, std::vector<unsigned int>> decor_truth_indices( m_measurement_truth_indices, ctx );
214 SG::WriteDecorHandle<xAOD::TrackMeasurementValidationContainer, std::vector<unsigned int>> decor_truth_barcode( m_measurement_truth_barcodes, ctx );
215
216 // reset measurement counter
217 std::size_t measurementIndex = 0;
218 for (std::size_t i(0); i<clusters->size(); ++i) {
219 if (not keepClusterCollection[i]) continue;
220 const xAOD::PixelCluster* cluster = clusters->at(i);
221 xAOD::TrackMeasurementValidation* measurement = measurements->at(measurementIndex);
222
223 // check the two match
224 if (cluster->identifier() != measurement->identifier()) {
225 ATH_MSG_ERROR("Cluster and Measurement are not matching!");
226 return StatusCode::FAILURE;
227 }
228
229 // Use the MultiTruth Collection
230 // to get a list of all true particle contributing to the cluster
231 if (cluster->index() >= measToTruth->size()) {
232 ATH_MSG_ERROR( "PRD index "<< cluster->index() << " not present in the measurement to truth vector with size " << measToTruth->size() );
233 return StatusCode::FAILURE;
234 }
235
236 auto tps = measToTruth->at(cluster->index());
237
238 std::vector<unsigned int> tp_indices;
239 std::vector<unsigned int> tp_barcodes;
240 for (const auto& tp : tps) {
241 tp_indices.push_back(tp->index());
242 tp_barcodes.push_back(HepMC::uniqueID(tp));
243 }
244
245 // decorate
246 decor_truth_indices(*measurement) = std::move(tp_indices);
247 decor_truth_barcode(*measurement) = std::move(tp_barcodes);
248 ++measurementIndex;
249 } // loop on clusters/measurements
250 } // if do truth
251
252 ATH_MSG_DEBUG( " recorded PixelPrepData objects: size " << measurements->size() );
253 return StatusCode::SUCCESS;
254}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x,...)
#define ATH_MSG_ERROR(x,...)
#define ATH_MSG_FATAL(x,...)
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_centroid_xphi
SG::ReadHandleKey< xAOD::PixelClusterContainer > m_clustercontainer_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_LorentzShift
SG::ReadHandleKey< ActsTrk::MeasurementToTruthParticleAssociation > m_associationMap_key
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_sizeZ
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_centroid_xeta
SG::WriteHandleKey< xAOD::TrackMeasurementValidationContainer > m_write_xaod_key
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_omegay
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_truth_barcodes
StatusCode labelMeasurementToKeep(const EventContext &ctx, const xAOD::PixelClusterContainer &clusters, std::vector< bool > &labels) const
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_omegax
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_side
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_detectorElementID
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_truth_indices
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_phi_module
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_sizePhi
SG::WriteDecorHandleKey< xAOD::PixelClusterContainer > m_trackMeasurement_link
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_eta_module
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_layer
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_waferID
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_tots
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_bec
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurement_SiWidth
const T * back() const
Access the last element in the collection as an rvalue.
const T * at(size_type n) const
Access an element, as an rvalue.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
value_type get_compact() const
Get the compact id.
const SiDetectorElement * getDetectorElement(const IdentifierHash &hash) const
double xPhi() const
position along phi direction:
double xEta() const
position along eta direction:
const_pointer_type cptr()
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.
pointer_type ptr()
Dereference the pointer.
SG::ConstAccessor< SG::JaggedVecElt< Identifier::value_type > >::element_type rdoList() const
Returns the list of identifiers of the channels building the cluster.
int channelsInPhi() const
Returns the dimensions of the cluster in numbers of channels in phi (x) and eta (y) directions,...
ConstVectorMap< 3 > globalPosition() const
Returns the global position of the pixel cluster.
SG::ConstAccessor< SG::JaggedVecElt< int > >::element_type totList() const
Returns the list of ToT of the channels building the cluster.
int channelsInEta() 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.
ConstMatrixMap< N > localCovariance() const
Returns the local covariance of the measurement.
DetectorIDHashType identifierHash() const
Returns the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash).
DetectorIdentType identifier() const
Returns the full Identifier of the measurement.
ConstVectorMap< N > localPosition() const
Returns the local position of the measurement.
int uniqueID(const T &p)
row
Appending html table to final .html summary file.
SG::ConstAccessor< T, ALLOC > ConstAccessor
Definition AuxElement.h:570
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
std::pair< float, float > computeOmegas(const xAOD::PixelCluster &cluster, const PixelID &pixelID)
PixelClusterContainer_v1 PixelClusterContainer
Define the version of the pixel cluster container.
TrackMeasurementValidation_v1 TrackMeasurementValidation
Reference the current persistent version:
long unsigned int DetectorIdentType
PixelCluster_v1 PixelCluster
Define the version of the pixel cluster class.
TrackMeasurementValidationContainer_v1 TrackMeasurementValidationContainer
Definition of the current "TrackMeasurementValidation container version".
unsigned int DetectorIDHashType
@ detector ID element hash

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

◆ initialize()

StatusCode ActsTrk::PixelClusterTruthDecoratorAlg::initialize ( )
overridevirtual

Definition at line 22 of file PixelClusterTruthDecoratorAlg.cxx.

22 {
23 ATH_MSG_DEBUG("Initialize " << name() << " ...");
24
25 // Read keys
28 ATH_CHECK(m_pixelDetEleCollKey.initialize());
29
30 // Tracks only needed if we want on track clusters only
32
33 // Write keys
34 ATH_CHECK(m_write_xaod_key.initialize());
35
36 // Decorators
38
41
43 ATH_CHECK(m_measurement_waferID.initialize());
44 ATH_CHECK(m_measurement_bec.initialize());
45 ATH_CHECK(m_measurement_layer.initialize());
46 ATH_CHECK(m_measurement_sizePhi.initialize());
47 ATH_CHECK(m_measurement_sizeZ.initialize());
48 ATH_CHECK(m_measurement_SiWidth.initialize());
51 ATH_CHECK(m_measurement_omegax.initialize());
52 ATH_CHECK(m_measurement_omegay.initialize());
56 ATH_CHECK(m_measurement_side.initialize());
57
58 ATH_CHECK(m_measurement_tots.initialize());
59
60 ATH_CHECK( m_lorentzAngleTool.retrieve() );
62
63 return StatusCode::SUCCESS;
64 }
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_trackParticlesKey
const ServiceHandle< StoreGateSvc > & detStore() const

◆ 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 AthCommonAlgorithm< Gaudi::Algorithm >::isClonable ( ) const
inlineoverridevirtualinherited

Specify if the algorithm is clonable.

Only relevant for non-reentrant algorithms. Actual number of clones needs to be set via the "Cardinality" property.

Reimplemented in AFP_DigiTop, AlgB, AlgT, BCM_Digitization, CscDigitBuilder, CscDigitToCscRDO, G4AtlasAlg, G4RunAlg, HGTD_Digitization, HiveAlgBase, InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ISF::SimKernelMT, ITk::StripDigitization, ITkPixelCablingAlg, ITkStripCablingAlg, LArHitEMapMaker, LArTTL1Maker, LUCID_DigiTop, LVL1::L1TopoSimulation, MergeCalibHits, MergeGenericMuonSimHitColl, MergeHijingPars, MergeMcEventCollection, MergeTrackRecordCollection, MergeTruthJets, MergeTruthParticles, MuonDigitizer, PileUpMTAlg, PixelDigitization, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_Digitization, SCT_FlaggedConditionTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_PrepDataToxAOD, SCT_RawDataToxAOD, SCT_ReadCalibChipDataTestAlg, SCT_ReadCalibDataTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_SiliconConditionsTestAlg, SCT_StripVetoTestAlg, SCT_TdaqEnabledTestAlg, SCT_TestCablingAlg, SCTEventFlagWriter, SCTRawDataProvider, SCTSiLorentzAngleTestAlg, SCTSiPropertiesTestAlg, SGInputLoader, Simulation::BeamEffectsAlg, TileHitVecToCnt, TileMuonFitter, TilePulseForTileMuonReceiver, TileRawChannelMaker, TRTDigitization, and ZDC_DigiTop.

Definition at line 68 of file AthCommonAlgorithm.h.

68 {
69 return true;
70 }

◆ labelMeasurementToKeep()

StatusCode ActsTrk::PixelClusterTruthDecoratorAlg::labelMeasurementToKeep ( const EventContext & ctx,
const xAOD::PixelClusterContainer & clusters,
std::vector< bool > & labels ) const
private

Definition at line 256 of file PixelClusterTruthDecoratorAlg.cxx.

259{
260 labels.clear();
262 labels.resize(clusters.size(), true);
263 return StatusCode::SUCCESS;
264 }
265 labels.resize(clusters.size(), false);
266
267
268 // get the tracks
269 for (const SG::ReadHandleKey<xAOD::TrackParticleContainer>& trackParticleKey : m_trackParticlesKey) {
270 SG::ReadHandle<xAOD::TrackParticleContainer> trackParticleHandle = SG::makeHandle( trackParticleKey, ctx );
271 ATH_CHECK(trackParticleHandle.isValid());
272 const xAOD::TrackParticleContainer* trackParticles = trackParticleHandle.cptr();
273
274 for (const xAOD::TrackParticle* trackParticle : *trackParticles) {
275
276 std::optional<ActsTrk::TrackContainer::ConstTrackProxy> optional_track = getActsTrack(*trackParticle);
277 if ( not optional_track.has_value() ) {
278 ATH_MSG_ERROR("Invalid track link for particle " << trackParticle->index());
279 return StatusCode::FAILURE;
280 }
281 ActsTrk::TrackContainer::ConstTrackProxy track = optional_track.value();
282
283 // loop on track states
284 track.container().trackStateContainer()
285 .visitBackwards(track.tipIndex(),
286 [&labels]
287 (const typename ActsTrk::TrackContainer::ConstTrackStateProxy& state)
288 {
289 auto flags = state.typeFlags();
290 if (not flags.hasMeasurement()) return;
291
292 auto cluster = detail::xAODUncalibMeasCalibrator::unpack(state.getUncalibratedSourceLink());;
293 if (cluster == nullptr) {
294 return;
295 }
296 if (cluster->type() != xAOD::UncalibMeasType::PixelClusterType) return;
297 labels.at(cluster->index()) = true;
298 });
299 } // loop on tracks
300 } // loop on read handle keys
301
302 return StatusCode::SUCCESS;
303}
if(pathvar)
std::optional< ActsTrk::TrackContainer::ConstTrackProxy > getActsTrack(const xAOD::TrackParticle &trkPart)
Return the proxy to the Acts track from which the track particle was made frome.
Definition Decoration.cxx:9
TrackParticle_v1 TrackParticle
Reference the current persistent version:
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".

◆ 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 368 of file AthCommonDataStore.h.

369 {
370 h.renounce();
372 }
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 352 of file AthCommonDataStore.h.

352 {
354 }

◆ setFilterPassed()

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

Set filter decision:

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, 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}
#define ATH_MSG_WARNING(x,...)
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 298 of file AthCommonDataStore.h.

298 {
299 for (auto &a : m_vhka) {
301 for (auto k : keys) {
302 k->setOwner(this);
303 }
304 }
305 }

Member Data Documentation

◆ m_associationMap_key

SG::ReadHandleKey<ActsTrk::MeasurementToTruthParticleAssociation> ActsTrk::PixelClusterTruthDecoratorAlg::m_associationMap_key {this,"AssociationMapOut","", "Association map between measurements and truth particles"}
private

Definition at line 62 of file PixelClusterTruthDecoratorAlg.h.

62{this,"AssociationMapOut","", "Association map between measurements and truth particles"};

◆ m_clustercontainer_key

SG::ReadHandleKey<xAOD::PixelClusterContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_clustercontainer_key {this,"ClusterContainer", "","Input Pixel Cluster container"}
private

Definition at line 61 of file PixelClusterTruthDecoratorAlg.h.

61{this,"ClusterContainer", "","Input Pixel Cluster container"};

◆ m_detStore

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

Pointer to StoreGate (detector store by default).

Definition at line 381 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 378 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_idHelperName

Gaudi::Property<std::string> ActsTrk::PixelClusterTruthDecoratorAlg::m_idHelperName
private
Initial value:
{
this, "IDHelperName", "PixelID",
"DetectorStore key of the identifier helper (e.g. PixelID, PLR_ID)"}

Definition at line 95 of file PixelClusterTruthDecoratorAlg.h.

95 {
96 this, "IDHelperName", "PixelID",
97 "DetectorStore key of the identifier helper (e.g. PixelID, PLR_ID)"};

◆ m_keepOnlyOnTrackMeasurements

Gaudi::Property<bool> ActsTrk::PixelClusterTruthDecoratorAlg::m_keepOnlyOnTrackMeasurements {this, "KeepOnlyOnTrackMeasurements", false, "Keep on on-track measurements instead of the full collection"}
private

Definition at line 94 of file PixelClusterTruthDecoratorAlg.h.

94{this, "KeepOnlyOnTrackMeasurements", false, "Keep on on-track measurements instead of the full collection"};

◆ m_lorentzAngleTool

ToolHandle<ISiLorentzAngleTool> ActsTrk::PixelClusterTruthDecoratorAlg::m_lorentzAngleTool {this, "LorentzAngleTool", ""}
private

Definition at line 59 of file PixelClusterTruthDecoratorAlg.h.

59{this, "LorentzAngleTool", ""};

◆ m_measurement_bec

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_bec {this, "MeasurementBEC", m_write_xaod_key, "bec"}
private

Definition at line 77 of file PixelClusterTruthDecoratorAlg.h.

77{this, "MeasurementBEC", m_write_xaod_key, "bec"};

◆ m_measurement_centroid_xeta

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_centroid_xeta {this, "MeasurementCentroidXeta", m_write_xaod_key, "centroid_xeta"}
private

Definition at line 88 of file PixelClusterTruthDecoratorAlg.h.

88{this, "MeasurementCentroidXeta", m_write_xaod_key, "centroid_xeta"};

◆ m_measurement_centroid_xphi

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_centroid_xphi {this, "MeasurementCentroidXphi", m_write_xaod_key, "centroid_xphi"}
private

Definition at line 87 of file PixelClusterTruthDecoratorAlg.h.

87{this, "MeasurementCentroidXphi", m_write_xaod_key, "centroid_xphi"};

◆ m_measurement_detectorElementID

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_detectorElementID {this, "MeasurementDetectorElementID", m_write_xaod_key, "detectorElementID"}
private

Definition at line 75 of file PixelClusterTruthDecoratorAlg.h.

75{this, "MeasurementDetectorElementID", m_write_xaod_key, "detectorElementID"};

◆ m_measurement_eta_module

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_eta_module {this, "MeasurementEtaModule", m_write_xaod_key, "eta_module"}
private

Definition at line 82 of file PixelClusterTruthDecoratorAlg.h.

82{this, "MeasurementEtaModule", m_write_xaod_key, "eta_module"};

◆ m_measurement_layer

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_layer {this, "MeasurementLayer", m_write_xaod_key, "layer"}
private

Definition at line 78 of file PixelClusterTruthDecoratorAlg.h.

78{this, "MeasurementLayer", m_write_xaod_key, "layer"};

◆ m_measurement_LorentzShift

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_LorentzShift {this, "MeasurementLorentzShift", m_write_xaod_key, "LorentzShift"}
private

Definition at line 86 of file PixelClusterTruthDecoratorAlg.h.

86{this, "MeasurementLorentzShift", m_write_xaod_key, "LorentzShift"};

◆ m_measurement_omegax

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_omegax {this, "MeasurementOmegaX", m_write_xaod_key, "omegax"}
private

Definition at line 84 of file PixelClusterTruthDecoratorAlg.h.

84{this, "MeasurementOmegaX", m_write_xaod_key, "omegax"};

◆ m_measurement_omegay

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_omegay {this, "MeasurementOmegaY", m_write_xaod_key, "omegay"}
private

Definition at line 85 of file PixelClusterTruthDecoratorAlg.h.

85{this, "MeasurementOmegaY", m_write_xaod_key, "omegay"};

◆ m_measurement_phi_module

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_phi_module {this, "MeasurementPhiModule", m_write_xaod_key, "phi_module"}
private

Definition at line 83 of file PixelClusterTruthDecoratorAlg.h.

83{this, "MeasurementPhiModule", m_write_xaod_key, "phi_module"};

◆ m_measurement_side

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_side {this, "MeasurementSide", m_write_xaod_key, "side"}
private

Definition at line 89 of file PixelClusterTruthDecoratorAlg.h.

89{this, "MeasurementSide", m_write_xaod_key, "side"};

◆ m_measurement_SiWidth

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_SiWidth {this, "MeasurementSiWidth", m_write_xaod_key, "SiWidth"}
private

Definition at line 81 of file PixelClusterTruthDecoratorAlg.h.

81{this, "MeasurementSiWidth", m_write_xaod_key, "SiWidth"};

◆ m_measurement_sizePhi

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_sizePhi {this, "MeasurementSizePhi", m_write_xaod_key, "sizePhi"}
private

Definition at line 79 of file PixelClusterTruthDecoratorAlg.h.

79{this, "MeasurementSizePhi", m_write_xaod_key, "sizePhi"};

◆ m_measurement_sizeZ

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_sizeZ {this, "MeasurementSizeZ", m_write_xaod_key, "sizeZ"}
private

Definition at line 80 of file PixelClusterTruthDecoratorAlg.h.

80{this, "MeasurementSizeZ", m_write_xaod_key, "sizeZ"};

◆ m_measurement_tots

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_tots {this, "MeasurementToT", m_write_xaod_key, "tots"}
private

Definition at line 91 of file PixelClusterTruthDecoratorAlg.h.

91{this, "MeasurementToT", m_write_xaod_key, "tots"};

◆ m_measurement_truth_barcodes

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_truth_barcodes {this, "MeasurementTruthBarcode", m_write_xaod_key, "truth_barcode"}
private

Definition at line 73 of file PixelClusterTruthDecoratorAlg.h.

73{this, "MeasurementTruthBarcode", m_write_xaod_key, "truth_barcode"};

◆ m_measurement_truth_indices

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_truth_indices {this, "MeasurementTruthIndices", m_write_xaod_key, "truth_index"}
private

Definition at line 72 of file PixelClusterTruthDecoratorAlg.h.

72{this, "MeasurementTruthIndices", m_write_xaod_key, "truth_index"};

◆ m_measurement_waferID

SG::WriteDecorHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_measurement_waferID {this, "MeasurementWaferID", m_write_xaod_key, "waferID"}
private

Definition at line 76 of file PixelClusterTruthDecoratorAlg.h.

76{this, "MeasurementWaferID", m_write_xaod_key, "waferID"};

◆ m_pixelDetEleCollKey

SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> ActsTrk::PixelClusterTruthDecoratorAlg::m_pixelDetEleCollKey {this, "PixelDetEleCollKey", "ITkPixelDetectorElementCollection"}
private

Definition at line 66 of file PixelClusterTruthDecoratorAlg.h.

66{this, "PixelDetEleCollKey", "ITkPixelDetectorElementCollection"};

◆ m_PixelHelper

const PixelID* ActsTrk::PixelClusterTruthDecoratorAlg::m_PixelHelper {nullptr}
private

Definition at line 99 of file PixelClusterTruthDecoratorAlg.h.

99{nullptr};

◆ m_trackMeasurement_link

SG::WriteDecorHandleKey< xAOD::PixelClusterContainer > ActsTrk::PixelClusterTruthDecoratorAlg::m_trackMeasurement_link {this, "MeasurementLink", m_clustercontainer_key, "validationMeasurementLink"}
private

Definition at line 70 of file PixelClusterTruthDecoratorAlg.h.

70{this, "MeasurementLink", m_clustercontainer_key, "validationMeasurementLink"};

◆ m_trackParticlesKey

SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > ActsTrk::PixelClusterTruthDecoratorAlg::m_trackParticlesKey {this, "TrackParticles", {}, "Input xAOD::TrackParticles"}
private

Definition at line 64 of file PixelClusterTruthDecoratorAlg.h.

64{this, "TrackParticles", {}, "Input xAOD::TrackParticles"};

◆ m_useTruthInfo

Gaudi::Property<bool> ActsTrk::PixelClusterTruthDecoratorAlg::m_useTruthInfo {this, "UseTruthInfo", true}
private

Definition at line 93 of file PixelClusterTruthDecoratorAlg.h.

93{this, "UseTruthInfo", true};

◆ m_varHandleArraysDeclared

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

Definition at line 387 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 386 of file AthCommonDataStore.h.

◆ m_write_xaod_key

SG::WriteHandleKey<xAOD::TrackMeasurementValidationContainer> ActsTrk::PixelClusterTruthDecoratorAlg::m_write_xaod_key {this,"MeasurementContainer","", "Output Pixel Validation Clusters"}
private

Definition at line 67 of file PixelClusterTruthDecoratorAlg.h.

67{this,"MeasurementContainer","", "Output Pixel Validation Clusters"};

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