CMS 3D CMS Logo

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

#include <CloseByParticleGunProducer.h>

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

Public Member Functions

 CloseByParticleGunProducer (const ParameterSet &)
 
 ~CloseByParticleGunProducer () 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
 
 EDProducer (const EDProducer &)=delete
 
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
 
const EDProduceroperator= (const EDProducer &)=delete
 
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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > 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
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
- 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 Attributes

bool fControlledByEta
 
double fDelta
 
double fEnMax
 
double fEnMin
 
double fEtaMax
 
double fEtaMin
 
bool fMaxEnSpread = false
 
int fNParticles
 
double fOffsetFirst
 
bool fOverlapping = false
 
std::vector< int > fPartIDs
 
double fPhiMax
 
double fPhiMin
 
bool fPointing = false
 
bool fRandomShoot = false
 
double fRMax
 
double fRMin
 
double fTMax
 
double fTMin
 
bool fUseDeltaT = false
 
double fZMax
 
double fZMin
 
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecordm_fieldToken
 
- 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
template<typename T >
using BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T >
 
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
 
- Protected Member Functions inherited from edm::ProducerBase
template<Transition Tr = Transition::Event>
auto produces (std::string instanceName) noexcept
 declare what type of product will make and with which optional label More...
 
template<Transition B>
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)
 
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 ()
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
template<Transition Tr = Transition::Event>
auto produces () noexcept
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 16 of file CloseByParticleGunProducer.h.

Constructor & Destructor Documentation

◆ CloseByParticleGunProducer()

CloseByParticleGunProducer::CloseByParticleGunProducer ( const ParameterSet pset)

Definition at line 25 of file CloseByParticleGunProducer.cc.

References fControlledByEta, fDelta, fEnMax, fEnMin, fEtaMax, fEtaMin, fMaxEnSpread, fNParticles, fOffsetFirst, fOverlapping, fPartIDs, fPhiMax, fPhiMin, fPointing, fRandomShoot, fRMax, fRMin, fTMax, fTMin, fUseDeltaT, fZMax, fZMin, edm::ParameterSet::getParameter(), and muonDTDigis_cfi::pset.

27  ParameterSet pgun_params = pset.getParameter<ParameterSet>("PGunParameters");
28  fControlledByEta = pgun_params.getParameter<bool>("ControlledByEta");
29  fEnMax = pgun_params.getParameter<double>("EnMax");
30  fEnMin = pgun_params.getParameter<double>("EnMin");
31  if (fEnMin < 1)
32  LogError("CloseByParticleGunProducer") << " Please choose a minimum energy greater than 1 GeV, otherwise time "
33  "information may be invalid or not reliable";
34 
35  fMaxEnSpread = pgun_params.getParameter<bool>("MaxEnSpread");
36  if (fControlledByEta) {
37  fEtaMax = pgun_params.getParameter<double>("MaxEta");
38  fEtaMin = pgun_params.getParameter<double>("MinEta");
39  if (fEtaMax <= fEtaMin)
40  LogError("CloseByParticleGunProducer") << " Please fix MinEta and MaxEta values in the configuration";
41  } else {
42  fRMax = pgun_params.getParameter<double>("RMax");
43  fRMin = pgun_params.getParameter<double>("RMin");
44  if (fRMax <= fRMin)
45  LogError("CloseByParticleGunProducer") << " Please fix RMin and RMax values in the configuration";
46  }
47  fZMax = pgun_params.getParameter<double>("ZMax");
48  fZMin = pgun_params.getParameter<double>("ZMin");
49  fDelta = pgun_params.getParameter<double>("Delta");
50  fPhiMin = pgun_params.getParameter<double>("MinPhi");
51  fPhiMax = pgun_params.getParameter<double>("MaxPhi");
52  fPointing = pgun_params.getParameter<bool>("Pointing");
53  fOverlapping = pgun_params.getParameter<bool>("Overlapping");
54  fRandomShoot = pgun_params.getParameter<bool>("RandomShoot");
55  fNParticles = pgun_params.getParameter<int>("NParticles");
56  fPartIDs = pgun_params.getParameter<vector<int>>("PartID");
57 
58  // set dt between particles
59  fUseDeltaT = pgun_params.getParameter<bool>("UseDeltaT");
60  fTMax = pgun_params.getParameter<double>("TMax");
61  fTMin = pgun_params.getParameter<double>("TMin");
62  if (fTMax <= fTMin)
63  LogError("CloseByParticleGunProducer") << " Please fix TMin and TMax values in the configuration";
64  // set a fixed time offset for the particles
65  fOffsetFirst = pgun_params.getParameter<double>("OffsetFirst");
66 
67  produces<HepMCProduct>("unsmeared");
68  produces<GenEventInfoProduct>();
69 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
Log< level::Error, false > LogError
BaseFlatGunProducer(const ParameterSet &)
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > m_fieldToken

