CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
gen::AMPTHadronizer Class Reference

#include <AMPTHadronizer.h>

Inheritance diagram for gen::AMPTHadronizer:
gen::BaseHadronizer

Public Member Functions

 AMPTHadronizer (const edm::ParameterSet &)
 
const char * classname () const
 
bool decay ()
 
bool declareSpecialSettings (const std::vector< std::string > &)
 
bool declareStableParticles (const std::vector< int > &)
 
void finalizeEvent ()
 
bool generatePartonsAndHadronize ()
 
bool hadronize ()
 
bool initializeForExternalPartons ()
 
bool initializeForInternalPartons ()
 
bool readSettings (int)
 
bool residualDecay ()
 
void statistics ()
 
 ~AMPTHadronizer () override
 
- Public Member Functions inherited from gen::BaseHadronizer
 BaseHadronizer (edm::ParameterSet const &ps)
 
void cleanLHE ()
 
void generateLHE (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine, unsigned int ncpu)
 
edm::EventgetEDMEvent () const
 
std::unique_ptr< HepMC::GenEventgetGenEvent ()
 
std::unique_ptr< GenEventInfoProductgetGenEventInfo ()
 
virtual std::unique_ptr< GenLumiInfoHeadergetGenLumiInfoHeader () const
 
GenRunInfoProductgetGenRunInfo ()
 
std::unique_ptr< lhef::LHEEventgetLHEEvent ()
 
const std::shared_ptr< lhef::LHERunInfo > & getLHERunInfo () const
 
const std::string & gridpackPath () const
 
int randomIndex () const
 
const std::string & randomInitConfigDescription () const
 
void randomizeIndex (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine)
 
void resetEvent (std::unique_ptr< HepMC::GenEvent > event)
 
void resetEventInfo (std::unique_ptr< GenEventInfoProduct > eventInfo)
 
virtual bool select (HepMC::GenEvent *) const
 
void setEDMEvent (edm::Event &event)
 
void setLHEEvent (std::unique_ptr< lhef::LHEEvent > event)
 
void setLHERunInfo (std::unique_ptr< lhef::LHERunInfo > runInfo)
 
void setRandomEngine (CLHEP::HepRandomEngine *v)
 
std::vector< std::string > const & sharedResources () const
 
virtual ~BaseHadronizer () noexcept(false)
 

Private Member Functions

void add_heavy_ion_rec (HepMC::GenEvent *evt)
 
bool ampt_init (const edm::ParameterSet &pset)
 
HepMC::GenParticle * build_ampt (int index, int barcode)
 
HepMC::GenVertex * build_ampt_vertex (int i, int id)
 
bool call_amptset (double efrm, std::string frame, std::string proj, std::string targ, int iap, int izp, int iat, int izt)
 
void doSetRandomEngine (CLHEP::HepRandomEngine *v) override
 
bool get_particles (HepMC::GenEvent *evt)
 
void rotateEvtPlane ()
 

Private Attributes

double alpha_
 
int amptmode_
 
double bmax_
 
double bmin_
 
double cosphi0_
 
int deuteronfactor_
 
int deuteronmode_
 
int deuteronxsec_
 
int diquarkembedding_
 
double diquarkpx_
 
double diquarkpy_
 
double diquarkx_
 
double diquarky_
 
int doInitialAndFinalRadiation_
 
double dpcoal_
 
double drcoal_
 
double dt_
 
double efrm_
 
HepMC::GenEventevt
 
std::string frame_
 
int iap_
 
int iat_
 
int izp_
 
int izpc_
 
int izt_
 
bool ks0decay_
 
int ktkick_
 
int maxmiss_
 
double minijetpt_
 
double mu_
 
int nsembd_
 
int ntmax_
 
double phi0_
 
bool phidecay_
 
bool popcornmode_
 
double popcornpar_
 
std::string proj_
 
double psembd_
 
edm::ParameterSet pset_
 
double pthard_
 
bool quenchingmode_
 
double quenchingpar_
 
bool rotate_
 
double shadowingfactor_
 
bool shadowingmode_
 
bool shadowingmodflag_
 
double sinphi0_
 
double stringFragA_
 
double stringFragB_
 
std::string targ_
 
double tmaxembd_
 

Additional Inherited Members

- Protected Member Functions inherited from gen::BaseHadronizer
std::unique_ptr< HepMC::GenEvent > & event ()
 
std::unique_ptr< GenEventInfoProduct > & eventInfo ()
 
lhef::LHEEventlheEvent ()
 
lhef::LHERunInfolheRunInfo ()
 
GenRunInfoProductrunInfo ()
 
- Protected Attributes inherited from gen::BaseHadronizer
std::string lheFile_
 
int randomIndex_
 

