#include <ME0SegmentsValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
std::pair< int, int > | isMatched (ME0DetId, LocalPoint, edm::Handle< ME0DigiPreRecoCollection >) |
bool | isSimMatched (edm::SimTrackContainer::const_iterator, edm::PSimHitContainer::const_iterator) |
bool | isSimTrackGood (edm::SimTrackContainer::const_iterator simTrack) |
ME0SegmentsValidation (const edm::ParameterSet &) | |
~ME0SegmentsValidation () override | |
Public Member Functions inherited from ME0BaseValidation | |
MonitorElement * | BookHistXY (DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int layer_num=99) |
MonitorElement * | BookHistZR (DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int layer_num=99) |
ME0BaseValidation (const edm::ParameterSet &ps) | |
~ME0BaseValidation () override | |
Public Member Functions inherited from DQMEDAnalyzer | |
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) final |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
void | beginStream (edm::StreamID id) final |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
DQMEDAnalyzer () | |
void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
void | endRun (edm::Run const &run, edm::EventSetup const &setup) final |
virtual bool | getCanSaveByLumi () |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator > | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Types | |
typedef std::map< ME0SegmentCollection::const_iterator, std::vector< ME0RecHit > > | MapTypeSeg |
typedef std::map< edm::SimTrackContainer::const_iterator, edm::PSimHitContainer > | MapTypeSim |
Definition at line 9 of file ME0SegmentsValidation.h.
|
private |
Definition at line 49 of file ME0SegmentsValidation.h.
|
private |
Definition at line 48 of file ME0SegmentsValidation.h.
|
explicit |
Definition at line 5 of file ME0SegmentsValidation.cc.
References looper::cfg, eta_max_, eta_min_, InputTagToken_, InputTagToken_Digis, InputTagToken_Segments, InputTagTokenST_, isMuonGun_, pt_min_, sigma_x_, and sigma_y_.
|
override |
Definition at line 105 of file ME0SegmentsValidation.cc.
|
overridevirtual |
Implements ME0BaseValidation.
Definition at line 107 of file ME0SegmentsValidation.cc.
References funct::abs(), ME0Geometry::chamber(), relativeConstraints::chamber, hltPixelTracks_cff::chi2, submitPVResolutionJobs::count, MillePedeFileConverter_cfg::e, PV3DBase< T, PVType, FrameType >::eta(), ME0Geometry::etaPartition(), dqm::impl::MonitorElement::Fill(), dqmMemoryStats::float, ME0BaseValidation::geomToken_, edm::EventSetup::getData(), runTauDisplay::gp, triggerObjects_cff::id, ME0Geometry::idToDet(), InputTagToken_, InputTagToken_Digis, InputTagToken_Segments, InputTagTokenST_, createfilelist::int, isMatched(), isSimMatched(), isSimTrackGood(), edm::HandleBase::isValid(), phase1PixelTopology::layer, me0_matchedsimsegment_eta, me0_matchedsimsegment_phi, me0_matchedsimsegment_pt, me0_segment_chi2, me0_segment_ndof, me0_segment_numRH, me0_segment_numRHBkg, me0_segment_numRHSig, me0_segment_redchi2, me0_segment_size, me0_segment_time, me0_segment_timeErr, me0_simsegment_eta, me0_simsegment_phi, me0_simsegment_pt, me0_specRH_DeltaX, me0_specRH_DeltaY, me0_specRH_PullX, me0_specRH_PullY, me0_specRH_xy, me0_specRH_zr, ndof, PV3DBase< T, PVType, FrameType >::phi(), quality, HLT_2022v12_cff::region, mps_fire::result, sigma_x_, sigma_y_, cscDigiValidation_cfi::simTrack, TrackCandidateProducer_cfi::simTracks, mathSSE::sqrt(), GeomDet::surface(), protons_cff::time, Surface::toGlobal(), x, and y.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 18 of file ME0SegmentsValidation.cc.
References dqm::implementation::IBooker::book1D(), ME0BaseValidation::BookHistXY(), ME0BaseValidation::BookHistZR(), ME0BaseValidation::layerLabel, LogDebug, M_PI, me0_matchedsimsegment_eta, me0_matchedsimsegment_phi, me0_matchedsimsegment_pt, me0_segment_chi2, me0_segment_ndof, me0_segment_numRH, me0_segment_numRHBkg, me0_segment_numRHSig, me0_segment_redchi2, me0_segment_size, me0_segment_time, me0_segment_timeErr, me0_simsegment_eta, me0_simsegment_phi, me0_simsegment_pt, me0_specRH_DeltaX, me0_specRH_DeltaY, me0_specRH_PullX, me0_specRH_PullY, me0_specRH_xy, me0_specRH_zr, ME0BaseValidation::regionLabel, dqm::implementation::NavigatorBase::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::pair< int, int > ME0SegmentsValidation::isMatched | ( | ME0DetId | me0id, |
LocalPoint | rhLP, | ||
edm::Handle< ME0DigiPreRecoCollection > | ME0Digis | ||
) |
Definition at line 339 of file ME0SegmentsValidation.cc.
References ME0DetId::chamber(), relativeConstraints::chamber, createfilelist::int, ME0DetId::layer(), phase1PixelTopology::layer, PbPb_ZMuSkimMuonDPG_cff::particleType, ME0DetId::region(), HLT_2022v12_cff::region, mps_fire::result, ME0DetId::roll(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by analyze().
bool ME0SegmentsValidation::isSimMatched | ( | edm::SimTrackContainer::const_iterator | simTrack, |
edm::PSimHitContainer::const_iterator | itHit | ||
) |
Definition at line 406 of file ME0SegmentsValidation.cc.
References mps_fire::result, and cscDigiValidation_cfi::simTrack.
Referenced by analyze().
bool ME0SegmentsValidation::isSimTrackGood | ( | edm::SimTrackContainer::const_iterator | simTrack | ) |
Definition at line 391 of file ME0SegmentsValidation.cc.
References funct::abs(), PVValHelper::eta, eta_max_, isMuonGun_, and pt_min_.
Referenced by analyze().
|
private |
Definition at line 44 of file ME0SegmentsValidation.h.
Referenced by isSimTrackGood(), and ME0SegmentsValidation().
|
private |
Definition at line 44 of file ME0SegmentsValidation.h.
Referenced by ME0SegmentsValidation().
|
private |
Definition at line 39 of file ME0SegmentsValidation.h.
Referenced by analyze(), and ME0SegmentsValidation().
|
private |
Definition at line 38 of file ME0SegmentsValidation.h.
Referenced by analyze(), and ME0SegmentsValidation().
|
private |
Definition at line 37 of file ME0SegmentsValidation.h.
Referenced by analyze(), and ME0SegmentsValidation().
|
private |
Definition at line 40 of file ME0SegmentsValidation.h.
Referenced by analyze(), and ME0SegmentsValidation().
|
private |
Definition at line 46 of file ME0SegmentsValidation.h.
Referenced by isSimTrackGood(), and ME0SegmentsValidation().
|
private |
Definition at line 30 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 30 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 30 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 21 of file ME0SegmentsValidation.h.
|
private |
Definition at line 24 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 27 of file ME0SegmentsValidation.h.
|
private |
Definition at line 24 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 26 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 26 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 26 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 27 of file ME0SegmentsValidation.h.
|
private |
Definition at line 24 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 27 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 25 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 25 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 29 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 29 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 29 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 32 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 33 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 34 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 35 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 20 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 22 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 42 of file ME0SegmentsValidation.h.
|
private |
Definition at line 45 of file ME0SegmentsValidation.h.
Referenced by isSimTrackGood(), and ME0SegmentsValidation().
|
private |
Definition at line 43 of file ME0SegmentsValidation.h.
Referenced by analyze(), and ME0SegmentsValidation().
|
private |
Definition at line 43 of file ME0SegmentsValidation.h.
Referenced by analyze(), and ME0SegmentsValidation().