#include <L1EmulBias.h>
Public Member Functions | |
L1EmulBias (const edm::ParameterSet &) | |
template<class T > | |
void | ModifyCollection (std::unique_ptr< T > &data, const edm::Handle< T > emul, CLHEP::HepRandomEngine *) |
template<> | |
void | ModifyCollection (std::unique_ptr< EcalTrigPrimDigiCollection > &data, const edm::Handle< EcalTrigPrimDigiCollection > emul, CLHEP::HepRandomEngine *) |
template<> | |
void | ModifyCollection (std::unique_ptr< HcalTrigPrimDigiCollection > &data, const edm::Handle< HcalTrigPrimDigiCollection > emul, CLHEP::HepRandomEngine *) |
template<> | |
void | ModifyCollection (std::unique_ptr< L1CaloEmCollection > &data, const edm::Handle< L1CaloEmCollection > emul, CLHEP::HepRandomEngine *engine) |
template<> | |
void | ModifyCollection (std::unique_ptr< L1CaloRegionCollection > &data, const edm::Handle< L1CaloRegionCollection > emul, CLHEP::HepRandomEngine *engine) |
template<> | |
void | ModifyCollection (std::unique_ptr< L1GctEmCandCollection > &data, const edm::Handle< L1GctEmCandCollection > emul, CLHEP::HepRandomEngine *engine) |
template<> | |
void | ModifyCollection (std::unique_ptr< L1GctJetCandCollection > &data, const edm::Handle< L1GctJetCandCollection > emul, CLHEP::HepRandomEngine *engine) |
template<> | |
void | ModifyCollection (std::unique_ptr< L1MuRegionalCandCollection > &data, const edm::Handle< L1MuRegionalCandCollection > emul, CLHEP::HepRandomEngine *engine) |
template<> | |
void | ModifyCollection (std::unique_ptr< L1MuDTTrackContainer > &data, const edm::Handle< L1MuDTTrackContainer > emul, CLHEP::HepRandomEngine *engine) |
template<> | |
void | ModifyCollection (std::unique_ptr< L1MuDTChambPhContainer > &data, const edm::Handle< L1MuDTChambPhContainer > emul, CLHEP::HepRandomEngine *engine) |
template<> | |
void | ModifyCollection (std::unique_ptr< L1MuDTChambThContainer > &data, const edm::Handle< L1MuDTChambThContainer > emul, CLHEP::HepRandomEngine *) |
template<> | |
void | ModifyCollection (std::unique_ptr< LTCDigiCollection > &data, const edm::Handle< LTCDigiCollection > emul, CLHEP::HepRandomEngine *) |
template<> | |
void | ModifyCollection (std::unique_ptr< L1MuGMTCandCollection > &data, const edm::Handle< L1MuGMTCandCollection > emul, CLHEP::HepRandomEngine *) |
template<> | |
void | ModifyCollection (std::unique_ptr< L1MuGMTReadoutCollection > &data, const edm::Handle< L1MuGMTReadoutCollection > emul, CLHEP::HepRandomEngine *) |
template<> | |
void | ModifyCollection (std::unique_ptr< CSCCorrelatedLCTDigiCollection > &data, const edm::Handle< CSCCorrelatedLCTDigiCollection > emul, CLHEP::HepRandomEngine *) |
template<> | |
void | ModifyCollection (std::unique_ptr< L1CSCTrackCollection > &data, const edm::Handle< L1CSCTrackCollection > emul, CLHEP::HepRandomEngine *) |
~L1EmulBias () 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 | |
ESProxyIndex const * | esGetTokenIndices (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 |
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) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Protected Member Functions | |
void | beginJob (void) override |
void | endJob (void) override |
void | produce (edm::Event &, const edm::EventSetup &) override |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Private Member Functions | |
int | verbose () |
Private Attributes | |
std::string | instName [dedefs::DEnsys][5] |
edm::InputTag | m_DEsource [dedefs::DEnsys][2] |
bool | m_doSys [dedefs::DEnsys] |
int | verbose_ |
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 | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Definition at line 35 of file L1EmulBias.h.
|
explicit |
assertion/temporary
List of collections to be produced
Definition at line 9 of file L1EmulBias.cc.
References gather_cfg::cout, dedefs::CTF, dedefs::CTP, dedefs::DEnsys, dedefs::DTF, dedefs::DTP, relativeConstraints::empty, dedefs::ETP, Exception, dedefs::GCT, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), dedefs::GLT, dedefs::GMT, dedefs::HTP, mps_fire::i, dqmiolumiharvest::j, label, dedefs::LTC, dedefs::RCT, dedefs::RPC, AlCaHLTBitMon_QueryRunRegistry::string, dedefs::SystLabel, and verbose.
|
override |
Definition at line 139 of file L1EmulBias.cc.
|
inlineoverrideprotectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 41 of file L1EmulBias.h.
References produce().
|
inlineoverrideprotectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 44 of file L1EmulBias.h.
References data, and ModifyCollection().
void L1EmulBias::ModifyCollection | ( | std::unique_ptr< T > & | data, |
const edm::Handle< T > | emul, | ||
CLHEP::HepRandomEngine * | |||
) |
Definition at line 66 of file L1EmulBias.h.
References edm::Handle< T >::product().
Referenced by endJob().
|
inline |
Definition at line 71 of file L1EmulBias.h.
References edm::SortedCollection< T, SORT >::begin(), cuy::col, gather_cfg::cout, TauDecayModes::dec, edm::SortedCollection< T, SORT >::end(), LEDCalibrationChannels::iphi, EcalTriggerPrimitiveSample::raw(), reset(), alignCSCRings::s, simplePhotonAnalyzer_cfi::sample, EcalTriggerPrimitiveDigi::sample(), EcalTriggerPrimitiveDigi::setSampleValue(), createJobs::tmp, and verbose().
|
inline |
Definition at line 96 of file L1EmulBias.h.
References edm::SortedCollection< T, SORT >::begin(), cuy::col, edm::SortedCollection< T, SORT >::end(), LEDCalibrationChannels::iphi, reset(), alignCSCRings::s, simplePhotonAnalyzer_cfi::sample, HcalTriggerPrimitiveDigi::setSample(), and createJobs::tmp.
|
inline |
Definition at line 118 of file L1EmulBias.h.
|
inline |
Definition at line 137 of file L1EmulBias.h.
|
inline |
Definition at line 155 of file L1EmulBias.h.
|
inline |
Definition at line 172 of file L1EmulBias.h.
|
inline |
Definition at line 188 of file L1EmulBias.h.
References phi, and L1MuRegionalCand::setPtPacked().
|
inline |
Definition at line 226 of file L1EmulBias.h.
References L1MuDTTrackContainer::getContainer(), DiDispStaMuonMonitor_cfi::pt, L1MuRegionalCand::setPtPacked(), L1MuRegionalCand::setQualityPacked(), L1MuRegionalCand::setType(), and PDWG_EXOHSCP_cff::tracks.
|
inline |
Definition at line 257 of file L1EmulBias.h.
References L1MuDTChambPhContainer::getContainer(), and PDWG_EXOHSCP_cff::tracks.
|
inline |
Definition at line 276 of file L1EmulBias.h.
References L1MuDTChambThContainer::getContainer(), dqmiolumiharvest::j, and PDWG_EXOHSCP_cff::tracks.
|
inline |
Definition at line 298 of file L1EmulBias.h.
|
inline |
Definition at line 310 of file L1EmulBias.h.
|
inline |
Definition at line 328 of file L1EmulBias.h.
References cuy::col, L1MuGMTReadoutCollection::getRecords(), mps_fire::i, L1MuGMTReadoutRecord::setBxNr(), L1MuRegionalCand::setPtPacked(), and L1MuRegionalCand::setType().
|
inline |
modify digi
append digi
Definition at line 394 of file L1EmulBias.h.
References CSCCorrelatedLCTDigi::getTrknmb(), and CSCCorrelatedLCTDigi::setTrknmb().
|
inline |
Definition at line 426 of file L1EmulBias.h.
References CSCCorrelatedLCTDigi::getTrknmb(), L1MuRegionalCand::pt_packed(), L1MuRegionalCand::quality(), L1MuRegionalCand::setPtPacked(), CSCCorrelatedLCTDigi::setTrknmb(), L1MuRegionalCand::setType(), and L1MuRegionalCand::type_idx().
|
overrideprotected |
list the emulated collections
get the emulated collections
assert collection validity
declare the data collections
fill data as modified emul collections
append data into event
Definition at line 142 of file L1EmulBias.cc.
References gather_cfg::cout, dedefs::CTF, dedefs::CTP, dedefs::DTF, dedefs::DTP, dedefs::ETP, dedefs::GCT, edm::Event::getByLabel(), edm::RandomNumberGenerator::getEngine(), dedefs::GLT, dedefs::GMT, dedefs::HTP, edm::HandleBase::isValid(), label, dedefs::LTC, eostools::move(), edm::Event::put(), dedefs::RCT, dedefs::RPC, edm::Event::streamID(), and verbose.
Referenced by beginJob().
|
inlineprivate |
|
private |
Definition at line 55 of file L1EmulBias.h.
|
private |
Definition at line 53 of file L1EmulBias.h.
|
private |
Definition at line 54 of file L1EmulBias.h.
|
private |
Definition at line 51 of file L1EmulBias.h.
Referenced by verbose().