Detailed Description

Definition at line 32 of file AMPTHadronizer.h.

Constructor & Destructor Documentation

◆ AMPTHadronizer()

AMPTHadronizer::AMPTHadronizer ( const edm::ParameterSet pset)

Definition at line 42 of file AMPTHadronizer.cc.

44  evt(nullptr),
45  pset_(pset),
46  bmax_(pset.getParameter<double>("bMax")),
47  bmin_(pset.getParameter<double>("bMin")),
48  efrm_(pset.getParameter<double>("comEnergy")),
49  frame_(pset.getParameter<string>("frame")),
50  proj_(pset.getParameter<string>("proj")),
51  targ_(pset.getParameter<string>("targ")),
52  iap_(pset.getParameter<int>("iap")),
53  izp_(pset.getParameter<int>("izp")),
54  iat_(pset.getParameter<int>("iat")),
55  izt_(pset.getParameter<int>("izt")),
56  amptmode_(pset.getParameter<int>("amptmode")),
57  ntmax_(pset.getParameter<int>("ntmax")),
58  dt_(pset.getParameter<double>("dt")),
59  stringFragA_(pset.getParameter<double>("stringFragA")),
60  stringFragB_(pset.getParameter<double>("stringFragB")),
61  popcornmode_(pset.getParameter<bool>("popcornmode")),
62  popcornpar_(pset.getParameter<double>("popcornpar")),
63  shadowingmode_(pset.getParameter<bool>("shadowingmode")),
64  quenchingmode_(pset.getParameter<bool>("quenchingmode")),
65  quenchingpar_(pset.getParameter<double>("quenchingpar")),
66  pthard_(pset.getParameter<double>("pthard")),
67  mu_(pset.getParameter<double>("mu")),
68  izpc_(pset.getParameter<int>("izpc")),
69  alpha_(pset.getParameter<double>("alpha")),
70  dpcoal_(pset.getParameter<double>("dpcoal")),
71  drcoal_(pset.getParameter<double>("drcoal")),
72  ks0decay_(pset.getParameter<bool>("ks0decay")),
73  phidecay_(pset.getParameter<bool>("phidecay")),
74  deuteronmode_(pset.getParameter<int>("deuteronmode")),
75  deuteronfactor_(pset.getParameter<int>("deuteronfactor")),
76  deuteronxsec_(pset.getParameter<int>("deuteronxsec")),
77  minijetpt_(pset.getParameter<double>("minijetpt")),
78  maxmiss_(pset.getParameter<int>("maxmiss")),
79  doInitialAndFinalRadiation_(pset.getParameter<int>("doInitialAndFinalRadiation")),
80  ktkick_(pset.getParameter<int>("ktkick")),
81  diquarkembedding_(pset.getParameter<int>("diquarkembedding")),
82  diquarkpx_(pset.getParameter<double>("diquarkpx")),
83  diquarkpy_(pset.getParameter<double>("diquarkpy")),
84  diquarkx_(pset.getParameter<double>("diquarkx")),
85  diquarky_(pset.getParameter<double>("diquarky")),
86  phi0_(0.),
87  sinphi0_(0.),
88  cosphi0_(1.),
89  rotate_(pset.getParameter<bool>("rotateEventPlane")) {}

◆ ~AMPTHadronizer()

AMPTHadronizer::~AMPTHadronizer ( )
override

Definition at line 92 of file AMPTHadronizer.cc.

92 {}

Member Function Documentation

◆ add_heavy_ion_rec()

void AMPTHadronizer::add_heavy_ion_rec ( HepMC::GenEvent evt)
private

Definition at line 98 of file AMPTHadronizer.cc.

98  {
99  // heavy ion record in the final CMSSW Event
100  HepMC::HeavyIon* hi = new HepMC::HeavyIon(hmain1.jatt, // Ncoll_hard/N of SubEvents
101  hmain1.np, // Npart_proj
102  hmain1.nt, // Npart_targ
103  hmain1.n0 + hmain1.n01 + hmain1.n10 + hmain1.n11, // Ncoll
104  0, // spectator_neutrons
105  0, // spectator_protons
106  hmain1.n01, // N_Nwounded_collisions
107  hmain1.n10, // Nwounded_N_collisions
108  hmain1.n11, // Nwounded_Nwounded_collisions
109  hparnt.hint1[18], // impact_parameter in [fm]
110  phi0_, // event_plane_angle
111  0, // eccentricity
112  hparnt.hint1[11] // sigma_inel_NN
113  );
114  evt->set_heavy_ion(*hi);
115  delete hi;
116 }

References evt, hmain1, hparnt, and phi0_.

Referenced by generatePartonsAndHadronize().

◆ ampt_init()

