CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
gen::Pythia6Gun Class Referenceabstract

#include <Pythia6Gun.h>

Inheritance diagram for gen::Pythia6Gun:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper gen::Pythia6ParticleGun gen::Pythia6PartonGun gen::Pythia6EGun gen::Pythia6JetGun gen::Pythia6PtGun gen::Pythia6PtYDistGun gen::Pythia6PartonEGun gen::Pythia6PartonPtGun

Public Member Functions

void beginJob () override
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
void produce (edm::Event &, const edm::EventSetup &) override
 
 Pythia6Gun (const edm::ParameterSet &)
 
 ~Pythia6Gun () override
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducer () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Member Functions

HepMC::GenParticle * addAntiParticle (int &, int &, double &, double &, double &)
 
void attachPy6DecaysToGenEvent ()
 
virtual void generateEvent (CLHEP::HepRandomEngine *)=0
 
void loadEvent (edm::Event &)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Protected Attributes

HepMC::GenEventfEvt
 
bool fHepMCVerbosity
 
int fMaxEventsToPrint
 
double fMaxPhi
 
double fMinPhi
 
std::vector< int > fPartIDs
 
Pythia6ServicefPy6Service
 
int fPylistVerbosity
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 

Detailed Description

Definition at line 40 of file Pythia6Gun.h.

Constructor & Destructor Documentation

◆ Pythia6Gun()

Pythia6Gun::Pythia6Gun ( const edm::ParameterSet pset)

Definition at line 24 of file Pythia6Gun.cc.

26  fEvt(nullptr)
27 // fPDGTable( new DefaultConfig::ParticleDataTable("PDG Table") )
28 {
29  ParameterSet pgun_params = pset.getParameter<ParameterSet>("PGunParameters");
30 
31  // although there's the method ParameterSet::empty(),
32  // it looks like it's NOT even necessary to check if it is,
33  // before trying to extract parameters - if it is empty,
34  // the default values seem to be taken
35  //
36  fMinPhi = pgun_params.getParameter<double>("MinPhi"); // ,-3.14159265358979323846);
37  fMaxPhi = pgun_params.getParameter<double>("MaxPhi"); // , 3.14159265358979323846);
38 
39  fHepMCVerbosity = pset.getUntrackedParameter<bool>("pythiaHepMCVerbosity", false);
40  fPylistVerbosity = pset.getUntrackedParameter<int>("pythiaPylistVerbosity", 0);
41  fMaxEventsToPrint = pset.getUntrackedParameter<int>("maxEventsToPrint", 0);
42 
43  // Turn off banner printout
44  if (!call_pygive("MSTU(12)=12345")) {
45  throw edm::Exception(edm::errors::Configuration, "PythiaError") << " pythia did not accept MSTU(12)=12345";
46  }
47 
48  produces<HepMCProduct>("unsmeared");
49 }

References gen::call_pygive(), edm::errors::Configuration, Exception, fHepMCVerbosity, fMaxEventsToPrint, fMaxPhi, fMinPhi, fPylistVerbosity, edm::ParameterSet::getParameter(), and muonDTDigis_cfi::pset.

◆ ~Pythia6Gun()

Pythia6Gun::~Pythia6Gun ( )
override

Definition at line 51 of file Pythia6Gun.cc.

51  {
52  if (fPy6Service)
53  delete fPy6Service;
54  //
55  // note that GenEvent or any undelaying (GenVertex, GenParticle) do NOT
56  // need to be cleaned, as it'll be done automatically by HepMCProduct
57  //
58 }

References fPy6Service.

Member Function Documentation

◆ addAntiParticle()

HepMC::GenParticle * Pythia6Gun::addAntiParticle ( int &  ip,
int &  particleID,
double &  ee,
double &  eta,
double &  phi 
)
protected

Definition at line 198 of file Pythia6Gun.cc.

198  {
199  if (ip < 2)
200  return nullptr;
201 
202  // translate PDG to Py6
203  int py6PID = HepPID::translatePDTtoPythia(particleID);
204  // Check if particle is its own anti-particle.
205  int pythiaCode = pycomp_(py6PID); // this is py6 internal validity check, it takes Pythia6 pid
206  // so actually I'll need to convert
207  int has_antipart = pydat2.kchg[3 - 1][pythiaCode - 1];
208  int particleID2 = has_antipart ? -1 * particleID : particleID; // this is PDG, for HepMC::GenEvent
209  int py6PID2 = has_antipart ? -1 * py6PID : py6PID; // this py6 id, for py1ent
210  double the = 2. * atan(exp(eta));
211  phi = phi + M_PI;
212  if (phi > 2. * M_PI) {
213  phi = phi - 2. * M_PI;
214  }
215 
216  // copy over mass of the previous one, because then py6 will pick it up
217  pyjets.p[4][ip - 1] = pyjets.p[4][ip - 2];
218 
219  py1ent_(ip, py6PID2, ee, the, phi);
220 
221  double px = pyjets.p[0][ip - 1]; // pt*cos(phi) ;
222  double py = pyjets.p[1][ip - 1]; // pt*sin(phi) ;
223  double pz = pyjets.p[2][ip - 1]; // mom*cos(the) ;
224  HepMC::FourVector ap(px, py, pz, ee);
225  HepMC::GenParticle* APart = new HepMC::GenParticle(ap, particleID2, 1);
226  APart->suggest_barcode(ip);
227 
228  return APart;
229 }

