CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes | Private Member Functions
edm::MultiParticleInConeGunProducer Class Reference

#include <MultiParticleInConeGunProducer.h>

Inheritance diagram for edm::MultiParticleInConeGunProducer:
edm::BaseFlatGunProducer edm::one::EDProducer< one::WatchRuns, EndRunProducer > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 MultiParticleInConeGunProducer (const ParameterSet &)
 
 ~MultiParticleInConeGunProducer () override
 
- Public Member Functions inherited from edm::BaseFlatGunProducer
 BaseFlatGunProducer (const ParameterSet &)
 
void beginRun (const edm::Run &r, const edm::EventSetup &) override
 
void endRun (edm::Run const &r, const edm::EventSetup &) override
 
void endRunProduce (edm::Run &r, const edm::EventSetup &) override
 
 ~BaseFlatGunProducer () override
 
- Public Member Functions inherited from edm::one::EDProducer< one::WatchRuns, EndRunProducer >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () 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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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 Attributes

std::vector< int > fInConeIds
 
double fInConeMaxEta
 
double fInConeMaxPhi
 
unsigned int fInConeMaxTry
 
double fInConeMinEta
 
double fInConeMinPhi
 
double fMaxDeltaR
 
double fMaxMomRatio
 
double fMaxPt
 
double fMinDeltaR
 
double fMinMomRatio
 
double fMinPt
 
- Protected Attributes inherited from edm::BaseFlatGunProducer
bool fAddAntiParticle
 
HepMC::GenEventfEvt
 
double fMaxEta
 
double fMaxPhi
 
double fMinEta
 
double fMinPhi
 
std::vector< int > fPartIDs
 
ESHandle< HepPDT::ParticleDataTablefPDGTable
 
int fVerbosity
 

Private Member Functions

void produce (Event &e, const EventSetup &es) override
 

Additional Inherited Members

- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase 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::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- 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)
 

Detailed Description

Definition at line 14 of file MultiParticleInConeGunProducer.h.

Constructor & Destructor Documentation

◆ MultiParticleInConeGunProducer()

MultiParticleInConeGunProducer::MultiParticleInConeGunProducer ( const ParameterSet pset)

Definition at line 22 of file MultiParticleInConeGunProducer.cc.

23  ParameterSet defpset;
24  ParameterSet pgun_params = pset.getParameter<ParameterSet>("PGunParameters");
25 
26  fMinPt = pgun_params.getParameter<double>("MinPt");
27  fMaxPt = pgun_params.getParameter<double>("MaxPt");
28 
29  fInConeIds = pgun_params.getParameter<vector<int> >("InConeID");
30  fMinDeltaR = pgun_params.getParameter<double>("MinDeltaR");
31  fMaxDeltaR = pgun_params.getParameter<double>("MaxDeltaR");
32  fMinMomRatio = pgun_params.getParameter<double>("MinMomRatio");
33  fMaxMomRatio = pgun_params.getParameter<double>("MaxMomRatio");
34 
35  fInConeMinEta = pgun_params.getParameter<double>("InConeMinEta");
36  fInConeMaxEta = pgun_params.getParameter<double>("InConeMaxEta");
37  fInConeMinPhi = pgun_params.getParameter<double>("InConeMinPhi");
38  fInConeMaxPhi = pgun_params.getParameter<double>("InConeMaxPhi");
39  fInConeMaxTry = pgun_params.getParameter<unsigned int>("InConeMaxTry");
40 
41  produces<HepMCProduct>("unsmeared");
42  produces<GenEventInfoProduct>();
43 }

References fInConeIds, fInConeMaxEta, fInConeMaxPhi, fInConeMaxTry, fInConeMinEta, fInConeMinPhi, fMaxDeltaR, fMaxMomRatio, fMaxPt, fMinDeltaR, fMinMomRatio, fMinPt, edm::ParameterSet::getParameter(), and muonDTDigis_cfi::pset.

◆ ~MultiParticleInConeGunProducer()

MultiParticleInConeGunProducer::~MultiParticleInConeGunProducer ( )
override

Definition at line 45 of file MultiParticleInConeGunProducer.cc.

45  {
46  // no need to cleanup GenEvent memory - done in HepMCProduct
47 }