bool AMPTHadronizer::ampt_init ( const edm::ParameterSet pset)
private

Definition at line 238 of file AMPTHadronizer.cc.

238  {
239  anim.isoft = amptmode_;
240  input2.ntmax = ntmax_;
241  input1.dt = dt_;
242  ludat1.parj[40] = stringFragA_;
243  ludat1.parj[41] = stringFragB_;
244  popcorn.ipop = popcornmode_;
245  ludat1.parj[4] = popcornpar_;
246  hparnt.ihpr2[5] = shadowingmode_;
247  hparnt.ihpr2[3] = quenchingmode_;
248  hparnt.hipr1[13] = quenchingpar_;
249  hparnt.hipr1[7] = pthard_;
250  para2.xmu = mu_;
251  anim.izpc = izpc_;
252  para2.alpha = alpha_;
253  coal.dpcoal = dpcoal_;
254  coal.drcoal = drcoal_;
255  resdcy.iksdcy = ks0decay_;
256  phidcy.iphidcy = phidecay_;
257  para8.idpert = deuteronmode_;
258  para8.npertd = deuteronfactor_;
259  para8.idxsec = deuteronxsec_;
260  phidcy.pttrig = minijetpt_;
261  phidcy.maxmiss = maxmiss_;
263  hparnt.ihpr2[4] = ktkick_;
264  embed.iembed = diquarkembedding_;
265  embed.pxqembd = diquarkpx_;
266  embed.pyqembd = diquarkpy_;
267  embed.xembd = diquarkx_;
268  embed.yembd = diquarky_;
269 
270  return true;
271 }

References alpha_, amptmode_, anim, coal, deuteronfactor_, deuteronmode_, deuteronxsec_, diquarkembedding_, diquarkpx_, diquarkpy_, diquarkx_, diquarky_, doInitialAndFinalRadiation_, dpcoal_, drcoal_, dt_, embed, hparnt, input1, input2, izpc_, ks0decay_, ktkick_, ludat1, maxmiss_, minijetpt_, mu_, ntmax_, para2, para8, phidcy, phidecay_, popcorn, popcornmode_, popcornpar_, pthard_, quenchingmode_, quenchingpar_, resdcy, shadowingmode_, stringFragA_, and stringFragB_.

Referenced by initializeForInternalPartons().

◆ build_ampt()

HepMC::GenParticle * AMPTHadronizer::build_ampt ( int  index,
int  barcode 
)
private

Definition at line 119 of file AMPTHadronizer.cc.

119  {
120  // Build particle object corresponding to index in ampt
121 
122  float px0 = hbt.plast[index][0];
123  float py0 = hbt.plast[index][1];
124  float pz0 = hbt.plast[index][2];
125  float m = hbt.plast[index][3];
126 
127  float px = px0 * cosphi0_ - py0 * sinphi0_;
128  float py = py0 * cosphi0_ + px0 * sinphi0_;
129  float pz = pz0;
130  float e = sqrt(px * px + py * py + pz * pz + m * m);
131  int status = 1;
132 
133  HepMC::GenParticle* p = new HepMC::GenParticle(HepMC::FourVector(px, py, pz, e),
134  INVFLV(hbt.lblast[index]), // id
135  status // status
136  );
137 
138  p->suggest_barcode(barcode);
139  return p;
140 }

References cosphi0_, MillePedeFileConverter_cfg::e, GenParticle::GenParticle, hbt, INVFLV, visualization-live-secondInstance_cfg::m, gen::p, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, sinphi0_, mathSSE::sqrt(), and mps_update::status.

Referenced by get_particles().

◆ build_ampt_vertex()

HepMC::GenVertex * AMPTHadronizer::build_ampt_vertex ( int  i,
int  id 
)
private

Definition at line 143 of file AMPTHadronizer.cc.

143  {
144  // build verteces for the ampt stored events
145  HepMC::GenVertex* vertex = new HepMC::GenVertex(HepMC::FourVector(0, 0, 0, 0), id);
146  return vertex;
147 }

References bphysicsOniaDQM_cfi::vertex.

Referenced by get_particles().

◆ call_amptset()

bool AMPTHadronizer::call_amptset ( double  efrm,
std::string  frame,
std::string  proj,
std::string  targ,
int  iap,
int  izp,
int  iat,
int  izt 
)
private

Definition at line 230 of file AMPTHadronizer.cc.

231  {
232  // initialize hydjet
233  AMPTSET(
234  efrm, frame.c_str(), proj.c_str(), targ.c_str(), iap, izp, iat, izt, frame.length(), proj.length(), targ.length());
235  return true;
236 }

