Go to the documentation of this file. 1 #ifndef TrackAnalyzer_H
2 #define TrackAnalyzer_H
12 #include <unordered_map>
493 return (
size_t)((
k.monitoring & (0x7)) | ((
k.subdet & (0xff)) << 3) | ((
k.det & (0xff)) << 11));
500 std::unordered_map<Key, MonitorElement*, KeyHasher>
hits_bad_;
MonitorElement * DistanceOfClosestApproachErrorVsPt
MonitorElement * xPointOfClosestApproachVsZ0wrtPV
MonitorElement * NumberOfMORecHitsPerTrackVsEta
MonitorElement * Chi2oNDFVsNHits
MonitorElement * NumberOfRecHitsPerTrackVsTheta
MonitorElement * TrackPzErr
MonitorElement * NumberOfValidRecHitVsPhiVsEtaPerTrack
MonitorElement * Chi2oNDFVsPhi
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > transientTrackBuilderToken_
MonitorElement * TkEtaPhi_RelativeDifference_byFoldingmap
MonitorElement * yPointOfClosestApproachVsZ0wrt000
MonitorElement * DistanceOfClosestApproachToPVVsPhi
MonitorElement * TrackEtaPhiInvertedoutofphase
MonitorElement * NumberOfValidRecHitsPerTrack
MonitorElement * TkEtaPhi_Ratio_byFoldingmap_op
MonitorElement * TrackPtErr
MonitorElement * xPointOfClosestApproach
void fillHistosForEfficiencyFromHitPatter(const reco::Track &track, const std::string suffix, const float monitoring, bool useInac)
MonitorElement * stoppingSourceVSphi
MonitorElement * NhitVsPhi_HighPurity
MonitorElement * DistanceOfClosestApproachToBSdz
MonitorElement * xPointOfClosestApproachVsZ0wrtBS
MonitorElement * TrackPtTight
std::map< std::string, TkRecHitsPerSubDetMEs > TkRecHitsPerSubDetMEMap
MonitorElement * NumberOfRecHitsPerTrack_lumiFlag
MonitorElement * NumberOfMIRecHitsPerTrack
void fillHistosForHitProperties(const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
MonitorElement * TrackEtaPhiOuter
float minPixelClusterCharge_
MonitorElement * DistanceOfClosestApproachError
MonitorElement * sipDzToPV
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_missing_
MonitorElement * TkEtaPhi_Ratio_byFoldingmap
MonitorElement * Ptdist_HighPurity
MonitorElement * Chi2oNDFVsTheta
MonitorElement * NumberOfLostRecHitVsPhiVsEtaPerTrack
MonitorElement * NumberOfMORecHitsPerTrackVsPhi
MonitorElement * NumberOfValidRecHitsPerTrackVsTheta
MonitorElement * Chi2Prob
bool doLayersVsPhiVsEtaPerTrack_
MonitorElement * NumberOfMORecHitsPerTrackVsPt
MonitorElement * TrackPt_PosEta_Phi_btw_32_16
MonitorElement * NumberOfValidRecHitsPerTrackVsEta
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopologyToken_
MonitorElement * TrackEtaPhi
MonitorElement * TrackEtaTight
void fillHistosForLScertification(const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
MonitorElement * Chi2ProbVsTheta
MonitorElement * NumberOfMORecHitsPerTrackVsPt
MonitorElement * NumberOfValidRecHitVsPtVsEtaPerTrack
void initHisto(DQMStore::IBooker &ibooker, const edm::EventSetup &, const edm::ParameterSet &)
bool doTrackLayersVsPhiVsEtaPerTrack_
MonitorElement * NumberOfLostRecHitsPerTrackVsPhi
MonitorElement * TrackEtaHighPurity
MonitorElement * TrackPtLoose
MonitorElement * NumberOfMORecHitVsPtVsEtaPerTrack
MonitorElement * RecHitChi2PerTrack
MonitorElement * NumberOfMIRecHitVsPtVsEtaPerTrack
void bookHistosForEfficiencyFromHitPatter(DQMStore::IBooker &ibooker, const edm::EventSetup &iSetup, const std::string suffix, bool useInac)
MonitorElement * Chi2oNDFVsTheta
MonitorElement * TrackPt_NegEta_Phi_btw_16_0
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
MonitorElement * NumberOfLostRecHitsPerTrackVsPt
MonitorElement * NumberOfMIRecHitsPerTrackVsPhi
MonitorElement * dNhitdPt_HighPurity
MonitorElement * TrackPhi
void bookHistosForState(std::string sname, DQMStore::IBooker &ibooker)
MonitorElement * Ratio_byFolding
MonitorElement * NumberOfRecHitVsPhiVsEtaPerTrack
MonitorElement * dNdEta_HighPurity
MonitorElement * NumberOfMIRecHitsPerTrackVsEta
MonitorElement * TrackQoverP
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeometryToken_
MonitorElement * NumberOfLayersPerTrack[4]
MonitorElement * TrackPxErr
MonitorElement * TrackEta
bool operator==(const Key &other) const
MonitorElement * ValidFractionVsPhiVsEtaPerTrack
MonitorElement * TrackEtaPhiInverted
MonitorElement * dNdPt_HighPurity
MonitorElement * NumberOfLayersVsPhiVsEtaPerTrack[5]
MonitorElement * NumberOfMIRecHitsPerTrackVsPt
MonitorElement * NumberOfRecHitsPerTrackVsPhi
MonitorElement * NumberOfLayersPerTrackVsPhi
MonitorElement * Chi2ProbVsEta
MonitorElement * TkEtaPhi_RelativeDifference_byFoldingmap_op
void setLumi(const edm::Event &, const edm::EventSetup &iSetup)
MonitorElement * TrackPyErr
MonitorElement * NumberOfValidRecHitsPerTrackVsEta
MonitorElement * Chi2oNDFVsEta
MonitorElement * DistanceOfClosestApproachErrorVsDxy
MonitorElement * Chi2ProbVsPhi
MonitorElement * Chi2ProbVsEta
MonitorElement * NumberOfValidRecHitVsPhiVsEtaPerTrack
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_bad_
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_valid_
MonitorElement * TrackEtaPhiInner
MonitorElement * DistanceOfClosestApproachToBSVsPhi
bool doRecHitVsPtVsEtaPerTrack_
MonitorElement * DistanceOfClosestApproachToBS
MonitorElement * NumberOfRecHitVsPhiVsEtaPerTrack
MonitorElement * NumberOfLostRecHitsPerTrackVsTheta
MonitorElement * xPointOfClosestApproachVsZ0wrt000
MonitorElement * NumberOfLostRecHitsPerTrackVsPhi
MonitorElement * yPointOfClosestApproachVsZ0wrtPV
MonitorElement * NumberOfValidRecHitsPerTrackVsPt
Key(int det, int subdet, int monitoring)
MonitorElement * NumberOfLayersPerTrackVsEta
MonitorElement * sipDzToBS
MonitorElement * NumberOfMORecHitVsPhiVsEtaPerTrack
MonitorElement * TrackPtHighPurity
void setBX(const edm::Event &)
MonitorElement * DistanceOfClosestApproachToBSVsEta
bool doEffFromHitPatternVsBX_
void bookHistosForBeamSpot(DQMStore::IBooker &ibooker)
MonitorElement * DistanceOfClosestApproach
MonitorElement * NumberOfRecHitsPerTrackVsEta
MonitorElement * ValidFractionPerTrack
std::map< std::string, TkParameterMEs > TkParameterMEMap
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_inactive_
dqm::legacy::MonitorElement MonitorElement
MonitorElement * TrackTheta
MonitorElement * yPointOfClosestApproachVsZ0wrtBS
MonitorElement * NumberOfRecHitsPerTrackVsPhi
MonitorElement * NumberOfLayersPerTrackVsPhi
void bookHistosForTrackerSpecific(DQMStore::IBooker &ibooker)
MonitorElement * DeltaZToPV
MonitorElement * LongDCASig
MonitorElement * zPointOfClosestApproach
MonitorElement * NumberOfLostRecHitVsPhiVsEtaPerTrack
bool doRecHitVsPhiVsEtaPerTrack_
MonitorElement * NumberOfLayersPerTrackVsTheta
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_total_
MonitorElement * DistanceOfClosestApproachToPV
MonitorElement * DistanceOfClosestApproachToPVZoom
MonitorElement * NumberOfMIRecHitsPerTrackVsEta
MonitorElement * TrackPhiErr
MonitorElement * TESTDistanceOfClosestApproachToBSVsPhi
MonitorElement * NumberOfLostRecHitsPerTrackVsPt
MonitorElement * stoppingSource
bool doEffFromHitPatternVsPU_
MonitorElement * NumberOfLostRecHitsPerTrackVsEta
MonitorElement * sip2dToPV
MonitorElement * NumberOfLayersPerTrack
MonitorElement * yPointOfClosestApproach
MonitorElement * NumberOfLostRecHitsPerTrack
MonitorElement * NumberOfLayersPerTrackVsEta
MonitorElement * stoppingSourceVSeta
MonitorElement * NumberOfMORecHitsPerTrackVsPhi
MonitorElement * sipDxyToPV
MonitorElement * NumberOfLayersPerTrackVsTheta
MonitorElement * TransDCASig
MonitorElement * NumberOfLostRecHitVsPtVsEtaPerTrack
MonitorElement * DeltaZToPVZoom
MonitorElement * NumberOfMORecHitsPerTrackVsTheta
bool doGeneralPropertiesPlots_
MonitorElement * Chi2oNDFVsNHits
MonitorElement * AbsDistanceOfClosestApproachToBS
MonitorElement * NumberOfMORecHitVsPhiVsEtaPerTrack
MonitorElement * yPointOfClosestApproachToPV
MonitorElement * TrackPt_PosEta_Phi_btw_16_0
MonitorElement * Chi2oNDF
MonitorElement * NumberOfMIRecHitVsPhiVsEtaPerTrack
std::size_t operator()(const Key &k) const
MonitorElement * TESTDistanceOfClosestApproachToBS
MonitorElement * NumberOfRecHitsPerTrackVsPhi
MonitorElement * NumberOfMIRecHitsPerTrackVsPhi
void bookHistosForHitProperties(DQMStore::IBooker &ibooker)
MonitorElement * sipDxyToBS
MonitorElement * NumberOfMIRecHitsPerTrackVsTheta
MonitorElement * zPointOfClosestApproachVsPhi
MonitorElement * NumberOfLostRecHitsPerTrackVsEta
MonitorElement * Chi2oNDFVsEta
MonitorElement * NumberOfMIRecHitsPerTrackVsTheta
MonitorElement * NumberOfValidRecHitsPerTrackVsPt
edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
std::string qualityString_
MonitorElement * TrackEtaLoose
MonitorElement * NumberOfValidRecHitsPerTrackVsPhi
MonitorElement * NumberOfLayersPerTrackVsEta
MonitorElement * TrackThetaErr
MonitorElement * Chi2oNDFVsPhi
MonitorElement * NumberOfMORecHitsPerTrackVsTheta
void bookHistosForLScertification(DQMStore::IBooker &ibooker)
unsigned int good_vertices_
MonitorElement * TrackPtErrVsEta
MonitorElement * NumberOfValidRecHitVsPtVsEtaPerTrack
MonitorElement * TrackEtaErr
MonitorElement * NumberOfValidRecHitsPerTrackVsTheta
MonitorElement * NumberOfRecHitsPerTrackVsEta
float lumi_factor_per_bx_
void fillHistosForTrackerSpecific(const reco::Track &track)
MonitorElement * TrackPt_NegEta_Phi_btw_neg16_neg32
MonitorElement * NumberOfValidRecHitsPerTrackVsPhi
edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
MonitorElement * NumberOfMIRecHitVsPhiVsEtaPerTrack
bool doTrackRecHitVsPhiVsEtaPerTrack_
void fillHistosForState(const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
MonitorElement * NhitVsEta_HighPurity
std::string monName[monQuantity::END]
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
MonitorElement * DistanceOfClosestApproachErrorVsPhi
MonitorElement * NumberOfMORecHitsPerTrack
bool doRecHitsPerTrackProfile_
MonitorElement * dNdPhi_HighPurity
MonitorElement * NumberOfMORecHitVsPtVsEtaPerTrack
void setNumberOfGoodVertices(const edm::Event &)
MonitorElement * NumberOfLostRecHitVsPtVsEtaPerTrack
MonitorElement * NumberOfRecHitsPerTrackVsEta
MonitorElement * algorithm
bool doTrackRecHitVsPtVsEtaPerTrack_
bool doHitPropertiesPlots_
MonitorElement * TrackPt_PosEta_Phi_btw_neg16_neg32
MonitorElement * Chi2oNDF_lumiFlag
MonitorElement * NumberOfMIRecHitVsPtVsEtaPerTrack
MonitorElement * Chi2ProbVsTheta
MonitorElement * TrackPt_NegEta_Phi_btw_0_neg16
MonitorElement * Chi2ProbVsPhi
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::Track &track)
int minNumberOfPixelsPerCluster_
edm::ParameterSet const * conf_
MonitorElement * zPointOfClosestApproachToPV
MonitorElement * sip3dToPV
MonitorElement * DistanceOfClosestApproachVsTheta
edm::EDGetTokenT< reco::VertexCollection > pvToken_
MonitorElement * NumberOfLayersPerTrackVsPhi
MonitorElement * DistanceOfClosestApproachVsPhi
MonitorElement * NumberOfRecHitsPerTrack
MonitorElement * Chi2oNDFVsPt
MonitorElement * NumberOfLayersPerTrackVsPt
TrackAnalyzer(const edm::ParameterSet &)
MonitorElement * DistanceOfClosestApproachVsEta
dqm::legacy::DQMStore DQMStore
MonitorElement * TrackPt_PosEta_Phi_btw_0_neg16
MonitorElement * DistanceOfClosestApproachErrorVsEta
MonitorElement * TrackPt_NegEta_Phi_btw_32_16
bool doEffFromHitPatternVsLUMI_
MonitorElement * Chi2oNDFVsPt
MonitorElement * TrackPErr
MonitorElement * NumberOfMORecHitsPerTrackVsEta
MonitorElement * Ratio_byFolding2
MonitorElement * NumberOfRecHitsPerTrack
MonitorElement * NumberOfRecHitsPerTrackVsTheta
bool doMeasurementStatePlots_
MonitorElement * NumberOfMIRecHitsPerTrackVsPt
MonitorElement * NumberOfRecHitsPerTrackVsPt
MonitorElement * NumberOfLostRecHitsPerTrackVsTheta
MonitorElement * xPointOfClosestApproachToPV