Member Function Documentation

◆ produce()

void MultiParticleInConeGunProducer::produce ( Event e,
const EventSetup es 
)
overrideprivatevirtual

Implements edm::one::EDProducerBase.

Definition at line 49 of file MultiParticleInConeGunProducer.cc.

49  {
51  CLHEP::HepRandomEngine* engine = &rng->getEngine(e.streamID());
52 
53  if (fVerbosity > 0) {
54  cout << " MultiParticleInConeGunProducer : Begin New Event Generation" << endl;
55  }
56  // event loop (well, another step in it...)
57 
58  // no need to clean up GenEvent memory - done in HepMCProduct
59  //
60 
61  // here re-create fEvt (memory)
62  //
63  fEvt = new HepMC::GenEvent();
64 
65  // now actualy, cook up the event from PDGTable and gun parameters
66  //
67  // 1st, primary vertex
68  //
69  //HepMC::GenVertex* Vtx = new HepMC::GenVertex(CLHEP::HepLorentzVector(0.,0.,0.));
70  HepMC::GenVertex* Vtx = new HepMC::GenVertex(HepMC::FourVector(0., 0., 0.));
71 
72  // loop over particles
73  //
74  int barcode = 1;
75  for (unsigned int ip = 0; ip < fPartIDs.size(); ++ip) {
76  double pt = CLHEP::RandFlat::shoot(engine, fMinPt, fMaxPt);
77  double eta = CLHEP::RandFlat::shoot(engine, fMinEta, fMaxEta);
78  double phi = CLHEP::RandFlat::shoot(engine, fMinPhi, fMaxPhi);
79  int PartID = fPartIDs[ip];
80  const HepPDT::ParticleData* PData = fPDGTable->particle(HepPDT::ParticleID(abs(PartID)));
81  double mass = PData->mass().value();
82  double theta = 2. * atan(exp(-eta));
83  double mom = pt / sin(theta);
84  double px = pt * cos(phi);
85  double py = pt * sin(phi);
86  double pz = mom * cos(theta);
87  double energy2 = mom * mom + mass * mass;
88  double energy = sqrt(energy2);
89 
90  HepMC::FourVector p(px, py, pz, energy);
92  Part->suggest_barcode(barcode);
93  barcode++;
94  Vtx->add_particle_out(Part);
95 
96  if (fAddAntiParticle) {
97  }
98 
99  // now add the particles in the cone
100  for (unsigned iPic = 0; iPic != fInConeIds.size(); iPic++) {
101  unsigned int nTry = 0;
102  while (true) {
103  //shoot flat Deltar
104  double dR = CLHEP::RandFlat::shoot(engine, fMinDeltaR, fMaxDeltaR);
105  //shoot flat eta/phi mixing
106  double alpha = CLHEP::RandFlat::shoot(engine, -3.14159265358979323846, 3.14159265358979323846);
107  double dEta = dR * cos(alpha);
108  double dPhi = dR * sin(alpha);
109 
110  /*
111  //shoot Energy of associated particle
112  double energyIc = CLHEP::RandFlat::shoot(engine, fMinEInCone, fMaxEInCone);
113  if (mom2Ic>0){ momIC = sqrt(mom2Ic);}
114  */
115  // get kinematics
116  double etaIc = eta + dEta;
117  double phiIc = phi + dPhi;
118  //put it back in -Pi:Pi if necessary. multiple time might be necessary if dR > 3
119  const unsigned int maxL = 100;
120  unsigned int iL = 0;
121  while (iL++ < maxL) {
122  if (phiIc > 3.14159265358979323846)
123  phiIc -= 2 * 3.14159265358979323846;
124  else if (phiIc < -3.14159265358979323846)
125  phiIc += 2 * 3.14159265358979323846;
126 
127  if (abs(phiIc) < 3.14159265358979323846)
128  break;
129  }
130 
131  //allow to skip it if you did not run out of possible drawing
132  if (nTry++ <= fInConeMaxTry) {
133  //draw another one if this one is not in acceptance
134  if (etaIc < fInConeMinEta || etaIc > fInConeMaxEta)
135  continue;
136  if (phiIc < fInConeMinPhi || phiIc > fInConeMaxPhi)
137  continue;
138  } else {
139  if (fVerbosity > 0) {
140  cout << " MultiParticleInConeGunProducer : could not produce a particle " << fInConeIds[iPic] << " in cone "
141  << fMinDeltaR << " to " << fMaxDeltaR << " within the " << fInConeMaxTry << " allowed tries." << endl;
142  }
143  /* edm::LogError("MultiParticleInConeGunProducer")<< " MultiParticleInConeGunProducer : could not produce a particle "<<
144  fInConeIds[iPic]<<" in cone "<<
145  fMinDeltaR<<" to "<<fMaxDeltaR<<" within the "<<fInConeMaxTry<<" allowed tries.";*/
146  }
147  int PartIDIc = fInConeIds[iPic];
148  const HepPDT::ParticleData* PDataIc = fPDGTable->particle(HepPDT::ParticleID(abs(PartIDIc)));
149 
150  //shoot momentum ratio
151  double momR = CLHEP::RandFlat::shoot(engine, fMinMomRatio, fMaxMomRatio);
152  double massIc = PDataIc->mass().value();
153  double momIc = momR * mom;
154  double energyIc = sqrt(momIc * momIc + massIc * massIc);
155 
156  double thetaIc = 2. * atan(exp(-etaIc));
157  double pxIc = momIc * sin(thetaIc) * cos(phiIc);
158  double pyIc = momIc * sin(thetaIc) * sin(phiIc);
159  double pzIc = momIc * cos(thetaIc);
160 
161  HepMC::FourVector pIc(pxIc, pyIc, pzIc, energyIc);
162  HepMC::GenParticle* PartIc = new HepMC::GenParticle(pIc, PartIDIc, 1);
163  PartIc->suggest_barcode(barcode);
164  barcode++;
165  Vtx->add_particle_out(PartIc);
166  break;
167  } //try many times while not in acceptance
168  } //loop over the particle Ids in the cone
169  }
170 
171  fEvt->add_vertex(Vtx);
172  fEvt->set_event_number(e.id().event());
173  fEvt->set_signal_process_id(20);
174 
175  if (fVerbosity > 0) {
176  fEvt->print();
177  }
178 
179  unique_ptr<HepMCProduct> BProduct(new HepMCProduct());
180  BProduct->addHepMCData(fEvt);
181  e.put(std::move(BProduct), "unsmeared");
182 
183  unique_ptr<GenEventInfoProduct> genEventInfo(new GenEventInfoProduct(fEvt));
184  e.put(std::move(genEventInfo));
185 
186  if (fVerbosity > 0) {
187  cout << " MultiParticleInConeGunProducer : Event Generation Done " << endl;
188  }
189 }

References funct::abs(), alpha, funct::cos(), gather_cfg::cout, HLT_FULL_cff::dEta, HLT_FULL_cff::dPhi, HGC3DClusterGenMatchSelector_cfi::dR, MillePedeFileConverter_cfg::e, HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, JetChargeProducer_cfi::exp, edm::BaseFlatGunProducer::fAddAntiParticle, edm::BaseFlatGunProducer::fEvt, fInConeIds, fInConeMaxEta, fInConeMaxPhi, fInConeMaxTry, fMaxDeltaR, edm::BaseFlatGunProducer::fMaxEta, fMaxMomRatio, edm::BaseFlatGunProducer::fMaxPhi, fMaxPt, fMinDeltaR, edm::BaseFlatGunProducer::fMinEta, fMinMomRatio, edm::BaseFlatGunProducer::fMinPhi, fMinPt, edm::BaseFlatGunProducer::fPartIDs, edm::BaseFlatGunProducer::fPDGTable, edm::BaseFlatGunProducer::fVerbosity, genParticles2HepMC_cfi::genEventInfo, GenParticle::GenParticle, edm::RandomNumberGenerator::getEngine(), ZgammaFilter_cfi::HepMCProduct, EgHLTOffHistBins_cfi::mass, eostools::move(), AlCaHLTBitMon_ParallelJobs::p, LHEGenericFilter_cfi::ParticleID, genfragment_ptgun_cfg::PartID, phi, DiDispStaMuonMonitor_cfi::pt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, funct::sin(), mathSSE::sqrt(), and theta().