References PVValHelper::eta, JetChargeProducer_cfi::exp, GenParticle::GenParticle, M_PI, EgammaObjectsElectrons_cfi::particleID, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, gen::py1ent_(), and gen::pycomp_().

Referenced by gen::Pythia6PartonEGun::generateEvent(), gen::Pythia6PartonPtGun::generateEvent(), gen::Pythia6PtGun::generateEvent(), and gen::Pythia6EGun::generateEvent().

◆ attachPy6DecaysToGenEvent()

void Pythia6Gun::attachPy6DecaysToGenEvent ( )
protected

Definition at line 94 of file Pythia6Gun.cc.

94  {
95  for (int iprt = fPartIDs.size(); iprt < pyjets.n; iprt++) // the pointer is shifted by -1, c++ style
96  {
97  int parent = pyjets.k[2][iprt];
98  if (parent != 0) {
99  // pull up parent particle
100  //
101  HepMC::GenParticle* parentPart = fEvt->barcode_to_particle(parent);
102  parentPart->set_status(2); // reset status, to mark that it's decayed
103 
104  HepMC::GenVertex* DecVtx = new HepMC::GenVertex(
105  HepMC::FourVector(pyjets.v[0][iprt], pyjets.v[1][iprt], pyjets.v[2][iprt], pyjets.v[3][iprt]));
106  DecVtx->add_particle_in(parentPart); // this will cleanup end_vertex if exists,
107  // and replace with the new one
108  // I presume barcode will be given automatically
109 
110  HepMC::FourVector pmom(pyjets.p[0][iprt], pyjets.p[1][iprt], pyjets.p[2][iprt], pyjets.p[3][iprt]);
111 
112  int dstatus = 0;
113  if (pyjets.k[0][iprt] >= 1 && pyjets.k[0][iprt] <= 10) {
114  dstatus = 1;
115  } else if (pyjets.k[0][iprt] >= 11 && pyjets.k[0][iprt] <= 20) {
116  dstatus = 2;
117  } else if (pyjets.k[0][iprt] >= 21 && pyjets.k[0][iprt] <= 30) {
118  dstatus = 3;
119  } else if (pyjets.k[0][iprt] >= 31 && pyjets.k[0][iprt] <= 100) {
120  dstatus = pyjets.k[0][iprt];
121  }
122  HepMC::GenParticle* daughter =
123  new HepMC::GenParticle(pmom, HepPID::translatePythiatoPDT(pyjets.k[1][iprt]), dstatus);
124  daughter->suggest_barcode(iprt + 1);
125  DecVtx->add_particle_out(daughter);
126  // give particle barcode as well !
127 
128  int iprt1;
129  for (iprt1 = iprt + 1; iprt1 < pyjets.n; iprt1++) // the pointer is shifted by -1, c++ style
130  {
131  if (pyjets.k[2][iprt1] != parent)
132  break; // another parent particle, break the loop
133 
134  HepMC::FourVector pmomN(pyjets.p[0][iprt1], pyjets.p[1][iprt1], pyjets.p[2][iprt1], pyjets.p[3][iprt1]);
135 
136  dstatus = 0;
137  if (pyjets.k[0][iprt1] >= 1 && pyjets.k[0][iprt1] <= 10) {
138  dstatus = 1;
139  } else if (pyjets.k[0][iprt1] >= 11 && pyjets.k[0][iprt1] <= 20) {
140  dstatus = 2;
141  } else if (pyjets.k[0][iprt1] >= 21 && pyjets.k[0][iprt1] <= 30) {
142  dstatus = 3;
143  } else if (pyjets.k[0][iprt1] >= 31 && pyjets.k[0][iprt1] <= 100) {
144  dstatus = pyjets.k[0][iprt1];
145  }
146  HepMC::GenParticle* daughterN =
147  new HepMC::GenParticle(pmomN, HepPID::translatePythiatoPDT(pyjets.k[1][iprt1]), dstatus);
148  daughterN->suggest_barcode(iprt1 + 1);
149  DecVtx->add_particle_out(daughterN);
150  }
151 
152  iprt = iprt1 - 1; // reset counter such that it doesn't go over the same child more than once
153  // don't forget to offset back into c++ counting, as it's already +1 forward
154 
155  fEvt->add_vertex(DecVtx);
156  }
157  }
158 
159  return;
160 }

