#include <ESListOfFEDSProducer.h>
Public Member Functions | |
void | beginJob (void) override |
void | Egamma (edm::Event &e, const edm::EventSetup &es, std::vector< int > &done, std::vector< int > &FEDs) |
void | endJob (void) override |
ESListOfFEDSProducer (const edm::ParameterSet &pset) | |
void | Jets (edm::Event &e, const edm::EventSetup &es, std::vector< int > &done, std::vector< int > &FEDs) |
void | Muon (edm::Event &e, const edm::EventSetup &es, std::vector< int > &done, std::vector< int > &FEDs) |
void | produce (edm::Event &e, const edm::EventSetup &c) override |
~ESListOfFEDSProducer () override | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
SerialTaskQueue * | globalLuminosityBlocksQueue () |
SerialTaskQueue * | globalRunsQueue () |
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 |
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) |
~ProducerBase () noexcept(false) override | |
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 |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
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 | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Private Member Functions | |
std::vector< int > | ListOfFEDS (double etaLow, double etaHigh, double phiLow, double phiHigh, double etamargin, double phimargin) |
Private Attributes | |
edm::EDGetTokenT< l1extra::L1JetParticleCollection > | CentralSource_ |
bool | debug_ |
bool | EGamma_ |
bool | EMdoIsolated_ |
bool | EMdoNonIsolated_ |
edm::EDGetTokenT< l1extra::L1EmParticleCollection > | EMl1TagIsolated_ |
edm::EDGetTokenT< l1extra::L1EmParticleCollection > | EMl1TagNonIsolated_ |
double | EMregionEtaMargin_ |
double | EMregionPhiMargin_ |
bool | first_ |
edm::EDGetTokenT< l1extra::L1JetParticleCollection > | ForwardSource_ |
bool | Jets_ |
bool | JETSdoCentral_ |
bool | JETSdoForward_ |
bool | JETSdoTau_ |
double | JETSregionEtaMargin_ |
double | JETSregionPhiMargin_ |
bool | Muon_ |
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > | MuonSource_ |
double | MUregionEtaMargin_ |
double | MUregionPhiMargin_ |
std::string | OutputLabel_ |
double | Ptmin_iso_ |
double | Ptmin_jets_ |
double | Ptmin_muon_ |
double | Ptmin_noniso_ |
edm::EDGetTokenT< l1extra::L1JetParticleCollection > | TauSource_ |
ESElectronicsMapper * | TheESMapping |
ESElectronicsMapping* TheESMapping;. More... | |
EcalElectronicsMapping * | TheMapping |
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 |
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 31 of file ESListOfFEDSProducer.h.
ESListOfFEDSProducer::ESListOfFEDSProducer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 31 of file ESListOfFEDSProducer.cc.
References Exception, edm::ParameterSet::getUntrackedParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 86 of file ESListOfFEDSProducer.cc.
|
overridevirtual |
void ESListOfFEDSProducer::Egamma | ( | edm::Event & | e, |
const edm::EventSetup & | es, | ||
std::vector< int > & | done, | ||
std::vector< int > & | FEDs | ||
) |
Definition at line 217 of file ESListOfFEDSProducer.cc.
References gather_cfg::cout, L1CaloGeometry::emJetPhiBinHighEdge(), L1CaloGeometry::emJetPhiBinLowEdge(), L1CaloGeometry::etaBinHighEdge(), L1CaloGeometry::etaBinLowEdge(), spr::find(), edm::EventSetup::get(), edm::Event::getByToken(), mps_fire::i, createfilelist::int, and EnergyCorrector::pt.
|
overridevirtual |
|
static |
Definition at line 90 of file ESListOfFEDSProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
void ESListOfFEDSProducer::Jets | ( | edm::Event & | e, |
const edm::EventSetup & | es, | ||
std::vector< int > & | done, | ||
std::vector< int > & | FEDs | ||
) |
Definition at line 339 of file ESListOfFEDSProducer.cc.
References gather_cfg::cout, geometryDiff::epsilon, PVValHelper::eta, spr::find(), edm::Event::getByToken(), mps_fire::i, createfilelist::int, and EnergyCorrector::pt.
|
private |
Definition at line 430 of file ESListOfFEDSProducer.cc.
References Vispa.Plugins.EdmBrowser.EdmDataAccessor::all(), gather_cfg::cout, createTree::dd, and Geom::pi().
void ESListOfFEDSProducer::Muon | ( | edm::Event & | e, |
const edm::EventSetup & | es, | ||
std::vector< int > & | done, | ||
std::vector< int > & | FEDs | ||
) |
Definition at line 300 of file ESListOfFEDSProducer.cc.
References gather_cfg::cout, geometryDiff::epsilon, PVValHelper::eta, spr::find(), edm::Event::getByToken(), mps_fire::i, createfilelist::int, and EnergyCorrector::pt.
|
override |
commented out at this moment, for muon and jets.
get ES List of FEDs ,given the ecal FED list
now push list of ES FEDs into event.
Definition at line 129 of file ESListOfFEDSProducer.cc.
References gather_cfg::cout, edm::EventID::event(), spr::find(), edm::EventSetup::get(), edm::Event::getManyByType(), mps_fire::i, edm::EventBase::id(), createfilelist::int, FEDNumbering::MINECALFEDID, eostools::move(), gen::n, edm::ESHandle< T >::product(), edm::Event::put(), and edm::EventID::run().
|
private |
Definition at line 69 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 80 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 46 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 49 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 50 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 47 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 48 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 51 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 52 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 79 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 70 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 62 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 63 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 64 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 65 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 66 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 67 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 56 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 60 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 57 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 58 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 73 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 53 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 68 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 59 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 54 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 71 of file ESListOfFEDSProducer.h.
|
private |
ESElectronicsMapping* TheESMapping;.
Definition at line 77 of file ESListOfFEDSProducer.h.
|
private |
Definition at line 74 of file ESListOfFEDSProducer.h.