ATLAS Offline Software
TruthEDDecorator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /*
6  * @file TruthEDDecorator.h
7  * @author Zach Marshall
8  * @date Nov 2019
9  * @brief tool to decorate EventInfo with truth-level energy density
10 */
11 
12 #ifndef DerivationFrameworkMCTruth_TruthEDDecorator_H
13 #define DerivationFrameworkMCTruth_TruthEDDecorator_H
14 
15 // Base classes
18 
19 // Members
21 
22 // STL includes
23 #include <string>
24 #include <vector>
25 
26 namespace DerivationFramework {
27 
29 
30  public:
31  TruthEDDecorator(const std::string& t, const std::string& n, const IInterface* p);
33  virtual StatusCode addBranches() const override final;
34  StatusCode initialize() override final;
35 
36  private:
37  std::string m_eventInfoName;
38  std::vector<std::string> m_edKeys;
39  std::string m_ed_suffix;
40  std::vector<SG::AuxElement::Decorator<float> > m_dec_eventShape;
41  };
42 
43 }
44 
45 #endif
DerivationFramework::TruthEDDecorator::m_eventInfoName
std::string m_eventInfoName
Definition: TruthEDDecorator.h:37
DerivationFramework::TruthEDDecorator::initialize
StatusCode initialize() override final
Definition: TruthEDDecorator.cxx:30
DerivationFramework::TruthEDDecorator::m_dec_eventShape
std::vector< SG::AuxElement::Decorator< float > > m_dec_eventShape
Definition: TruthEDDecorator.h:40
DerivationFramework::TruthEDDecorator::m_ed_suffix
std::string m_ed_suffix
Definition: TruthEDDecorator.h:39
IAugmentationTool.h
DerivationFramework::TruthEDDecorator
Definition: TruthEDDecorator.h:28
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::TruthEDDecorator::TruthEDDecorator
TruthEDDecorator(const std::string &t, const std::string &n, const IInterface *p)
Definition: TruthEDDecorator.cxx:16
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::TruthEDDecorator::addBranches
virtual StatusCode addBranches() const override final
Pass the thinning service
Definition: TruthEDDecorator.cxx:38
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::TruthEDDecorator::m_edKeys
std::vector< std::string > m_edKeys
Definition: TruthEDDecorator.h:38
AuxElement.h
Base class for elements of a container that can have aux data.
DerivationFramework::TruthEDDecorator::~TruthEDDecorator
~TruthEDDecorator()
Definition: TruthEDDecorator.cxx:27