Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
InDet::SiSPGNNTrackMaker is an algorithm that uses the GNN-based track finding tool to reconstruct tracks and the use track fitter to obtain track parameters. It turns a collection of Trk::Tracks.
More...
#include <SiSPGNNTrackMaker.h>
|
| SiSPGNNTrackMaker (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | execute (const EventContext &ctx) const override |
|
virtual bool | isClonable () const override |
| Make this algorithm clonable. More...
|
|
MsgStream & | dump (MsgStream &out) const |
|
std::ostream & | dump (std::ostream &out) const |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. More...
|
|
virtual unsigned int | cardinality () const override |
| Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
|
|
virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
virtual bool | filterPassed (const EventContext &ctx) const |
|
virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
MsgStream & | dumptools (MsgStream &out) const |
|
MsgStream & | dumpevent (MsgStream &out) const |
|
int | passEtaDepCuts (const Trk::Track &track) const |
|
std::tuple< bool, int, std::unique_ptr< Trk::Track > > | doFitAndCut (const EventContext &ctx, std::vector< const Trk::SpacePoint * > &spacePoints, std::vector< const Trk::PrepRawData * > &clusters, int &trackCounter) const |
| Fits a track and applies quality cuts to determine if it should be kept. More...
|
|
bool | prefitCheck (unsigned int nPix, unsigned int nStrip, unsigned int nClusters, unsigned int nSpacePoints) const |
|
std::unique_ptr< Trk::Track > | fitTrack (const EventContext &ctx, std::vector< const Trk::PrepRawData * > clusters, const Trk::TrackParameters &initial_params, int trackCounter) const |
|
std::vector< const Trk::SpacePoint * > | getSpacePoints (const std::vector< uint32_t > &trackIndices, const std::vector< const Trk::SpacePoint * > &allSpacePoints) const |
|
std::vector< const Trk::PrepRawData * > | spacePointsToClusters (const std::vector< const Trk::SpacePoint * > &spacePoints) const |
|
std::vector< const Trk::PrepRawData * > | getClusters (const std::vector< std::vector< uint32_t >> &clusterTracks, const std::vector< const Trk::PrepRawData * > &allClusters, int trackNumber) const |
|
std::vector< const Trk::SpacePoint * > | getSpacePointsInEvent (const EventContext &ctx, int eventNumber) const |
|
std::vector< const Trk::SpacePoint * > | getSpacePointsInEvent (const EventContext &ctx, const SG::ReadHandleKey< SpacePointContainer > &containerKey) const |
|
std::vector< const Trk::SpacePoint * > | getSpacePointsInEvent (const EventContext &ctx, const SG::ReadHandleKey< SpacePointOverlapCollection > &containerKey) const |
|
std::vector< const Trk::PrepRawData * > | getClustersInEvent (const EventContext &ctx, int eventNumber) const |
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
|
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. More...
|
|
|
SG::ReadHandleKey< SpacePointContainer > | m_SpacePointsPixelKey |
|
SG::ReadHandleKey< SpacePointContainer > | m_SpacePointsSCTKey |
|
SG::ReadHandleKey< SpacePointOverlapCollection > | m_SpacePointsOverlapKey {this, "SpacePointsOverlapName", "ITkOverlapSpacePoints"} |
|
SG::ReadHandleKey< InDet::PixelClusterContainer > | m_ClusterPixelKey |
|
SG::ReadHandleKey< InDet::SCT_ClusterContainer > | m_ClusterStripKey |
|
SG::WriteHandleKey< TrackCollection > | m_outputTracksKey |
|
ToolHandle< IGNNTrackFinder > | m_gnnTrackFinder |
| GNN-based track finding tool that produces track candidates. More...
|
|
ToolHandle< ISeedFitter > | m_seedFitter |
|
ToolHandle< Trk::ITrackFitter > | m_trackFitter |
| Track Fitter. More...
|
|
ToolHandle< Trk::IExtendedTrackSummaryTool > | m_trackSummaryTool |
|
ToolHandle< IGNNTrackReaderTool > | m_gnnTrackReader |
|
BooleanProperty | m_areInputClusters |
|
BooleanProperty | m_doRecoTrackCuts |
|
ServiceHandle< IInDetEtaDependentCutsSvc > | m_etaDependentCutsSvc |
|
UnsignedIntegerProperty | m_minClusters {this, "minClusters", 6, "Min number clusters"} |
|
UnsignedIntegerProperty | m_minPixelClusters {this, "minPixelClusters", 1, "min pixel clusters"} |
|
UnsignedIntegerProperty | m_minStripClusters {this, "minStripClusters", 0, "Minimum number of strip clusters"} |
|
DoubleProperty | m_pTmin {this, "pTmin", 400., "min pT"} |
|
DoubleProperty | m_etamax {this, "etamax", 4., "max reco eta"} |
|
BooleanProperty | m_doRecoverFailedFits |
|
InDet::SiSPGNNTrackMaker is an algorithm that uses the GNN-based track finding tool to reconstruct tracks and the use track fitter to obtain track parameters. It turns a collection of Trk::Tracks.
- Author
- xiang.nosp@m.yang.nosp@m..ju@c.nosp@m.ern..nosp@m.ch
Definition at line 43 of file SiSPGNNTrackMaker.h.
◆ StoreGateSvc_t
◆ SiSPGNNTrackMaker()
InDet::SiSPGNNTrackMaker::SiSPGNNTrackMaker |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ cardinality()
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Override this to return 0 for reentrant algorithms.
Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ doFitAndCut()
Fits a track and applies quality cuts to determine if it should be kept.
- Parameters
-
ctx | Event context for conditions access |
clusters | Vector of cluster measurements used to fit the track |
initial_params | Initial track parameters from seed finding |
trackCounter | Index/ID of the track candidate being processed |
- Returns
- std::tuple<bool, int, std::unique_ptr<Trk::Track>>
- bool: Whether the fit was successful
- int: Error/status code (0 for success, >0 for specific failure modes)
- Track: The fitted track (nullptr if fit fails or track rejected)
This function performs the following steps:
- Fits the track using the provided clusters and initial parameters
- Checks basic kinematic cuts (pT, eta)
- Computes track summary (hits, holes)
- Applies eta-dependent quality cuts if configured
Error codes:
- 0: Success, track passes all cuts
- 1: Failed minimum silicon hits requirement
- 2: Failed minimum pixel hits requirement
- 3: Failed minimum pT requirement
- 4: Failed maximum z0 requirement
- 5: Failed maximum d0 requirement
- 6: Failed maximum holes requirement
- 999: Track fit failed
- Note
- The track fitting is performed using the configured track fitter tool
-
Quality cuts are configurable via job options
Definition at line 466 of file SiSPGNNTrackMaker.cxx.
482 <<
" space points, " <<
clusters.size()
483 <<
" clusters, " << nPIX <<
" pixel clusters, "
484 <<
nStrip <<
" strip clusters");
488 ATH_MSG_DEBUG(
"Track " << trackCounter <<
" does not pass prefit cuts, skipping");
489 return std::make_tuple(
false, 999,
nullptr);
494 if (trkParameters ==
nullptr) {
496 return std::make_tuple(
false, 999,
nullptr);
501 if (track ==
nullptr ||
track->perigeeParameters() ==
nullptr) {
503 <<
" fails the chi2 fit, skipping");
504 return std::make_tuple(
false, 999,
nullptr);
510 <<
"with pt = " <<
track->perigeeParameters()->pT()
511 <<
" has pT too low, skipping track!");
512 return std::make_tuple(
false, 999,
nullptr);
516 if (std::abs(
track->perigeeParameters()->eta()) >
m_etamax) {
518 << std::abs(
track->perigeeParameters()->eta())
519 <<
" has eta too high, skipping track!");
520 return std::make_tuple(
false, 999,
nullptr);
529 return std::make_tuple(
true, passTrackCut, std::move(track));
◆ dump() [1/2]
MsgStream & InDet::SiSPGNNTrackMaker::dump |
( |
MsgStream & |
out | ) |
const |
◆ dump() [2/2]
std::ostream & InDet::SiSPGNNTrackMaker::dump |
( |
std::ostream & |
out | ) |
const |
◆ dumpevent()
MsgStream & InDet::SiSPGNNTrackMaker::dumpevent |
( |
MsgStream & |
out | ) |
const |
|
protected |
◆ dumptools()
MsgStream & InDet::SiSPGNNTrackMaker::dumptools |
( |
MsgStream & |
out | ) |
const |
|
protected |
Definition at line 632 of file SiSPGNNTrackMaker.cxx.
634 out<<
"| Location of output tracks | "
636 out<<
"|----------------------------------------------------------------"
637 <<
"----------------------------------------------------|"
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode InDet::SiSPGNNTrackMaker::execute |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Definition at line 84 of file SiSPGNNTrackMaker.cxx.
87 ATH_CHECK(outputTracks.record(std::make_unique<TrackCollection>()));
100 std::vector<std::vector<uint32_t> >
TT;
101 std::vector<std::vector<uint32_t> > clusterTracks;
110 ATH_MSG_ERROR(
"Both GNNTrackFinder and GNNTrackReader are not set");
111 return StatusCode::FAILURE;
118 int trackCounter = -1;
119 std::vector<int> status_codes;
121 for (
auto& trackIndices :
TT) {
131 getClusters (clusterTracks, allClusters, trackCounter)
143 if (not fitSuccess) {
147 if (passTrackCut <= 0) {
148 outputTracks->push_back(
track.release());
151 status_codes.push_back(passTrackCut);
157 <<
std::count(status_codes.begin(), status_codes.end(), 0)
158 <<
" tracks remains after applying track cuts");
160 ATH_MSG_INFO(
"Event " <<
eventNumber <<
" has " << status_codes.size() <<
" tracks found, all tracks are kept");
163 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
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()
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.
◆ filterPassed()
◆ fitTrack()
Definition at line 533 of file SiSPGNNTrackMaker.cxx.
543 bool keepOnTrying =
true;
544 std::unique_ptr<Trk::Track>
track;
545 while (keepOnTrying) {
548 if (track ==
nullptr ||
track->perigeeParameters() ==
nullptr) {
551 keepOnTrying =
false;
554 keepOnTrying =
false;
558 if (track ==
nullptr ||
track->perigeeParameters() ==
nullptr) {
560 <<
" fails the first chi2 fit, skipping");
567 <<
" fails the first chi2 fit, skipping");
574 while (keepOnTrying) {
578 if (track ==
nullptr ||
track->trackSummary() ==
nullptr ||
track->outliersOnTrack()->size()>=3) {
592 <<
" fails the second chi2 fit, skipping");
◆ getClusters()
Definition at line 415 of file SiSPGNNTrackMaker.cxx.
420 std::vector<uint32_t> clusterIndices = clusterTracks[
trackNumber];
421 std::vector<const Trk::PrepRawData*>
clusters;
422 clusters.reserve(clusterIndices.size());
423 for (
uint32_t id : clusterIndices) {
424 if (
id > allClusters.size()) {
428 clusters.push_back(allClusters[
id]);
◆ getClustersInEvent()
std::vector< const Trk::PrepRawData * > InDet::SiSPGNNTrackMaker::getClustersInEvent |
( |
const EventContext & |
ctx, |
|
|
int |
eventNumber |
|
) |
| const |
|
protected |
Definition at line 298 of file SiSPGNNTrackMaker.cxx.
302 std::vector<const Trk::PrepRawData*> allClusters;
309 if (!pixcontainer.isValid()) {
314 if (!strip_container.isValid()) {
319 auto pixcollection = pixcontainer->begin();
320 auto pixcollectionEnd = pixcontainer->end();
321 for (; pixcollection != pixcollectionEnd; ++pixcollection) {
322 if ((*pixcollection)->empty()) {
326 auto const* clusterCollection = (*pixcollection);
327 auto thisCluster = clusterCollection->begin();
328 auto clusterEnd = clusterCollection->end();
329 for (; thisCluster != clusterEnd; ++thisCluster) {
331 allClusters.push_back(
cl);
335 auto strip_collection = strip_container->begin();
336 auto strip_collectionEnd = strip_container->end();
337 for (; strip_collection != strip_collectionEnd; ++strip_collection) {
338 if ((*strip_collection)->empty()) {
342 auto const* clusterCollection = (*strip_collection);
343 auto thisCluster = clusterCollection->begin();
344 auto clusterEnd = clusterCollection->end();
345 for (; thisCluster != clusterEnd; ++thisCluster) {
347 allClusters.push_back(
cl);
◆ getSpacePoints()
Definition at line 358 of file SiSPGNNTrackMaker.cxx.
363 std::vector<const Trk::SpacePoint*> trackCandidate;
364 trackCandidate.reserve(trackIndices.size());
366 std::vector<std::pair<double, const Trk::SpacePoint*> > distanceSortedSPs;
370 for (
auto&
id : trackIndices) {
372 if (
id > allSpacePoints.size()) {
374 <<
id <<
" out of range: " << allSpacePoints.size());
382 distanceSortedSPs.push_back(
392 std::sort(distanceSortedSPs.begin(), distanceSortedSPs.end());
395 for (
size_t i = 0;
i < distanceSortedSPs.size();
i++) {
396 trackCandidate.push_back(distanceSortedSPs[
i].
second);
399 return trackCandidate;
◆ getSpacePointsInEvent() [1/3]
Definition at line 249 of file SiSPGNNTrackMaker.cxx.
254 if (not containerKey.
empty()){
258 if (container.isValid()){
260 auto spc = container->begin();
261 auto spce = container->end();
262 for(; spc != spce; ++spc){
264 auto sp = spCollection->
begin();
265 auto spe = spCollection->
end();
266 for(; sp != spe; ++sp) {
◆ getSpacePointsInEvent() [2/3]
◆ getSpacePointsInEvent() [3/3]
std::vector< const Trk::SpacePoint * > InDet::SiSPGNNTrackMaker::getSpacePointsInEvent |
( |
const EventContext & |
ctx, |
|
|
int |
eventNumber |
|
) |
| const |
|
protected |
Definition at line 221 of file SiSPGNNTrackMaker.cxx.
227 int npixsp(0), nstrip(0), n_overlap(0);
241 <<
" pixel space points, " << nstrip
242 <<
" strips space points" << n_overlap
243 <<
" overlapping spacepoints" <<
spacePoints.size()
◆ initialize()
StatusCode InDet::SiSPGNNTrackMaker::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 20 of file SiSPGNNTrackMaker.cxx.
35 ATH_MSG_ERROR(
"Use either track finder or track reader, not both.");
36 return StatusCode::FAILURE;
53 ATH_MSG_INFO(
"Applying the following cuts during GNN-based track reconstruction: ");
62 ATH_MSG_INFO(
"Applying the following eta dependant track cuts after GNN-based track reconstruction: ");
81 return StatusCode::SUCCESS;
◆ inputHandles()
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() [1/2]
virtual bool InDet::SiSPGNNTrackMaker::isClonable |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isClonable() [2/2]
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
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.
◆ passEtaDepCuts()
int InDet::SiSPGNNTrackMaker::passEtaDepCuts |
( |
const Trk::Track & |
track | ) |
const |
|
protected |
Definition at line 172 of file SiSPGNNTrackMaker.cxx.
175 double pt = origPerigee->pT();
177 double eta = std::abs(origPerigee->eta());
179 double d0 = std::abs(origPerigee->parameters()[
Trk::d0]);
181 double z0 = std::abs(origPerigee->parameters()[
Trk::z0]);
188 int nClusters = nPixels +
nStrips;
195 if (nClusters < m_etaDependentCutsSvc->getMinSiHitsAtEta(eta))
199 if (nPixels < m_etaDependentCutsSvc->getMinPixelHitsAtEta(eta))
203 if (pt < m_etaDependentCutsSvc->getMinPtAtEta(eta))
◆ prefitCheck()
bool InDet::SiSPGNNTrackMaker::prefitCheck |
( |
unsigned int |
nPix, |
|
|
unsigned int |
nStrip, |
|
|
unsigned int |
nClusters, |
|
|
unsigned int |
nSpacePoints |
|
) |
| const |
|
protected |
◆ renounce()
◆ renounceArray()
◆ setFilterPassed()
◆ spacePointsToClusters()
Definition at line 402 of file SiSPGNNTrackMaker.cxx.
405 std::vector<const Trk::PrepRawData*>
clusters;
407 clusters.push_back(sp->clusterList().first);
408 if (sp->clusterList().second !=
nullptr) {
409 clusters.push_back(sp->clusterList().second);
◆ sysExecute()
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.
Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.
◆ sysInitialize()
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 InputMakerBase, and HypoBase.
Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.
110 if (
sc.isFailure()) {
118 if ( cs.retrieve().isFailure() ) {
120 return StatusCode::SUCCESS;
122 if (cs->regHandle(
this,*
h).isFailure()) {
123 sc = StatusCode::FAILURE;
124 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_areInputClusters
BooleanProperty InDet::SiSPGNNTrackMaker::m_areInputClusters |
|
protected |
Initial value:{
this, "areInputClusters", false,
"Read track candidates as list of clusters"}
Definition at line 105 of file SiSPGNNTrackMaker.h.
◆ m_ClusterPixelKey
Initial value:{
this, "PixelClusterContainer", "ITkPixelClusters"}
Definition at line 68 of file SiSPGNNTrackMaker.h.
◆ m_ClusterStripKey
Initial value:{
this, "StripClusterContainer", "ITkStripClusters"}
Definition at line 70 of file SiSPGNNTrackMaker.h.
◆ m_detStore
◆ m_doRecoTrackCuts
BooleanProperty InDet::SiSPGNNTrackMaker::m_doRecoTrackCuts |
|
protected |
Initial value:{this, "doRecoTrackCuts", false,
"Apply Loose track cuts"}
Definition at line 108 of file SiSPGNNTrackMaker.h.
◆ m_doRecoverFailedFits
BooleanProperty InDet::SiSPGNNTrackMaker::m_doRecoverFailedFits |
|
protected |
Initial value:{this, "doRecoverFailedFits", true,
"Try to recover failed track fits by removing hits, at the end of the track"}
Definition at line 122 of file SiSPGNNTrackMaker.h.
◆ m_etaDependentCutsSvc
Initial value:{
this, "InDetEtaDependentCutsSvc", "InDetEtaDependentCutsSvc"}
Definition at line 111 of file SiSPGNNTrackMaker.h.
◆ m_etamax
DoubleProperty InDet::SiSPGNNTrackMaker::m_etamax {this, "etamax", 4., "max reco eta"} |
|
protected |
◆ m_evtStore
◆ m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 114 of file AthCommonReentrantAlgorithm.h.
◆ m_gnnTrackFinder
Initial value:{
this, "GNNTrackFinderTool",
"InDet::SiGNNTrackFinderTool", "Track Finder"
}
GNN-based track finding tool that produces track candidates.
@name Tool handles
Definition at line 82 of file SiSPGNNTrackMaker.h.
◆ m_gnnTrackReader
Initial value:{
this, "GNNTrackReaderTool",
"InDet::GNNTrackReaderTool", "Track Reader"
}
Definition at line 97 of file SiSPGNNTrackMaker.h.
◆ m_minClusters
UnsignedIntegerProperty InDet::SiSPGNNTrackMaker::m_minClusters {this, "minClusters", 6, "Min number clusters"} |
|
protected |
◆ m_minPixelClusters
UnsignedIntegerProperty InDet::SiSPGNNTrackMaker::m_minPixelClusters {this, "minPixelClusters", 1, "min pixel clusters"} |
|
protected |
◆ m_minStripClusters
UnsignedIntegerProperty InDet::SiSPGNNTrackMaker::m_minStripClusters {this, "minStripClusters", 0, "Minimum number of strip clusters"} |
|
protected |
◆ m_outputTracksKey
Initial value:{
this, "TracksLocation", "SiSPGNNTracks"}
Definition at line 74 of file SiSPGNNTrackMaker.h.
◆ m_pTmin
DoubleProperty InDet::SiSPGNNTrackMaker::m_pTmin {this, "pTmin", 400., "min pT"} |
|
protected |
◆ m_seedFitter
ToolHandle<ISeedFitter> InDet::SiSPGNNTrackMaker::m_seedFitter |
|
protected |
Initial value:{
this, "SeedFitterTool",
"InDet::SiSeedFitterTool", "Seed Fitter"
}
Definition at line 86 of file SiSPGNNTrackMaker.h.
◆ m_SpacePointsOverlapKey
◆ m_SpacePointsPixelKey
Initial value:{
this, "SpacePointsPixelName", "ITkPixelSpacePoints"}
@name Data handles
Definition at line 62 of file SiSPGNNTrackMaker.h.
◆ m_SpacePointsSCTKey
Initial value:{
this, "SpacePointsSCTName", "ITkStripSpacePoints"}
Definition at line 64 of file SiSPGNNTrackMaker.h.
◆ m_trackFitter
Initial value:{
this, "TrackFitter",
"Trk::GlobalChi2Fitter/InDetTrackFitter", "Track Fitter"
}
Track Fitter.
Definition at line 91 of file SiSPGNNTrackMaker.h.
◆ m_trackSummaryTool
Initial value:{
this, "TrackSummaryTool", "InDetTrackSummaryTool"}
Definition at line 95 of file SiSPGNNTrackMaker.h.
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
@ numberOfPixelHits
number of pixel layers on track with absence of hits
std::vector< const Trk::PrepRawData * > getClustersInEvent(const EventContext &ctx, int eventNumber) const
BooleanProperty m_doRecoTrackCuts
ToolHandle< IGNNTrackFinder > m_gnnTrackFinder
GNN-based track finding tool that produces track candidates.
SG::ReadHandleKey< SpacePointContainer > m_SpacePointsPixelKey
virtual const Amg::Vector3D & globalPosition() const override final
Interface method to get the global Position.
UnsignedIntegerProperty m_minPixelClusters
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
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)
std::vector< const Trk::PrepRawData * > getClusters(const std::vector< std::vector< uint32_t >> &clusterTracks, const std::vector< const Trk::PrepRawData * > &allClusters, int trackNumber) const
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
ServiceHandle< IInDetEtaDependentCutsSvc > m_etaDependentCutsSvc
SG::ReadHandleKey< SpacePointOverlapCollection > m_SpacePointsOverlapKey
int passEtaDepCuts(const Trk::Track &track) const
bool empty() const
Test if the key is blank.
@ numberOfSCTHoles
number of Holes in both sides of a SCT module
SG::WriteHandleKey< TrackCollection > m_outputTracksKey
virtual void setOwner(IDataHandleHolder *o)=0
An algorithm that can be simultaneously executed in multiple threads.
bool prefitCheck(unsigned int nPix, unsigned int nStrip, unsigned int nClusters, unsigned int nSpacePoints) const
virtual const DataObjIDColl & extraOutputDeps() const override
Return the list of extra output dependencies.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
SG::ReadHandleKey< InDet::SCT_ClusterContainer > m_ClusterStripKey
MsgStream & dumpevent(MsgStream &out) const
::StatusCode StatusCode
StatusCode definition for legacy code.
@ numberOfSCTHits
number of SCT holes
virtual StatusCode sysExecute(const EventContext &ctx) override
Execute an algorithm.
ToolHandle< Trk::ITrackFitter > m_trackFitter
Track Fitter.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
BooleanProperty m_areInputClusters
@ numberOfPixelHoles
number of pixels which have a ganged ambiguity.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
int nStrips(const MuonGM::TgcReadoutElement &readoutEle, int layer)
std::unique_ptr< Trk::Track > fitTrack(const EventContext &ctx, std::vector< const Trk::PrepRawData * > clusters, const Trk::TrackParameters &initial_params, int trackCounter) const
ToolHandle< ISeedFitter > m_seedFitter
@ nStrip
Get number of strips.
ToolHandle< Trk::IExtendedTrackSummaryTool > m_trackSummaryTool
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
BooleanProperty m_doRecoverFailedFits
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.
#define ATH_MSG_WARNING(x)
UnsignedIntegerProperty m_minClusters
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
MsgStream & dumptools(MsgStream &out) const
virtual StatusCode sysInitialize() override
Override sysInitialize.
std::tuple< bool, int, std::unique_ptr< Trk::Track > > doFitAndCut(const EventContext &ctx, std::vector< const Trk::SpacePoint * > &spacePoints, std::vector< const Trk::PrepRawData * > &clusters, int &trackCounter) const
Fits a track and applies quality cuts to determine if it should be kept.
UnsignedIntegerProperty m_minStripClusters
SG::ReadHandleKey< InDet::PixelClusterContainer > m_ClusterPixelKey
std::vector< const Trk::SpacePoint * > getSpacePointsInEvent(const EventContext &ctx, int eventNumber) const
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
std::vector< const Trk::SpacePoint * > getSpacePoints(const std::vector< uint32_t > &trackIndices, const std::vector< const Trk::SpacePoint * > &allSpacePoints) const
constexpr int pow(int base, int exp) noexcept
SG::ReadHandleKey< SpacePointContainer > m_SpacePointsSCTKey
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
std::vector< const Trk::PrepRawData * > spacePointsToClusters(const std::vector< const Trk::SpacePoint * > &spacePoints) const
ToolHandle< IGNNTrackReaderTool > m_gnnTrackReader