ATLAS Offline Software
Loading...
Searching...
No Matches
QuirkPhysicsTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef QUIRKS_QuirksPhysicsTool_H
6#define QUIRKS_QuirksPhysicsTool_H
7
8// Include files
9
13
21class QuirksPhysicsTool : public extends<AthAlgTool, IPhysicsOptionTool> {
22 public:
24 QuirksPhysicsTool( const std::string& type , const std::string& name,
25 const IInterface* parent ) ;
26
27 virtual ~QuirksPhysicsTool( );
28
30 virtual StatusCode initialize() override final;
31
32 virtual UPPhysicsConstructor GetPhysicsOption() override final;
33
35 public:
36 PhysicsConstructor(const std::string& name, MSG::Level level, G4double mass,
37 G4double charge, G4int pdgid, G4double stringForce,
38 G4double firstStringLength, G4double maxBoost,
39 G4double maxMergeT, G4double maxMergeMag)
40 : IPhysicsContructor(name, level),
41 m_mass(mass),
43 m_pdgid(pdgid),
44 m_stringForce(stringForce),
45 m_firstStringLength(firstStringLength),
46 m_maxBoost(maxBoost),
47 m_maxMergeT(maxMergeT),
48 m_maxMergeMag(maxMergeMag) {}
49
50 virtual void ConstructParticle() override;
51 virtual void ConstructProcess() override;
52
53 private:
54 G4double m_mass{};
55 G4double m_charge{};
56 G4int m_pdgid{};
57 G4double m_stringForce{};
59 G4double m_maxBoost{};
60 G4double m_maxMergeT{};
61 G4double m_maxMergeMag{};
62 };
63
64private:
65 G4double m_mass{};
66 G4double m_charge{};
67 G4int m_pdgid{};
68 G4double m_stringForce{};
70 G4double m_maxBoost{};
71 G4double m_maxMergeT{};
72 G4double m_maxMergeMag{};
74 G4double m_debugStep{};
76};
77
78#endif // QUIRKS_QuirksPhysicsTool_H
double charge(const T &p)
Definition AtlasPID.h:997
IPhysicsContructor(const std::string &name, MSG::Level level)
Standard constructor.
PhysicsConstructor(const std::string &name, MSG::Level level, G4double mass, G4double charge, G4int pdgid, G4double stringForce, G4double firstStringLength, G4double maxBoost, G4double maxMergeT, G4double maxMergeMag)
virtual StatusCode initialize() override final
Initialize method.
virtual UPPhysicsConstructor GetPhysicsOption() override final
QuirksPhysicsTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
virtual ~QuirksPhysicsTool()
Destructor.