Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TRTPhysicsTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRTPhysicsTool_H
6 #define TRTPhysicsTool_H
7 
8 // Include files
9 
12 
13 //to handle
15 #include "GaudiKernel/ToolHandle.h"
16 
24 class TRTPhysicsTool final : public extends<AthAlgTool, IPhysicsOptionTool> {
25  public:
27  TRTPhysicsTool( const std::string& type , const std::string& name,
28  const IInterface* parent ) ;
29 
30  virtual ~TRTPhysicsTool(){};
31 
33  virtual StatusCode initialize() override;
34 
36  virtual UPPhysicsConstructor GetPhysicsOption() override;
37 
39  public:
40  PhysicsConstructor(const std::string& name, MSG::Level level,
41  const std::string& xml_file)
42  : IPhysicsContructor(name, level), m_xmlFile(xml_file) {}
43 
44  virtual void ConstructParticle() override;
45  virtual void ConstructProcess() override;
46 
47  private:
48  std::string m_xmlFile;
49  };
50 
51  private:
52 
53  std::string m_xmlFile;
54 };
55 
56 #endif
TRTPhysicsTool::PhysicsConstructor::PhysicsConstructor
PhysicsConstructor(const std::string &name, MSG::Level level, const std::string &xml_file)
Definition: TRTPhysicsTool.h:40
TRTPhysicsTool::GetPhysicsOption
virtual UPPhysicsConstructor GetPhysicsOption() override
IPhysicsOptionTool method; simply returns self.
Definition: TRTPhysicsTool.cxx:56
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
TRTPhysicsTool::~TRTPhysicsTool
virtual ~TRTPhysicsTool()
Definition: TRTPhysicsTool.h:30
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
TRTPhysicsTool::TRTPhysicsTool
TRTPhysicsTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: TRTPhysicsTool.cxx:36
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
TRTPhysicsTool::m_xmlFile
std::string m_xmlFile
Definition: TRTPhysicsTool.h:53
IPhysicsOptionTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRTPhysicsTool::initialize
virtual StatusCode initialize() override
Destructor.
Definition: TRTPhysicsTool.cxx:47
TRTPhysicsTool::PhysicsConstructor
Definition: TRTPhysicsTool.h:38
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TRTPhysicsTool::PhysicsConstructor::ConstructProcess
virtual void ConstructProcess() override
Definition: TRTPhysicsTool.cxx:68
columnar::final
CM final
Definition: ColumnAccessor.h:106
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
TRTPhysicsTool::PhysicsConstructor::ConstructParticle
virtual void ConstructParticle() override
Definition: TRTPhysicsTool.cxx:63
IPhysicsConstructor.h
TRTPhysicsTool
Definition: TRTPhysicsTool.h:24
IPhysicsContructor
Definition: IPhysicsConstructor.h:41
TRTPhysicsTool::PhysicsConstructor::m_xmlFile
std::string m_xmlFile
Definition: TRTPhysicsTool.h:48