References AMPTSET, amptDefault_cfi::frame, amptDefault_cfi::iap, amptDefault_cfi::iat, amptDefault_cfi::izp, amptDefault_cfi::izt, amptDefault_cfi::proj, and amptDefault_cfi::targ.

Referenced by initializeForInternalPartons().

◆ classname()

const char * AMPTHadronizer::classname ( ) const

Definition at line 309 of file AMPTHadronizer.cc.

309 { return "gen::AMPTHadronizer"; }

◆ decay()

bool AMPTHadronizer::decay ( )

Definition at line 301 of file AMPTHadronizer.cc.

301 { return true; }

◆ declareSpecialSettings()

bool gen::AMPTHadronizer::declareSpecialSettings ( const std::vector< std::string > &  )
inline

Definition at line 45 of file AMPTHadronizer.h.

45 { return true; }

◆ declareStableParticles()

bool AMPTHadronizer::declareStableParticles ( const std::vector< int > &  pdg)

Definition at line 287 of file AMPTHadronizer.cc.

287 { return true; }

◆ doSetRandomEngine()

void AMPTHadronizer::doSetRandomEngine ( CLHEP::HepRandomEngine *  v)
overrideprivatevirtual

Reimplemented from gen::BaseHadronizer.

Definition at line 95 of file AMPTHadronizer.cc.

95 { amptRandomEngine = v; }

References amptRandomEngine, and gen::v.

◆ finalizeEvent()

void AMPTHadronizer::finalizeEvent ( )

Definition at line 305 of file AMPTHadronizer.cc.

305 { return; }

◆ generatePartonsAndHadronize()

bool AMPTHadronizer::generatePartonsAndHadronize ( )

Definition at line 149 of file AMPTHadronizer.cc.

149  {
150  // generate single event
151  if (rotate_)
152  rotateEvtPlane();
153 
154  // generate a AMPT event
155  AMPT(frame_.c_str(), bmin_, bmax_, frame_.length());
156 
157  // event information
160 
162 
163  event().reset(evt);
164 
165  return true;
166 }

References add_heavy_ion_rec(), AMPT, bmax_, bmin_, gen::BaseHadronizer::event(), evt, frame_, get_particles(), rotate_, and rotateEvtPlane().

◆ get_particles()

bool AMPTHadronizer::get_particles ( HepMC::GenEvent evt)
private

Definition at line 169 of file AMPTHadronizer.cc.

169  {
170  HepMC::GenVertex* vertice;
171 
172  vector<HepMC::GenParticle*> particles;
173  vector<int> mother_ids;
174  vector<HepMC::GenVertex*> prods;
175 
176  vertice = new HepMC::GenVertex(HepMC::FourVector(0, 0, 0, 0), 0);
177  evt->add_vertex(vertice);
178  if (!evt->signal_process_vertex())
179  evt->set_signal_process_vertex(vertice);
180 
181  const unsigned int knumpart = hbt.nlast;
182  for (unsigned int ipart = 0; ipart < knumpart; ipart++) {
183  int mid = 0;
184  particles.push_back(build_ampt(ipart, ipart + 1));
185  prods.push_back(build_ampt_vertex(ipart, 0));
186  mother_ids.push_back(mid);
187  LogDebug("DecayChain") << "Mother index : " << mid;
188  }
189 
190  LogDebug("AMPT") << "Number of particles in vector " << particles.size();
191 
192  for (unsigned int ipart = 0; ipart < particles.size(); ipart++) {
194 
195  int mid = mother_ids[ipart];
196  LogDebug("DecayChain") << "Particle " << ipart;
197  LogDebug("DecayChain") << "Mother's ID " << mid;
198  LogDebug("DecayChain") << "Particle's PDG ID " << part->pdg_id();
199 
200  if (mid <= 0) {
201  vertice->add_particle_out(part);
202  continue;
203  }
204 
205  if (mid > 0) {
206  HepMC::GenParticle* mother = particles[mid];
207  LogDebug("DecayChain") << "Mother's PDG ID " << mother->pdg_id();
208 
209  HepMC::GenVertex* prod_vertex = mother->end_vertex();
210  if (!prod_vertex) {
211  prod_vertex = prods[ipart];
212  prod_vertex->add_particle_in(mother);
213  evt->add_vertex(prod_vertex);
214  prods[ipart] = nullptr; // mark to protect deletion
215  }
216  prod_vertex->add_particle_out(part);
217  }
218  }
219 
220  // cleanup vertices not assigned to evt
221  for (unsigned int i = 0; i < prods.size(); i++) {
222  if (prods[i])
223  delete prods[i];
224  }
225 
226  return true;
227 }

References build_ampt(), build_ampt_vertex(), evt, GenParticle::GenParticle, hbt, mps_fire::i, LogDebug, and ecalTrigSettings_cff::particles.

