Main Page
Namespaces
Classes
Package Documentation
GeneratorInterface
AMPTInterface
interface
AMPTHadronizer.h
Go to the documentation of this file.
1
#ifndef AMPTHadronizer_h
2
#define AMPTHadronizer_h
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
GeneratorInterface/Core/interface/BaseHadronizer.h
"
6
7
#include <map>
8
#include <string>
9
#include <vector>
10
#include <cmath>
11
12
namespace
HepMC
{
13
class
GenEvent;
14
class
GenParticle
;
15
class
GenVertex;
16
}
17
18
namespace
CLHEP
{
19
class
HepRandomEngine;
20
}
21
22
namespace
gen
23
{
24
25
extern
"C"
{
26
float
ranart_
(
int
*);
27
}
28
29
extern
"C"
{
30
float
ran1_
(
int
*);
31
}
32
33
class
AMPTHadronizer
:
public
BaseHadronizer
{
34
public
:
35
AMPTHadronizer
(
const
edm::ParameterSet
&);
36
~
AMPTHadronizer
()
override
;
37
38
bool
generatePartonsAndHadronize();
39
bool
hadronize();
40
bool
decay
();
41
bool
residualDecay();
42
bool
readSettings
(
int
) {
return
true
; }
43
bool
initializeForExternalPartons();
44
bool
initializeForInternalPartons();
45
bool
declareStableParticles(
const
std::vector<int>& );
46
bool
declareSpecialSettings
(
const
std::vector<std::string>& ) {
return
true
; }
47
48
void
finalizeEvent();
49
void
statistics
();
50
const
char
*
classname
()
const
;
51
52
private
:
53
54
void
doSetRandomEngine(CLHEP::HepRandomEngine*
v
)
override
;
55
56
void
add_heavy_ion_rec(
HepMC::GenEvent
*evt);
57
HepMC::GenParticle
* build_ampt(
int
index
,
int
barcode );
58
HepMC::GenVertex* build_ampt_vertex(
int
i
,
int
id
);
59
bool
get_particles(
HepMC::GenEvent
* evt);
60
bool
ampt_init(
const
edm::ParameterSet
&
pset
);
61
bool
call_amptset(
double
efrm,
std::string
frame,
std::string
proj,
std::string
targ,
int
iap,
int
izp,
int
iat,
int
izt);
62
// inline double nuclear_radius() const;
63
void
rotateEvtPlane();
64
65
HepMC::GenEvent
*
evt
;
66
edm::ParameterSet
pset_
;
67
double
bmax_
;
// max impact param;
68
// units of nucl radius
69
double
bmin_
;
// min impact param;
70
// units of nucl radius
71
double
efrm_
;
// collision energy
72
std::string
frame_
;
73
std::string
proj_
;
74
std::string
targ_
;
75
int
iap_
;
76
int
izp_
;
77
int
iat_
;
78
int
izt_
;
79
int
amptmode_
;
80
int
ntmax_
;
81
double
dt_
;
82
double
stringFragA_
;
83
double
stringFragB_
;
84
bool
popcornmode_
;
85
double
popcornpar_
;
86
bool
shadowingmode_
;
87
bool
quenchingmode_
;
88
double
quenchingpar_
;
89
double
pthard_
;
90
double
mu_
;
91
int
izpc_
;
92
double
alpha_
;
93
double
dpcoal_
;
94
double
drcoal_
;
95
bool
ks0decay_
;
96
bool
phidecay_
;
97
int
deuteronmode_
;
98
int
deuteronfactor_
;
99
int
deuteronxsec_
;
100
double
minijetpt_
;
101
int
maxmiss_
;
102
int
doInitialAndFinalRadiation_
;
103
int
ktkick_
;
104
int
diquarkembedding_
;
105
double
diquarkpx_
;
106
double
diquarkpy_
;
107
double
diquarkx_
;
108
double
diquarky_
;
109
int
nsembd_
;
110
double
psembd_
;
111
double
tmaxembd_
;
112
bool
shadowingmodflag_
;
113
double
shadowingfactor_
;
114
double
phi0_
;
// Event plane angle
115
double
sinphi0_
;
116
double
cosphi0_
;
117
bool
rotate_
;
// Switch to rotate event plane
118
};
119
}
/*end namespace*/
120
121
#endif
gen::AMPTHadronizer::deuteronmode_
int deuteronmode_
Definition:
AMPTHadronizer.h:97
gen::AMPTHadronizer::iat_
int iat_
Definition:
AMPTHadronizer.h:77
gen::AMPTHadronizer::phidecay_
bool phidecay_
Definition:
AMPTHadronizer.h:96
gen::AMPTHadronizer::izpc_
int izpc_
Definition:
AMPTHadronizer.h:91
gen::ran1_
float ran1_(int *)
Definition:
AMPTHadronizer.cc:42
GenParticle.GenParticle
GenParticle
Definition:
GenParticle.py:18
BaseHadronizer.h
gen::AMPTHadronizer::diquarkx_
double diquarkx_
Definition:
AMPTHadronizer.h:107
gen::AMPTHadronizer::readSettings
bool readSettings(int)
Definition:
AMPTHadronizer.h:42
gen::AMPTHadronizer::diquarky_
double diquarky_
Definition:
AMPTHadronizer.h:108
gen::AMPTHadronizer::stringFragA_
double stringFragA_
Definition:
AMPTHadronizer.h:82
gen::AMPTHadronizer::maxmiss_
int maxmiss_
Definition:
AMPTHadronizer.h:101
mps_fire.i
i
Definition:
mps_fire.py:330
gen::AMPTHadronizer::shadowingmodflag_
bool shadowingmodflag_
Definition:
AMPTHadronizer.h:112
gen::AMPTHadronizer::deuteronxsec_
int deuteronxsec_
Definition:
AMPTHadronizer.h:99
gen::AMPTHadronizer::frame_
std::string frame_
Definition:
AMPTHadronizer.h:72
gen::AMPTHadronizer::pthard_
double pthard_
Definition:
AMPTHadronizer.h:89
GenParticle
Definition:
GenParticle.py:1
gen::AMPTHadronizer::evt
HepMC::GenEvent * evt
Definition:
AMPTHadronizer.h:65
gen::AMPTHadronizer::quenchingmode_
bool quenchingmode_
Definition:
AMPTHadronizer.h:87
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
gen::AMPTHadronizer::popcornmode_
bool popcornmode_
Definition:
AMPTHadronizer.h:84
gen::BaseHadronizer
Definition:
BaseHadronizer.h:47
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
gen::AMPTHadronizer::izt_
int izt_
Definition:
AMPTHadronizer.h:78
gen::AMPTHadronizer
Definition:
AMPTHadronizer.h:33
gen::AMPTHadronizer::phi0_
double phi0_
Definition:
AMPTHadronizer.h:114
ParameterSet.h
CLHEP
Definition:
CocoaGlobals.h:27
gen::AMPTHadronizer::nsembd_
int nsembd_
Definition:
AMPTHadronizer.h:109
gen::AMPTHadronizer::amptmode_
int amptmode_
Definition:
AMPTHadronizer.h:79
gen::AMPTHadronizer::sinphi0_
double sinphi0_
Definition:
AMPTHadronizer.h:115
gen::AMPTHadronizer::diquarkembedding_
int diquarkembedding_
Definition:
AMPTHadronizer.h:104
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:36
gen::AMPTHadronizer::rotate_
bool rotate_
Definition:
AMPTHadronizer.h:117
HepMC::GenEvent
Definition:
hepmc_rootio.cc:9
gen::AMPTHadronizer::quenchingpar_
double quenchingpar_
Definition:
AMPTHadronizer.h:88
gen::AMPTHadronizer::cosphi0_
double cosphi0_
Definition:
AMPTHadronizer.h:116
gen::AMPTHadronizer::efrm_
double efrm_
Definition:
AMPTHadronizer.h:71
gen::AMPTHadronizer::tmaxembd_
double tmaxembd_
Definition:
AMPTHadronizer.h:111
gen::AMPTHadronizer::popcornpar_
double popcornpar_
Definition:
AMPTHadronizer.h:85
gen::AMPTHadronizer::diquarkpx_
double diquarkpx_
Definition:
AMPTHadronizer.h:105
gen
Definition:
PythiaDecays.h:13
gen::AMPTHadronizer::pset_
edm::ParameterSet pset_
Definition:
AMPTHadronizer.h:66
gen::ranart_
float ranart_(int *)
Definition:
AMPTHadronizer.cc:33
gen::AMPTHadronizer::dt_
double dt_
Definition:
AMPTHadronizer.h:81
gen::AMPTHadronizer::psembd_
double psembd_
Definition:
AMPTHadronizer.h:110
gen::AMPTHadronizer::dpcoal_
double dpcoal_
Definition:
AMPTHadronizer.h:93
gen::AMPTHadronizer::izp_
int izp_
Definition:
AMPTHadronizer.h:76
gen::AMPTHadronizer::proj_
std::string proj_
Definition:
AMPTHadronizer.h:73
gen::AMPTHadronizer::doInitialAndFinalRadiation_
int doInitialAndFinalRadiation_
Definition:
AMPTHadronizer.h:102
gen::AMPTHadronizer::deuteronfactor_
int deuteronfactor_
Definition:
AMPTHadronizer.h:98
myMessageLogger_cff.statistics
statistics
Definition:
myMessageLogger_cff.py:9
gen::AMPTHadronizer::diquarkpy_
double diquarkpy_
Definition:
AMPTHadronizer.h:106
gen::AMPTHadronizer::targ_
std::string targ_
Definition:
AMPTHadronizer.h:74
gen::AMPTHadronizer::shadowingmode_
bool shadowingmode_
Definition:
AMPTHadronizer.h:86
data-class-funcs.classname
classname
Definition:
data-class-funcs.py:33
gen::AMPTHadronizer::bmin_
double bmin_
Definition:
AMPTHadronizer.h:69
gen::AMPTHadronizer::declareSpecialSettings
bool declareSpecialSettings(const std::vector< std::string > &)
Definition:
AMPTHadronizer.h:46
gen::AMPTHadronizer::drcoal_
double drcoal_
Definition:
AMPTHadronizer.h:94
HepMC
Definition:
GenParticle.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
gen::AMPTHadronizer::bmax_
double bmax_
Definition:
AMPTHadronizer.h:67
gen::AMPTHadronizer::ntmax_
int ntmax_
Definition:
AMPTHadronizer.h:80
gen::AMPTHadronizer::alpha_
double alpha_
Definition:
AMPTHadronizer.h:92
gen::AMPTHadronizer::iap_
int iap_
Definition:
AMPTHadronizer.h:75
gen::AMPTHadronizer::shadowingfactor_
double shadowingfactor_
Definition:
AMPTHadronizer.h:113
gen::AMPTHadronizer::minijetpt_
double minijetpt_
Definition:
AMPTHadronizer.h:100
SelectingProcedure_cff.decay
decay
Definition:
SelectingProcedure_cff.py:61
gen::AMPTHadronizer::ks0decay_
bool ks0decay_
Definition:
AMPTHadronizer.h:95
gen::AMPTHadronizer::mu_
double mu_
Definition:
AMPTHadronizer.h:90
gen::AMPTHadronizer::ktkick_
int ktkick_
Definition:
AMPTHadronizer.h:103
gen::AMPTHadronizer::stringFragB_
double stringFragB_
Definition:
AMPTHadronizer.h:83
Generated for CMSSW Reference Manual by
1.8.11