◆ ~CloseByParticleGunProducer()

CloseByParticleGunProducer::~CloseByParticleGunProducer ( )
override

Definition at line 71 of file CloseByParticleGunProducer.cc.

71  {
72  // no need to cleanup GenEvent memory - done in HepMCProduct
73 }

Member Function Documentation

◆ fillDescriptions()

void CloseByParticleGunProducer::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 75 of file CloseByParticleGunProducer.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.

75  {
77  desc.add<bool>("AddAntiParticle", false);
78  {
80  psd0.add<bool>("ControlledByEta", false);
81  psd0.add<double>("Delta", 10);
82  psd0.add<double>("EnMax", 200.0);
83  psd0.add<double>("EnMin", 25.0);
84  psd0.add<bool>("MaxEnSpread", false);
85  psd0.add<double>("MaxEta", 2.7);
86  psd0.add<double>("MaxPhi", 3.14159265359);
87  psd0.add<double>("MinEta", 1.7);
88  psd0.add<double>("MinPhi", -3.14159265359);
89  psd0.add<int>("NParticles", 2);
90  psd0.add<bool>("Overlapping", false);
91  psd0.add<std::vector<int>>("PartID",
92  {
93  22,
94  });
95  psd0.add<bool>("Pointing", true);
96  psd0.add<double>("RMax", 120);
97  psd0.add<double>("RMin", 60);
98  psd0.add<bool>("RandomShoot", false);
99  psd0.add<double>("ZMax", 321);
100  psd0.add<double>("ZMin", 320);
101  psd0.add<bool>("UseDeltaT", false);
102  psd0.add<double>("TMin", 0.);
103  psd0.add<double>("TMax", 0.05);
104  psd0.add<double>("OffsetFirst", 0.);
105  desc.add<edm::ParameterSetDescription>("PGunParameters", psd0);
106  }
107  desc.addUntracked<int>("Verbosity", 0);
108  desc.addUntracked<unsigned int>("firstRun", 1);
109  desc.add<std::string>("psethack", "random particles in phi and r windows");
110  descriptions.add("CloseByParticleGunProducer", desc);
111 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)

◆ produce()

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

Implements edm::one::EDProducerBase.

Definition at line 113 of file CloseByParticleGunProducer.cc.

References funct::abs(), funct::cos(), MillePedeFileConverter_cfg::e, hcalRecHitTable_cff::energy, fControlledByEta, fDelta, fEnMax, fEnMin, l1ScoutingRun3::ugmt::fEta(), fEtaMax, fEtaMin, edm::BaseFlatGunProducer::fEvt, fMaxEnSpread, fNParticles, fOffsetFirst, fOverlapping, fPartIDs, edm::BaseFlatGunProducer::fPDGTable, fPhiMax, fPhiMin, fPointing, hydjet2DefaultParameters_cff::fR, fRandomShoot, fRMax, fRMin, hydjet2DefaultParameters_cff::fT, fTMax, fTMin, fUseDeltaT, edm::BaseFlatGunProducer::fVerbosity, fZMax, fZMin, genParticles2HepMC_cfi::genEventInfo, GenParticle::GenParticle, edm::EventSetup::getData(), edm::RandomNumberGenerator::getEngine(), ZgammaFilter_cfi::HepMCProduct, LogDebug, m_fieldToken, EgHLTOffHistBins_cfi::mass, eostools::move(), AlCaHLTBitMon_ParallelJobs::p, LHEGenericFilter_cfi::ParticleID, genfragment_ptgun_cfg::PartID, partIdx(), funct::pow(), multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, CosmicsPD_Skims::radius, funct::sin(), HLTSiStripMonitoring_cff::speed, mathSSE::sqrt(), simBeamSpotPI::timeOffset, and x.

