#include <CosMuoGenProducer.h>
Public Member Functions | |
CosMuoGenProducer (const ParameterSet &) | |
virtual | ~CosMuoGenProducer () |
Public Member Functions inherited from edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks > | |
EDProducer ()=default | |
Public Member Functions inherited from edm::one::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
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 () | |
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () 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 | |
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 |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
virtual void | beginLuminosityBlock (LuminosityBlock const &, EventSetup const &) override |
void | clear () |
virtual void | endLuminosityBlock (LuminosityBlock const &, EventSetup const &) override |
virtual void | endRunProduce (Run &r, const EventSetup &es) override |
virtual void | produce (Event &e, const EventSetup &es) override |
Private Attributes | |
bool | AllMu |
double | ClayLayerWidth |
bool | cmVerbosity_ |
CosmicMuonGenerator * | CosMuoGen |
double | ELSF |
double | extCrossSect |
double | extFilterEff |
HepMC::GenEvent * | fEvt |
bool | isInitialized_ |
double | MaxEn |
double | MaxP |
double | MaxPh |
double | MaxS |
double | MaxT |
double | MinEn |
double | MinP |
double | MinP_CMS |
double | MinPh |
double | MinS |
double | MinT |
bool | MTCCHalf |
bool | MultiMuon |
int32_t | MultiMuonFileFirstEvent |
std::string | MultiMuonFileName |
int32_t | MultiMuonNmin |
double | NuPrdAlt |
double | PlugVtx |
double | PlugVtz |
int32_t | RanS |
double | RTarget |
bool | TIFOnly_constant |
bool | TIFOnly_linear |
bool | TrackerOnly |
double | VarRhoAir |
double | VarRhoClay |
double | VarRhoPlug |
double | VarRhoRock |
double | VarRhoWall |
double | ZCTarget |
double | ZTarget |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
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::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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) |
Definition at line 20 of file CosMuoGenProducer.h.
edm::CosMuoGenProducer::CosMuoGenProducer | ( | const ParameterSet & | pset | ) |
Definition at line 11 of file CosMuoGenProducer.cc.
References AllMu, ClayLayerWidth, CosMuoGen, ELSF, MaxEn, MaxP, MaxPh, MaxS, MaxT, MinEn, MinP, MinP_CMS, MinPh, MinS, MinT, MTCCHalf, MultiMuon, MultiMuonFileFirstEvent, MultiMuonFileName, MultiMuonNmin, NuPrdAlt, PlugVtx, PlugVtz, RanS, RTarget, CosmicMuonGenerator::setAcptAllMu(), CosmicMuonGenerator::setClayWidth(), CosmicMuonGenerator::setElossScaleFactor(), CosmicMuonGenerator::setMaxEnu(), CosmicMuonGenerator::setMaxP(), CosmicMuonGenerator::setMaxPhi(), CosmicMuonGenerator::setMaxT0(), CosmicMuonGenerator::setMaxTheta(), CosmicMuonGenerator::setMinEnu(), CosmicMuonGenerator::setMinP(), CosmicMuonGenerator::setMinP_CMS(), CosmicMuonGenerator::setMinPhi(), CosmicMuonGenerator::setMinT0(), CosmicMuonGenerator::setMinTheta(), CosmicMuonGenerator::setMTCCHalf(), CosmicMuonGenerator::setMultiMuon(), CosmicMuonGenerator::setMultiMuonFileFirstEvent(), CosmicMuonGenerator::setMultiMuonFileName(), CosmicMuonGenerator::setMultiMuonNmin(), CosmicMuonGenerator::setNumberOfEvents(), CosmicMuonGenerator::setNuProdAlt(), CosmicMuonGenerator::setPlugVx(), CosmicMuonGenerator::setPlugVz(), CosmicMuonGenerator::setRadiusOfTarget(), CosmicMuonGenerator::setRanSeed(), CosmicMuonGenerator::setRhoAir(), CosmicMuonGenerator::setRhoClay(), CosmicMuonGenerator::setRhoPlug(), CosmicMuonGenerator::setRhoRock(), CosmicMuonGenerator::setRhoWall(), CosmicMuonGenerator::setTIFOnly_constant(), CosmicMuonGenerator::setTIFOnly_linear(), CosmicMuonGenerator::setTrackerOnly(), CosmicMuonGenerator::setZCentrOfTarget(), CosmicMuonGenerator::setZDistOfTarget(), TIFOnly_constant, TIFOnly_linear, TrackerOnly, VarRhoAir, VarRhoClay, VarRhoPlug, VarRhoRock, VarRhoWall, ZCTarget, and ZTarget.
|
virtual |
|
overrideprivatevirtual |
Definition at line 106 of file CosMuoGenProducer.cc.
References CosMuoGen, edm::LuminosityBlock::index(), CosmicMuonGenerator::initialize(), and isInitialized_.
|
private |
Definition at line 130 of file CosMuoGenProducer.cc.
Referenced by endLuminosityBlock(), and ~CosMuoGenProducer().
|
inlineoverrideprivatevirtual |
Definition at line 28 of file CosMuoGenProducer.h.
References clear(), MillePedeFileConverter_cfg::e, endRunProduce(), produce(), and alignCSCRings::r.
|
overrideprivatevirtual |
Definition at line 115 of file CosMuoGenProducer.cc.
References CosMuoGen, fwrapper::cs, extCrossSect, extFilterEff, CosmicMuonGenerator::getRate(), eostools::move(), MultiMuon, edm::Run::put(), and CosmicMuonGenerator::terminate().
Referenced by endLuminosityBlock().
|
overrideprivatevirtual |
Definition at line 132 of file CosMuoGenProducer.cc.
References cmVerbosity_, CosMuoGen, gather_cfg::cout, Debug, CosmicMuonGenerator::E_at, CosmicMuonGenerator::E_sf, CosmicMuonGenerator::E_ug, edm::EventID::event(), CosmicMuonGenerator::EventWeight, fEvt, GenParticle::GenParticle, mps_fire::i, edm::EventBase::id(), CosmicMuonGenerator::Id_at, CosmicMuonGenerator::Id_sf, CosmicMuonGenerator::Id_ug, eostools::move(), MultiMuon, CosmicMuonGenerator::nextEvent(), CosmicMuonGenerator::nextMultiEvent(), edm::Event::put(), CosmicMuonGenerator::Px_at, CosmicMuonGenerator::Px_sf, CosmicMuonGenerator::Px_ug, CosmicMuonGenerator::Py_at, CosmicMuonGenerator::Py_sf, CosmicMuonGenerator::Py_ug, CosmicMuonGenerator::Pz_at, CosmicMuonGenerator::Pz_sf, CosmicMuonGenerator::Pz_ug, edm::Event::streamID(), summarizeEdmComparisonLogfiles::success, CosmicMuonGenerator::T0_at, CosmicMuonGenerator::T0_sf, CosmicMuonGenerator::T0_ug, CosmicMuonGenerator::Trials, CosmicMuonGenerator::Vx_at, CosmicMuonGenerator::Vx_sf, CosmicMuonGenerator::Vx_ug, CosmicMuonGenerator::Vy_at, CosmicMuonGenerator::Vy_sf, CosmicMuonGenerator::Vy_ug, CosmicMuonGenerator::Vz_at, CosmicMuonGenerator::Vz_sf, and CosmicMuonGenerator::Vz_ug.
Referenced by endLuminosityBlock().
|
private |
Definition at line 78 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 70 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 87 of file CosMuoGenProducer.h.
Referenced by produce().
|
private |
Definition at line 84 of file CosMuoGenProducer.h.
Referenced by beginLuminosityBlock(), CosMuoGenProducer(), endRunProduce(), produce(), and ~CosMuoGenProducer().
|
private |
Definition at line 46 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 81 of file CosMuoGenProducer.h.
Referenced by endRunProduce().
|
private |
Definition at line 82 of file CosMuoGenProducer.h.
Referenced by endRunProduce().
|
private |
Definition at line 86 of file CosMuoGenProducer.h.
Referenced by produce().
|
private |
Definition at line 89 of file CosMuoGenProducer.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 75 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 39 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 43 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 45 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 41 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 74 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 37 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 38 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 42 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 44 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 40 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 57 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 51 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer(), endRunProduce(), and produce().
|
private |
Definition at line 53 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 52 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 54 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 76 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 61 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 62 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 36 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 47 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 55 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 56 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 50 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 65 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 68 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 69 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 67 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 66 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 49 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().
|
private |
Definition at line 48 of file CosMuoGenProducer.h.
Referenced by CosMuoGenProducer().