ATLAS Offline Software
GauginosPhysicsTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // class header
6 #include "GauginosPhysicsTool.h"
7 // package headers
8 #include "GMSBNeutralino.hh"
9 #include "GMSBGravitino.hh"
10 // Geant4 physics lists
11 #include "G4ProcessManager.hh"
12 #include "G4ParticleTable.hh"
13 #include "G4hIonisation.hh"
14 #include "G4hMultipleScattering.hh"
15 #include "G4ParticleDefinition.hh"
16 #include "G4Transportation.hh"
17 #include "G4MuIonisation.hh"
18 // CLHEP headers
19 #include "CLHEP/Units/SystemOfUnits.h"
20 
21 //-----------------------------------------------------------------------------
22 // Implementation file for class : GauginosPhysicsTool
23 //
24 // 15-05-2015 : Edoardo Farina
25 //-----------------------------------------------------------------------------
26 
27 //=============================================================================
28 // Standard constructor, initializes variables
29 //=============================================================================
31  const std::string& nam,const IInterface* parent )
32  : base_class ( type, nam , parent )
33 {
34  m_physicsOptionType = G4AtlasPhysicsOption::Type::BSMPhysics;
35 
36  declareProperty("GravitinoMass",m_GravitinoMass=0.108E-04*CLHEP::GeV,"Gravitino Mass");
37  declareProperty("GravitinoWidth",m_GravitinoWidth=0.*CLHEP::GeV,"Gravitino Width");
38  declareProperty("GravitinoCharge",m_GravitinoCharge=0,"Gravitino charge");
39  declareProperty("GravitinoPDGCode",m_GravitinoPDGCode=1000039,"Gravitino PDG CODE");
40  declareProperty("GravitinoLifetime",m_GravitinoLifetime=-1 ,"Gravitino Lifetime");
41  declareProperty("GravitinoStable",m_GravitinoStable=true ,"Gravitino Stable");
42  declareProperty("GravitinoShortlived",m_GravitinoShortlived=false ,"Gravitino Shortlived");
43 
44  declareProperty("NeutralinoMass",m_NeutralinoMass=118.848*CLHEP::GeV,"Neutralino Mass");
45  declareProperty("NeutralinoWidth",m_NeutralinoWidth=0.*CLHEP::GeV,"Neutralino Width");
46  declareProperty("NeutralinoCharge",m_NeutralinoCharge=0,"Neutralino charge");
47  declareProperty("NeutralinoPDGCode",m_NeutralinoPDGCode=1000022,"Neutralino PDG CODE");
48  declareProperty("NeutralinoStable",m_NeutralinoStable=true,"Neutralino Stable");
49  declareProperty("NeutralinoLifetime",m_NeutralinoLifetime=-1,"Neutralino Lifetime");
50  declareProperty("NeutralinoShortlived",m_NeutralinoShortlived=false,"Neutralino Shortlived");
51 
52 }
53 
54 //=============================================================================
55 // Destructor
56 //=============================================================================
57 
59 {
60 }
61 
62 //=============================================================================
63 // Initialize
64 //=============================================================================
66 {
67  ATH_MSG_DEBUG("GauginosPhysicsTool initialize( )");
68 
69  this->SetPhysicsName(name());
70  return StatusCode::SUCCESS;
71 }
72 
73 
75 {
76  return this;
77 }
78 
80 {
81  ATH_MSG_DEBUG("Create particle of Gauginos" );
82 
84 
86 
87 }
88 
90 {
91  ATH_MSG_DEBUG(" Construct Process for the Gauginos being run");
92 }
GeV
#define GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
GauginosPhysicsTool::m_GravitinoCharge
G4double m_GravitinoCharge
Definition: GauginosPhysicsTool.h:42
GauginosPhysicsTool::ConstructProcess
virtual void ConstructProcess() override final
Definition: GauginosPhysicsTool.cxx:89
GauginosPhysicsTool::m_NeutralinoStable
G4bool m_NeutralinoStable
Definition: GauginosPhysicsTool.h:45
GauginosPhysicsTool::GauginosPhysicsTool
GauginosPhysicsTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: GauginosPhysicsTool.cxx:30
GauginosPhysicsTool::m_NeutralinoPDGCode
G4double m_NeutralinoPDGCode
Definition: GauginosPhysicsTool.h:42
GauginosPhysicsTool::m_NeutralinoCharge
G4double m_NeutralinoCharge
Definition: GauginosPhysicsTool.h:43
GauginosPhysicsTool::m_GravitinoPDGCode
G4double m_GravitinoPDGCode
Definition: GauginosPhysicsTool.h:43
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
GauginosPhysicsTool::GetPhysicsOption
virtual GauginosPhysicsTool * GetPhysicsOption() override final
Implements.
Definition: GauginosPhysicsTool.cxx:74
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
GauginosPhysicsTool::~GauginosPhysicsTool
virtual ~GauginosPhysicsTool()
Destructor.
Definition: GauginosPhysicsTool.cxx:58
test_pyathena.parent
parent
Definition: test_pyathena.py:15
GauginosPhysicsTool::m_NeutralinoShortlived
G4bool m_NeutralinoShortlived
Definition: GauginosPhysicsTool.h:45
GauginosPhysicsTool::m_GravitinoMass
G4double m_GravitinoMass
Definition: GauginosPhysicsTool.h:42
GauginosPhysicsTool::m_GravitinoWidth
G4double m_GravitinoWidth
Definition: GauginosPhysicsTool.h:42
GauginosPhysicsTool.h
GauginosPhysicsTool::initialize
virtual StatusCode initialize() override final
Initialize method.
Definition: GauginosPhysicsTool.cxx:65
GauginosPhysicsTool
Definition: GauginosPhysicsTool.h:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
VP1PartSpect::E
@ E
Definition: VP1PartSpectFlags.h:21
GauginosPhysicsTool::m_GravitinoShortlived
G4bool m_GravitinoShortlived
Definition: GauginosPhysicsTool.h:46
GauginosPhysicsTool::m_NeutralinoMass
G4double m_NeutralinoMass
Definition: GauginosPhysicsTool.h:43
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
GauginosPhysicsTool::m_GravitinoLifetime
G4double m_GravitinoLifetime
Definition: GauginosPhysicsTool.h:42
GauginosPhysicsTool::m_NeutralinoLifetime
G4double m_NeutralinoLifetime
Definition: GauginosPhysicsTool.h:43
G4AtlasPhysicsOption::BSMPhysics
@ BSMPhysics
Definition: IPhysicsOptionTool.h:22
GauginosPhysicsTool::m_NeutralinoWidth
G4double m_NeutralinoWidth
Definition: GauginosPhysicsTool.h:43
GauginosPhysicsTool::m_GravitinoStable
G4bool m_GravitinoStable
Definition: GauginosPhysicsTool.h:46
GauginosPhysicsTool::ConstructParticle
virtual void ConstructParticle() override final
Definition: GauginosPhysicsTool.cxx:79