#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 () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 |
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 & | itemsToGetFromEvent () 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) |
Protected Member Functions | |
virtual void | beginJob (void) |
virtual void | endJob (void) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
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) |
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 | |
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) |
Definition at line 36 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, dedefs::ETP, Exception, dedefs::GCT, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), dedefs::GLT, dedefs::GMT, dedefs::HTP, mps_fire::i, diffTwoXMLs::label, dedefs::LTC, dedefs::RCT, dedefs::RPC, AlCaHLTBitMon_QueryRunRegistry::string, dedefs::SystLabel, and verbose.
L1EmulBias::~L1EmulBias | ( | ) |
Definition at line 110 of file L1EmulBias.cc.
|
inlineprotectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 43 of file L1EmulBias.h.
References produce().
|
inlineprotectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 46 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 68 of file L1EmulBias.h.
References edm::Handle< T >::product().
Referenced by endJob().
|
inline |
Definition at line 73 of file L1EmulBias.h.
References edm::SortedCollection< T, SORT >::begin(), cuy::col, gather_cfg::cout, TauDecayModes::dec, edm::SortedCollection< T, SORT >::end(), EcalTriggerPrimitiveSample::raw(), reset(), alignCSCRings::s, simplePhotonAnalyzer_cfi::sample, EcalTriggerPrimitiveDigi::sample(), EcalTriggerPrimitiveDigi::setSampleValue(), tmp, and verbose().
|
inline |
Definition at line 98 of file L1EmulBias.h.
References edm::SortedCollection< T, SORT >::begin(), cuy::col, edm::SortedCollection< T, SORT >::end(), reset(), alignCSCRings::s, simplePhotonAnalyzer_cfi::sample, HcalTriggerPrimitiveDigi::setSample(), and tmp.
|
inline |
Definition at line 119 of file L1EmulBias.h.
|
inline |
Definition at line 139 of file L1EmulBias.h.
|
inline |
Definition at line 157 of file L1EmulBias.h.
|
inline |
Definition at line 174 of file L1EmulBias.h.
|
inline |
Definition at line 190 of file L1EmulBias.h.
References phi, and L1MuRegionalCand::setPtPacked().
|
inline |
Definition at line 228 of file L1EmulBias.h.
References L1MuDTTrackContainer::getContainer(), EnergyCorrector::pt, L1MuRegionalCand::setPtPacked(), L1MuRegionalCand::setQualityPacked(), L1MuRegionalCand::setType(), and l1t::tracks.
|
inline |
Definition at line 259 of file L1EmulBias.h.
References L1MuDTChambPhContainer::getContainer(), and l1t::tracks.
|
inline |
Definition at line 279 of file L1EmulBias.h.
References L1MuDTChambThContainer::getContainer(), and l1t::tracks.
|
inline |
Definition at line 302 of file L1EmulBias.h.
|
inline |
Definition at line 314 of file L1EmulBias.h.
|
inline |
Definition at line 332 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 398 of file L1EmulBias.h.
References CSCCorrelatedLCTDigi::getTrknmb(), and CSCCorrelatedLCTDigi::setTrknmb().
|
inline |
Definition at line 429 of file L1EmulBias.h.
References CSCCorrelatedLCTDigi::getTrknmb(), L1MuRegionalCand::pt_packed(), L1MuRegionalCand::quality(), L1MuRegionalCand::setPtPacked(), CSCCorrelatedLCTDigi::setTrknmb(), L1MuRegionalCand::setType(), and L1MuRegionalCand::type_idx().
|
protectedvirtual |
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 115 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(), diffTwoXMLs::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 57 of file L1EmulBias.h.
|
private |
Definition at line 55 of file L1EmulBias.h.
|
private |
Definition at line 56 of file L1EmulBias.h.
|
private |
Definition at line 53 of file L1EmulBias.h.
Referenced by verbose().