CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Static Private Attributes | Friends
gen::Pythia6Service Class Reference

#include <Pythia6Service.h>

Inheritance diagram for gen::Pythia6Service:
gen::FortranInstance gen::Pythia6ServiceWithCallback gen::Pythia6ServiceWithCallback

Public Member Functions

void closePYUPDA ()
 
void closeSLHA ()
 
void enter () override
 
void openPYUPDA (const char *, bool write_file)
 
void openSLHA (const char *)
 
 Pythia6Service ()
 
 Pythia6Service (edm::ParameterSet const &)
 
CLHEP::HepRandomEngine * randomEngine () const
 
void setCSAParams ()
 
void setGeneralParams ()
 
void setPYUPDAParams (bool afterPyinit)
 
void setRandomEngine (CLHEP::HepRandomEngine *v)
 
void setSLHAFromHeader (const std::vector< std::string > &lines)
 
void setSLHAParams ()
 
 ~Pythia6Service () override
 
- Public Member Functions inherited from gen::FortranInstance
template<typename T >
T call (T(&fn)())
 
template<typename T , typename A >
T call (T(&fn)(A), A a)
 
template<typename T , typename A1 , typename A2 >
T call (T(&fn)(A1, A2), A1 a1, A2 a2)
 
void call (void(&fn)())
 
template<typename A >
void call (void(&fn)(A), A a)
 
template<typename A1 , typename A2 >
void call (void(&fn)(A1, A2), A1 a1, A2 a2)
 
 FortranInstance ()
 
virtual void leave ()
 
virtual void upEvnt ()
 
virtual void upInit ()
 
virtual bool upVeto ()
 
virtual ~FortranInstance () noexcept(false)
 

Private Attributes

bool fInitialising
 
std::vector< std::string > fParamCSA
 
std::vector< std::string > fParamGeneral
 
std::vector< std::string > fParamPYUPDA
 
std::vector< std::string > fParamSLHA
 
CLHEP::HepRandomEngine * fRandomEngine
 
int fUnitPYUPDA
 
int fUnitSLHA
 

Static Private Attributes

static Pythia6ServicefPythia6Owner = nullptr
 

Friends

double gen::pyr_ (int *)
 

Additional Inherited Members

- Static Public Member Functions inherited from gen::FortranInstance
template<typename T >
static TgetInstance ()
 
- Static Public Attributes inherited from gen::FortranInstance
static const std::string kFortranInstance = "FortranInstance"
 

Detailed Description

Definition at line 24 of file Pythia6Service.h.

Constructor & Destructor Documentation

◆ Pythia6Service() [1/2]

Pythia6Service::Pythia6Service ( )

Definition at line 73 of file Pythia6Service.cc.

73 : fRandomEngine(nullptr), fUnitSLHA(24), fUnitPYUPDA(25) {}

◆ Pythia6Service() [2/2]

Pythia6Service::Pythia6Service ( edm::ParameterSet const &  ps)

Definition at line 75 of file Pythia6Service.cc.