Referenced by generatePartonsAndHadronize().

◆ hadronize()

bool AMPTHadronizer::hadronize ( )

Definition at line 299 of file AMPTHadronizer.cc.

299 { return false; }

◆ initializeForExternalPartons()

bool gen::AMPTHadronizer::initializeForExternalPartons ( )

◆ initializeForInternalPartons()

bool AMPTHadronizer::initializeForInternalPartons ( )

Definition at line 274 of file AMPTHadronizer.cc.

274  {
275  // ampt running options
276  ampt_init(pset_);
277 
278  // initialize ampt
279  LogInfo("AMPTinAction") << "##### Calling AMPTSET(" << efrm_ << "," << frame_ << "," << proj_ << "," << targ_ << ","
280  << iap_ << "," << izp_ << "," << iat_ << "," << izt_ << ") ####";
281 
283 
284  return true;
285 }

References ampt_init(), call_amptset(), efrm_, frame_, iap_, iat_, izp_, izt_, proj_, pset_, and targ_.

◆ readSettings()

bool gen::AMPTHadronizer::readSettings ( int  )
inline

Definition at line 41 of file AMPTHadronizer.h.

41 { return true; }

◆ residualDecay()

bool AMPTHadronizer::residualDecay ( )

Definition at line 303 of file AMPTHadronizer.cc.

303 { return true; }

◆ rotateEvtPlane()

void AMPTHadronizer::rotateEvtPlane ( )
private

Definition at line 290 of file AMPTHadronizer.cc.

290  {
291  int zero = 0;
292  double test = (double)gen::ranart_(&zero);
293  phi0_ = 2. * pi * test - pi;
294  sinphi0_ = sin(phi0_);
295  cosphi0_ = cos(phi0_);
296 }

References funct::cos(), cosphi0_, phi0_, pi, gen::ranart_(), funct::sin(), sinphi0_, and SiPixelPI::zero.

Referenced by generatePartonsAndHadronize().

◆ statistics()

void AMPTHadronizer::statistics ( )

Definition at line 307 of file AMPTHadronizer.cc.

307 { return; }

Member Data Documentation

◆ alpha_

double gen::AMPTHadronizer::alpha_
private

Definition at line 91 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ amptmode_

int gen::AMPTHadronizer::amptmode_
private

Definition at line 78 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ bmax_

double gen::AMPTHadronizer::bmax_
private

Definition at line 66 of file AMPTHadronizer.h.

Referenced by generatePartonsAndHadronize().

◆ bmin_

double gen::AMPTHadronizer::bmin_
private

Definition at line 68 of file AMPTHadronizer.h.

Referenced by generatePartonsAndHadronize().

◆ cosphi0_

double gen::AMPTHadronizer::cosphi0_
private

Definition at line 115 of file AMPTHadronizer.h.

Referenced by build_ampt(), and rotateEvtPlane().

◆ deuteronfactor_

int gen::AMPTHadronizer::deuteronfactor_
private

Definition at line 97 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ deuteronmode_

int gen::AMPTHadronizer::deuteronmode_
private

Definition at line 96 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ deuteronxsec_

int gen::AMPTHadronizer::deuteronxsec_
private

Definition at line 98 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ diquarkembedding_

int gen::AMPTHadronizer::diquarkembedding_
private

Definition at line 103 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ diquarkpx_

double gen::AMPTHadronizer::diquarkpx_
private

Definition at line 104 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ diquarkpy_

double gen::AMPTHadronizer::diquarkpy_
private

Definition at line 105 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ diquarkx_

double gen::AMPTHadronizer::diquarkx_
private

Definition at line 106 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ diquarky_

double gen::AMPTHadronizer::diquarky_
private

Definition at line 107 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ doInitialAndFinalRadiation_

int gen::AMPTHadronizer::doInitialAndFinalRadiation_
private

Definition at line 101 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ dpcoal_

double gen::AMPTHadronizer::dpcoal_
private

Definition at line 92 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ drcoal_

double gen::AMPTHadronizer::drcoal_
private

Definition at line 93 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ dt_

double gen::AMPTHadronizer::dt_
private

Definition at line 80 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ efrm_

double gen::AMPTHadronizer::efrm_
private

Definition at line 70 of file AMPTHadronizer.h.

Referenced by initializeForInternalPartons().

◆ evt

HepMC::GenEvent* gen::AMPTHadronizer::evt
private

Definition at line 64 of file AMPTHadronizer.h.

Referenced by add_heavy_ion_rec(), generatePartonsAndHadronize(), and get_particles().

◆ frame_

std::string gen::AMPTHadronizer::frame_
private

Definition at line 71 of file AMPTHadronizer.h.

Referenced by generatePartonsAndHadronize(), and initializeForInternalPartons().