113  {
115  CLHEP::HepRandomEngine* engine = &rng->getEngine(e.streamID());
116 
117  if (fVerbosity > 0) {
118  LogDebug("CloseByParticleGunProducer") << " CloseByParticleGunProducer : Begin New Event Generation" << endl;
119  }
120  fEvt = new HepMC::GenEvent();
121 
122  auto const& field = es.getData(m_fieldToken);
123 
124  int barcode = 1;
125  unsigned int numParticles = fRandomShoot ? CLHEP::RandFlat::shoot(engine, 1, fNParticles) : fNParticles;
126 
127  double phi = CLHEP::RandFlat::shoot(engine, fPhiMin, fPhiMax);
128  double fZ = CLHEP::RandFlat::shoot(engine, fZMin, fZMax);
129  double fR;
130  double fT;
131 
132  if (!fControlledByEta) {
133  fR = CLHEP::RandFlat::shoot(engine, fRMin, fRMax);
134  } else {
135  double fEta = CLHEP::RandFlat::shoot(engine, fEtaMin, fEtaMax);
136  fR = (fZ / sinh(fEta));
137  }
138 
139  if (fUseDeltaT) {
140  fT = CLHEP::RandFlat::shoot(engine, fTMin, fTMax);
141  } else {
142  fT = 0.;
143  }
144 
145  double tmpPhi = phi;
146  double tmpR = fR;
147 
148  // Loop over particles
149  for (unsigned int ip = 0; ip < numParticles; ++ip) {
150  if (fOverlapping) {
151  fR = CLHEP::RandFlat::shoot(engine, tmpR - fDelta, tmpR + fDelta);
152  phi = CLHEP::RandFlat::shoot(engine, tmpPhi - fDelta / fR, tmpPhi + fDelta / fR);
153  } else
154  phi += fDelta / fR;
155 
156  double fEn;
157  if (numParticles > 1 && fMaxEnSpread)
158  fEn = fEnMin + ip * (fEnMax - fEnMin) / (numParticles - 1);
159  else
160  fEn = CLHEP::RandFlat::shoot(engine, fEnMin, fEnMax);
161 
162  int partIdx = CLHEP::RandFlat::shoot(engine, 0, fPartIDs.size());
163  int PartID = fPartIDs[partIdx];
164  const HepPDT::ParticleData* PData = fPDGTable->particle(HepPDT::ParticleID(abs(PartID)));
165  double mass = PData->mass().value();
166  double mom2 = fEn * fEn - mass * mass;
167  double mom = 0.;
168  if (mom2 > 0.) {
169  mom = sqrt(mom2);
170  }
171  double px = 0.;
172  double py = 0.;
173  double pz = mom;
174  double energy = fEn;
175 
176  // Compute Vertex Position
177  double x = fR * cos(phi);
178  double y = fR * sin(phi);
179 
180  HepMC::FourVector p(px, py, pz, energy);
181  // If we are requested to be pointing to (0,0,0), correct the momentum direction
182  if (fPointing) {
183  math::XYZVector direction(x, y, fZ);
184  math::XYZVector momentum = direction.unit() * mom;
185  p.setX(momentum.x());
186  p.setY(momentum.y());
187  p.setZ(momentum.z());
188  }
189 
190  // compute correct path assuming uniform magnetic field in CMS
191  double pathLength = 0.;
192  const double speed = p.pz() / p.e() * c_light / cm;
193  if (PData->charge()) {
194  // Radius [cm] = P[GeV/c] * 10^9 / (c[mm/ns] * 10^6 * q[C] * B[T]) * 100[cm/m]
195  const double radius = std::sqrt(p.px() * p.px() + p.py() * p.py()) * std::pow(10, 5) /
196  (c_light * field.inTesla({0.f, 0.f, 0.f}).z()); // cm
197  const double arc = 2 * asinf(std::sqrt(x * x + y * y) / (2 * radius)) * radius;
198  pathLength = std::sqrt(arc * arc + fZ * fZ);
199  } else {
200  pathLength = std::sqrt(x * x + y * y + fZ * fZ);
201  }
202 
203  // if not pointing time doesn't mean a lot, keep the old way
204  const double pathTime = fPointing ? (pathLength / speed) : (std::sqrt(x * x + y * y + fZ * fZ) / speed);
205  double timeOffset = fOffsetFirst + (pathTime + ip * fT) * ns * c_light;
206 
207  HepMC::GenVertex* Vtx = new HepMC::GenVertex(HepMC::FourVector(x * cm, y * cm, fZ * cm, timeOffset));
208 
210  Part->suggest_barcode(barcode);
211  barcode++;
212 
213  Vtx->add_particle_out(Part);
214 
215  if (fVerbosity > 0) {
216  Vtx->print();
217  Part->print();
218  }
219  fEvt->add_vertex(Vtx);
220  }
221 
222  fEvt->set_event_number(e.id().event());
223  fEvt->set_signal_process_id(20);
224 
225  if (fVerbosity > 0) {
226  fEvt->print();
227  }
228 
229  unique_ptr<HepMCProduct> BProduct(new HepMCProduct());
230  BProduct->addHepMCData(fEvt);
231  e.put(std::move(BProduct), "unsmeared");
232 
233  unique_ptr<GenEventInfoProduct> genEventInfo(new GenEventInfoProduct(fEvt));
234  e.put(std::move(genEventInfo));
235 
236  if (fVerbosity > 0) {
237  LogDebug("CloseByParticleGunProducer") << " CloseByParticleGunProducer : Event Generation Done " << endl;
238  }
239 }
static unsigned int partIdx(const InputGenJetsParticleSelector::ParticleVector &p, const reco::Candidate *particle)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &)=0
Use this engine in event methods.
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > m_fieldToken
ESHandle< HepPDT::ParticleDataTable > fPDGTable
T sqrt(T t)
Definition: SSEVec.h:19
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
HepPDT::ParticleData ParticleData
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
def move(src, dest)
Definition: eostools.py:511
float fEta(int hwEta)
Definition: conversion.h:17
#define LogDebug(id)

