#include <RecoLocalMuon/CSCSkim/src/CSCSkim.cc>
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::one::EDFilterBase | |
typedef EDFilterBase | 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::one::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
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 demandChambersBothSides, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), glm_token, histogramFileName, HLT_FULL_cff::InputTag, makeHistograms, makeHistogramsForMessyEvents, minimumHitChambers, minimumSegments, nCSCHitsMin, nLayersWithHitsMinimum, nTrHitsMin, nValidHitsMin, outputFileName, pMin, redChiSqMax, rExtMax, rh_token, sam_token, sdr_token, sds_token, seg_token, AlCaHLTBitMon_QueryRunRegistry::string, trk_token, typeOfSkim, wdr_token, wds_token, whichChamber, whichEndcap, whichRing, whichStation, zInnerMax, zLengthMin, and zLengthTrMin.
|
override |
Definition at line 114 of file CSCSkim.cc.
|
overridevirtual |
Reimplemented from edm::one::EDFilterBase.
Definition at line 119 of file CSCSkim.cc.
References histogramFileName, hxnHitChambers, hxnRecHits, hxnRecHitsSel, hxnSegments, iEvent, iRun, makeHistograms, makeHistogramsForMessyEvents, mevnChambers0, mevnChambers1, mevnRecHits0, mevnRecHits1, mevnSegments0, mevnSegments1, nEventsAnalyzed, nEventsCertainChamber, nEventsChambersBothSides, nEventsDTOverlap, nEventsForBFieldStudies, nEventsHaloLike, nEventsLongSATrack, nEventsMessy, nEventsOverlappingChambers, nEventsSelected, theHistogramFile, xxnCSCHits, xxnTrackerHits, xxnValidHits, xxP, and xxredChiSq.
|
private |
Definition at line 1293 of file CSCSkim.cc.
Referenced by doCSCSkimming(), doMessyEventSkimming(), and doOverlapSkimming().
|
private |
Definition at line 1109 of file CSCSkim.cc.
References funct::abs(), MuonSubdetId::CSC, MuonSubdetId::DT, spr::goodTrack(), DetId::Muon, HLT_FULL_cff::muon, dqmiodumpmetadata::n, nCSCHitsMin, nTrHitsMin, reco::HitPattern::numberOfValidTrackerHits(), nValidHitsMin, pMin, redChiSqMax, rExtMax, mathSSE::sqrt(), HLT_FULL_cff::track, PV3DBase< T, PVType, FrameType >::z(), zInnerMax, zLengthMin, and zLengthTrMin.
Referenced by filter().
|
private |
Definition at line 728 of file CSCSkim.cc.
References CSCDetId, CSCDetId::endcap(), whichChamber, whichEndcap, whichRing, and whichStation.
Referenced by filter().
|
private |
Definition at line 375 of file CSCSkim.cc.
References CSCDetId::chamber(), chamberSerial(), CSCDetId, CSCDetId::endcap(), hxnHitChambers, hxnRecHits, hxnRecHitsSel, hxnSegments, mps_fire::i, dqmiolumiharvest::j, kLayer(), CSCDetId::layer(), LogDebug, makeHistograms, minimumHitChambers, minimumSegments, nEventsChambersBothSides, nLayersWithHitsMinimum, funct::pow(), CSCDetId::ring(), CSCDetId::station(), and typeOfSkim.
Referenced by filter().
|
private |
Definition at line 766 of file CSCSkim.cc.
References CSCDetId, CSCDetId::endcap(), mps_fire::i, and nhits.
Referenced by filter().
|
private |
Definition at line 885 of file CSCSkim.cc.
References CSCDetId, CSCDetId::endcap(), mps_fire::i, and nhits.
Referenced by filter().
|
private |
Definition at line 1043 of file CSCSkim.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, min(), DetId::Muon, HLT_FULL_cff::muon, nCSCHitsMin, PixelPluginsPhase0_cfi::select, PV3DBase< T, PVType, FrameType >::z(), and zInnerMax.
Referenced by filter().
|
private |
Definition at line 592 of file CSCSkim.cc.
References CSCDetId::chamber(), chamberSerial(), CSCDetId, CSCDetId::endcap(), mps_fire::i, dqmiolumiharvest::j, kLayer(), CSCDetId::layer(), LogDebug, makeHistogramsForMessyEvents, mevnChambers0, mevnChambers1, mevnRecHits0, mevnRecHits1, mevnSegments0, mevnSegments1, nLayersWithHitsMinimum, funct::pow(), CSCDetId::ring(), and CSCDetId::station().
Referenced by filter().
|
private |
Definition at line 510 of file CSCSkim.cc.
References chamberSerial(), CSCDetId, CSCDetId::endcap(), mps_fire::i, and nhits.
Referenced by filter().
|
overridevirtual |
Reimplemented from edm::one::EDFilterBase.
Definition at line 167 of file CSCSkim.cc.
References HLT_FULL_cff::fraction, hxnHitChambers, hxnRecHits, hxnRecHitsSel, hxnSegments, LogDebug, makeHistograms, makeHistogramsForMessyEvents, mevnChambers0, mevnChambers1, mevnRecHits0, mevnRecHits1, mevnSegments0, mevnSegments1, nEventsAnalyzed, nEventsCertainChamber, nEventsChambersBothSides, nEventsDTOverlap, nEventsForBFieldStudies, nEventsHaloLike, nEventsLongSATrack, nEventsMessy, nEventsOverlappingChambers, nEventsSelected, theHistogramFile, and typeOfSkim.
|
overridevirtual |
Implements edm::one::EDFilterBase.
Definition at line 215 of file CSCSkim.cc.
References cscSegments_cfi::cscSegments, doBFieldStudySelection(), doCertainChamberSelection(), doCSCSkimming(), doDTOverlap(), doHaloLike(), doLongSATrack(), doMessyEventSkimming(), doOverlapSkimming(), edm::Event::eventAuxiliary(), edm::EventSetup::getHandle(), glm_token, iEvent, iRun, edm::EventAuxiliary::isRealData(), LogDebug, m_CSCGeomToken, nEventsAnalyzed, nEventsCertainChamber, nEventsDTOverlap, nEventsForBFieldStudies, nEventsHaloLike, nEventsLongSATrack, nEventsMessy, nEventsOverlappingChambers, nEventsSelected, rh_token, sam_token, sdr_token, sds_token, seg_token, DigiDM_cff::strips, tracks, trk_token, typeOfSkim, wdr_token, wds_token, and DigiDM_cff::wires.
|
private |
|
private |
|
private |
Definition at line 138 of file CSCSkim.h.
Referenced by beginJob(), and CSCSkim().
|
private |
Definition at line 182 of file CSCSkim.h.
Referenced by beginJob(), doCSCSkimming(), and endJob().
|
private |
Definition at line 180 of file CSCSkim.h.
Referenced by beginJob(), doCSCSkimming(), and endJob().
|
private |
Definition at line 183 of file CSCSkim.h.
Referenced by beginJob(), doCSCSkimming(), and endJob().
|
private |
Definition at line 181 of file CSCSkim.h.
Referenced by beginJob(), doCSCSkimming(), and endJob().
|
private |
Definition at line 131 of file CSCSkim.h.
Referenced by beginJob(), and filter().
|
private |
Definition at line 130 of file CSCSkim.h.
Referenced by beginJob(), and filter().
|
private |
|
private |
Definition at line 162 of file CSCSkim.h.
Referenced by beginJob(), CSCSkim(), doCSCSkimming(), and endJob().
|
private |
Definition at line 163 of file CSCSkim.h.
Referenced by beginJob(), CSCSkim(), doMessyEventSkimming(), and endJob().
|
private |
Definition at line 185 of file CSCSkim.h.
Referenced by beginJob(), doMessyEventSkimming(), and endJob().
|
private |
Definition at line 188 of file CSCSkim.h.
Referenced by beginJob(), doMessyEventSkimming(), and endJob().
|
private |
Definition at line 184 of file CSCSkim.h.
Referenced by beginJob(), doMessyEventSkimming(), and endJob().
|
private |
Definition at line 187 of file CSCSkim.h.
Referenced by beginJob(), doMessyEventSkimming(), and endJob().
|
private |
Definition at line 186 of file CSCSkim.h.
Referenced by beginJob(), doMessyEventSkimming(), and endJob().
|
private |
Definition at line 189 of file CSCSkim.h.
Referenced by beginJob(), doMessyEventSkimming(), and endJob().
|
private |
Definition at line 159 of file CSCSkim.h.
Referenced by CSCSkim(), and doCSCSkimming().
|
private |
Definition at line 160 of file CSCSkim.h.
Referenced by CSCSkim(), and doCSCSkimming().
|
private |
Definition at line 171 of file CSCSkim.h.
Referenced by CSCSkim(), doBFieldStudySelection(), and doLongSATrack().
|
private |
Definition at line 118 of file CSCSkim.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 123 of file CSCSkim.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 120 of file CSCSkim.h.
Referenced by beginJob(), doCSCSkimming(), and endJob().
|
private |
Definition at line 124 of file CSCSkim.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 127 of file CSCSkim.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 125 of file CSCSkim.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 126 of file CSCSkim.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 122 of file CSCSkim.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 121 of file CSCSkim.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 119 of file CSCSkim.h.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 158 of file CSCSkim.h.
Referenced by CSCSkim(), doCSCSkimming(), and doMessyEventSkimming().
|
private |
Definition at line 173 of file CSCSkim.h.
Referenced by CSCSkim(), and doBFieldStudySelection().
|
private |
Definition at line 177 of file CSCSkim.h.
Referenced by CSCSkim(), and doBFieldStudySelection().
|
private |
Definition at line 137 of file CSCSkim.h.
Referenced by PhaseITreeProducer.ModuleLvlValuesReader::CreateTree2(), CSCSkim(), and InefficientDoubleROC.InefficientDeadROCs::ReadHistograms().
|
private |
Definition at line 169 of file CSCSkim.h.
Referenced by CSCSkim(), and doBFieldStudySelection().
|
private |
Definition at line 176 of file CSCSkim.h.
Referenced by CSCSkim(), and doBFieldStudySelection().
|
private |
Definition at line 175 of file CSCSkim.h.
Referenced by CSCSkim(), and doBFieldStudySelection().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 134 of file CSCSkim.h.
Referenced by beginJob(), and endJob().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 167 of file CSCSkim.h.
Referenced by CSCSkim(), and doCertainChamberSelection().
|
private |
Definition at line 164 of file CSCSkim.h.
Referenced by CSCSkim(), and doCertainChamberSelection().
|
private |
Definition at line 166 of file CSCSkim.h.
Referenced by CSCSkim(), and doCertainChamberSelection().
|
private |
Definition at line 165 of file CSCSkim.h.
Referenced by CSCSkim(), and doCertainChamberSelection().
|
private |
Definition at line 191 of file CSCSkim.h.
Referenced by beginJob().
|
private |
Definition at line 191 of file CSCSkim.h.
Referenced by beginJob().
|
private |
Definition at line 191 of file CSCSkim.h.
Referenced by beginJob().
|
private |
Definition at line 191 of file CSCSkim.h.
Referenced by beginJob().
|
private |
Definition at line 191 of file CSCSkim.h.
Referenced by beginJob().
|
private |
Definition at line 172 of file CSCSkim.h.
Referenced by CSCSkim(), doBFieldStudySelection(), and doLongSATrack().
|
private |
Definition at line 170 of file CSCSkim.h.
Referenced by CSCSkim(), and doBFieldStudySelection().
|
private |
Definition at line 174 of file CSCSkim.h.
Referenced by CSCSkim(), and doBFieldStudySelection().