References fEvt, fPartIDs, GenParticle::GenParticle, and class-composition::parent.

Referenced by produce().

◆ beginJob()

void Pythia6Gun::beginJob ( void  )
overridevirtual

Reimplemented from edm::EDProducer.

Definition at line 60 of file Pythia6Gun.cc.

60  {
61  // es.getData( fPDGTable ) ;
62  return;
63 }

◆ beginLuminosityBlock()

void Pythia6Gun::beginLuminosityBlock ( edm::LuminosityBlock const &  lumi,
edm::EventSetup const &   
)
overridevirtual

Reimplemented from edm::EDProducer.

Definition at line 70 of file Pythia6Gun.cc.

70  {
72 
74 
75  Pythia6Service::InstanceWrapper guard(fPy6Service); // grab Py6 instance
76 
80 
81  call_pygive("MSTU(10)=1");
82 
83  call_pyinit("NONE", "", "", 0.0);
84 }

References cms::cuda::assert(), gen::call_pygive(), fPy6Service, gen::Pythia6Service::setCSAParams(), gen::Pythia6Service::setGeneralParams(), and gen::Pythia6Service::setSLHAParams().

◆ beginRun()

void Pythia6Gun::beginRun ( edm::Run const &  ,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from edm::EDProducer.

Definition at line 65 of file Pythia6Gun.cc.

65  {
66  std::cout << " FYI: MSTU(10)=1 is ENFORCED in Py6-PGuns, for technical reasons" << std::endl;
67  return;
68 }

References gather_cfg::cout.

◆ endRun()

void Pythia6Gun::endRun ( edm::Run const &  ,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from edm::EDProducer.

Definition at line 86 of file Pythia6Gun.cc.

86  {
87  // here put in GenRunInfoProduct
88 
89  call_pystat(1);
90 
91  return;
92 }

◆ generateEvent()

virtual void gen::Pythia6Gun::generateEvent ( CLHEP::HepRandomEngine *  )
protectedpure virtual

◆ loadEvent()

void Pythia6Gun::loadEvent ( edm::Event evt)
protected

Definition at line 187 of file Pythia6Gun.cc.

187  {
188  std::unique_ptr<HepMCProduct> bare_product(new HepMCProduct());
189 
190  if (fEvt)
191  bare_product->addHepMCData(fEvt);
192 
193  evt.put(std::move(bare_product), "unsmeared");
194 
195  return;
196 }

References fEvt, ZgammaFilter_cfi::HepMCProduct, eostools::move(), and edm::Event::put().

Referenced by produce().

◆ produce()

void Pythia6Gun::produce ( edm::Event evt,
const edm::EventSetup  
)
overridevirtual

Implements edm::EDProducer.

Definition at line 162 of file Pythia6Gun.cc.

162  {
164 
166 
167  fEvt->set_beam_particles(nullptr, nullptr);
168  fEvt->set_event_number(evt.id().event());
169  fEvt->set_signal_process_id(pypars.msti[0]);
170 
172 
173  int evtN = evt.id().event();
174  if (evtN <= fMaxEventsToPrint) {
175  if (fPylistVerbosity) {
177  }
178  if (fHepMCVerbosity) {
179  if (fEvt)
180  fEvt->print();
181  }
182  }
183 
184  loadEvent(evt);
185 }

References attachPy6DecaysToGenEvent(), gen::call_pylist(), edm::EventID::event(), fEvt, fHepMCVerbosity, fMaxEventsToPrint, fPy6Service, fPylistVerbosity, generateEvent(), edm::EventBase::id(), loadEvent(), pypars, gen::Pythia6Service::randomEngine(), and edm::Event::streamID().

Member Data Documentation

◆ fEvt

HepMC::GenEvent* gen::Pythia6Gun::fEvt
protected

◆ fHepMCVerbosity

bool gen::Pythia6Gun::fHepMCVerbosity
protected

Definition at line 73 of file Pythia6Gun.h.

Referenced by produce(), and Pythia6Gun().

◆ fMaxEventsToPrint

int gen::Pythia6Gun::fMaxEventsToPrint
protected

Definition at line 75 of file Pythia6Gun.h.

Referenced by produce(), and Pythia6Gun().

◆ fMaxPhi

double gen::Pythia6Gun::fMaxPhi
protected

◆ fMinPhi

double gen::Pythia6Gun::fMinPhi
protected

◆ fPartIDs

std::vector<int> gen::Pythia6Gun::fPartIDs
protected

Definition at line 60 of file Pythia6Gun.h.

Referenced by attachPy6DecaysToGenEvent().

◆ fPy6Service

Pythia6Service* gen::Pythia6Gun::fPy6Service
protected

◆ fPylistVerbosity

int gen::Pythia6Gun::fPylistVerbosity
protected

Definition at line 74 of file Pythia6Gun.h.

Referenced by produce(), and Pythia6Gun().

gen::Pythia6Gun::fPylistVerbosity
int fPylistVerbosity
Definition: Pythia6Gun.h:74
gen::pycomp_
int pycomp_(int &)
multPhiCorr_741_25nsDY_cfi.py
py
Definition: multPhiCorr_741_25nsDY_cfi.py:12
ZgammaFilter_cfi.HepMCProduct
HepMCProduct
Definition: ZgammaFilter_cfi.py:9
gen::Pythia6Gun::fEvt
HepMC::GenEvent * fEvt
Definition: Pythia6Gun.h:66
gather_cfg.cout
cout
Definition: gather_cfg.py:144
pypars
#define pypars
Definition: ExhumeHadronizer.cc:45
cms::cuda::assert
assert(be >=bs)
gen::Pythia6Service::setSLHAParams
void setSLHAParams()
Definition: Pythia6Service.cc:239
gen::Pythia6Service::setGeneralParams
void setGeneralParams()
Definition: Pythia6Service.cc:157
gen::Pythia6Gun::fMaxEventsToPrint
int fMaxEventsToPrint
Definition: Pythia6Gun.h:75
gen::py1ent_
void py1ent_(int &ip, int &kf, double &pe, double &the, double &phi)
gen::Pythia6Gun::generateEvent
virtual void generateEvent(CLHEP::HepRandomEngine *)=0
EgammaObjectsElectrons_cfi.particleID
particleID
Definition: EgammaObjectsElectrons_cfi.py:4
gen::Pythia6Service::setCSAParams
void setCSAParams()
Definition: Pythia6Service.cc:168
gen::Pythia6Gun::fHepMCVerbosity
bool fHepMCVerbosity
Definition: Pythia6Gun.h:73
gen::Pythia6Gun::attachPy6DecaysToGenEvent
void attachPy6DecaysToGenEvent()
Definition: Pythia6Gun.cc:94
PVValHelper::eta
Definition: PVValidationHelpers.h:69
gen::Pythia6Gun::fMaxPhi
double fMaxPhi
Definition: Pythia6Gun.h:62
gen::Pythia6Service::randomEngine
CLHEP::HepRandomEngine * randomEngine() const
Definition: Pythia6Service.h:45
edm::ParameterSet
Definition: ParameterSet.h:47
edm::EventID::event
EventNumber_t event() const
Definition: EventID.h:40
gen::call_pylist
void call_pylist(int mode)
Definition: ExhumeHadronizer.cc:63
gen::Pythia6Gun::fMinPhi
double fMinPhi
Definition: Pythia6Gun.h:61
edm::Event::put
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:133
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:49
gen::Pythia6Gun::loadEvent
void loadEvent(edm::Event &)
Definition: Pythia6Gun.cc:187
gen::Pythia6Gun::fPy6Service
Pythia6Service * fPy6Service
Definition: Pythia6Gun.h:56
DDAxes::phi
multPhiCorr_741_25nsDY_cfi.px
px
Definition: multPhiCorr_741_25nsDY_cfi.py:10
edm::Event::streamID
StreamID streamID() const
Definition: Event.h:98
GenParticle.GenParticle
GenParticle
Definition: GenParticle.py:18
eostools.move
def move(src, dest)
Definition: eostools.py:511
edm::RandomEngineSentry
Definition: RandomEngineSentry.h:28
Exception
Definition: hltDiff.cc:246
edm::EventBase::id
edm::EventID id() const
Definition: EventBase.h:59
gen::Pythia6Gun::fPartIDs
std::vector< int > fPartIDs
Definition: Pythia6Gun.h:60
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
gen::Pythia6Service
Definition: Pythia6Service.h:24
JetChargeProducer_cfi.exp
exp
Definition: JetChargeProducer_cfi.py:6
lumi
Definition: LumiSectionData.h:20
gen::call_pygive
bool call_pygive(const std::string &line)
Definition: ExhumeHadronizer.cc:64
edm::errors::Configuration
Definition: EDMException.h:36
class-composition.parent
parent
Definition: class-composition.py:88
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27