75  : fRandomEngine(nullptr), fUnitSLHA(24), fUnitPYUPDA(25) {
76  if (fPythia6Owner)
77  throw cms::Exception("PythiaError") << "Two Pythia6Service instances claiming Pythia6 ownership." << std::endl;
78 
79  fPythia6Owner = this;
80 
81  /*
82  ParameterCollector collector(ps.getParameter<edm::ParameterSet>("PythiaParameters"));
83 
84  fParamGeneral.clear();
85  fParamCSA.clear();
86  fParamSLHA.clear();
87 
88  fParamGeneral = std::vector<std::string>(collector.begin(), collector.end());
89  fParamCSA = std::vector<std::string>(collector.begin("CSAParameters"), collector.end());
90  fParamSLHA = std::vector<std::string>(collector.begin("SLHAParameters"), collector.end());
91 */
92 
93  // Set PYTHIA parameters in a single ParameterSet
94  //
95  edm::ParameterSet pythia_params = ps.getParameter<edm::ParameterSet>("PythiaParameters");
96 
97  // read and sort Pythia6 cards
98  //
99  std::vector<std::string> setNames = pythia_params.getParameter<std::vector<std::string> >("parameterSets");
100 
101  // std::vector<std::string> paramLines;
102  fParamGeneral.clear();
103  fParamCSA.clear();
104  fParamSLHA.clear();
105  fParamPYUPDA.clear();
106 
107  for (std::vector<std::string>::const_iterator iter = setNames.begin(); iter != setNames.end(); ++iter) {
108  std::vector<std::string> lines = pythia_params.getParameter<std::vector<std::string> >(*iter);
109 
110  for (std::vector<std::string>::const_iterator line = lines.begin(); line != lines.end(); ++line) {
111  if (line->substr(0, 7) == "MRPY(1)")
112  throw cms::Exception("PythiaError") << "Attempted to set random number"
113  " using Pythia command 'MRPY(1)'."
114  " Please use the"
115  " RandomNumberGeneratorService."
116  << std::endl;
117 
118  if (*iter == "CSAParameters") {
119  fParamCSA.push_back(*line);
120  } else if (*iter == "SLHAParameters") {
121  fParamSLHA.push_back(*line);
122  } else if (*iter == "PYUPDAParameters") {
123  fParamPYUPDA.push_back(*line);
124  } else {
125  fParamGeneral.push_back(*line);
126  }
127  }
128  }
129 }

References Exception, fParamCSA, fParamGeneral, fParamPYUPDA, fParamSLHA, fPythia6Owner, edm::ParameterSet::getParameter(), mps_splice::line, and groupFilesInBlocks::lines.

◆ ~Pythia6Service()

Pythia6Service::~Pythia6Service ( )
override

Definition at line 131 of file Pythia6Service.cc.

131  {
132  if (fPythia6Owner == this)
133  fPythia6Owner = nullptr;
134 
135  fParamGeneral.clear();
136  fParamCSA.clear();
137  fParamSLHA.clear();
138  fParamPYUPDA.clear();
139 }

References fParamCSA, fParamGeneral, fParamPYUPDA, fParamSLHA, and fPythia6Owner.

Member Function Documentation

◆ closePYUPDA()

void Pythia6Service::closePYUPDA ( )

Definition at line 233 of file Pythia6Service.cc.

233  {
235 
236  return;
237 }

References fiocls_(), and fUnitPYUPDA.

◆ closeSLHA()

void Pythia6Service::closeSLHA ( )

◆ enter()

void Pythia6Service::enter ( )
overridevirtual

Reimplemented from gen::FortranInstance.

Definition at line 141 of file Pythia6Service.cc.

141  {
143 
144  if (!fPythia6Owner) {
145  edm::LogInfo("Generator|Pythia6Interface") << "gen::Pythia6Service is going to initialise Pythia, as no other "
146  "instace has done so yet, and Pythia service routines have been "
147  "requested by a dummy instance."
148  << std::endl;
149 
150  call_pygive("MSTU(12)=12345");
151  call_pyinit("NONE", "", "", 0.0);
152 
153  fPythia6Owner = this;
154  }
155 }

References gen::call_pygive(), gen::FortranInstance::enter(), and fPythia6Owner.

◆ openPYUPDA()

void Pythia6Service::openPYUPDA ( const char *  file,
bool  write_file 
)

Definition at line 211 of file Pythia6Service.cc.

211  {
212  if (write_file) {
213  std::cout << "=== WRITING PYUPDA FILE " << file << " ===" << std::endl;
214  fioopnw_(&fUnitPYUPDA, file, strlen(file));
215  // Write Pythia particle table to this card file.
217  } else {
218  std::cout << "=== READING PYUPDA FILE " << file << " ===" << std::endl;
219  fioopn_(&fUnitPYUPDA, file, strlen(file));
220  // Update Pythia particle table with this card file.
222  }
223 
224  return;
225 }

