SimG4Core
CustomPhysics
interface
CustomPhysicsListSS.h
Go to the documentation of this file.
1
#ifndef SimG4Core_CustomPhysics_CustomPhysicsListSS_H
2
#define SimG4Core_CustomPhysics_CustomPhysicsListSS_H
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "G4VPhysicsConstructor.hh"
6
#include <string>
7
8
class
G4ProcessHelper
;
9
class
CustomParticleFactory
;
10
11
class
CustomPhysicsListSS
:
public
G4VPhysicsConstructor {
12
public
:
13
CustomPhysicsListSS
(
const
std::string
&
name
,
const
edm::ParameterSet
&
p
,
bool
useuni =
false
);
14
~CustomPhysicsListSS
()
override
;
15
16
void
ConstructParticle
()
override
;
17
void
ConstructProcess
()
override
;
18
19
private
:
20
static
G4ThreadLocal std::unique_ptr<G4ProcessHelper>
myHelper
;
21
22
std::unique_ptr<CustomParticleFactory>
fParticleFactory
;
23
24
bool
fHadronicInteraction
;
25
26
edm::ParameterSet
myConfig
;
27
28
std::string
particleDefFilePath
;
29
std::string
processDefFilePath
;
30
double
dfactor
;
31
};
32
33
#endif
CustomPhysicsListSS
Definition:
CustomPhysicsListSS.h:11
G4ProcessHelper
Definition:
G4ProcessHelper.h:26
CustomPhysicsListSS::ConstructProcess
void ConstructProcess() override
Definition:
CustomPhysicsListSS.cc:53
CustomPhysicsListSS::myHelper
static G4ThreadLocal std::unique_ptr< G4ProcessHelper > myHelper
Definition:
CustomPhysicsListSS.h:20
CustomPhysicsListSS::myConfig
edm::ParameterSet myConfig
Definition:
CustomPhysicsListSS.h:26
CustomPhysicsListSS::particleDefFilePath
std::string particleDefFilePath
Definition:
CustomPhysicsListSS.h:28
edm::ParameterSet
Definition:
ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
CustomPhysicsListSS::ConstructParticle
void ConstructParticle() override
Definition:
CustomPhysicsListSS.cc:48
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CustomParticleFactory
Definition:
CustomParticleFactory.h:12
CustomPhysicsListSS::processDefFilePath
std::string processDefFilePath
Definition:
CustomPhysicsListSS.h:29
CustomPhysicsListSS::dfactor
double dfactor
Definition:
CustomPhysicsListSS.h:30
CustomPhysicsListSS::fParticleFactory
std::unique_ptr< CustomParticleFactory > fParticleFactory
Definition:
CustomPhysicsListSS.h:22
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
CustomPhysicsListSS::fHadronicInteraction
bool fHadronicInteraction
Definition:
CustomPhysicsListSS.h:24
ParameterSet.h
CustomPhysicsListSS::~CustomPhysicsListSS
~CustomPhysicsListSS() override
Definition:
CustomPhysicsListSS.cc:46
CustomPhysicsListSS::CustomPhysicsListSS
CustomPhysicsListSS(const std::string &name, const edm::ParameterSet &p, bool useuni=false)
Definition:
CustomPhysicsListSS.cc:26
Generated for CMSSW Reference Manual by
1.8.16