#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 () | |
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) | |
virtual | ~ME0BaseValidation () |
Public Member Functions inherited from DQMEDAnalyzer | |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) final |
virtual void | beginStream (edm::StreamID id) final |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
DQMEDAnalyzer (void) | |
virtual void | endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final |
virtual void | endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final |
uint32_t | streamId () const |
Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
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 const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
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 const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Types | |
typedef std::map< ME0SegmentCollection::const_iterator, std::vector< ME0RecHit > > | MapTypeSeg |
typedef std::map< edm::SimTrackContainer::const_iterator, edm::PSimHitContainer > | MapTypeSim |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
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 |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Protected Attributes inherited from ME0BaseValidation | |
edm::EDGetToken | InputTagToken_ |
std::vector< std::string > | layerLabel |
int | nBinXY_ |
std::vector< double > | nBinZR_ |
std::vector< double > | RangeZR_ |
std::vector< std::string > | regionLabel |
Definition at line 17 of file ME0SegmentsValidation.h.
|
private |
Definition at line 58 of file ME0SegmentsValidation.h.
|
private |
Definition at line 57 of file ME0SegmentsValidation.h.
|
explicit |
Definition at line 5 of file ME0SegmentsValidation.cc.
References eta_max_, eta_min_, edm::ParameterSet::getParameter(), InputTagToken_, InputTagToken_Digis, InputTagToken_Segments, InputTagTokenST_, isMuonGun_, pt_min_, sigma_x_, and sigma_y_.
ME0SegmentsValidation::~ME0SegmentsValidation | ( | ) |
Definition at line 86 of file ME0SegmentsValidation.cc.
|
overridevirtual |
Implements ME0BaseValidation.
Definition at line 90 of file ME0SegmentsValidation.cc.
References funct::abs(), relativeConstraints::chamber, ME0Geometry::chamber(), HiEvtPlane_cfi::chi2, KineDebug3::count(), PV3DBase< T, PVType, FrameType >::eta(), ME0Geometry::etaPartition(), MonitorElement::Fill(), objects.autophobj::float, edm::EventSetup::get(), edm::Event::getByToken(), runTauDisplay::gp, hcalTTPDigis_cfi::id, ME0Geometry::idToDet(), InputTagToken_, InputTagToken_Digis, InputTagToken_Segments, InputTagTokenST_, createfilelist::int, isMatched(), isSimMatched(), isSimTrackGood(), edm::HandleBase::isValid(), 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(), btvTracks_cfi::quality, mps_fire::result, reco::return(), sigma_x_, sigma_y_, simTrackMatching_cfi::simTrack, tkConvValidator_cfi::simTracks, mathSSE::sqrt(), GeomDet::surface(), ntuplemaker::time, Surface::toGlobal(), x, and y.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 19 of file ME0SegmentsValidation.cc.
References DQMStore::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, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::pair< int, int > ME0SegmentsValidation::isMatched | ( | ME0DetId | me0id, |
LocalPoint | rhLP, | ||
edm::Handle< ME0DigiPreRecoCollection > | ME0Digis | ||
) |
Definition at line 332 of file ME0SegmentsValidation.cc.
References ME0DetId::chamber(), relativeConstraints::chamber, createfilelist::int, ME0DetId::layer(), objects.autophobj::particleType, ME0DetId::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 398 of file ME0SegmentsValidation.cc.
References mps_fire::result.
Referenced by analyze().
bool ME0SegmentsValidation::isSimTrackGood | ( | edm::SimTrackContainer::const_iterator | simTrack | ) |
Definition at line 384 of file ME0SegmentsValidation.cc.
References funct::abs(), stringResolutionProvider_cfi::eta, eta_max_, isMuonGun_, and pt_min_.
Referenced by analyze().
|
private |
Definition at line 53 of file ME0SegmentsValidation.h.
Referenced by isSimTrackGood(), and ME0SegmentsValidation().
|
private |
Definition at line 53 of file ME0SegmentsValidation.h.
Referenced by ME0SegmentsValidation().
|
private |
Definition at line 48 of file ME0SegmentsValidation.h.
Referenced by analyze(), and ME0SegmentsValidation().
|
private |
Definition at line 47 of file ME0SegmentsValidation.h.
Referenced by analyze(), and ME0SegmentsValidation().
|
private |
Definition at line 46 of file ME0SegmentsValidation.h.
Referenced by analyze(), and ME0SegmentsValidation().
|
private |
Definition at line 49 of file ME0SegmentsValidation.h.
Referenced by analyze(), and ME0SegmentsValidation().
|
private |
Definition at line 55 of file ME0SegmentsValidation.h.
Referenced by isSimTrackGood(), and ME0SegmentsValidation().
|
private |
Definition at line 39 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 39 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 39 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 30 of file ME0SegmentsValidation.h.
|
private |
Definition at line 33 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 36 of file ME0SegmentsValidation.h.
|
private |
Definition at line 33 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 35 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 36 of file ME0SegmentsValidation.h.
|
private |
Definition at line 33 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 36 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 34 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 38 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 38 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 38 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 41 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 42 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 43 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 44 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 31 of file ME0SegmentsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 51 of file ME0SegmentsValidation.h.
|
private |
Definition at line 54 of file ME0SegmentsValidation.h.
Referenced by isSimTrackGood(), and ME0SegmentsValidation().
|
private |
Definition at line 52 of file ME0SegmentsValidation.h.
Referenced by analyze(), and ME0SegmentsValidation().
|
private |
Definition at line 52 of file ME0SegmentsValidation.h.
Referenced by analyze(), and ME0SegmentsValidation().