#include <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 |
SimMuon/CSCDigitizer/plugins/CSCChamberMasker.cc
Description: Class to mask CSC digis on a chamber by chamber basis
Definition at line 68 of file CSCChamberMasker.cc.
|
explicit |
Definition at line 111 of file CSCChamberMasker.cc.
|
override |
Definition at line 122 of file CSCChamberMasker.cc.
|
private |
Definition at line 173 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 214 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 154 of file CSCChamberMasker.cc.
References edm::EDGetTokenT< T >::isUninitialized(), and plotBeamSpotDB::last.
|
private |
|
static |
Definition at line 244 of file CSCChamberMasker.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and DEFINE_FWK_MODULE.
|
overrideprivate |
Definition at line 129 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 96 of file CSCChamberMasker.cc.
Referenced by produce().
|
private |
Definition at line 95 of file CSCChamberMasker.cc.
Referenced by produce().
|
private |
Definition at line 97 of file CSCChamberMasker.cc.
Referenced by ageDigis(), and beginRun().
|
private |
Definition at line 93 of file CSCChamberMasker.cc.
Referenced by produce().
|
private |
Definition at line 94 of file CSCChamberMasker.cc.
Referenced by produce().