References call_pyupda(), gather_cfg::cout, FrontierConditions_GlobalTag_cff::file, fioopn_(), fioopnw_(), and fUnitPYUPDA.

Referenced by setPYUPDAParams().

◆ openSLHA()

void Pythia6Service::openSLHA ( const char *  file)

Definition at line 198 of file Pythia6Service.cc.

198  {
199  std::ostringstream pyCard1;
200  pyCard1 << "IMSS(21)=" << fUnitSLHA;
201  call_pygive(pyCard1.str());
202  std::ostringstream pyCard2;
203  pyCard2 << "IMSS(22)=" << fUnitSLHA;
204  call_pygive(pyCard2.str());
205 
206  fioopn_(&fUnitSLHA, file, strlen(file));
207 
208  return;
209 }

References gen::call_pygive(), FrontierConditions_GlobalTag_cff::file, fioopn_(), and fUnitSLHA.

Referenced by setSLHAFromHeader(), and setSLHAParams().

◆ randomEngine()

CLHEP::HepRandomEngine* gen::Pythia6Service::randomEngine ( ) const
inline

Definition at line 45 of file Pythia6Service.h.

45 { return fRandomEngine; }

References fRandomEngine.

Referenced by gen::Pythia6Gun::produce().

◆ setCSAParams()

void Pythia6Service::setCSAParams ( )

Definition at line 168 of file Pythia6Service.cc.

168  {
169 #define SETCSAPARBUFSIZE 514
170  char buf[SETCSAPARBUFSIZE];
171 
172  txgive_init_();
173  for (std::vector<std::string>::const_iterator iter = fParamCSA.begin(); iter != fParamCSA.end(); ++iter) {
174  // Null pad the string should not be needed because it uses
175  // read, which will look for \n, but just in case...
176  for (size_t i = 0; i < SETCSAPARBUFSIZE; ++i)
177  buf[i] = ' ';
178  // Skip empty parameters.
179  if (iter->length() <= 0)
180  continue;
181  // Limit the size of the string to something which fits the buffer.
182  size_t maxSize = iter->length() > (SETCSAPARBUFSIZE - 2) ? (SETCSAPARBUFSIZE - 2) : iter->length();
183  strncpy(buf, iter->c_str(), maxSize);
184  // Add extra \n if missing, otherwise "read" continues reading.
185  if (buf[maxSize - 1] != '\n') {
186  buf[maxSize] = '\n';
187  // Null terminate in case the string is passed back to C.
188  // Not sure that is actually needed.
189  buf[maxSize + 1] = 0;
190  }
191  txgive_(buf, iter->length());
192  }
193 
194  return;
195 #undef SETCSAPARBUFSIZE
196 }

References visDQMUpload::buf, fParamCSA, mps_fire::i, reco_skim_cfg_mod::maxSize, SETCSAPARBUFSIZE, gen::txgive_(), and gen::txgive_init_().

Referenced by gen::Pythia6Gun::beginLuminosityBlock(), gen::Cascade2Hadronizer::initializeForInternalPartons(), gen::Cascade2Hadronizer::readSettings(), gen::PyquenHadronizer::readSettings(), and gen::Pythia6Hadronizer::readSettings().

◆ setGeneralParams()

void Pythia6Service::setGeneralParams ( )

Definition at line 157 of file Pythia6Service.cc.

157  {
158  // now pass general config cards
159  //
160  for (std::vector<std::string>::const_iterator iter = fParamGeneral.begin(); iter != fParamGeneral.end(); ++iter) {
161  if (!call_pygive(*iter))
162  throw cms::Exception("PythiaError") << "Pythia did not accept \"" << *iter << "\"." << std::endl;
163  }
164 
165  return;
166 }

References gen::call_pygive(), and fParamGeneral.

