ATLAS Offline Software
Loading...
Searching...
No Matches
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
24class 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
IPhysicsContructor(const std::string &name, MSG::Level level)
Standard constructor.
PhysicsConstructor(const std::string &name, MSG::Level level, const std::string &xml_file)
virtual void ConstructParticle() override
virtual void ConstructProcess() override
std::string m_xmlFile
virtual UPPhysicsConstructor GetPhysicsOption() override
IPhysicsOptionTool method; simply returns self.
virtual ~TRTPhysicsTool()
TRTPhysicsTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
virtual StatusCode initialize() override
Destructor.