ATLAS Offline Software
Loading...
Searching...
No Matches
DistanceInTrainAugmentationTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6// Author: Chris Young (christopher.young@cern.ch)
8#ifndef DERIVATIONFRAMEWORK_BCDISTANCEAUGMENTATIONTOOL_H
9#define DERIVATIONFRAMEWORK_BCDISTANCEAUGMENTATIONTOOL_H
10
13#include "GaudiKernel/ToolHandle.h"
16
19
20namespace DerivationFramework {
21
22 class DistanceInTrainAugmentationTool : public extends<AthAlgTool, IAugmentationTool> {
23
24 public:
25
26 using base_class::base_class;
27
28 virtual StatusCode initialize() override final;
29
30 virtual StatusCode addBranches(const EventContext& ctx) const override final;
31
32 private:
33 // Tool to get distance into bunch train
34 SG::ReadCondHandleKey<BunchCrossingCondData> m_bunchCrossingKey{this, "BunchCrossingKey", "BunchCrossingData", "Key BunchCrossing CDO" };
35
36 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo_key{this, "EventInfo", "EventInfo", "Input event information"};
37
38 SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDDistanceFrontKey {this, "BCIDDistanceFrontKey", m_eventInfo_key, "DFCommonJets_BCIDDistanceFromFront", "Decoration for BCID distance from front"};
39 SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDDistanceTailKey {this, "BCIDDistanceTailKey", m_eventInfo_key, "DFCommonJets_BCIDDistanceTail" , "Decoration for BCID distance from tail"};
40 SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDGapBeforeTrainKey {this, "BCIDGapBeforeTrainKey", m_eventInfo_key, "DFCommonJets_BCIDGapBeforeTrain", "Decoration for BCID gap before train"};
41 SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDGapAfterTrainKey {this, "BCIDGapAfterTrainKey", m_eventInfo_key, "DFCommonJets_BCIDGapAfterTrain", "Decoration for BCID gap after train"};
42 SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDTypeKey {this, "BCIDTypeKey", m_eventInfo_key, "DFCommonJets_BCIDType", "Decoration for BCID type"};
43 SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDGapBeforeTrainMinus12Key {this, "BCIDGapBeforeTrainMinus12Key", m_eventInfo_key, "DFCommonJets_BCIDGapBeforeTrainMinus12", "Decoration for BCID gap before train minus 12 BCIDs"};
44 SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDGapAfterTrainMinus12Key {this, "BCIDGapAfterTrainMinus12Key", m_eventInfo_key, "DFCommonJets_BCIDGapAfterTrainMinus12", "Decoration for BCID gap after train minus 12 BCIDs"};
45 SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDTypeMinus12Key {this, "BCIDTypeMinus12Key", m_eventInfo_key, "DFCommonJets_BCIDTypeMinus12", "Decoration for BCID type minus 12 BCIDs"};
46
47 };
48
49}
50
51#endif
Replaces the BunchCrossing AlgTool used in run1/2.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDGapBeforeTrainMinus12Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDGapBeforeTrainKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDTypeMinus12Key
SG::ReadCondHandleKey< BunchCrossingCondData > m_bunchCrossingKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDGapAfterTrainMinus12Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDDistanceFrontKey
virtual StatusCode addBranches(const EventContext &ctx) const override final
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDDistanceTailKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDGapAfterTrainKey
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.
THE reconstruction tool.