Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
IPhysicsConstructor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef G4ATLASINTERFACES_IPHYSICSCONSTRUCTOR_H
6 #define G4ATLASINTERFACES_IPHYSICSCONSTRUCTOR_H
7 
9 #include "G4VPhysicsConstructor.hh"
10 
22  double mass{0};
23  double width{0};
24  double charge{0};
25  double pdgCode{0};
26  bool stable{false};
27  double lifetime{0};
28  bool shortlived{false};
29 };
30 
41 class IPhysicsContructor : public G4VPhysicsConstructor, public AthMessaging {
42  public:
44  IPhysicsContructor(const std::string& name, MSG::Level level)
45  : G4VPhysicsConstructor(name), AthMessaging(name) {
46  this->setLevel(level);
47  }
48 };
49 #endif
IPhysicsContructor::IPhysicsContructor
IPhysicsContructor(const std::string &name, MSG::Level level)
Standard constructor.
Definition: IPhysicsConstructor.h:44
ParticleDefinitionParams
Struct to hold the parameters of a particle definition.
Definition: IPhysicsConstructor.h:21
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
AthMessaging::setLevel
void setLevel(MSG::Level lvl)
Change the current logging level.
Definition: AthMessaging.cxx:28
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
ParticleDefinitionParams::lifetime
double lifetime
Definition: IPhysicsConstructor.h:27
ParticleDefinitionParams::pdgCode
double pdgCode
Definition: IPhysicsConstructor.h:25
ParticleDefinitionParams::stable
bool stable
Definition: IPhysicsConstructor.h:26
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
ParticleDefinitionParams::charge
double charge
Definition: IPhysicsConstructor.h:24
AthMessaging.h
ParticleDefinitionParams::width
double width
Definition: IPhysicsConstructor.h:23
ParticleDefinitionParams::mass
double mass
Definition: IPhysicsConstructor.h:22
ParticleDefinitionParams::shortlived
bool shortlived
Definition: IPhysicsConstructor.h:28
IPhysicsContructor
Definition: IPhysicsConstructor.h:41