Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Validator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef jetsubstructuremomenttools_validator_header
6 #define jetsubstructuremomenttools_validator_header
7 
9 #include "xAODJet/Jet.h"
10 #include "xAODJet/JetContainer.h"
11 
12 #include "GaudiKernel/ITHistSvc.h"
13 #include "AsgTools/AsgTool.h"
15 
16 class TH1;
17 
18 class Validator :
19  virtual public IJetExecuteTool,
20  public asg::AsgTool {
22 
23  public:
24  // Constructor and destructor
25  Validator(const std::string& name);
26 
27  virtual StatusCode initialize() override;
28  virtual int execute() const override;
29 
30  private:
31  std::string m_InputContainer;
32  std::vector<std::string> m_FloatMoments;
34 };
35 
36 #endif
Jet.h
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
Validator::execute
virtual int execute() const override
Method to be called for each event.
Definition: Validator.cxx:30
IJetExecuteTool
IJetExecuteTool is a dual-use tool interface for generic tools, i.e. those that behave like algorithm...
Definition: IJetExecuteTool.h:19
Validator
Definition: Validator.h:20
Validator::Validator
Validator(const std::string &name)
Definition: Validator.cxx:14
IJetExecuteTool.h
CaloCluster.h
Validator::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: Validator.cxx:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Validator::m_InputContainer
std::string m_InputContainer
Definition: Validator.h:31
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Validator::m_FloatMoments
std::vector< std::string > m_FloatMoments
Definition: Validator.h:32
JetContainer.h
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
Validator::m_histSvc
ServiceHandle< ITHistSvc > m_histSvc
Definition: Validator.h:33
AsgTool.h
ServiceHandle< ITHistSvc >