Member Data Documentation

◆ fInConeIds

std::vector<int> edm::MultiParticleInConeGunProducer::fInConeIds
protected

Definition at line 27 of file MultiParticleInConeGunProducer.h.

Referenced by MultiParticleInConeGunProducer(), and produce().

◆ fInConeMaxEta

double edm::MultiParticleInConeGunProducer::fInConeMaxEta
protected

Definition at line 34 of file MultiParticleInConeGunProducer.h.

Referenced by MultiParticleInConeGunProducer(), and produce().

◆ fInConeMaxPhi

double edm::MultiParticleInConeGunProducer::fInConeMaxPhi
protected

Definition at line 36 of file MultiParticleInConeGunProducer.h.

Referenced by MultiParticleInConeGunProducer(), and produce().

◆ fInConeMaxTry

unsigned int edm::MultiParticleInConeGunProducer::fInConeMaxTry
protected

Definition at line 37 of file MultiParticleInConeGunProducer.h.

Referenced by MultiParticleInConeGunProducer(), and produce().

◆ fInConeMinEta

double edm::MultiParticleInConeGunProducer::fInConeMinEta
protected

Definition at line 33 of file MultiParticleInConeGunProducer.h.

Referenced by MultiParticleInConeGunProducer().

◆ fInConeMinPhi

double edm::MultiParticleInConeGunProducer::fInConeMinPhi
protected

Definition at line 35 of file MultiParticleInConeGunProducer.h.

Referenced by MultiParticleInConeGunProducer().

◆ fMaxDeltaR

double edm::MultiParticleInConeGunProducer::fMaxDeltaR
protected

Definition at line 29 of file MultiParticleInConeGunProducer.h.

Referenced by MultiParticleInConeGunProducer(), and produce().

◆ fMaxMomRatio

double edm::MultiParticleInConeGunProducer::fMaxMomRatio
protected

Definition at line 31 of file MultiParticleInConeGunProducer.h.

Referenced by MultiParticleInConeGunProducer(), and produce().

◆ fMaxPt

double edm::MultiParticleInConeGunProducer::fMaxPt
protected

Definition at line 25 of file MultiParticleInConeGunProducer.h.

Referenced by MultiParticleInConeGunProducer(), and produce().

◆ fMinDeltaR

double edm::MultiParticleInConeGunProducer::fMinDeltaR
protected

Definition at line 28 of file MultiParticleInConeGunProducer.h.

Referenced by MultiParticleInConeGunProducer(), and produce().

◆ fMinMomRatio

double edm::MultiParticleInConeGunProducer::fMinMomRatio
protected

Definition at line 30 of file MultiParticleInConeGunProducer.h.

Referenced by MultiParticleInConeGunProducer(), and produce().

◆ fMinPt

double edm::MultiParticleInConeGunProducer::fMinPt
protected

Definition at line 24 of file MultiParticleInConeGunProducer.h.

Referenced by MultiParticleInConeGunProducer(), and produce().