Referenced by gen::Pythia6Gun::beginLuminosityBlock(), gen::Cascade2Hadronizer::initializeForInternalPartons(), gen::Cascade2Hadronizer::readSettings(), gen::PyquenHadronizer::readSettings(), gen::ExhumeHadronizer::readSettings(), gen::Pythia6Hadronizer::readSettings(), gen::HydjetHadronizer::readSettings(), and gen::Hydjet2Hadronizer::readSettings().

◆ setPYUPDAParams()

void Pythia6Service::setPYUPDAParams ( bool  afterPyinit)

Definition at line 276 of file Pythia6Service.cc.

276  {
277  std::string shortfile;
278  bool write_file = false;
279  bool usePostPyinit = false;
280 
281  // std::cout<<"=== CALLING setPYUPDAParams === "<<afterPyinit<<" "<<fParamPYUPDA.size()<<std::endl;
282 
283  // This assumes that PYUPDAFILE only appears once ...
284 
285  for (std::vector<std::string>::const_iterator iter = fParamPYUPDA.begin(); iter != fParamPYUPDA.end(); iter++) {
286  // std::cout<<"PYUPDA check "<<*iter<<std::endl;
287  if (iter->find("PYUPDAFILE", 0) != std::string::npos) {
288  std::string::size_type start = iter->find_first_of("=") + 1;
289  std::string::size_type end = iter->length() - 1;
290  std::string::size_type temp = iter->find_first_of("'", start);
291  if (temp != std::string::npos) {
292  start = temp + 1;
293  end = iter->find_last_of("'") - 1;
294  }
295  start = iter->find_first_not_of(" ", start);
296  end = iter->find_last_not_of(" ", end);
297  //std::cout << " start, end = " << start << " " << end << std::endl;
298  shortfile = iter->substr(start, end - start + 1);
299  } else if (iter->find("PYUPDAWRITE", 0) != std::string::npos) {
300  write_file = true;
301  } else if (iter->find("PYUPDApostPYINIT", 0) != std::string::npos) {
302  usePostPyinit = true;
303  }
304  }
305 
306  if (!shortfile.empty()) {
308  if (write_file) {
309  file = shortfile;
310  } else {
311  // If reading, get full path to file and require it to exist.
312  FileInPath f1(shortfile);
313  file = f1.fullPath();
314  }
315 
316  if (afterPyinit == usePostPyinit || (write_file && afterPyinit)) {
317  openPYUPDA(file.c_str(), write_file);
318  }
319  }
320 
321  return;
322 }

