ATLAS Offline Software
EventInfoPixelDecorator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // EventInfoPixelDecorator.h, (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_EVENTINFOPIXELDECORATOR_H
10 #define DERIVATIONFRAMEWORK_EVENTINFOPIXELDECORATOR_H
11 
12 #include <string>
13 #include <vector>
14 
17 #include "GaudiKernel/ToolHandle.h"
18 #include "GaudiKernel/ServiceHandle.h"
23 
24 namespace DerivationFramework {
25 
26  class EventInfoPixelDecorator : public ExpressionParserUser<AthAlgTool>, public IAugmentationTool {
27  public:
28  EventInfoPixelDecorator(const std::string& type, const std::string& name, const IInterface* parent);
29 
32  virtual StatusCode addBranches() const;
33 
34  private:
35  Gaudi::Property<std::string> m_selectionString
36  { this, "SelectionString", "" , "" };
37 
38  mutable std::atomic<unsigned int> m_ntot {};
39  mutable std::atomic<unsigned int> m_npass {};
40 
42  { this, "EventInfoKey", "EventInfo", ""};
43  Gaudi::Property<std::string> m_decorationPrefix
44  { this, "DecorationPrefix", "", ""};
46  { this, "TrackMeasurementValidationKey", "PixelClusters", ""};
47 
53  std::vector<SG::WriteDecorHandleKey<xAOD::EventInfo> > m_intDecorKeys;
54  };
55 }
56 
57 #endif // DERIVATIONFRAMEWORK_EVENTINFOPIXELDECORATOR_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::EventInfoPixelDecorator::kphi_module
@ kphi_module
Definition: EventInfoPixelDecorator.h:51
IAugmentationTool.h
ExpressionParserUser.h
DerivationFramework::EventInfoPixelDecorator::m_ntot
std::atomic< unsigned int > m_ntot
Definition: EventInfoPixelDecorator.h:38
DerivationFramework::EventInfoPixelDecorator::finalize
StatusCode finalize()
Definition: EventInfoPixelDecorator.cxx:72
SG::ReadHandleKey< xAOD::EventInfo >
DerivationFramework::EventInfoPixelDecorator::m_pixelKey
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_pixelKey
Definition: EventInfoPixelDecorator.h:46
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::EventInfoPixelDecorator::kNIntDecor
@ kNIntDecor
Definition: EventInfoPixelDecorator.h:52
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::EventInfoPixelDecorator
Definition: EventInfoPixelDecorator.h:26
DerivationFramework::EventInfoPixelDecorator::keta_module
@ keta_module
Definition: EventInfoPixelDecorator.h:50
DerivationFramework::EventInfoPixelDecorator::m_npass
std::atomic< unsigned int > m_npass
Definition: EventInfoPixelDecorator.h:39
ExpressionParserUser
Definition: ExpressionParserUser.h:107
DerivationFramework::EventInfoPixelDecorator::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition: EventInfoPixelDecorator.cxx:80
DerivationFramework::EventInfoPixelDecorator::kperModuleMultiplicity
@ kperModuleMultiplicity
Definition: EventInfoPixelDecorator.h:48
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
DerivationFramework::EventInfoPixelDecorator::m_selectionString
Gaudi::Property< std::string > m_selectionString
Definition: EventInfoPixelDecorator.h:36
EventInfo.h
DerivationFramework::EventInfoPixelDecorator::EventInfoPixelDecorator
EventInfoPixelDecorator(const std::string &type, const std::string &name, const IInterface *parent)
Definition: EventInfoPixelDecorator.cxx:23
DerivationFramework::EventInfoPixelDecorator::klayer
@ klayer
Definition: EventInfoPixelDecorator.h:49
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
DerivationFramework::EventInfoPixelDecorator::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: EventInfoPixelDecorator.h:42
TrackMeasurementValidationContainer.h
DerivationFramework::EventInfoPixelDecorator::EIntDecor
EIntDecor
Definition: EventInfoPixelDecorator.h:48
DerivationFramework::EventInfoPixelDecorator::m_intDecorKeys
std::vector< SG::WriteDecorHandleKey< xAOD::EventInfo > > m_intDecorKeys
Definition: EventInfoPixelDecorator.h:53
DerivationFramework::EventInfoPixelDecorator::initialize
StatusCode initialize()
Definition: EventInfoPixelDecorator.cxx:31
DerivationFramework::EventInfoPixelDecorator::m_decorationPrefix
Gaudi::Property< std::string > m_decorationPrefix
Definition: EventInfoPixelDecorator.h:44