◆ iap_

int gen::AMPTHadronizer::iap_
private

Definition at line 74 of file AMPTHadronizer.h.

Referenced by initializeForInternalPartons().

◆ iat_

int gen::AMPTHadronizer::iat_
private

Definition at line 76 of file AMPTHadronizer.h.

Referenced by initializeForInternalPartons().

◆ izp_

int gen::AMPTHadronizer::izp_
private

Definition at line 75 of file AMPTHadronizer.h.

Referenced by initializeForInternalPartons().

◆ izpc_

int gen::AMPTHadronizer::izpc_
private

Definition at line 90 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ izt_

int gen::AMPTHadronizer::izt_
private

Definition at line 77 of file AMPTHadronizer.h.

Referenced by initializeForInternalPartons().

◆ ks0decay_

bool gen::AMPTHadronizer::ks0decay_
private

Definition at line 94 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ ktkick_

int gen::AMPTHadronizer::ktkick_
private

Definition at line 102 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ maxmiss_

int gen::AMPTHadronizer::maxmiss_
private

Definition at line 100 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ minijetpt_

double gen::AMPTHadronizer::minijetpt_
private

Definition at line 99 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ mu_

double gen::AMPTHadronizer::mu_
private

Definition at line 89 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ nsembd_

int gen::AMPTHadronizer::nsembd_
private

Definition at line 108 of file AMPTHadronizer.h.

◆ ntmax_

int gen::AMPTHadronizer::ntmax_
private

Definition at line 79 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ phi0_

double gen::AMPTHadronizer::phi0_
private

Definition at line 113 of file AMPTHadronizer.h.

Referenced by add_heavy_ion_rec(), and rotateEvtPlane().

◆ phidecay_

bool gen::AMPTHadronizer::phidecay_
private

Definition at line 95 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ popcornmode_

bool gen::AMPTHadronizer::popcornmode_
private

Definition at line 83 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ popcornpar_

double gen::AMPTHadronizer::popcornpar_
private

Definition at line 84 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ proj_

std::string gen::AMPTHadronizer::proj_
private

Definition at line 72 of file AMPTHadronizer.h.

Referenced by initializeForInternalPartons().

◆ psembd_

double gen::AMPTHadronizer::psembd_
private

Definition at line 109 of file AMPTHadronizer.h.

◆ pset_

edm::ParameterSet gen::AMPTHadronizer::pset_
private

Definition at line 65 of file AMPTHadronizer.h.

Referenced by initializeForInternalPartons().

◆ pthard_

double gen::AMPTHadronizer::pthard_
private

Definition at line 88 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ quenchingmode_

bool gen::AMPTHadronizer::quenchingmode_
private

Definition at line 86 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ quenchingpar_

double gen::AMPTHadronizer::quenchingpar_
private

Definition at line 87 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ rotate_

bool gen::AMPTHadronizer::rotate_
private

Definition at line 116 of file AMPTHadronizer.h.

Referenced by generatePartonsAndHadronize().

◆ shadowingfactor_

double gen::AMPTHadronizer::shadowingfactor_
private

Definition at line 112 of file AMPTHadronizer.h.

◆ shadowingmode_

bool gen::AMPTHadronizer::shadowingmode_
private

Definition at line 85 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ shadowingmodflag_

bool gen::AMPTHadronizer::shadowingmodflag_
private

Definition at line 111 of file AMPTHadronizer.h.

◆ sinphi0_

double gen::AMPTHadronizer::sinphi0_
private

Definition at line 114 of file AMPTHadronizer.h.

Referenced by build_ampt(), and rotateEvtPlane().

◆ stringFragA_

double gen::AMPTHadronizer::stringFragA_
private

Definition at line 81 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ stringFragB_

double gen::AMPTHadronizer::stringFragB_
private

Definition at line 82 of file AMPTHadronizer.h.

Referenced by ampt_init().

◆ targ_

std::string gen::AMPTHadronizer::targ_
private

Definition at line 73 of file AMPTHadronizer.h.

Referenced by initializeForInternalPartons().

◆ tmaxembd_

double gen::AMPTHadronizer::tmaxembd_
private

Definition at line 110 of file AMPTHadronizer.h.

