ATLAS Offline Software
Loading...
Searching...
No Matches
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
41class 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
void setLevel(MSG::Level lvl)
Change the current logging level.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
IPhysicsContructor(const std::string &name, MSG::Level level)
Standard constructor.
Struct to hold the parameters of a particle definition.