edm::BaseFlatGunProducer::fMaxPhi
double fMaxPhi
Definition: BaseFlatGunProducer.h:45
GenEventInfoProduct
Definition: GenEventInfoProduct.h:17
edm::RandomNumberGenerator::getEngine
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &)=0
Use this engine in event methods.
edm::BaseFlatGunProducer::fAddAntiParticle
bool fAddAntiParticle
Definition: BaseFlatGunProducer.h:61
edm::MultiParticleInConeGunProducer::fInConeMaxEta
double fInConeMaxEta
Definition: MultiParticleInConeGunProducer.h:34
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
edm::BaseFlatGunProducer::fMaxEta
double fMaxEta
Definition: BaseFlatGunProducer.h:43
multPhiCorr_741_25nsDY_cfi.py
py
Definition: multPhiCorr_741_25nsDY_cfi.py:12
edm::MultiParticleInConeGunProducer::fInConeMinEta
double fInConeMinEta
Definition: MultiParticleInConeGunProducer.h:33
edm::MultiParticleInConeGunProducer::fInConeMinPhi
double fInConeMinPhi
Definition: MultiParticleInConeGunProducer.h:35
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
edm::BaseFlatGunProducer::fEvt
HepMC::GenEvent * fEvt
Definition: BaseFlatGunProducer.h:48
ZgammaFilter_cfi.HepMCProduct
HepMCProduct
Definition: ZgammaFilter_cfi.py:9
gather_cfg.cout
cout
Definition: gather_cfg.py:144
edm::BaseFlatGunProducer::fMinPhi
double fMinPhi
Definition: BaseFlatGunProducer.h:44
alpha
float alpha
Definition: AMPTWrapper.h:105
HLT_FULL_cff.dPhi
dPhi
Definition: HLT_FULL_cff.py:13703
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
ParticleData
HepPDT::ParticleData ParticleData
Definition: ParticleDataTable.h:9
edm::BaseFlatGunProducer::BaseFlatGunProducer
BaseFlatGunProducer(const ParameterSet &)
Definition: BaseFlatGunProducer.cc:29
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
edm::BaseFlatGunProducer::fPartIDs
std::vector< int > fPartIDs
Definition: BaseFlatGunProducer.h:41
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
PVValHelper::eta
Definition: PVValidationHelpers.h:70
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
theta
Geom::Theta< T > theta() const
Definition: Basic3DVectorLD.h:150
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
edm::MultiParticleInConeGunProducer::fMinMomRatio
double fMinMomRatio
Definition: MultiParticleInConeGunProducer.h:30
edm::MultiParticleInConeGunProducer::fMaxPt
double fMaxPt
Definition: MultiParticleInConeGunProducer.h:25
edm::MultiParticleInConeGunProducer::fMaxDeltaR
double fMaxDeltaR
Definition: MultiParticleInConeGunProducer.h:29
edm::MultiParticleInConeGunProducer::fMinPt
double fMinPt
Definition: MultiParticleInConeGunProducer.h:24
edm::ParameterSet
Definition: ParameterSet.h:47
PVValHelper::phi
Definition: PVValidationHelpers.h:69
edm::MultiParticleInConeGunProducer::fMaxMomRatio
double fMaxMomRatio
Definition: MultiParticleInConeGunProducer.h:31
edm::Service< edm::RandomNumberGenerator >
edm::MultiParticleInConeGunProducer::fMinDeltaR
double fMinDeltaR
Definition: MultiParticleInConeGunProducer.h:28
edm::MultiParticleInConeGunProducer::fInConeIds
std::vector< int > fInConeIds
Definition: MultiParticleInConeGunProducer.h:27
genfragment_ptgun_cfg.PartID
PartID
Definition: genfragment_ptgun_cfg.py:6
edm::BaseFlatGunProducer::fPDGTable
ESHandle< HepPDT::ParticleDataTable > fPDGTable
Definition: BaseFlatGunProducer.h:57
edm::MultiParticleInConeGunProducer::fInConeMaxTry
unsigned int fInConeMaxTry
Definition: MultiParticleInConeGunProducer.h:37
multPhiCorr_741_25nsDY_cfi.px
px
Definition: multPhiCorr_741_25nsDY_cfi.py:10
edm::MultiParticleInConeGunProducer::fInConeMaxPhi
double fInConeMaxPhi
Definition: MultiParticleInConeGunProducer.h:36
GenParticle.GenParticle
GenParticle
Definition: GenParticle.py:18
eostools.move
def move(src, dest)
Definition: eostools.py:511
genParticles2HepMC_cfi.genEventInfo
genEventInfo
Definition: genParticles2HepMC_cfi.py:6
HLT_FULL_cff.dEta
dEta
Definition: HLT_FULL_cff.py:13702
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
edm::BaseFlatGunProducer::fVerbosity
int fVerbosity
Definition: BaseFlatGunProducer.h:59
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
HGC3DClusterGenMatchSelector_cfi.dR
dR
Definition: HGC3DClusterGenMatchSelector_cfi.py:7
JetChargeProducer_cfi.exp
exp
Definition: JetChargeProducer_cfi.py:6
LHEGenericFilter_cfi.ParticleID
ParticleID
Definition: LHEGenericFilter_cfi.py:6
edm::BaseFlatGunProducer::fMinEta
double fMinEta
Definition: BaseFlatGunProducer.h:42
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37