ATLAS Offline Software
AsgClassificationDecorationAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #ifndef ASG_ANALYSIS_ALGORITHMS__ASG_CLASSIFICATION_DECORATION_ALG_H
8 #define ASG_ANALYSIS_ALGORITHMS__ASG_CLASSIFICATION_DECORATION_ALG_H
9 
13 #include <xAODBase/IParticle.h>
16 
18 
19 
20 namespace CP
21 {
22 
26 {
27  public:
30  virtual StatusCode initialize() override;
31  virtual StatusCode execute() override;
32 
33 
35 private:
36  ToolHandle<IClassificationTool> m_tool {this, "tool", "", "classification tool"};
37 
39 private:
41 
43 private:
45  this, "particles", "", "the container to use"};
46 
48 private:
50  this, "decoration", "IFFClass_%SYS%", "decoration for per-object IFF truth class"};
51 
52 };
53 
54 } // namespace CP
55 
56 #endif
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
IParticle.h
CP::AsgClassificationDecorationAlg::m_systematicsList
CP::SysListHandle m_systematicsList
the systematics list we run
Definition: AsgClassificationDecorationAlg.h:40
SysListHandle.h
CP::AsgClassificationDecorationAlg::execute
virtual StatusCode execute() override
Definition: AsgClassificationDecorationAlg.cxx:28
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition: SysReadHandle.h:32
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
SysReadHandle.h
AnaAlgorithm.h
CP::AsgClassificationDecorationAlg::m_tool
ToolHandle< IClassificationTool > m_tool
truth classifier tool handle
Definition: AsgClassificationDecorationAlg.h:36
CP::AsgClassificationDecorationAlg::m_particlesHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
particles container handle
Definition: AsgClassificationDecorationAlg.h:44
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
CP::AsgClassificationDecorationAlg::m_classificationDecorator
CP::SysWriteDecorHandle< int > m_classificationDecorator
the decoration for the truth classification
Definition: AsgClassificationDecorationAlg.h:49
CP::AsgClassificationDecorationAlg::initialize
virtual StatusCode initialize() override
Definition: AsgClassificationDecorationAlg.cxx:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
CP::AsgClassificationDecorationAlg
an algorithm for decorating classification using a tool based on the CP::IClassificationTool
Definition: AsgClassificationDecorationAlg.h:26
IClassificationTool.h
CP::SysWriteDecorHandle< int >