#include <SimMuon/CSCDigitizer/plugins/CSCChamberMasker.cc>
Public Member Functions | |
CSCChamberMasker (const edm::ParameterSet &) | |
~CSCChamberMasker () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
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) |
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 > &) |
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 |
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.
|
override |
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.
|
overrideprivate |
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.
|
overrideprivate |
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().