#include <GlobalRecHitsAnalyzer.h>
Public Types | |
typedef std::map< uint32_t, float, std::less< uint32_t > > | MapType |
Public Types inherited from DQMEDAnalyzer | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator > | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Protected Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
Private Member Functions | |
template<typename type > | |
int | compute (const DTGeometry *dtGeom, const std::map< DTWireId, std::vector< PSimHit >> &simHitsPerWire, const std::map< DTWireId, std::vector< type >> &recHitsPerWire, int step) |
void | fillECal (const edm::Event &, const edm::EventSetup &) |
void | fillHCal (const edm::Event &, const edm::EventSetup &) |
void | fillMuon (const edm::Event &, const edm::EventSetup &) |
void | fillTrk (const edm::Event &, const edm::EventSetup &) |
template<typename type > | |
const type * | findBestRecHit (const DTLayer *layer, DTWireId wireId, const std::vector< type > &recHits, const float simHitDist) |
std::map< DTWireId, std::vector< DTRecHit1DPair > > | map1DRecHitsPerWire (const DTRecHitCollection *dt1DRecHitPairs) |
void | plotResolution (const PSimHit &simHit, const CSCRecHit2D &recHit, const CSCLayer *layer, int chamberType) |
std::pair< LocalPoint, LocalVector > | projectHit (const PSimHit &hit, const StripGeomDetUnit *stripDet, const BoundPlane &plane) |
float | recHitDistFromWire (const DTRecHit1DPair &hitPair, const DTLayer *layer) |
float | recHitDistFromWire (const DTRecHit1D &recHit, const DTLayer *layer) |
float | simHitDistFromWire (const DTLayer *layer, DTWireId wireId, const PSimHit &hit) |
Additional Inherited Members | |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static void | globalEndJob (DQMEDAnalyzerGlobalCache const *) |
static void | globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context) |
static void | globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context) |
static std::unique_ptr< DQMEDAnalyzerGlobalCache > | initializeGlobalCache (edm::ParameterSet const &) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
unsigned int | streamId_ |
Definition at line 143 of file GlobalRecHitsAnalyzer.h.
typedef std::map<uint32_t, float, std::less<uint32_t> > GlobalRecHitsAnalyzer::MapType |
Definition at line 145 of file GlobalRecHitsAnalyzer.h.
|
explicit |
Definition at line 18 of file GlobalRecHitsAnalyzer.cc.
References EBHits_Token_, ECalEBSrc_, ECalEBSrc_Token_, ECalEESrc_, ECalEESrc_Token_, ECalESSrc_, ECalESSrc_Token_, ECalUncalEBSrc_, ECalUncalEBSrc_Token_, ECalUncalEESrc_, ECalUncalEESrc_Token_, EEHits_Token_, ESHits_Token_, fName, frequency, getAllProvenances, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HBHERecHitgetter_, HCalSrc_, HCalSrc_Token_, HFRecHitgetter_, hitsProducer, HORecHitgetter_, ProducerED_cfi::InputTag, edm::InputTag::instance(), edm::BranchDescription::isAnyAlias(), edm::InputTag::label(), MuCSCHits_Token_, MuCSCSrc_, MuCSCSrc_Token_, MuDTSimSrc_, MuDTSimSrc_Token_, MuDTSrc_, MuDTSrc_Token_, MuRPCSimSrc_, MuRPCSimSrc_Token_, MuRPCSrc_, MuRPCSrc_Token_, printProvenanceInfo, SiPxlSrc_, SiPxlSrc_Token_, SiStripSrc_, SiStripSrc_Token_, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
override |
Definition at line 139 of file GlobalRecHitsAnalyzer.cc.
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 311 of file GlobalRecHitsAnalyzer.cc.
References count, fillECal(), fillHCal(), fillMuon(), fillTrk(), frequency, getAllProvenances, mps_fire::i, iEvent, nevt, printProvenanceInfo, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 141 of file GlobalRecHitsAnalyzer.cc.
References dqm::implementation::IBooker::book1D(), mps_fire::i, dqmiolumiharvest::j, mehCSCn, mehCSCResRDPhi, mehDtMuonn, mehDtMuonRes, mehEcaln, mehEcalRes, mehHcaln, mehHcalRes, mehRPCn, mehRPCResX, mehSiPixeln, mehSiPixelResX, mehSiPixelResY, mehSiStripn, mehSiStripResX, mehSiStripResY, dqm::impl::MonitorElement::setAxisTitle(), and dqm::implementation::NavigatorBase::setCurrentFolder().
|
private |
Definition at line 1355 of file GlobalRecHitsAnalyzer.cc.
References dqm::impl::MonitorElement::Fill(), findBestRecHit(), DTHitQualityUtils::findMuSimHit(), nano_mu_digi_cff::layer, DTGeometry::layer(), genParticles_cff::map, mehDtMuonRes, recHitDistFromWire(), FastTrackerRecHitMaskProducer_cfi::recHits, and simHitDistFromWire().
Referenced by fillMuon().
|
private |
Definition at line 377 of file GlobalRecHitsAnalyzer.cc.
References HLT_2024v12_cff::barrelHits, edm::SortedCollection< T, SORT >::begin(), EBHits_Token_, CollectionTags_cfi::EBRecHit, CollectionTags_cfi::EBUncalibRecHit, ECalEBSrc_Token_, ECalEESrc_Token_, ECalESSrc_Token_, ECalUncalEBSrc_Token_, ECalUncalEESrc_Token_, EEHits_Token_, CollectionTags_cfi::EERecHit, CollectionTags_cfi::EEUncalibRecHit, edm::SortedCollection< T, SORT >::end(), HLT_2024v12_cff::endcapHits, ESHits_Token_, dqm::impl::MonitorElement::Fill(), iEvent, edm::HandleBase::isValid(), LogDebug, mehEcaln, mehEcalRes, gedPhotons_cfi::preshowerHits, edm::Handle< T >::product(), DetId::rawId(), rpcPointValidation_cfi::recHit, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
Referenced by analyze().
|
private |
Definition at line 564 of file GlobalRecHitsAnalyzer.cc.
References caloGeomToken_, hcalRecHitTable_cff::detId, dqm::impl::MonitorElement::Fill(), edm::GetterOfProducts< T >::fillHandles(), edm::EventSetup::getHandle(), photonIsolationHIProducer_cfi::hbhe, HBHERecHitgetter_, HCalSrc_Token_, photonIsolationHIProducer_cfi::hf, HFRecHitgetter_, photonIsolationHIProducer_cfi::ho, HORecHitgetter_, iEvent, edm::HandleBase::isValid(), LogDebug, mehHcaln, mehHcalRes, edm::Handle< T >::product(), sdHcalBrl, sdHcalEC, sdHcalFwd, sdHcalOut, HLTBitAnalyser_cfi::simhits, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
Referenced by analyze().
|
private |
Definition at line 1072 of file GlobalRecHitsAnalyzer.cc.
References nano_mu_digi_cff::chamberType, compute(), cscGeomToken_, hcalRecHitTable_cff::detId, dtGeomToken_, dqm::impl::MonitorElement::Fill(), edm::EventSetup::getHandle(), mps_fire::i, CSCGeometry::idToDetUnit(), iEvent, edm::HandleBase::isValid(), nano_mu_digi_cff::layer, LogDebug, map1DRecHitsPerWire(), DTHitQualityUtils::mapSimHitsPerWire(), mehCSCn, mehDtMuonn, mehRPCn, mehRPCResX, MuCSCHits_Token_, MuCSCSrc_Token_, MuDTSimSrc_Token_, MuDTSrc_Token_, MuRPCSimSrc_Token_, MuRPCSrc_Token_, plotResolution(), edm::Handle< T >::product(), DigiTask_cfi::ptype, alignCSCRings::r, rpcPointValidation_cfi::recHit, nano_mu_digi_cff::roll, rpcGeomToken_, rpcPointValidation_cfi::simHit, FastTrackerRecHitCombiner_cfi::simHits, AlCaHLTBitMon_QueryRunRegistry::string, theMap, verbosity, and PV3DBase< T, PVType, FrameType >::x().
Referenced by analyze().
|
private |
Definition at line 724 of file GlobalRecHitsAnalyzer.cc.
References TrackerHitAssociator::associateHit(), edmNew::DetSet< T >::begin(), pv::closest(), hcalRecHitTable_cff::detId, edmNew::DetSet< T >::end(), edmNew::DetSetVector< T >::end(), dqm::impl::MonitorElement::Fill(), edmNew::DetSetVector< T >::find(), TrackingRecHit::geographicalId(), edm::EventSetup::getData(), edm::EventSetup::getHandle(), mps_fire::i, iEvent, edm::HandleBase::isValid(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, BaseTrackerRecHit::localPosition(), LogDebug, visualization-live-secondInstance_cfg::m, matched, mehSiPixeln, mehSiPixelResX, mehSiPixelResY, mehSiStripn, mehSiStripResX, mehSiStripResY, position, projectHit(), TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), nano_mu_digi_cff::rawId, sdPxlBrl, sdPxlFwd, sdSiTEC, sdSiTIB, sdSiTID, sdSiTOB, SiPxlSrc_Token_, SiStripSrc_Token_, mathSSE::sqrt(), GluedGeomDet::stereoDet(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), GeomDet::surface(), TrackerTopology::tecWheel(), tGeomToken_, TrackerTopology::tibLayer(), TrackerTopology::tidWheel(), TrackerTopology::tobLayer(), PbPb_ZMuSkimMuonDPG_cff::tracker, trackerHitAssociatorConfig_, tTopoToken_, verbosity, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by analyze().
|
private |
Definition at line 1325 of file GlobalRecHitsAnalyzer.cc.
References nano_mu_digi_cff::layer, rpcPointValidation_cfi::recHit, recHitDistFromWire(), and FastTrackerRecHitMaskProducer_cfi::recHits.
Referenced by compute().
|
private |
Definition at line 1299 of file GlobalRecHitsAnalyzer.cc.
References runTheMatrix::ret.
Referenced by fillMuon().
|
private |
Definition at line 1406 of file GlobalRecHitsAnalyzer.cc.
References dqm::impl::MonitorElement::Fill(), nano_mu_digi_cff::layer, mehCSCResRDPhi, PV3DBase< T, PVType, FrameType >::phi(), rpcPointValidation_cfi::recHit, and rpcPointValidation_cfi::simHit.
Referenced by fillMuon().
|
private |
Definition at line 1272 of file GlobalRecHitsAnalyzer.cc.
References funct::cos(), DeadROC_duringRun::dir, pfClustersFromCombinedCaloHF_cfi::scale, funct::sin(), StripGeomDetUnit::specificTopology(), StripTopology::strip(), StripTopology::stripAngle(), GeomDet::surface(), Surface::toGlobal(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by fillTrk().
|
private |
Definition at line 1344 of file GlobalRecHitsAnalyzer.cc.
References DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, and PV3DBase< T, PVType, FrameType >::x().
Referenced by compute(), and findBestRecHit().
|
private |
Definition at line 1350 of file GlobalRecHitsAnalyzer.cc.
References nano_mu_digi_cff::layer, and rpcPointValidation_cfi::recHit.
|
private |
Definition at line 1312 of file GlobalRecHitsAnalyzer.cc.
References nano_mu_digi_cff::layer, DTWireId::wire(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by compute().
|
private |
Definition at line 293 of file GlobalRecHitsAnalyzer.h.
Referenced by fillHCal().
|
private |
Definition at line 301 of file GlobalRecHitsAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 297 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon().
|
private |
Definition at line 296 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon().
|
private |
Definition at line 197 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 187 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 192 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 189 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 193 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 191 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 194 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 188 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 195 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 190 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 196 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 198 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 199 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 169 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 171 of file GlobalRecHitsAnalyzer.h.
Referenced by analyze(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 173 of file GlobalRecHitsAnalyzer.h.
Referenced by analyze(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 183 of file GlobalRecHitsAnalyzer.h.
Referenced by fillHCal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 206 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 207 of file GlobalRecHitsAnalyzer.h.
Referenced by fillHCal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 184 of file GlobalRecHitsAnalyzer.h.
Referenced by fillHCal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 175 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 185 of file GlobalRecHitsAnalyzer.h.
Referenced by fillHCal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 172 of file GlobalRecHitsAnalyzer.h.
|
private |
Definition at line 219 of file GlobalRecHitsAnalyzer.h.
Referenced by fillTrk().
|
private |
Definition at line 238 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillMuon().
|
private |
Definition at line 241 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 237 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillMuon().
|
private |
Definition at line 240 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and compute().
|
private |
Definition at line 180 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillECal().
|
private |
Definition at line 181 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillECal().
|
private |
Definition at line 203 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillHCal().
|
private |
Definition at line 204 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillHCal().
|
private |
Definition at line 239 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillMuon().
|
private |
Definition at line 242 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillMuon().
|
private |
Definition at line 227 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillTrk().
|
private |
Definition at line 228 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillTrk().
|
private |
Definition at line 229 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillTrk().
|
private |
Definition at line 212 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillTrk().
|
private |
Definition at line 213 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillTrk().
|
private |
Definition at line 214 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillTrk().
|
private |
Definition at line 279 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 277 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 278 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 245 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 247 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 244 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 246 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 289 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 291 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 288 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 290 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 174 of file GlobalRecHitsAnalyzer.h.
Referenced by analyze(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 298 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon().
|
private |
Definition at line 231 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 232 of file GlobalRecHitsAnalyzer.h.
Referenced by fillTrk(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 216 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 217 of file GlobalRecHitsAnalyzer.h.
Referenced by fillTrk(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 295 of file GlobalRecHitsAnalyzer.h.
Referenced by fillTrk().
|
private |
Definition at line 281 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon().
|
private |
Definition at line 223 of file GlobalRecHitsAnalyzer.h.
Referenced by fillTrk().
|
private |
Definition at line 294 of file GlobalRecHitsAnalyzer.h.
Referenced by fillTrk().
|
private |
Definition at line 170 of file GlobalRecHitsAnalyzer.h.
Referenced by analyze(), fillECal(), fillHCal(), fillMuon(), fillTrk(), and GlobalRecHitsAnalyzer().