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