#include <RecoLocalMuon/CSCSkim/src/CSCSkim.cc>
Public Member Functions | |
void | beginJob () override |
CSCSkim (const edm::ParameterSet &pset) | |
void | endJob () override |
bool | filter (edm::Event &event, const edm::EventSetup &eventSetup) override |
~CSCSkim () override | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
SerialTaskQueue * | globalLuminosityBlocksQueue () |
SerialTaskQueue * | globalRunsQueue () |
ModuleDescription const & | moduleDescription () const |
~EDFilter () 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 |
std::vector< bool > const & | recordProvenanceList () 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) |
TypeLabelList const & | typeLabelList () const |
used by the fwk to register the list of products of this module More... | |
~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 &&)=default | |
EDConsumerBase (EDConsumerBase const &)=delete | |
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 & | operator= (EDConsumerBase &&)=default |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
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) |
Private Member Functions | |
int | chamberSerial (int kE, int kS, int kR, int kCh) |
bool | doBFieldStudySelection (edm::Handle< reco::TrackCollection > saTracks, edm::Handle< reco::TrackCollection > Tracks, edm::Handle< reco::MuonCollection > gMuons) |
bool | doCertainChamberSelection (edm::Handle< CSCWireDigiCollection > wires, edm::Handle< CSCStripDigiCollection > strips) |
bool | doCSCSkimming (edm::Handle< CSCRecHit2DCollection > cscRecHits, edm::Handle< CSCSegmentCollection > cscSegments) |
bool | doDTOverlap (edm::Handle< CSCSegmentCollection > cscSegments) |
bool | doHaloLike (edm::Handle< CSCSegmentCollection > cscSegments) |
bool | doLongSATrack (edm::Handle< reco::TrackCollection > saTracks) |
bool | doMessyEventSkimming (edm::Handle< CSCRecHit2DCollection > cscRecHits, edm::Handle< CSCSegmentCollection > cscSegments) |
bool | doOverlapSkimming (edm::Handle< CSCSegmentCollection > cscSegments) |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | 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::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
This simple program selects minimal CSC events for output.
Michael Schmitt, Northwestern University, July 2008
Description: Offline skim module for CSC cosmic ray data
Implementation: <Notes on="" implementation>="">
|
explicit |
Definition at line 51 of file CSCSkim.cc.
References CSCSkim_cfi::demandChambersBothSides, CSCSkim_cfi::histogramFileName, CSCSkim_cfi::makeHistograms, CommPDSkim_cfg::minimumHitChambers, CommPDSkim_cfg::minimumSegments, CSCSkim_cfi::nLayersWithHitsMinimum, reco_skim_cfg_mod::outputFileName, ALCARECOTkAlMinBias_cff::pMin, muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, CosmicsPD_Skims::typeOfSkim, CSCSkim_cfi::whichChamber, CSCSkim_cfi::whichEndcap, CSCSkim_cfi::whichRing, and CSCSkim_cfi::whichStation.
|
override |
Definition at line 114 of file CSCSkim.cc.
|
overridevirtual |
Reimplemented from edm::EDFilter.
Definition at line 119 of file CSCSkim.cc.
References CSCSkim_cfi::histogramFileName, iEvent, and CSCSkim_cfi::makeHistograms.
|
private |
Definition at line 1294 of file CSCSkim.cc.
|
private |
Definition at line 1110 of file CSCSkim.cc.
References funct::abs(), MuonSubdetId::CSC, MuonSubdetId::DT, spr::goodTrack(), trackingPlots::hp, DetId::Muon, HLT_2018_cff::muon, dqmiodumpmetadata::n, ALCARECOTkAlMinBias_cff::pMin, mathSSE::sqrt(), HLT_2018_cff::track, PDWG_EXOHSCP_cff::tracks, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 729 of file CSCSkim.cc.
References CSCDetId::endcap(), DigiDM_cff::strips, CSCSkim_cfi::whichChamber, CSCSkim_cfi::whichEndcap, CSCSkim_cfi::whichRing, CSCSkim_cfi::whichStation, and DigiDM_cff::wires.
|
private |
Definition at line 376 of file CSCSkim.cc.
References CSCDetId::chamber(), dtChamberEfficiency_cfi::cscSegments, CSCDetId::endcap(), dqmMemoryStats::float, mps_fire::i, createfilelist::int, dqmiolumiharvest::j, kLayer(), CSCDetId::layer(), LogDebug, CSCSkim_cfi::makeHistograms, CommPDSkim_cfg::minimumHitChambers, CommPDSkim_cfg::minimumSegments, CSCSkim_cfi::nLayersWithHitsMinimum, funct::pow(), CSCDetId::ring(), CSCDetId::station(), and CosmicsPD_Skims::typeOfSkim.
|
private |
Definition at line 767 of file CSCSkim.cc.
References dtChamberEfficiency_cfi::cscSegments, CSCDetId::endcap(), mps_fire::i, and nhits.
|
private |
Definition at line 886 of file CSCSkim.cc.
References dtChamberEfficiency_cfi::cscSegments, CSCDetId::endcap(), mps_fire::i, and nhits.
|
private |
Definition at line 1044 of file CSCSkim.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, min(), DetId::Muon, HLT_2018_cff::muon, singleTopDQM_cfi::select, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 593 of file CSCSkim.cc.
References CSCDetId::chamber(), dtChamberEfficiency_cfi::cscSegments, CSCDetId::endcap(), dqmMemoryStats::float, mps_fire::i, createfilelist::int, dqmiolumiharvest::j, kLayer(), CSCDetId::layer(), LogDebug, CSCSkim_cfi::nLayersWithHitsMinimum, funct::pow(), CSCDetId::ring(), and CSCDetId::station().
|
private |
Definition at line 511 of file CSCSkim.cc.
References dtChamberEfficiency_cfi::cscSegments, CSCDetId::endcap(), mps_fire::i, and nhits.
|
overridevirtual |
Reimplemented from edm::EDFilter.
Definition at line 167 of file CSCSkim.cc.
References dqmMemoryStats::float, HLT_2018_cff::fraction, LogDebug, CSCSkim_cfi::makeHistograms, and CosmicsPD_Skims::typeOfSkim.
|
overridevirtual |
Implements edm::EDFilter.
Definition at line 215 of file CSCSkim.cc.
References dtChamberEfficiency_cfi::cscSegments, edm::EventSetup::get(), get, iEvent, LogDebug, DigiDM_cff::strips, PDWG_EXOHSCP_cff::tracks, CosmicsPD_Skims::typeOfSkim, and DigiDM_cff::wires.
|
private |
|
private |
Definition at line 137 of file CSCSkim.h.
Referenced by PhaseITreeProducer.ModuleLvlValuesReader::CreateTree2(), and InefficientDoubleROC.InefficientDeadROCs::ReadHistograms().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |