ATLAS Offline Software
Loading...
Searching...
No Matches
CleanHitDecoratorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CLEAN_HIT_DECORATOR_ALG_HH
6#define CLEAN_HIT_DECORATOR_ALG_HH
7
8// FrameWork includes
10
11// Containers
13
14// Read and write handle keys
18
19namespace FlavorTagDiscriminants {
20
28
29 public:
30 CleanHitDecoratorAlg(const std::string& name, ISvcLocator* svcLoc);
31
32 virtual StatusCode initialize() override;
33 virtual StatusCode execute(const EventContext& ctx) const override;
34
35 private:
36 // Input hits
38 this, "hitContainer", "PixelClusters", "Input measurement container"};
39
40 // Per-hit decorations read to decide the clean flag
43
46
48 this, "HasBSErr", m_hitContainer, "hasBSError", "has BS error decoration"};
49
51 this, "DCSState", m_hitContainer, "DCSState", "DCS state decoration"};
52
54 this, "deidKey", m_hitContainer, "detectorElementID", "detector element ID decoration"};
55
58
59 // Output decoration
61 this, "CleanHitKey", m_hitContainer, "isCleanHit", "clean hit decoration"};
62
63 // Configurable behaviour
64 Gaudi::Property<bool> m_isSCT{
65 this, "isSCT", false, "hits are from the SCT"};
66
67 Gaudi::Property<bool> m_doOverlapRemoval{
68 this, "DoOverlapRemoval", true, "Apply module-overlap tagging"};
69 };
70
71}
72
73#endif
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
CleanHitDecoratorAlg(const std::string &name, ISvcLocator *svcLoc)
SG::ReadDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_deidKey
SG::ReadDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_hasBSErrKey
SG::ReadDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_DCSStateKey
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_hitContainer
SG::ReadDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_becKey
SG::ReadDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_layerKey
SG::ReadDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_isFakeKey
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_cleanHitKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.