#include <SimMuon/CSCDigitizer/plugins/CSCChamberMasker.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
template<typename T , typename C = MuonDigiCollection<CSCDetId, T>> | |
void | ageDigis (edm::Event &event, edm::EDGetTokenT< C > &digiToken, CLHEP::HepRandomEngine &randGen, std::unique_ptr< C > &filteredDigis) |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) override |
template<typename T , typename C = MuonDigiCollection<CSCDetId, T>> | |
void | copyDigis (edm::Event &event, edm::EDGetTokenT< C > &digiToken, std::unique_ptr< C > &filteredDigis) |
void | createMaskedChamberCollection (edm::ESHandle< CSCGeometry > &) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
edm::EDGetTokenT< CSCALCTDigiCollection > | m_alctDigiToken |
edm::EDGetTokenT< CSCCLCTDigiCollection > | m_clctDigiToken |
std::map< CSCDetId, std::pair< unsigned int, float > > | m_CSCEffs |
edm::EDGetTokenT< CSCStripDigiCollection > | m_stripDigiToken |
edm::EDGetTokenT< CSCWireDigiCollection > | m_wireDigiToken |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
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) |
Description: Class to mask CSC digis on a chamber by chamber basis
Definition at line 69 of file CSCChamberMasker.cc.
|
explicit |
Definition at line 118 of file CSCChamberMasker.cc.
CSCChamberMasker::~CSCChamberMasker | ( | ) |
Definition at line 134 of file CSCChamberMasker.cc.
|
private |
Definition at line 203 of file CSCChamberMasker.cc.
References CSCDetId::chamber(), EFF_CHAMBER, EFF_STRIPS, EFF_WIRES, CSCDetId::endcap(), edm::EDGetTokenT< T >::isUninitialized(), plotBeamSpotDB::last, CSCDetId::layer(), m_CSCEffs, CSCDetId::ring(), CSCDetId::station(), and relativeConstraints::value.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 253 of file CSCChamberMasker.cc.
References CSCDetId::chamber(), CSCGeometry::chambers(), chambers, CSCDetId::endcap(), edm::EventSetup::get(), MuonSystemAging::m_CSCChambEffs, m_CSCEffs, CSCDetId::rawIdMaker(), CSCDetId::ring(), and CSCDetId::station().
|
private |
Definition at line 175 of file CSCChamberMasker.cc.
References edm::EDGetTokenT< T >::isUninitialized(), and plotBeamSpotDB::last.
|
private |
|
static |
Definition at line 290 of file CSCChamberMasker.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and DEFINE_FWK_MODULE.
|
overrideprivatevirtual |
Definition at line 146 of file CSCChamberMasker.cc.
References event(), edm::RandomNumberGenerator::getEngine(), m_alctDigiToken, m_clctDigiToken, m_stripDigiToken, m_wireDigiToken, eostools::move(), and edm::Event::streamID().
|
private |
Definition at line 101 of file CSCChamberMasker.cc.
Referenced by produce().
|
private |
Definition at line 100 of file CSCChamberMasker.cc.
Referenced by produce().
|
private |
Definition at line 102 of file CSCChamberMasker.cc.
Referenced by ageDigis(), and beginRun().
|
private |
Definition at line 98 of file CSCChamberMasker.cc.
Referenced by produce().
|
private |
Definition at line 99 of file CSCChamberMasker.cc.
Referenced by produce().