INVFLV
#define INVFLV
Definition: AMPTWrapper.h:34
embed
#define embed
Definition: AMPTWrapper.h:188
gen::AMPTHadronizer::add_heavy_ion_rec
void add_heavy_ion_rec(HepMC::GenEvent *evt)
Definition: AMPTHadronizer.cc:98
gen::AMPTHadronizer::quenchingpar_
double quenchingpar_
Definition: AMPTHadronizer.h:87
phidcy
#define phidcy
Definition: AMPTWrapper.h:177
amptDefault_cfi.iap
iap
Definition: amptDefault_cfi.py:15
mps_fire.i
i
Definition: mps_fire.py:428
gen::AMPTHadronizer::diquarky_
double diquarky_
Definition: AMPTHadronizer.h:107
gen::AMPTHadronizer::proj_
std::string proj_
Definition: AMPTHadronizer.h:72
gen::AMPTHadronizer::phi0_
double phi0_
Definition: AMPTHadronizer.h:113
gen::AMPTHadronizer::amptmode_
int amptmode_
Definition: AMPTHadronizer.h:78
gen::AMPTHadronizer::deuteronxsec_
int deuteronxsec_
Definition: AMPTHadronizer.h:98
mps_update.status
status
Definition: mps_update.py:68
gen::AMPTHadronizer::frame_
std::string frame_
Definition: AMPTHadronizer.h:71
multPhiCorr_741_25nsDY_cfi.py
py
Definition: multPhiCorr_741_25nsDY_cfi.py:12
gen::AMPTHadronizer::izpc_
int izpc_
Definition: AMPTHadronizer.h:90
pi
static const double pi
Definition: AMPTHadronizer.cc:23
resdcy
#define resdcy
Definition: AMPTWrapper.h:167
gen::AMPTHadronizer::iap_
int iap_
Definition: AMPTHadronizer.h:74
amptDefault_cfi.izt
izt
Definition: amptDefault_cfi.py:18
AMPTSET
#define AMPTSET
Definition: AMPTWrapper.h:24
gen::AMPTHadronizer::pthard_
double pthard_
Definition: AMPTHadronizer.h:88
gen::AMPTHadronizer::izp_
int izp_
Definition: AMPTHadronizer.h:75
gen::AMPTHadronizer::shadowingmode_
bool shadowingmode_
Definition: AMPTHadronizer.h:85
SiPixelPI::zero
Definition: SiPixelPayloadInspectorHelper.h:39
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
gen::AMPTHadronizer::deuteronfactor_
int deuteronfactor_
Definition: AMPTHadronizer.h:97
gen::AMPTHadronizer::alpha_
double alpha_
Definition: AMPTHadronizer.h:91
ecalTrigSettings_cff.particles
particles
Definition: ecalTrigSettings_cff.py:11
gen::AMPTHadronizer::diquarkpx_
double diquarkpx_
Definition: AMPTHadronizer.h:104
gen::AMPTHadronizer::cosphi0_
double cosphi0_
Definition: AMPTHadronizer.h:115
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
popcorn
#define popcorn
Definition: AMPTWrapper.h:193
ludat1
#define ludat1
Definition: AMPTWrapper.h:80
gen::AMPTHadronizer::rotate_
bool rotate_
Definition: AMPTHadronizer.h:116
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
gen::AMPTHadronizer::dt_
double dt_
Definition: AMPTHadronizer.h:80
gen::AMPTHadronizer::bmin_
double bmin_
Definition: AMPTHadronizer.h:68
test
Definition: SmallWORMDict.h:13
part
part
Definition: HCALResponse.h:20
gen::AMPTHadronizer::popcornmode_
bool popcornmode_
Definition: AMPTHadronizer.h:83
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
gen::AMPTHadronizer::build_ampt_vertex
HepMC::GenVertex * build_ampt_vertex(int i, int id)
Definition: AMPTHadronizer.cc:143
gen::p
double p[5][pyjets_maxn]
Definition: Cascade2Hadronizer.cc:76
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:78
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
gen::AMPTHadronizer::ntmax_
int ntmax_
Definition: AMPTHadronizer.h:79
gen::AMPTHadronizer::diquarkx_
double diquarkx_
Definition: AMPTHadronizer.h:106
gen::AMPTHadronizer::rotateEvtPlane
void rotateEvtPlane()
Definition: AMPTHadronizer.cc:290
gen::AMPTHadronizer::diquarkembedding_
int diquarkembedding_
Definition: AMPTHadronizer.h:103
gen::AMPTHadronizer::bmax_
double bmax_
Definition: AMPTHadronizer.h:66
gen::AMPTHadronizer::targ_
std::string targ_
Definition: AMPTHadronizer.h:73
gen::AMPTHadronizer::ampt_init
bool ampt_init(const edm::ParameterSet &pset)
Definition: AMPTHadronizer.cc:238
gen::AMPTHadronizer::build_ampt
HepMC::GenParticle * build_ampt(int index, int barcode)
Definition: AMPTHadronizer.cc:119
amptDefault_cfi.proj
proj
Definition: amptDefault_cfi.py:13
bphysicsOniaDQM_cfi.vertex
vertex
Definition: bphysicsOniaDQM_cfi.py:7
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
gen::AMPTHadronizer::pset_
edm::ParameterSet pset_
Definition: AMPTHadronizer.h:65
gen::AMPTHadronizer::quenchingmode_
bool quenchingmode_
Definition: AMPTHadronizer.h:86
gen::AMPTHadronizer::drcoal_
double drcoal_
Definition: AMPTHadronizer.h:93
para2
#define para2
Definition: AMPTWrapper.h:110
gen::AMPTHadronizer::diquarkpy_
double diquarkpy_
Definition: AMPTHadronizer.h:105
gen::AMPTHadronizer::evt
HepMC::GenEvent * evt
Definition: AMPTHadronizer.h:64
gen::AMPTHadronizer::ktkick_
int ktkick_
Definition: AMPTHadronizer.h:102
gen::v
double v[5][pyjets_maxn]
Definition: Cascade2Hadronizer.cc:76
amptDefault_cfi.iat
iat
Definition: amptDefault_cfi.py:17
gen::AMPTHadronizer::popcornpar_
double popcornpar_
Definition: AMPTHadronizer.h:84
amptRandomEngine
static CLHEP::HepRandomEngine * amptRandomEngine
Definition: AMPTHadronizer.cc:29
coal
#define coal
Definition: AMPTWrapper.h:99
gen::AMPTHadronizer::get_particles
bool get_particles(HepMC::GenEvent *evt)
Definition: AMPTHadronizer.cc:169
hmain1
#define hmain1
Definition: AMPTWrapper.h:50
input2
#define input2
Definition: AMPTWrapper.h:159
gen::AMPTHadronizer::stringFragB_
double stringFragB_
Definition: AMPTHadronizer.h:82
gen::AMPTHadronizer::efrm_
double efrm_
Definition: AMPTHadronizer.h:70
gen::AMPTHadronizer::iat_
int iat_
Definition: AMPTHadronizer.h:76
gen::AMPTHadronizer::mu_
double mu_
Definition: AMPTHadronizer.h:89
hi
Definition: EPCuts.h:4
multPhiCorr_741_25nsDY_cfi.px
px
Definition: multPhiCorr_741_25nsDY_cfi.py:10
gen::AMPTHadronizer::izt_
int izt_
Definition: AMPTHadronizer.h:77
hbt
#define hbt
Definition: AMPTWrapper.h:60
GenParticle.GenParticle
GenParticle
Definition: GenParticle.py:18
gen::BaseHadronizer::event
std::unique_ptr< HepMC::GenEvent > & event()
Definition: BaseHadronizer.h:86
gen::AMPTHadronizer::maxmiss_
int maxmiss_
Definition: AMPTHadronizer.h:100
gen::BaseHadronizer::BaseHadronizer
BaseHadronizer(edm::ParameterSet const &ps)
Definition: BaseHadronizer.cc:12
amptDefault_cfi.frame
frame
Definition: amptDefault_cfi.py:12
gen::AMPTHadronizer::stringFragA_
double stringFragA_
Definition: AMPTHadronizer.h:81
hparnt
#define hparnt
Definition: AMPTWrapper.h:70
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
gen::AMPTHadronizer::dpcoal_
double dpcoal_
Definition: AMPTHadronizer.h:92
amptDefault_cfi.izp
izp
Definition: amptDefault_cfi.py:16
gen::ranart_
float ranart_(int *)
Definition: AMPTHadronizer.cc:32
input1
#define input1
Definition: AMPTWrapper.h:139
amptDefault_cfi.targ
targ
Definition: amptDefault_cfi.py:14
para8
#define para8
Definition: AMPTWrapper.h:128
gen::AMPTHadronizer::ks0decay_
bool ks0decay_
Definition: AMPTHadronizer.h:94
gen::AMPTHadronizer::minijetpt_
double minijetpt_
Definition: AMPTHadronizer.h:99
AMPT
#define AMPT
Definition: AMPTWrapper.h:29
gen::AMPTHadronizer::doInitialAndFinalRadiation_
int doInitialAndFinalRadiation_
Definition: AMPTHadronizer.h:101
gen::AMPTHadronizer::sinphi0_
double sinphi0_
Definition: AMPTHadronizer.h:114
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
anim
#define anim
Definition: AMPTWrapper.h:90
gen::AMPTHadronizer::call_amptset
bool call_amptset(double efrm, std::string frame, std::string proj, std::string targ, int iap, int izp, int iat, int izt)
Definition: AMPTHadronizer.cc:230
gen::AMPTHadronizer::deuteronmode_
int deuteronmode_
Definition: AMPTHadronizer.h:96
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
gen::AMPTHadronizer::phidecay_
bool phidecay_
Definition: AMPTHadronizer.h:95