References mps_fire::end, DeadROC_duringRun::f1, FrontierConditions_GlobalTag_cff::file, fParamPYUPDA, openPYUPDA(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.

Referenced by gen::Pythia6Hadronizer::initializeForExternalPartons(), gen::Cascade2Hadronizer::initializeForInternalPartons(), and gen::Pythia6Hadronizer::initializeForInternalPartons().

◆ setRandomEngine()

void gen::Pythia6Service::setRandomEngine ( CLHEP::HepRandomEngine *  v)
inline

◆ setSLHAFromHeader()

void Pythia6Service::setSLHAFromHeader ( const std::vector< std::string > &  lines)

Definition at line 324 of file Pythia6Service.cc.

324  {
325  std::set<std::string> blocks;
326  unsigned int model = 0, subModel = 0;
327  char tempslhaname[] = "pythia6slhaXXXXXX";
328  int fd = mkstemp(tempslhaname);
329 
331  std::stringstream f_info;
332  for (std::vector<std::string>::const_iterator iter = lines.begin(); iter != lines.end(); ++iter) {
333  f_info << *iter;
334 
335  std::string line = *iter;
336  std::transform(line.begin(), line.end(), line.begin(), (int (*)(int))std::toupper);
337  std::string::size_type pos = line.find('#');
338  if (pos != std::string::npos)
339  line.resize(pos);
340 
341  if (line.empty())
342  continue;
343 
344  if (!boost::algorithm::is_space()(line[0])) {
345  std::vector<std::string> tokens;
346  boost::split(tokens, line, boost::algorithm::is_space(), boost::token_compress_on);
347  if (tokens.empty())
348  continue;
349  block.clear();
350  if (tokens.size() < 2)
351  continue;
352  if (tokens[0] == "BLOCK") {
353  block = tokens[1];
354  blocks.insert(block);
355  continue;
356  }
357 
358  if (tokens[0] == "DECAY") {
359  block = "DECAY";
360  blocks.insert(block);
361  }
362  } else if (block == "MODSEL") {
363  std::istringstream ss(line);
364  ss >> model >> subModel;
365  } else if (block == "SMINPUTS") {
366  std::istringstream ss(line);
367  int index;
368  double value;
369  ss >> index >> value;
370  switch (index) {
371  case 1:
372  pydat1_.paru[103 - 1] = 1.0 / value;
373  break;
374  case 2:
375  pydat1_.paru[105 - 1] = value;
376  break;
377  case 4:
378  pydat2_.pmas[0][23 - 1] = value;
379  break;
380  case 6:
381  pydat2_.pmas[0][6 - 1] = value;
382  break;
383  case 7:
384  pydat2_.pmas[0][15 - 1] = value;
385  break;
386  }
387  }
388  }
389  write(fd, f_info.str().c_str(), f_info.str().size());
390  close(fd);
391 
392  if (blocks.count("SMINPUTS"))
393  pydat1_.paru[102 - 1] =
394  0.5 - std::sqrt(0.25 - pydat1_.paru[0] * M_SQRT1_2 * pydat1_.paru[103 - 1] / pydat1_.paru[105 - 1] /
395  (pydat2_.pmas[0][23 - 1] * pydat2_.pmas[0][23 - 1]));
396 
397  /*
398  int unit = 24;
399  fioopn_(&unit, fname, std::strlen(fname));
400  std::remove(fname);
401 
402  call_pygive("IMSS(21)=24");
403  call_pygive("IMSS(22)=24");
404 */
405 
406  openSLHA(tempslhaname);
407  std::remove(tempslhaname);
408 
409  if (model || blocks.count("HIGMIX") || blocks.count("SBOTMIX") || blocks.count("STOPMIX") ||
410  blocks.count("STAUMIX") || blocks.count("AMIX") || blocks.count("NMIX") || blocks.count("UMIX") ||
411  blocks.count("VMIX"))
412  call_pyslha(1);
413  if (model || blocks.count("QNUMBERS") || blocks.count("PARTICLE") || blocks.count("MINPAR") ||
414  blocks.count("EXTPAR") || blocks.count("SMINPUTS") || blocks.count("SMINPUTS"))
415  call_pyslha(0);
416  if (blocks.count("MASS"))
417  call_pyslha(5, 0);
418  if (blocks.count("DECAY"))
419  call_pyslha(2);
420 
421  return;
422 }

References groupFilesInBlocks::block, gather_cfg::blocks, call_pyslha(), ztee::fd, createfilelist::int, mps_splice::line, groupFilesInBlocks::lines, ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi::model, openSLHA(), gen::pydat1_, MatrixUtil::remove(), submitPVValidationJobs::split(), mathSSE::sqrt(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, HcalDetIdTransform::transform(), relativeConstraints::value, and writeEcalDQMStatus::write.

Referenced by gen::Pythia6Hadronizer::initializeForExternalPartons().

◆ setSLHAParams()

void Pythia6Service::setSLHAParams ( )

Definition at line 239 of file Pythia6Service.cc.

239  {
240  for (std::vector<std::string>::const_iterator iter = fParamSLHA.begin(); iter != fParamSLHA.end(); iter++) {
241  if (iter->find("SLHAFILE", 0) == std::string::npos)
242  continue;
243  std::string::size_type start = iter->find_first_of("=") + 1;
244  std::string::size_type end = iter->length() - 1;
245  std::string::size_type temp = iter->find_first_of("'", start);
246  if (temp != std::string::npos) {
247  start = temp + 1;
248  end = iter->find_last_of("'") - 1;
249  }
250  start = iter->find_first_not_of(" ", start);
251  end = iter->find_last_not_of(" ", end);
252  //std::cout << " start, end = " << start << " " << end << std::endl;
253  std::string shortfile = iter->substr(start, end - start + 1);
254  FileInPath f1(shortfile);
255  std::string file = f1.fullPath();
256 
257  /*
258  //
259  // override what might have be given via the external config
260  //
261  std::ostringstream pyCard ;
262  pyCard << "IMSS(21)=" << fUnitSLHA;
263  call_pygive( pyCard.str() );
264  pyCard << "IMSS(22)=" << fUnitSLHA;
265  call_pygive( pyCard.str() );
266 
267  fioopn_( &fUnitSLHA, file.c_str(), file.length() );
268 */
269 
270  openSLHA(file.c_str());
271  }
272 
273  return;
274 }

References mps_fire::end, DeadROC_duringRun::f1, FrontierConditions_GlobalTag_cff::file, fParamSLHA, openSLHA(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.

Referenced by gen::Pythia6Gun::beginLuminosityBlock(), gen::Cascade2Hadronizer::initializeForInternalPartons(), gen::Cascade2Hadronizer::readSettings(), and gen::Pythia6Hadronizer::readSettings().

Friends And Related Function Documentation

◆ gen::pyr_

double gen::pyr_ ( int *  )
friend

Member Data Documentation

◆ fInitialising

bool gen::Pythia6Service::fInitialising
private

Definition at line 51 of file Pythia6Service.h.

◆ fParamCSA

std::vector<std::string> gen::Pythia6Service::fParamCSA
private

Definition at line 56 of file Pythia6Service.h.

Referenced by Pythia6Service(), setCSAParams(), and ~Pythia6Service().

◆ fParamGeneral

std::vector<std::string> gen::Pythia6Service::fParamGeneral
private

Definition at line 55 of file Pythia6Service.h.

Referenced by Pythia6Service(), setGeneralParams(), and ~Pythia6Service().

◆ fParamPYUPDA

std::vector<std::string> gen::Pythia6Service::fParamPYUPDA
private

Definition at line 58 of file Pythia6Service.h.

Referenced by Pythia6Service(), setPYUPDAParams(), and ~Pythia6Service().

◆ fParamSLHA

std::vector<std::string> gen::Pythia6Service::fParamSLHA
private

Definition at line 57 of file Pythia6Service.h.

Referenced by Pythia6Service(), setSLHAParams(), and ~Pythia6Service().

◆ fPythia6Owner

Pythia6Service * Pythia6Service::fPythia6Owner = nullptr
staticprivate

Definition at line 62 of file Pythia6Service.h.

Referenced by enter(), Pythia6Service(), and ~Pythia6Service().

◆ fRandomEngine

CLHEP::HepRandomEngine* gen::Pythia6Service::fRandomEngine
private

Definition at line 53 of file Pythia6Service.h.

Referenced by randomEngine(), and setRandomEngine().

◆ fUnitPYUPDA

int gen::Pythia6Service::fUnitPYUPDA
private

Definition at line 60 of file Pythia6Service.h.

Referenced by closePYUPDA(), and openPYUPDA().

◆ fUnitSLHA

int gen::Pythia6Service::fUnitSLHA
private

Definition at line 59 of file Pythia6Service.h.

Referenced by closeSLHA(), and openSLHA().

gen::txgive_init_
void txgive_init_(void)
gen::Pythia6Service::fParamCSA
std::vector< std::string > fParamCSA
Definition: Pythia6Service.h:56
gen::Pythia6Service::openSLHA
void openSLHA(const char *)
Definition: Pythia6Service.cc:198
mps_fire.i
i
Definition: mps_fire.py:428
start
Definition: start.py:1
gen::Pythia6Service::fParamGeneral
std::vector< std::string > fParamGeneral
Definition: Pythia6Service.h:55
gen::FortranInstance::enter
virtual void enter()
Definition: FortranInstance.cc:43
SETCSAPARBUFSIZE
#define SETCSAPARBUFSIZE
gen::Pythia6Service::fPythia6Owner
static Pythia6Service * fPythia6Owner
Definition: Pythia6Service.h:62
gen::Pythia6Service::fRandomEngine
CLHEP::HepRandomEngine * fRandomEngine
Definition: Pythia6Service.h:53
gather_cfg.cout
cout
Definition: gather_cfg.py:144
pos
Definition: PixelAliasList.h:18
gen::Pythia6Service::fUnitSLHA
int fUnitSLHA
Definition: Pythia6Service.h:59
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi.model
model
Definition: ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi.py:11
gen::Pythia6Service::openPYUPDA
void openPYUPDA(const char *, bool write_file)
Definition: Pythia6Service.cc:211
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
edm::FileInPath
Definition: FileInPath.h:64
ztee.fd
fd
Definition: ztee.py:136
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
submitPVValidationJobs.split
def split(sequence, size)
Definition: submitPVValidationJobs.py:352
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
mps_fire.end
end
Definition: mps_fire.py:242
HcalDetIdTransform::transform
unsigned transform(const HcalDetId &id, unsigned transformCode)
Definition: HcalDetIdTransform.cc:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
groupFilesInBlocks.lines
lines
Definition: groupFilesInBlocks.py:95
gen::v
double v[5][pyjets_maxn]
Definition: Cascade2Hadronizer.cc:76
createfilelist.int
int
Definition: createfilelist.py:10
FrontierConditions_GlobalTag_cff.file
file
Definition: FrontierConditions_GlobalTag_cff.py:13
gen::Pythia6Service::fParamSLHA
std::vector< std::string > fParamSLHA
Definition: Pythia6Service.h:57
gen::Pythia6Service::fParamPYUPDA
std::vector< std::string > fParamPYUPDA
Definition: Pythia6Service.h:58
fioopn_
void fioopn_(int *unit, const char *line, int length)
groupFilesInBlocks.block
block
Definition: groupFilesInBlocks.py:150
fioopnw_
void fioopnw_(int *unit, const char *line, int length)
visDQMUpload.buf
buf
Definition: visDQMUpload.py:154
call_pyupda
static void call_pyupda(int opt, int iunit)
Definition: Pythia6Service.cc:58
writeEcalDQMStatus.write
write
Definition: writeEcalDQMStatus.py:48
gen::Pythia6Service::fUnitPYUPDA
int fUnitPYUPDA
Definition: Pythia6Service.h:60
reco_skim_cfg_mod.maxSize
maxSize
Definition: reco_skim_cfg_mod.py:154
relativeConstraints.value
value
Definition: relativeConstraints.py:53
Exception
Definition: hltDiff.cc:245
MatrixUtil.remove
def remove(d, key, TELL=False)
Definition: MatrixUtil.py:219
call_pyslha
static int call_pyslha(int mupda, int kforig=0)
Definition: Pythia6Service.cc:51
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
fiocls_
void fiocls_(int *unit)
gen::txgive_
void txgive_(const char *, int)
cms::Exception
Definition: Exception.h:70
DeadROC_duringRun.f1
f1
Definition: DeadROC_duringRun.py:219
mps_splice.line
line
Definition: mps_splice.py:76
gen::call_pygive
bool call_pygive(const std::string &line)
Definition: ExhumeHadronizer.cc:64
gather_cfg.blocks
blocks
Definition: gather_cfg.py:90
gen::pydat1_
struct gen::@701 pydat1_