ATLAS Offline Software
DistanceInTrainAugmentationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // DistanceInTrainAugmentationTool.h, (c) ATLAS Detector software
8 // Author: Chris Young (christopher.young@cern.ch)
10 #ifndef DERIVATIONFRAMEWORK_BCDISTANCEAUGMENTATIONTOOL_H
11 #define DERIVATIONFRAMEWORK_BCDISTANCEAUGMENTATIONTOOL_H
12 
15 #include "GaudiKernel/ToolHandle.h"
18 
21 
22 namespace DerivationFramework {
23 
25 
26  public:
27  DistanceInTrainAugmentationTool( const std::string& t, const std::string& n, const IInterface* p );
28 
30 
33 
34  virtual StatusCode addBranches() const;
35 
36  private:
37  // Tool to get distance into bunch train
38  SG::ReadCondHandleKey<BunchCrossingCondData> m_bunchCrossingKey{this, "BunchCrossingKey", "BunchCrossingData", "Key BunchCrossing CDO" };
39 
40  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo_key{this, "EventInfo", "EventInfo", "Input event information"};
41 
42  SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDDistanceFrontKey {this, "BCIDDistanceFrontKey", "EventInfo.DFCommonJets_BCIDDistanceFromFront", "Decoration for BCID distance from front"};
43  SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDDistanceTailKey {this, "BCIDDistanceTailKey", "EventInfo.DFCommonJets_BCIDDistanceTail" , "Decoration for BCID distance from tail"};
44  SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDGapBeforeTrainKey {this, "BCIDGapBeforeTrainKey", "EventInfo.DFCommonJets_BCIDGapBeforeTrain", "Decoration for BCID gap before train"};
45  SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDGapAfterTrainKey {this, "BCIDGapAfterTrainKey", "EventInfo.DFCommonJets_BCIDGapAfterTrain", "Decoration for BCID gap after train"};
46  SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDTypeKey {this, "BCIDTypeKey", "EventInfo.DFCommonJets_BCIDType", "Decoration for BCID type"};
47  SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDGapBeforeTrainMinus12Key {this, "BCIDGapBeforeTrainMinus12Key", "EventInfo.DFCommonJets_BCIDGapBeforeTrainMinus12", "Decoration for BCID gap before train minus 12 BCIDs"};
48  SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDGapAfterTrainMinus12Key {this, "BCIDGapAfterTrainMinus12Key", "EventInfo.DFCommonJets_BCIDGapAfterTrainMinus12", "Decoration for BCID gap after train minus 12 BCIDs"};
49  SG::WriteDecorHandleKey<xAOD::EventInfo> m_BCIDTypeMinus12Key {this, "BCIDTypeMinus12Key", "EventInfo.DFCommonJets_BCIDTypeMinus12", "Decoration for BCID type minus 12 BCIDs"};
50 
51  };
52 
53 }
54 
55 #endif
56 
SG::WriteDecorHandleKey< xAOD::EventInfo >
DerivationFramework::DistanceInTrainAugmentationTool::finalize
StatusCode finalize()
Definition: DistanceInTrainAugmentationTool.cxx:55
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
IAugmentationTool.h
DerivationFramework::DistanceInTrainAugmentationTool::m_BCIDGapBeforeTrainKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDGapBeforeTrainKey
Definition: DistanceInTrainAugmentationTool.h:44
DerivationFramework::DistanceInTrainAugmentationTool::m_BCIDGapAfterTrainKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDGapAfterTrainKey
Definition: DistanceInTrainAugmentationTool.h:45
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey< xAOD::EventInfo >
DerivationFramework::DistanceInTrainAugmentationTool::initialize
StatusCode initialize()
Definition: DistanceInTrainAugmentationTool.cxx:35
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::DistanceInTrainAugmentationTool
Definition: DistanceInTrainAugmentationTool.h:24
DerivationFramework::DistanceInTrainAugmentationTool::~DistanceInTrainAugmentationTool
~DistanceInTrainAugmentationTool()
Definition: DistanceInTrainAugmentationTool.cxx:32
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework::DistanceInTrainAugmentationTool::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition: DistanceInTrainAugmentationTool.cxx:61
DerivationFramework::DistanceInTrainAugmentationTool::m_BCIDGapAfterTrainMinus12Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDGapAfterTrainMinus12Key
Definition: DistanceInTrainAugmentationTool.h:48
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::DistanceInTrainAugmentationTool::m_BCIDDistanceTailKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDDistanceTailKey
Definition: DistanceInTrainAugmentationTool.h:43
DerivationFramework::DistanceInTrainAugmentationTool::m_BCIDTypeMinus12Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDTypeMinus12Key
Definition: DistanceInTrainAugmentationTool.h:49
DerivationFramework::DistanceInTrainAugmentationTool::m_eventInfo_key
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
Definition: DistanceInTrainAugmentationTool.h:40
EventInfo.h
SG::ReadCondHandleKey< BunchCrossingCondData >
DerivationFramework::DistanceInTrainAugmentationTool::DistanceInTrainAugmentationTool
DistanceInTrainAugmentationTool(const std::string &t, const std::string &n, const IInterface *p)
Definition: DistanceInTrainAugmentationTool.cxx:21
DerivationFramework::DistanceInTrainAugmentationTool::m_BCIDDistanceFrontKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDDistanceFrontKey
Definition: DistanceInTrainAugmentationTool.h:42
DerivationFramework::DistanceInTrainAugmentationTool::m_BCIDTypeKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDTypeKey
Definition: DistanceInTrainAugmentationTool.h:46
BunchCrossingCondData.h
Replaces the BunchCrossing AlgTool used in run1/2.
DerivationFramework::DistanceInTrainAugmentationTool::m_BCIDGapBeforeTrainMinus12Key
SG::WriteDecorHandleKey< xAOD::EventInfo > m_BCIDGapBeforeTrainMinus12Key
Definition: DistanceInTrainAugmentationTool.h:47
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::DistanceInTrainAugmentationTool::m_bunchCrossingKey
SG::ReadCondHandleKey< BunchCrossingCondData > m_bunchCrossingKey
Definition: DistanceInTrainAugmentationTool.h:38