Member Data Documentation

◆ fControlledByEta

bool edm::CloseByParticleGunProducer::fControlledByEta
protected

Definition at line 28 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fDelta

double edm::CloseByParticleGunProducer::fDelta
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fEnMax

double edm::CloseByParticleGunProducer::fEnMax
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fEnMin

double edm::CloseByParticleGunProducer::fEnMin
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fEtaMax

double edm::CloseByParticleGunProducer::fEtaMax
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fEtaMin

double edm::CloseByParticleGunProducer::fEtaMin
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fMaxEnSpread

bool edm::CloseByParticleGunProducer::fMaxEnSpread = false
protected

Definition at line 32 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fNParticles

int edm::CloseByParticleGunProducer::fNParticles
protected

Definition at line 31 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fOffsetFirst

double edm::CloseByParticleGunProducer::fOffsetFirst
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fOverlapping

bool edm::CloseByParticleGunProducer::fOverlapping = false
protected

Definition at line 34 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fPartIDs

std::vector<int> edm::CloseByParticleGunProducer::fPartIDs
protected

Definition at line 37 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fPhiMax

double edm::CloseByParticleGunProducer::fPhiMax
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fPhiMin

double edm::CloseByParticleGunProducer::fPhiMin
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fPointing

bool edm::CloseByParticleGunProducer::fPointing = false
protected

Definition at line 33 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fRandomShoot

bool edm::CloseByParticleGunProducer::fRandomShoot = false
protected

Definition at line 35 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fRMax

double edm::CloseByParticleGunProducer::fRMax
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fRMin

double edm::CloseByParticleGunProducer::fRMin
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fTMax

double edm::CloseByParticleGunProducer::fTMax
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fTMin

double edm::CloseByParticleGunProducer::fTMin
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fUseDeltaT

bool edm::CloseByParticleGunProducer::fUseDeltaT = false
protected

Definition at line 36 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fZMax

double edm::CloseByParticleGunProducer::fZMax
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ fZMin

double edm::CloseByParticleGunProducer::fZMin
protected

Definition at line 29 of file CloseByParticleGunProducer.h.

Referenced by CloseByParticleGunProducer(), and produce().

◆ m_fieldToken

const edm::ESGetToken<MagneticField, IdealMagneticFieldRecord> edm::CloseByParticleGunProducer::m_fieldToken
protected

Definition at line 39 of file CloseByParticleGunProducer.h.

Referenced by produce().