CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
StandaloneTrackMonitor Class Reference
Inheritance diagram for StandaloneTrackMonitor:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

 StandaloneTrackMonitor (const edm::ParameterSet &)
 
- 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
 
 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 EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- 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< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 

Protected Member Functions

void addClusterToMap (uint32_t detid, const SiStripCluster *cluster)
 
void analyze (edm::Event const &iEvent, edm::EventSetup const &iSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (const edm::Run &iRun, const edm::EventSetup &iSetup) override
 
void processClusters (edm::Event const &iEvent, edm::EventSetup const &iSetup, const TrackerGeometry &tkGeom, double wfac=1)
 
void processHit (const TrackingRecHit &recHit, edm::EventSetup const &iSetup, const TrackerGeometry &tkGeom, double wfac=1)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Private Member Functions

const reco::VertexfindClosestVertex (const TransientVertex aTransVtx, const reco::VertexCollection *vertices) const
 

Private Attributes

const std::string algoName_
 
MonitorElementbeamSpotXYposerrH_
 
MonitorElementbeamSpotXYposH_
 
MonitorElementbeamSpotZposerrH_
 
MonitorElementbeamSpotZposH_
 
const edm::InputTag bsTag_
 
const edm::EDGetTokenT< reco::BeamSpotbsToken_
 
MonitorElementbunchCrossingH_
 
int chi2it = 0
 
int chi2itGt = 0
 
int chi2itLt = 0
 
std::map< uint32_t, std::set< const SiStripCluster * > > clusterMap_
 
const edm::InputTag clusterTag_
 
const edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clusterToken_
 
MonitorElementcosPhi3DdileptonH_
 
MonitorElementDistanceOfClosestApproachToPVH_
 
MonitorElementDistanceOfClosestApproachToPVVsPhiH_
 
MonitorElementDistanceOfClosestApproachToPVZoomedH_
 
const bool doPUCorrection_
 
const bool doTrackCorrection_
 
const std::string folderName_
 
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecordgeomToken_
 
const bool haveAllHistograms_
 
MonitorElementhOffTrkClusChargeThickH_
 
MonitorElementhOffTrkClusChargeThinH_
 
MonitorElementhOffTrkClusWidthThickH_
 
MonitorElementhOffTrkClusWidthThinH_
 
MonitorElementhOnTrkClusChargeThickH_
 
MonitorElementhOnTrkClusChargeThinH_
 
MonitorElementhOnTrkClusWidthThickH_
 
MonitorElementhOnTrkClusWidthThinH_
 
MonitorElementip2dToBSH_
 
MonitorElementip2dToPVH_
 
MonitorElementip3dToBS2validpixelhitsH_
 
MonitorElementip3dToBSH_
 
MonitorElementip3dToPV2validpixelhitsH_
 
MonitorElementip3dToPVH_
 
MonitorElementiperr2dToBSH_
 
MonitorElementiperr2dToPVH_
 
MonitorElementiperr2dToPVWtH_
 
MonitorElementiperr3dToBS2validpixelhitsH_
 
MonitorElementiperr3dToBSH_
 
MonitorElementiperr3dToBSWtH_
 
MonitorElementiperr3dToPV2validpixelhitsH_
 
MonitorElementiperr3dToPVH_
 
MonitorElementiperr3dToPVWtH_
 
const bool isMC_
 
const bool isRECO_
 
MonitorElementJet_chargedMultiplicity_
 
MonitorElementJet_energy_
 
MonitorElementJet_eta_
 
MonitorElementJet_pt_
 
const edm::InputTag jetsTag_
 
const edm::EDGetTokenT< std::vector< reco::PFJet > > jetsToken_
 
std::vector< int > lumivec1
 
std::vector< int > lumivec2
 
const std::string moduleName_
 
const std::vector< std::string > mvaProducers_
 
std::vector< std::tuple< edm::EDGetTokenT< MVACollection >, edm::EDGetTokenT< QualityMaskCollection > > > mvaQualityTokens_
 
const edm::InputTag mvaTrackTag_
 
const edm::EDGetTokenT< edm::View< reco::Track > > mvaTrackToken_
 
MonitorElementnallHitsH_
 
int nevt = 0
 
MonitorElementnHitsStripDVsEtaH_
 
MonitorElementnHitsStripSVsEtaH_
 
MonitorElementnHitsTECDVsEtaH_
 
MonitorElementnHitsTECSVsEtaH_
 
MonitorElementnHitsTIBDVsEtaH_
 
MonitorElementnHitsTIBSVsEtaH_
 
MonitorElementnHitsTIDDVsEtaH_
 
MonitorElementnHitsTIDSVsEtaH_
 
MonitorElementnHitsTOBDVsEtaH_
 
MonitorElementnHitsTOBSVsEtaH_
 
MonitorElementnJet_
 
MonitorElementnLostHitByLayerH_
 
MonitorElementnLostHitByLayerPixH_
 
MonitorElementnLostHitByLayerStripH_
 
MonitorElementnlostHitsH_
 
MonitorElementnLostHitsPixBVsEtaH_
 
MonitorElementnLostHitsPixBVsIterationH_
 
MonitorElementnLostHitsPixBVsPhiH_
 
MonitorElementnLostHitsPixEVsEtaH_
 
MonitorElementnLostHitsPixEVsIterationH_
 
MonitorElementnLostHitsPixEVsPhiH_
 
MonitorElementnLostHitsPixVsEtaH_
 
MonitorElementnLostHitsPixVsIterationH_
 
MonitorElementnLostHitsPixVsPhiH_
 
MonitorElementnLostHitsStripVsEtaH_
 
MonitorElementnLostHitsStripVsIterationH_
 
MonitorElementnLostHitsStripVsPhiH_
 
MonitorElementnLostHitsTECVsEtaH_
 
MonitorElementnLostHitsTECVsIterationH_
 
MonitorElementnLostHitsTECVsPhiH_
 
MonitorElementnLostHitsTIBVsEtaH_
 
MonitorElementnLostHitsTIBVsIterationH_
 
MonitorElementnLostHitsTIBVsPhiH_
 
MonitorElementnLostHitsTIDVsEtaH_
 
MonitorElementnLostHitsTIDVsIterationH_
 
MonitorElementnLostHitsTIDVsPhiH_
 
MonitorElementnLostHitsTOBVsEtaH_
 
MonitorElementnLostHitsTOBVsIterationH_
 
MonitorElementnLostHitsTOBVsPhiH_
 
MonitorElementnLostHitsVsCosThetaH_
 
MonitorElementnLostHitsVsEtaH_
 
MonitorElementnLostHitsVsIterationH_
 
MonitorElementnLostHitsVsPhiH_
 
MonitorElementnLostHitsVspTH_
 
MonitorElementnlostPixelBHitsH_
 
MonitorElementnlostPixelEHitsH_
 
MonitorElementnlostPixelHitsH_
 
MonitorElementnlostStripHitsH_
 
MonitorElementnlostTECHitsH_
 
MonitorElementnlostTIBHitsH_
 
MonitorElementnlostTIDHitsH_
 
MonitorElementnlostTOBHitsH_
 
MonitorElementnlostTrackerHitsH_
 
MonitorElementnMissingExpectedInnerHitsH_
 
MonitorElementnMissingExpectedOuterHitsH_
 
MonitorElementnMissingInnerHitBH_
 
MonitorElementnMissingInnerHitEH_
 
MonitorElementnMissingOuterHitBH_
 
MonitorElementnMissingOuterHitEH_
 
MonitorElementnPixBarrelH_
 
MonitorElementnPixEndcapH_
 
MonitorElementnPUH_
 
MonitorElementnStripTECH_
 
MonitorElementnStripTIBH_
 
MonitorElementnStripTIDH_
 
MonitorElementnStripTOBH_
 
MonitorElementntrackerHitsH_
 
MonitorElementnTracksH_
 
MonitorElementnValidHitsPixBVsEtaH_
 
MonitorElementnValidHitsPixBVsPhiH_
 
MonitorElementnValidHitsPixEVsEtaH_
 
MonitorElementnValidHitsPixEVsPhiH_
 
MonitorElementnValidHitsPixVsEtaH_
 
MonitorElementnValidHitsPixVsPhiH_
 
MonitorElementnValidHitsStripVsEtaH_
 
MonitorElementnValidHitsStripVsPhiH_
 
MonitorElementnValidHitsTECVsEtaH_
 
MonitorElementnValidHitsTECVsPhiH_
 
MonitorElementnValidHitsTIBVsEtaH_
 
MonitorElementnValidHitsTIBVsPhiH_
 
MonitorElementnValidHitsTIDVsEtaH_
 
MonitorElementnValidHitsTIDVsPhiH_
 
MonitorElementnValidHitsTOBVsEtaH_
 
MonitorElementnValidHitsTOBVsPhiH_
 
MonitorElementnValidHitsVsCosThetaH_
 
MonitorElementnValidHitsVsEtaH_
 
MonitorElementnValidHitsVsnVtxH_
 
MonitorElementnValidHitsVsPhiH_
 
MonitorElementnValidHitsVspTH_
 
MonitorElementnvalidPixelBHitsH_
 
MonitorElementnvalidPixelEHitsH_
 
MonitorElementnvalidPixelHitsH_
 
MonitorElementnvalidStripHitsH_
 
MonitorElementnvalidTECHitsH_
 
MonitorElementnvalidTIBHitsH_
 
MonitorElementnvalidTIDHitsH_
 
MonitorElementnvalidTOBHitsH_
 
MonitorElementnvalidTrackerHitsH_
 
MonitorElementnVertexH_
 
MonitorElementnVtxH_
 
MonitorElementpixelBLayerwithMeasurementH_
 
MonitorElementpixelELayerwithMeasurementH_
 
MonitorElementpixelLayerwithMeasurementH_
 
const std::string puScaleFactorFile_
 
const edm::InputTag puSummaryTag_
 
const edm::EDGetTokenT< std::vector< PileupSummaryInfo > > puSummaryToken_
 
MonitorElementsip2dToBSH_
 
MonitorElementsip2dToPVH_
 
MonitorElementsip2dToPVWtH_
 
MonitorElementsip3dToBS2validpixelhitsH_
 
MonitorElementsip3dToBSH_
 
MonitorElementsip3dToPV2validpixelhitsH_
 
MonitorElementsip3dToPVH_
 
MonitorElementsipDxyToPVH_
 
MonitorElementsipDzToPVH_
 
SiStripClusterInfo siStripClusterInfo_
 
MonitorElementstripLayerwithMeasurementH_
 
MonitorElementstripTECLayerwithMeasurementH_
 
MonitorElementstripTIBLayerwithMeasurementH_
 
MonitorElementstripTIDLayerwithMeasurementH_
 
MonitorElementstripTOBLayerwithMeasurementH_
 
const edm::InputTag tcProducer_
 
const TrackerGeometrytkGeom_ = nullptr
 
MonitorElementtrackalgoH_
 
MonitorElementtrackChargeH_
 
MonitorElementtrackChi2bynDOFH_
 
MonitorElementtrackChi2H_
 
MonitorElementtrackChi2oNDFH_
 
MonitorElementtrackChi2oNDFVsEtaH_
 
MonitorElementtrackChi2oNDFVsPhiH_
 
MonitorElementtrackChi2ProbH_
 
MonitorElementtrackChi2probVsEtaH_
 
MonitorElementtrackChi2probVsPhiH_
 
MonitorElementtrackCosThetaH_
 
MonitorElementtrackd0H_
 
MonitorElementtrackDeltaRwrtClosestTrack_
 
MonitorElementtrackEtaerrH_
 
MonitorElementtrackEtaH_
 
const edm::ParameterSet TrackEtaHistoPar_
 
MonitorElementtrackIperr3dVsChi2prob2DH_
 
MonitorElementtrackIperr3dVsChi2probH_
 
MonitorElementtrackIperr3dVsEta2DH_
 
MonitorElementtrackIperr3dVsEtaH_
 
std::vector< MonitorElement * > trackMVAs
 
std::vector< MonitorElement * > trackMVAsHP
 
std::vector< MonitorElement * > trackMVAsHPVsEtaProfile
 
std::vector< MonitorElement * > trackMVAsHPVsPtProfile
 
std::vector< MonitorElement * > trackMVAsVsEtaProfile
 
std::vector< MonitorElement * > trackMVAsVsPtProfile
 
MonitorElementtracknDOFH_
 
MonitorElementtrackorigalgoH_
 
MonitorElementtrackPH_
 
MonitorElementtrackPhierrH_
 
MonitorElementtrackPhiH_
 
const edm::ParameterSet TrackPhiHistoPar_
 
MonitorElementtrackPt_ZoomH_
 
MonitorElementtrackPterrH_
 
MonitorElementtrackPtH_
 
const edm::ParameterSet TrackPtHistoPar_
 
MonitorElementtrackPtOver10GeVH_
 
MonitorElementtrackPtUpto2GeVH_
 
MonitorElementtrackqOverperrH_
 
MonitorElementtrackqOverpH_
 
const std::string trackQuality_
 
const std::string trackScaleFactorFile_
 
MonitorElementtrackSip2dVsChi2prob2DH_
 
MonitorElementtrackSip2dVsEta2DH_
 
MonitorElementtrackSip2dVsEtaH_
 
MonitorElementtrackStoppingSourceH_
 
const edm::InputTag trackTag_
 
MonitorElementtrackThetaerrH_
 
const edm::EDGetTokenT< reco::TrackCollectiontrackToken_
 
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecordtransTrackToken_
 
MonitorElementtrkLayerwithMeasurementH_
 
MonitorElementtrueNIntH_
 
const bool verbose_
 
const edm::InputTag vertexTag_
 
const edm::EDGetTokenT< reco::VertexCollectionvertexToken_
 
MonitorElementvertexXposH_
 
MonitorElementvertexYposH_
 
MonitorElementvertexZposH_
 
std::vector< float > vpu_
 
std::vector< float > vtrack_
 
MonitorElementxPointOfClosestApproachVsZ0wrtPVH_
 
MonitorElementyPointOfClosestApproachVsZ0wrtPVH_
 
MonitorElementZInvMass_
 
MonitorElementZpt_
 

Additional Inherited Members

- 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 Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 54 of file StandaloneTrackMonitor.cc.

Constructor & Destructor Documentation

◆ StandaloneTrackMonitor()

StandaloneTrackMonitor::StandaloneTrackMonitor ( const edm::ParameterSet ps)

Definition at line 427 of file StandaloneTrackMonitor.cc.

428  : moduleName_(ps.getUntrackedParameter<std::string>("moduleName", "StandaloneTrackMonitor")),
429  folderName_(ps.getUntrackedParameter<std::string>("folderName", "highPurityTracks")),
430  isRECO_(ps.getUntrackedParameter<bool>("isRECO", false)),
431  siStripClusterInfo_(consumesCollector()),
432  trackTag_(ps.getUntrackedParameter<edm::InputTag>("trackInputTag", edm::InputTag("generalTracks"))),
433  bsTag_(ps.getUntrackedParameter<edm::InputTag>("offlineBeamSpot", edm::InputTag("offlineBeamSpot"))),
434  vertexTag_(ps.getUntrackedParameter<edm::InputTag>("vertexTag", edm::InputTag("offlinePrimaryVertices"))),
435  puSummaryTag_(ps.getUntrackedParameter<edm::InputTag>("puTag", edm::InputTag("addPileupInfo"))),
436  clusterTag_(ps.getUntrackedParameter<edm::InputTag>("clusterTag", edm::InputTag("siStripClusters"))),
437  jetsTag_(ps.getUntrackedParameter<edm::InputTag>("PFJetsCollection", edm::InputTag("ak4PFJetsCHS"))),
438  trackToken_(consumes<reco::TrackCollection>(trackTag_)),
439  bsToken_(consumes<reco::BeamSpot>(bsTag_)),
440  vertexToken_(consumes<reco::VertexCollection>(vertexTag_)),
441  puSummaryToken_(consumes<std::vector<PileupSummaryInfo> >(puSummaryTag_)),
443  jetsToken_(consumes<std::vector<reco::PFJet> >(jetsTag_)),
444  trackQuality_(ps.getUntrackedParameter<std::string>("trackQuality", "highPurity")),
445  doPUCorrection_(ps.getUntrackedParameter<bool>("doPUCorrection", false)),
446  doTrackCorrection_(ps.getUntrackedParameter<bool>("doTrackCorrection", false)),
447  isMC_(ps.getUntrackedParameter<bool>("isMC", false)),
448  haveAllHistograms_(ps.getUntrackedParameter<bool>("haveAllHistograms", false)),
449  puScaleFactorFile_(ps.getUntrackedParameter<std::string>("puScaleFactorFile", "PileupScaleFactor.root")),
450  trackScaleFactorFile_(ps.getUntrackedParameter<std::string>("trackScaleFactorFile", "PileupScaleFactor.root")),
451  mvaProducers_(ps.getUntrackedParameter<std::vector<std::string> >("MVAProducers")),
452  mvaTrackTag_(ps.getUntrackedParameter<edm::InputTag>("TrackProducerForMVA")),
456  verbose_(ps.getUntrackedParameter<bool>("verbose", false)),
457  geomToken_(esConsumes<TrackerGeometry, TrackerDigiGeometryRecord, edm::Transition::BeginRun>()),
458  transTrackToken_(esConsumes<TransientTrackBuilder, TransientTrackRecord, edm::Transition::Event>(
459  edm::ESInputTag{"", "TransientTrackBuilder"})),
463  for (const auto& v : mvaProducers_) {
464  mvaQualityTokens_.push_back(std::make_tuple(consumes<MVACollection>(edm::InputTag(v, "MVAValues")),
465  consumes<QualityMaskCollection>(edm::InputTag(v, "QualityMasks"))));
466  }
467 
468  trackEtaH_ = nullptr;
469  trackEtaerrH_ = nullptr;
470  trackCosThetaH_ = nullptr;
471  trackThetaerrH_ = nullptr;
472  trackPhiH_ = nullptr;
473  trackPhierrH_ = nullptr;
474  trackPH_ = nullptr;
475  trackPtH_ = nullptr;
476  trackPtUpto2GeVH_ = nullptr;
477  trackPtOver10GeVH_ = nullptr;
478  trackPterrH_ = nullptr;
479  trackqOverpH_ = nullptr;
480  trackqOverperrH_ = nullptr;
481  trackChargeH_ = nullptr;
482  nlostHitsH_ = nullptr;
483  nvalidTrackerHitsH_ = nullptr;
484  nvalidPixelHitsH_ = nullptr;
485  nvalidStripHitsH_ = nullptr;
486  trkLayerwithMeasurementH_ = nullptr;
487  pixelLayerwithMeasurementH_ = nullptr;
488  stripLayerwithMeasurementH_ = nullptr;
489  beamSpotXYposH_ = nullptr;
490  beamSpotXYposerrH_ = nullptr;
491  beamSpotZposH_ = nullptr;
492  beamSpotZposerrH_ = nullptr;
493  trackChi2H_ = nullptr;
494  tracknDOFH_ = nullptr;
495  trackd0H_ = nullptr;
496  trackChi2bynDOFH_ = nullptr;
497  vertexXposH_ = nullptr;
498  vertexYposH_ = nullptr;
499  vertexZposH_ = nullptr;
500 
501  nPixBarrelH_ = nullptr;
502  nPixEndcapH_ = nullptr;
503  nStripTIBH_ = nullptr;
504  nStripTOBH_ = nullptr;
505  nStripTECH_ = nullptr;
506  nStripTIDH_ = nullptr;
507 
508  // for MC only
509  nVtxH_ = nullptr;
510  nVertexH_ = nullptr;
511  bunchCrossingH_ = nullptr;
512  nPUH_ = nullptr;
513  trueNIntH_ = nullptr;
514 
515  nLostHitsVspTH_ = nullptr;
516  nLostHitsVsEtaH_ = nullptr;
517  nLostHitsVsCosThetaH_ = nullptr;
518  nLostHitsVsPhiH_ = nullptr;
519  nLostHitsVsIterationH_ = nullptr;
520 
521  nHitsTIBSVsEtaH_ = nullptr;
522  nHitsTOBSVsEtaH_ = nullptr;
523  nHitsTECSVsEtaH_ = nullptr;
524  nHitsTIDSVsEtaH_ = nullptr;
525  nHitsStripSVsEtaH_ = nullptr;
526 
527  nHitsTIBDVsEtaH_ = nullptr;
528  nHitsTOBDVsEtaH_ = nullptr;
529  nHitsTECDVsEtaH_ = nullptr;
530  nHitsTIDDVsEtaH_ = nullptr;
531  nHitsStripDVsEtaH_ = nullptr;
532 
533  nValidHitsVspTH_ = nullptr;
534  nValidHitsVsEtaH_ = nullptr;
535  nValidHitsVsCosThetaH_ = nullptr;
536  nValidHitsVsPhiH_ = nullptr;
537  nValidHitsVsnVtxH_ = nullptr;
538 
539  nValidHitsPixVsEtaH_ = nullptr;
540  nValidHitsPixBVsEtaH_ = nullptr;
541  nValidHitsPixEVsEtaH_ = nullptr;
542  nValidHitsStripVsEtaH_ = nullptr;
543  nValidHitsTIBVsEtaH_ = nullptr;
544  nValidHitsTOBVsEtaH_ = nullptr;
545  nValidHitsTECVsEtaH_ = nullptr;
546  nValidHitsTIDVsEtaH_ = nullptr;
547 
548  nValidHitsPixVsPhiH_ = nullptr;
549  nValidHitsPixBVsPhiH_ = nullptr;
550  nValidHitsPixEVsPhiH_ = nullptr;
551  nValidHitsStripVsPhiH_ = nullptr;
552  nValidHitsTIBVsPhiH_ = nullptr;
553  nValidHitsTOBVsPhiH_ = nullptr;
554  nValidHitsTECVsPhiH_ = nullptr;
555  nValidHitsTIDVsPhiH_ = nullptr;
556 
557  nLostHitsPixVsEtaH_ = nullptr;
558  nLostHitsPixBVsEtaH_ = nullptr;
559  nLostHitsPixEVsEtaH_ = nullptr;
560  nLostHitsStripVsEtaH_ = nullptr;
561  nLostHitsTIBVsEtaH_ = nullptr;
562  nLostHitsTOBVsEtaH_ = nullptr;
563  nLostHitsTECVsEtaH_ = nullptr;
564  nLostHitsTIDVsEtaH_ = nullptr;
565 
566  nLostHitsPixVsPhiH_ = nullptr;
567  nLostHitsPixBVsPhiH_ = nullptr;
568  nLostHitsPixEVsPhiH_ = nullptr;
569  nLostHitsStripVsPhiH_ = nullptr;
570  nLostHitsTIBVsPhiH_ = nullptr;
571  nLostHitsTOBVsPhiH_ = nullptr;
572  nLostHitsTECVsPhiH_ = nullptr;
573  nLostHitsTIDVsPhiH_ = nullptr;
574 
575  nLostHitsPixVsIterationH_ = nullptr;
576  nLostHitsPixBVsIterationH_ = nullptr;
577  nLostHitsPixEVsIterationH_ = nullptr;
578  nLostHitsStripVsIterationH_ = nullptr;
579  nLostHitsTIBVsIterationH_ = nullptr;
580  nLostHitsTOBVsIterationH_ = nullptr;
581  nLostHitsTECVsIterationH_ = nullptr;
582  nLostHitsTIDVsIterationH_ = nullptr;
583 
584  hOnTrkClusChargeThinH_ = nullptr;
585  hOnTrkClusWidthThinH_ = nullptr;
586  hOnTrkClusChargeThickH_ = nullptr;
587  hOnTrkClusWidthThickH_ = nullptr;
588 
589  hOffTrkClusChargeThinH_ = nullptr;
590  hOffTrkClusWidthThinH_ = nullptr;
591  hOffTrkClusChargeThickH_ = nullptr;
592  hOffTrkClusWidthThickH_ = nullptr;
593 
594  cosPhi3DdileptonH_ = nullptr;
595  ip3dToPV2validpixelhitsH_ = nullptr;
596  ip3dToBS2validpixelhitsH_ = nullptr;
599  sip3dToPV2validpixelhitsH_ = nullptr;
600  sip3dToBS2validpixelhitsH_ = nullptr;
601 
602  // Read pileup weight factors
603 
605  throw std::runtime_error("if isMC is true, only one of doPUCorrection and doTrackCorrection can be true");
606  }
607 
608  if (isMC_ && doPUCorrection_) {
609  vpu_.clear();
610  TFile* f1 = TFile::Open(puScaleFactorFile_.c_str());
611  TH1F* h1 = dynamic_cast<TH1F*>(f1->Get("pileupweight"));
612  for (int i = 1; i <= h1->GetNbinsX(); ++i)
613  vpu_.push_back(h1->GetBinContent(i));
614  f1->Close();
615  }
616 
617  if (isMC_ && doTrackCorrection_) {
618  vtrack_.clear();
619  TFile* f1 = TFile::Open(trackScaleFactorFile_.c_str());
620  TH1F* h1 = dynamic_cast<TH1F*>(f1->Get("trackweight"));
621  for (int i = 1; i <= h1->GetNbinsX(); ++i)
622  vtrack_.push_back(h1->GetBinContent(i));
623  f1->Close();
624  }
625 }
MonitorElement * nValidHitsPixEVsPhiH_
MonitorElement * pixelLayerwithMeasurementH_
MonitorElement * nLostHitsPixBVsIterationH_
MonitorElement * hOnTrkClusChargeThickH_
const edm::InputTag trackTag_
MonitorElement * nValidHitsPixBVsPhiH_
MonitorElement * nLostHitsPixEVsIterationH_
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
MonitorElement * hOnTrkClusChargeThinH_
const edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clusterToken_
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
MonitorElement * hOffTrkClusWidthThickH_
const edm::EDGetTokenT< reco::TrackCollection > trackToken_
MonitorElement * nLostHitsTIBVsIterationH_
const edm::EDGetTokenT< std::vector< PileupSummaryInfo > > puSummaryToken_
MonitorElement * stripLayerwithMeasurementH_
MonitorElement * sip3dToBS2validpixelhitsH_
MonitorElement * nValidHitsTOBVsPhiH_
MonitorElement * hOnTrkClusWidthThinH_
MonitorElement * iperr3dToBS2validpixelhitsH_
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > transTrackToken_
MonitorElement * hOffTrkClusWidthThinH_
const std::string puScaleFactorFile_
MonitorElement * hOffTrkClusChargeThinH_
SiStripClusterInfo siStripClusterInfo_
MonitorElement * nLostHitsTECVsIterationH_
const edm::InputTag mvaTrackTag_
const edm::InputTag jetsTag_
MonitorElement * nLostHitsTOBVsIterationH_
const edm::InputTag vertexTag_
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * nLostHitsTIDVsEtaH_
const edm::ParameterSet TrackPtHistoPar_
MonitorElement * nLostHitsPixEVsEtaH_
MonitorElement * nLostHitsTIBVsEtaH_
MonitorElement * nLostHitsTIDVsIterationH_
MonitorElement * nValidHitsPixVsEtaH_
MonitorElement * hOnTrkClusWidthThickH_
MonitorElement * nValidHitsTIDVsEtaH_
MonitorElement * nValidHitsStripVsPhiH_
MonitorElement * nValidHitsTECVsEtaH_
const edm::InputTag puSummaryTag_
MonitorElement * nValidHitsPixVsPhiH_
const edm::ParameterSet TrackPhiHistoPar_
MonitorElement * nValidHitsVsCosThetaH_
MonitorElement * nLostHitsTOBVsEtaH_
MonitorElement * ip3dToPV2validpixelhitsH_
MonitorElement * nLostHitsTIDVsPhiH_
MonitorElement * nLostHitsVsCosThetaH_
MonitorElement * nValidHitsTIBVsEtaH_
MonitorElement * hOffTrkClusChargeThickH_
const edm::InputTag tcProducer_
const edm::InputTag clusterTag_
MonitorElement * nvalidTrackerHitsH_
MonitorElement * nValidHitsPixBVsEtaH_
MonitorElement * nLostHitsTECVsEtaH_
MonitorElement * nLostHitsStripVsEtaH_
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
const edm::EDGetTokenT< edm::View< reco::Track > > mvaTrackToken_
MonitorElement * trkLayerwithMeasurementH_
std::vector< float > vtrack_
MonitorElement * iperr3dToPV2validpixelhitsH_
const edm::ParameterSet TrackEtaHistoPar_
const edm::EDGetTokenT< reco::VertexCollection > vertexToken_
MonitorElement * nLostHitsPixVsPhiH_
MonitorElement * sip3dToPV2validpixelhitsH_
MonitorElement * nLostHitsVsIterationH_
MonitorElement * nValidHitsStripVsEtaH_
const edm::EDGetTokenT< std::vector< reco::PFJet > > jetsToken_
MonitorElement * nValidHitsTOBVsEtaH_
MonitorElement * nLostHitsTIBVsPhiH_
MonitorElement * nLostHitsPixBVsEtaH_
MonitorElement * nLostHitsStripVsIterationH_
MonitorElement * ip3dToBS2validpixelhitsH_
MonitorElement * nLostHitsTOBVsPhiH_
MonitorElement * nLostHitsTECVsPhiH_
std::vector< std::tuple< edm::EDGetTokenT< MVACollection >, edm::EDGetTokenT< QualityMaskCollection > > > mvaQualityTokens_
MonitorElement * nLostHitsPixBVsPhiH_
MonitorElement * nValidHitsTIBVsPhiH_
const std::string trackScaleFactorFile_
MonitorElement * nLostHitsPixVsIterationH_
MonitorElement * nValidHitsPixEVsEtaH_
MonitorElement * nLostHitsPixVsEtaH_
MonitorElement * nLostHitsPixEVsPhiH_
MonitorElement * nValidHitsTIDVsPhiH_
MonitorElement * nValidHitsTECVsPhiH_
MonitorElement * nLostHitsStripVsPhiH_
const std::vector< std::string > mvaProducers_

Member Function Documentation

◆ addClusterToMap()

void StandaloneTrackMonitor::addClusterToMap ( uint32_t  detid,
const SiStripCluster cluster 
)
protected

Definition at line 1972 of file StandaloneTrackMonitor.cc.

References clusterMap_, ALCARECOPPSCalTrackBasedSel_cff::detid, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and alignCSCRings::s.

Referenced by processHit().

1972  {
1973  std::map<uint32_t, std::set<const SiStripCluster*> >::iterator it = clusterMap_.find(detid);
1974  if (it == clusterMap_.end()) {
1975  std::set<const SiStripCluster*> s;
1976  s.insert(cluster);
1977  clusterMap_.insert(std::pair<uint32_t, std::set<const SiStripCluster*> >(detid, s));
1978  } else {
1979  std::set<const SiStripCluster*>& s = it->second;
1980  s.insert(cluster);
1981  }
1982 }
std::map< uint32_t, std::set< const SiStripCluster * > > clusterMap_

◆ analyze()

void StandaloneTrackMonitor::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 1305 of file StandaloneTrackMonitor.cc.

References funct::abs(), isoTrack_cff::beamSpot, beamSpotXYposerrH_, beamSpotXYposH_, beamSpotZposerrH_, beamSpotZposH_, bsTag_, bsToken_, TransientTrackBuilder::build(), bunchCrossingH_, nano_mu_digi_cff::bx, ALCARECOTkAlJpsiMuMu_cff::charge, isoTrack_cff::chi2, funct::cos(), cosPhi3DdileptonH_, reco::deltaR(), l1tTrackerHTMiss_cfi::deltaZ, DeadROC_duringRun::dir, DistanceOfClosestApproachToPVH_, DistanceOfClosestApproachToPVVsPhiH_, DistanceOfClosestApproachToPVZoomedH_, doPUCorrection_, doTrackCorrection_, PVValHelper::dxy, run3scouting_cff::dxyError, PVValHelper::dz, run3scouting_cff::dzError, PVValHelper::eta, muonME0PseudoDigis_cfi::etaError, dqm::impl::MonitorElement::Fill(), findClosestVertex(), edm::EventSetup::get(), edm::EventSetup::getData(), reco::HitPattern::getHitPattern(), reco::HitPattern::getLayer(), dqm::impl::MonitorElement::getNbinsX(), haveAllHistograms_, mps_fire::i, iEvent, createfilelist::int, ip2dToBSH_, ip2dToPVH_, electrons_cff::ip3d, ip3dToBS2validpixelhitsH_, ip3dToBSH_, ip3dToPV2validpixelhitsH_, ip3dToPVH_, iperr2dToBSH_, iperr2dToPVH_, iperr2dToPVWtH_, iperr3dToBS2validpixelhitsH_, iperr3dToBSH_, iperr3dToPV2validpixelhitsH_, iperr3dToPVH_, iperr3dToPVWtH_, isRECO_, edm::HandleBase::isValid(), reco::Vertex::isValid(), TransientVertex::isValid(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, metsig::jet, Jet_chargedMultiplicity_, Jet_energy_, Jet_eta_, Jet_pt_, jetsToken_, nano_mu_digi_cff::layer, WZElectronSkims53X_cff::max, reco::HitPattern::MISSING_INNER_HITS, reco::HitPattern::MISSING_OUTER_HITS, reco::HitPattern::missingHitFilter(), nallHitsH_, PixelVertexMonitor_cff::ndof, nevt, nJet_, nLostHitByLayerH_, nLostHitByLayerPixH_, nLostHitByLayerStripH_, nlostHitsH_, nLostHitsPixBVsEtaH_, nLostHitsPixBVsIterationH_, nLostHitsPixBVsPhiH_, nLostHitsPixEVsEtaH_, nLostHitsPixEVsIterationH_, nLostHitsPixEVsPhiH_, nLostHitsPixVsEtaH_, nLostHitsPixVsIterationH_, nLostHitsPixVsPhiH_, nLostHitsStripVsEtaH_, nLostHitsStripVsIterationH_, nLostHitsStripVsPhiH_, nLostHitsTECVsEtaH_, nLostHitsTECVsIterationH_, nLostHitsTECVsPhiH_, nLostHitsTIBVsEtaH_, nLostHitsTIBVsIterationH_, nLostHitsTIBVsPhiH_, nLostHitsTIDVsEtaH_, nLostHitsTIDVsIterationH_, nLostHitsTIDVsPhiH_, nLostHitsTOBVsEtaH_, nLostHitsTOBVsIterationH_, nLostHitsTOBVsPhiH_, nLostHitsVsCosThetaH_, nLostHitsVsEtaH_, nLostHitsVsIterationH_, nLostHitsVsPhiH_, nLostHitsVspTH_, nlostPixelBHitsH_, nlostPixelEHitsH_, nlostPixelHitsH_, nlostStripHitsH_, nlostTECHitsH_, nlostTIBHitsH_, nlostTIDHitsH_, nlostTOBHitsH_, nlostTrackerHitsH_, nMissingExpectedInnerHitsH_, nMissingExpectedOuterHitsH_, nMissingInnerHitBH_, nMissingInnerHitEH_, nMissingOuterHitBH_, nMissingOuterHitEH_, nPixBarrelH_, nPixEndcapH_, nPUH_, nStripTECH_, nStripTIBH_, nStripTIDH_, nStripTOBH_, ntrack, ntrackerHitsH_, vertices_cff::ntracks, nTracksH_, reco::HitPattern::numberOfAllHits(), reco::HitPattern::numberOfAllTrackerHits(), reco::HitPattern::numberOfLostHits(), reco::HitPattern::numberOfLostPixelBarrelHits(), reco::HitPattern::numberOfLostPixelEndcapHits(), reco::HitPattern::numberOfLostPixelHits(), reco::HitPattern::numberOfLostStripHits(), reco::HitPattern::numberOfLostStripTECHits(), reco::HitPattern::numberOfLostStripTIBHits(), reco::HitPattern::numberOfLostStripTIDHits(), reco::HitPattern::numberOfLostStripTOBHits(), reco::HitPattern::numberOfLostTrackerHits(), reco::HitPattern::numberOfValidPixelBarrelHits(), reco::HitPattern::numberOfValidPixelEndcapHits(), reco::HitPattern::numberOfValidPixelHits(), reco::HitPattern::numberOfValidStripHits(), reco::HitPattern::numberOfValidStripTECHits(), reco::HitPattern::numberOfValidStripTIBHits(), reco::HitPattern::numberOfValidStripTIDHits(), reco::HitPattern::numberOfValidStripTOBHits(), reco::HitPattern::numberOfValidTrackerHits(), nValidHitsPixBVsEtaH_, nValidHitsPixBVsPhiH_, nValidHitsPixEVsEtaH_, nValidHitsPixEVsPhiH_, nValidHitsPixVsEtaH_, nValidHitsPixVsPhiH_, nValidHitsStripVsEtaH_, nValidHitsStripVsPhiH_, nValidHitsTECVsEtaH_, nValidHitsTECVsPhiH_, nValidHitsTIBVsEtaH_, nValidHitsTIBVsPhiH_, nValidHitsTIDVsEtaH_, nValidHitsTIDVsPhiH_, nValidHitsTOBVsEtaH_, nValidHitsTOBVsPhiH_, nValidHitsVsCosThetaH_, nValidHitsVsEtaH_, nValidHitsVsnVtxH_, nValidHitsVsPhiH_, nValidHitsVspTH_, nvalidPixelBHitsH_, nvalidPixelEHitsH_, run3scouting_cff::nValidPixelHits, nvalidPixelHitsH_, run3scouting_cff::nValidStripHits, nvalidStripHitsH_, nvalidTECHitsH_, nvalidTIBHitsH_, nvalidTIDHitsH_, nvalidTOBHitsH_, nvalidTrackerHitsH_, L1TEGammaOffline_cfi::nVertex, nVertexH_, nVtxH_, AlCaHLTBitMon_ParallelJobs::p, phi, run3scouting_cff::phiError, PixelSubdetector::PixelBarrel, reco::HitPattern::pixelBarrelHitFilter(), reco::HitPattern::pixelBarrelLayersWithMeasurement(), pixelBLayerwithMeasurementH_, pixelELayerwithMeasurementH_, PixelSubdetector::PixelEndcap, reco::HitPattern::pixelEndcapHitFilter(), reco::HitPattern::pixelEndcapLayersWithMeasurement(), reco::HitPattern::pixelLayersWithMeasurement(), pixelLayerwithMeasurementH_, reco::Vertex::position(), TransientVertex::position(), processClusters(), processHit(), edm::Handle< T >::product(), DiDispStaMuonMonitor_cfi::pt, puSummaryTag_, puSummaryToken_, run3scouting_cff::qoverp, run3scouting_cff::qoverpError, quality, reco::TrackBase::qualityByName(), IPTools::signedImpactParameter3D(), IPTools::signedTransverseImpactParameter(), sip2dToBSH_, sip2dToPVH_, sip2dToPVWtH_, sip3dToBS2validpixelhitsH_, sip3dToBSH_, sip3dToPV2validpixelhitsH_, sip3dToPVH_, sipDxyToPVH_, sipDzToPVH_, mathSSE::sqrt(), isotrackNtupler::stop, reco::HitPattern::stripLayersWithMeasurement(), stripLayerwithMeasurementH_, reco::HitPattern::stripTECHitFilter(), reco::HitPattern::stripTECLayersWithMeasurement(), stripTECLayerwithMeasurementH_, reco::HitPattern::stripTIBHitFilter(), reco::HitPattern::stripTIBLayersWithMeasurement(), stripTIBLayerwithMeasurementH_, reco::HitPattern::stripTIDHitFilter(), reco::HitPattern::stripTIDLayersWithMeasurement(), stripTIDLayerwithMeasurementH_, reco::HitPattern::stripTOBHitFilter(), reco::HitPattern::stripTOBLayersWithMeasurement(), stripTOBLayerwithMeasurementH_, StripSubdetector::TEC, tauSpinnerTable_cfi::theta, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, HLT_2024v14_cff::track, reco::HitPattern::TRACK_HITS, trackalgoH_, trackChargeH_, trackChi2bynDOFH_, trackChi2H_, trackChi2oNDFH_, trackChi2oNDFVsEtaH_, trackChi2oNDFVsPhiH_, trackChi2ProbH_, trackChi2probVsEtaH_, trackChi2probVsPhiH_, trackCosThetaH_, trackd0H_, trackDeltaRwrtClosestTrack_, DetId::Tracker, reco::HitPattern::trackerLayersWithMeasurement(), trackEtaerrH_, trackEtaH_, trackIperr3dVsChi2prob2DH_, trackIperr3dVsEta2DH_, trackIperr3dVsEtaH_, tracknDOFH_, trackorigalgoH_, trackPH_, trackPhierrH_, trackPhiH_, trackPt_ZoomH_, trackPterrH_, trackPtH_, trackqOverperrH_, trackqOverpH_, trackQuality_, DiMuonV_cfg::tracks, trackSip2dVsChi2prob2DH_, trackSip2dVsEta2DH_, trackSip2dVsEtaH_, trackStoppingSourceH_, trackTag_, trackThetaerrH_, trackToken_, transTrackToken_, trkLayerwithMeasurementH_, trueNIntH_, findQualityFiles::v, verbose_, KalmanVertexFitter::vertex(), vertexTag_, vertexToken_, vertexXposH_, vertexYposH_, vertexZposH_, AlignmentTracksFromVertexSelector_cfi::vertices, vpu_, vtrack_, btvMC_cff::vx, btvMC_cff::vy, btvMC_cff::vz, PV3DBase< T, PVType, FrameType >::x(), xPointOfClosestApproachVsZ0wrtPVH_, yPointOfClosestApproachVsZ0wrtPVH_, ZInvMass_, and Zpt_.

1305  {
1306  if (verbose_)
1307  edm::LogInfo("StandaloneTrackMonitor") << "Begin StandaloneTrackMonitor" << std::endl;
1308 
1309  nevt++;
1310 
1311  // Get event setup (to get global transformation)
1312  const TrackerGeometry& tkGeom = (*tkGeom_);
1313 
1314  // Primary vertex collection
1316  iEvent.getByToken(vertexToken_, vertexColl);
1317  if (!vertexColl.isValid()) {
1318  edm::LogError("StandaloneTrackMonitor") << "Error! Failed to get reco::Vertex Collection, " << vertexTag_;
1319  return;
1320  }
1321  if (vertexColl->empty()) {
1322  edm::LogError("StandalonaTrackMonitor") << "No good vertex in the event!!" << std::endl;
1323  return;
1324  }
1325  const reco::Vertex& pv = (*vertexColl)[0];
1326 
1327  // Beam spot
1329  iEvent.getByToken(bsToken_, beamSpot);
1330  if (!beamSpot.isValid()) {
1331  edm::LogError("StandalonaTrackMonitor") << "Beamspot for input tag: " << bsTag_ << " not found!!";
1332  return;
1333  }
1334 
1335  // Track collection
1337  iEvent.getByToken(trackToken_, tracks);
1338  if (!tracks.isValid()) {
1339  edm::LogError("StandalonaTrackMonitor") << "TrackCollection for input tag: " << trackTag_ << " not found!!";
1340  return;
1341  }
1342 
1343  // Access PU information
1344  double wfac = 1.0; // for data
1345  if (!iEvent.isRealData()) {
1347  iEvent.getByToken(puSummaryToken_, PupInfo);
1348 
1349  if (verbose_)
1350  edm::LogInfo("StandaloneTrackMonitor") << "nPUColl = " << PupInfo->size();
1351  if (PupInfo.isValid()) {
1352  for (auto const& v : *PupInfo) {
1353  int bx = v.getBunchCrossing();
1354  if (bunchCrossingH_)
1356  if (bx == 0) {
1357  if (nPUH_)
1358  nPUH_->Fill(v.getPU_NumInteractions());
1359  int ntrueInt = v.getTrueNumInteractions();
1360  int nVertex = (vertexColl.isValid() ? vertexColl->size() : 0);
1361  if (trueNIntH_)
1362  trueNIntH_->Fill(ntrueInt);
1363  if (doPUCorrection_) {
1364  if (nVertex > -1 && nVertex < int(vpu_.size()))
1365  wfac = vpu_.at(nVertex);
1366  else
1367  wfac = 0.0;
1368  }
1369  }
1370  }
1371  } else
1372  edm::LogError("StandalonaTrackMonitor") << "PUSummary for input tag: " << puSummaryTag_ << " not found!!";
1373  if (doTrackCorrection_) {
1374  int ntrack = 0;
1375  for (auto const& track : *tracks) {
1377  continue;
1378  ++ntrack;
1379  }
1380  if (ntrack > -1 && ntrack < int(vtrack_.size()))
1381  wfac = vtrack_.at(ntrack);
1382  else
1383  wfac = 0.0;
1384  }
1385  }
1386  if (verbose_)
1387  edm::LogInfo("StandaloneTrackMonitor") << "PU reweight factor = " << wfac;
1388 
1389  if (haveAllHistograms_) {
1390  int nvtx = (vertexColl.isValid() ? vertexColl->size() : 0);
1391  nVertexH_->Fill(nvtx, wfac);
1392  nVtxH_->Fill(nvtx);
1393  }
1394 
1395  // Get MVA and quality mask collections
1396  int ntracks = 0;
1397  std::vector<TLorentzVector> list;
1398 
1399  const TransientTrackBuilder* theB = &iSetup.getData(transTrackToken_);
1400  TransientVertex mumuTransientVtx;
1401  std::vector<reco::TransientTrack> tks;
1402 
1403  if (tracks.isValid()) {
1404  if (verbose_)
1405  edm::LogInfo("StandaloneTrackMonitor") << "Total # of Tracks: " << tracks->size();
1407 
1408  for (auto const& track : *tracks) {
1409  if (!track.quality(quality))
1410  continue;
1411  ++ntracks;
1412 
1413  reco::TransientTrack trajectory = theB->build(track);
1414  tks.push_back(trajectory);
1415 
1416  double eta = track.eta();
1417  double theta = track.theta();
1418  double phi = track.phi();
1419  double pt = track.pt();
1420 
1421  const reco::HitPattern& hitp = track.hitPattern();
1422  double nAllHits = hitp.numberOfAllHits(reco::HitPattern::TRACK_HITS);
1423  double nAllTrackerHits = hitp.numberOfAllTrackerHits(reco::HitPattern::TRACK_HITS);
1424 
1425  double trackdeltaR = std::numeric_limits<double>::max();
1426  double muonmass = 0.1056583745;
1427  TLorentzVector trackpmu;
1428  trackpmu.SetPtEtaPhiM(track.pt(), track.eta(), track.phi(), muonmass);
1429  for (auto const& TRACK : *tracks) {
1430  if (&track == &TRACK)
1431  continue;
1432  double tmpdr = reco::deltaR(track.eta(), track.phi(), TRACK.eta(), TRACK.phi());
1433  if (tmpdr < trackdeltaR)
1434  trackdeltaR = tmpdr;
1435  }
1436 
1437  list.push_back(trackpmu);
1438 
1439  double nValidTrackerHits = hitp.numberOfValidTrackerHits();
1440  double nValidPixelHits = hitp.numberOfValidPixelHits();
1441  double nValidPixelBHits = hitp.numberOfValidPixelBarrelHits();
1442  double nValidPixelEHits = hitp.numberOfValidPixelEndcapHits();
1443  double nValidStripHits = hitp.numberOfValidStripHits();
1444  double nValidTIBHits = hitp.numberOfValidStripTIBHits();
1445  double nValidTOBHits = hitp.numberOfValidStripTOBHits();
1446  double nValidTIDHits = hitp.numberOfValidStripTIDHits();
1447  double nValidTECHits = hitp.numberOfValidStripTECHits();
1448 
1449  int missingInnerHit = hitp.numberOfAllHits(reco::HitPattern::MISSING_INNER_HITS);
1450  int missingOuterHit = hitp.numberOfAllHits(reco::HitPattern::MISSING_OUTER_HITS);
1451 
1452  nValidHitsVspTH_->Fill(pt, nValidTrackerHits);
1453  nValidHitsVsEtaH_->Fill(eta, nValidTrackerHits);
1454  nValidHitsVsCosThetaH_->Fill(std::cos(theta), nValidTrackerHits);
1455  nValidHitsVsPhiH_->Fill(phi, nValidTrackerHits);
1456  nValidHitsVsnVtxH_->Fill(vertexColl->size(), nValidTrackerHits);
1457 
1459  nValidHitsPixBVsEtaH_->Fill(eta, nValidPixelBHits);
1460  nValidHitsPixEVsEtaH_->Fill(eta, nValidPixelEHits);
1462  nValidHitsTIBVsEtaH_->Fill(eta, nValidTIBHits);
1463  nValidHitsTOBVsEtaH_->Fill(eta, nValidTOBHits);
1464  nValidHitsTECVsEtaH_->Fill(eta, nValidTECHits);
1465  nValidHitsTIDVsEtaH_->Fill(eta, nValidTIDHits);
1466 
1468  nValidHitsPixBVsPhiH_->Fill(phi, nValidPixelBHits);
1469  nValidHitsPixEVsPhiH_->Fill(phi, nValidPixelEHits);
1471  nValidHitsTIBVsPhiH_->Fill(phi, nValidTIBHits);
1472  nValidHitsTOBVsPhiH_->Fill(phi, nValidTOBHits);
1473  nValidHitsTECVsPhiH_->Fill(phi, nValidTECHits);
1474  nValidHitsTIDVsPhiH_->Fill(phi, nValidTIDHits);
1475 
1476  int nLostHits = track.numberOfLostHits();
1477  int nMissingExpectedInnerHits = hitp.numberOfLostHits(reco::HitPattern::MISSING_INNER_HITS);
1478  int nMissingExpectedOuterHits = hitp.numberOfLostHits(reco::HitPattern::MISSING_OUTER_HITS);
1479  int nLostTrackerHits = hitp.numberOfLostTrackerHits(reco::HitPattern::TRACK_HITS);
1480  int nLostPixHits = hitp.numberOfLostPixelHits(reco::HitPattern::TRACK_HITS);
1483  int nLostStripHits = hitp.numberOfLostStripHits(reco::HitPattern::TRACK_HITS);
1484  int nLostStripTIBHits = hitp.numberOfLostStripTIBHits(reco::HitPattern::TRACK_HITS);
1485  int nLostStripTIDHits = hitp.numberOfLostStripTIDHits(reco::HitPattern::TRACK_HITS);
1486  int nLostStripTOBHits = hitp.numberOfLostStripTOBHits(reco::HitPattern::TRACK_HITS);
1487  int nLostStripTECHits = hitp.numberOfLostStripTECHits(reco::HitPattern::TRACK_HITS);
1488  int nIteration = track.originalAlgo();
1489 
1490  nLostHitsVspTH_->Fill(pt, nLostTrackerHits);
1491  nLostHitsVsEtaH_->Fill(eta, nLostTrackerHits);
1492  nLostHitsVsCosThetaH_->Fill(std::cos(theta), nLostTrackerHits);
1493  nLostHitsVsPhiH_->Fill(phi, nLostTrackerHits);
1494  nLostHitsVsIterationH_->Fill(nIteration, nLostTrackerHits);
1495 
1496  nLostHitsPixVsEtaH_->Fill(eta, nLostPixHits);
1497  nLostHitsPixBVsEtaH_->Fill(eta, nLostPixBHits);
1498  nLostHitsPixEVsEtaH_->Fill(eta, nLostPixEHits);
1499  nLostHitsStripVsEtaH_->Fill(eta, nLostStripHits);
1500  nLostHitsTIBVsEtaH_->Fill(eta, nLostStripTIBHits);
1501  nLostHitsTOBVsEtaH_->Fill(eta, nLostStripTOBHits);
1502  nLostHitsTECVsEtaH_->Fill(eta, nLostStripTECHits);
1503  nLostHitsTIDVsEtaH_->Fill(eta, nLostStripTIDHits);
1504 
1505  nLostHitsPixVsPhiH_->Fill(phi, nLostPixHits);
1506  nLostHitsPixBVsPhiH_->Fill(phi, nLostPixBHits);
1507  nLostHitsPixEVsPhiH_->Fill(phi, nLostPixEHits);
1508  nLostHitsStripVsPhiH_->Fill(phi, nLostStripHits);
1509  nLostHitsTIBVsPhiH_->Fill(phi, nLostStripTIBHits);
1510  nLostHitsTOBVsPhiH_->Fill(phi, nLostStripTOBHits);
1511  nLostHitsTECVsPhiH_->Fill(phi, nLostStripTECHits);
1512  nLostHitsTIDVsPhiH_->Fill(phi, nLostStripTIDHits);
1513 
1514  nLostHitsPixVsIterationH_->Fill(nIteration, nLostPixHits);
1515  nLostHitsPixBVsIterationH_->Fill(nIteration, nLostPixBHits);
1516  nLostHitsPixEVsIterationH_->Fill(nIteration, nLostPixEHits);
1517  nLostHitsStripVsIterationH_->Fill(nIteration, nLostStripHits);
1518  nLostHitsTIBVsIterationH_->Fill(nIteration, nLostStripTIBHits);
1519  nLostHitsTOBVsIterationH_->Fill(nIteration, nLostStripTOBHits);
1520  nLostHitsTECVsIterationH_->Fill(nIteration, nLostStripTECHits);
1521  nLostHitsTIDVsIterationH_->Fill(nIteration, nLostStripTIDHits);
1522 
1523  if (abs(eta) <= 1.4) {
1524  nMissingInnerHitBH_->Fill(missingInnerHit, wfac);
1525  nMissingOuterHitBH_->Fill(missingOuterHit, wfac);
1526  } else {
1527  nMissingInnerHitEH_->Fill(missingInnerHit, wfac);
1528  nMissingOuterHitEH_->Fill(missingOuterHit, wfac);
1529  }
1530 
1531  for (int i = 0; i < hitp.numberOfAllHits(reco::HitPattern::TRACK_HITS); i++) {
1532  uint32_t hit = hitp.getHitPattern(reco::HitPattern::TRACK_HITS, i);
1533  if (hitp.missingHitFilter(hit)) {
1534  double losthitBylayer = -1.0;
1535  double losthitBylayerPix = -1.0;
1536  double losthitBylayerStrip = -1.0;
1537  int layer = hitp.getLayer(hit);
1538  if (hitp.pixelBarrelHitFilter(hit)) {
1539  losthitBylayer = layer;
1540  losthitBylayerPix = layer;
1541  } else if (hitp.pixelEndcapHitFilter(hit)) {
1542  losthitBylayer = layer + 4;
1543  losthitBylayerPix = layer + 4;
1544  } else if (hitp.stripTIBHitFilter(hit)) {
1545  losthitBylayer = layer + 7;
1546  losthitBylayerStrip = layer;
1547  } else if (hitp.stripTIDHitFilter(hit)) {
1548  losthitBylayer = layer + 11;
1549  losthitBylayerStrip = layer + 4;
1550  } else if (hitp.stripTOBHitFilter(hit)) {
1551  losthitBylayer = layer + 14;
1552  losthitBylayerStrip = layer + 7;
1553  } else if (hitp.stripTECHitFilter(hit)) {
1554  losthitBylayer = layer + 20;
1555  losthitBylayerStrip = layer + 13;
1556  }
1557  if (losthitBylayer > -1)
1558  nLostHitByLayerH_->Fill(losthitBylayer, wfac);
1559  if (losthitBylayerPix > -1)
1560  nLostHitByLayerPixH_->Fill(losthitBylayerPix, wfac);
1561  if (losthitBylayerStrip > -1)
1562  nLostHitByLayerStripH_->Fill(losthitBylayerStrip, wfac);
1563  }
1564  }
1565 
1566  if (haveAllHistograms_) {
1567  double etaError = track.etaError();
1568  double thetaError = track.thetaError();
1569  double phiError = track.phiError();
1570  double p = track.p();
1571  double ptError = track.ptError();
1572  double qoverp = track.qoverp();
1573  double qoverpError = track.qoverpError();
1574  double charge = track.charge();
1575 
1576  double dxy = track.dxy(beamSpot->position());
1577  double dxyError = track.dxyError();
1578  double dz = track.dz(beamSpot->position());
1579  double dzError = track.dzError();
1580 
1581  double trkd0 = track.d0();
1582  double chi2 = track.chi2();
1583  double ndof = track.ndof();
1584  double chi2prob = TMath::Prob(track.chi2(), (int)track.ndof());
1585  double chi2oNDF = track.normalizedChi2();
1586  double vx = track.vx();
1587  double vy = track.vy();
1588  double vz = track.vz();
1590  unsigned int track_algo = track.algo();
1591  unsigned int track_origalgo = track.originalAlgo();
1592  // stopping source
1593  int ssmax = trackStoppingSourceH_->getNbinsX();
1594  double stop = track.stopReason() > ssmax ? double(ssmax - 1) : static_cast<double>(track.stopReason());
1595  double distanceOfClosestApproachToPV = track.dxy(pv.position());
1596  double xPointOfClosestApproachwrtPV = track.vx() - pv.position().x();
1597  double yPointOfClosestApproachwrtPV = track.vy() - pv.position().y();
1598  double positionZ0 = track.dz(pv.position());
1599 
1600  reco::TransientTrack transTrack = iSetup.get<TransientTrackRecord>().get(transTrackToken_).build(track);
1601 
1602  double ip3dToPV = 0, iperr3dToPV = 0, sip3dToPV = 0, sip2dToPV = 0;
1603  GlobalVector dir(track.px(), track.py(), track.pz());
1604  std::pair<bool, Measurement1D> ip3d = IPTools::signedImpactParameter3D(transTrack, dir, pv);
1605  std::pair<bool, Measurement1D> ip2d = IPTools::signedTransverseImpactParameter(transTrack, dir, pv);
1606  if (ip3d.first) {
1607  sip3dToPV = ip3d.second.value() / ip3d.second.error();
1608  ip3dToPV = ip3d.second.value();
1609  iperr3dToPV = ip3d.second.error();
1610  }
1611 
1612  double ip3dToBS = 0, iperr3dToBS = 0, sip3dToBS = 0, sip2dToBS = 0;
1613  reco::Vertex beamspotvertex((*beamSpot).position(), (*beamSpot).covariance3D());
1614  std::pair<bool, Measurement1D> ip3dbs = IPTools::signedImpactParameter3D(transTrack, dir, beamspotvertex);
1615  std::pair<bool, Measurement1D> ip2dbs =
1616  IPTools::signedTransverseImpactParameter(transTrack, dir, beamspotvertex);
1617  if (ip3dbs.first) {
1618  sip3dToBS = ip3dbs.second.value() / ip3dbs.second.error();
1619  ip3dToBS = ip3dbs.second.value();
1620  iperr3dToBS = ip3dbs.second.error();
1621  }
1622 
1623  double ip2dToPV = 0, iperr2dToPV = 0;
1624  if (ip2d.first) {
1625  ip2dToPV = ip2d.second.value();
1626  iperr2dToPV = ip2d.second.error();
1627  sip2dToPV = ip2d.second.value() / ip2d.second.error();
1628  }
1629 
1630  double ip2dToBS = 0, iperr2dToBS = 0;
1631  if (ip2dbs.first) {
1632  ip2dToBS = ip2dbs.second.value();
1633  iperr2dToBS = ip2dbs.second.error();
1634  sip2dToBS = ip2d.second.value() / ip2d.second.error();
1635  }
1636 
1637  if (ip2d.first)
1638  sip2dToPV = ip2d.second.value() / ip2d.second.error();
1639  double sipDxyToPV = track.dxy(pv.position()) / track.dxyError();
1640  double sipDzToPV = track.dz(pv.position()) / track.dzError();
1641 
1642  // Fill the histograms
1643  trackDeltaRwrtClosestTrack_->Fill(trackdeltaR, wfac);
1644  trackEtaH_->Fill(eta, wfac);
1645  trackEtaerrH_->Fill(etaError, wfac);
1647  trackThetaerrH_->Fill(thetaError, wfac);
1648  trackPhiH_->Fill(phi, wfac);
1649  trackPhierrH_->Fill(phiError, wfac);
1650  trackPH_->Fill(p, wfac);
1651  trackPtH_->Fill(pt, wfac);
1652  trackPt_ZoomH_->Fill(pt, wfac);
1653  trackPterrH_->Fill(ptError, wfac);
1654  trackqOverpH_->Fill(qoverp, wfac);
1656  trackChargeH_->Fill(charge, wfac);
1657  trackChi2H_->Fill(chi2, wfac);
1658  trackChi2ProbH_->Fill(chi2prob, wfac);
1659  trackChi2oNDFH_->Fill(chi2oNDF, wfac);
1660  trackd0H_->Fill(trkd0, wfac);
1661  tracknDOFH_->Fill(ndof, wfac);
1662  trackChi2bynDOFH_->Fill(chi2 / ndof, wfac);
1663  trackalgoH_->Fill(track_algo, wfac);
1664  trackorigalgoH_->Fill(track_origalgo, wfac);
1666  trackChi2oNDFVsEtaH_->Fill(eta, chi2oNDF);
1667  trackChi2oNDFVsPhiH_->Fill(phi, chi2oNDF);
1668  trackChi2probVsEtaH_->Fill(eta, chi2prob);
1669  trackChi2probVsPhiH_->Fill(phi, chi2prob);
1670 
1671  nlostHitsH_->Fill(nLostHits, wfac);
1672  nMissingExpectedInnerHitsH_->Fill(nMissingExpectedInnerHits, wfac);
1673  nMissingExpectedOuterHitsH_->Fill(nMissingExpectedOuterHits, wfac);
1674  nlostTrackerHitsH_->Fill(nLostTrackerHits, wfac);
1675 
1676  beamSpotXYposH_->Fill(dxy, wfac);
1678  beamSpotZposH_->Fill(dz, wfac);
1679  beamSpotZposerrH_->Fill(dzError, wfac);
1680 
1681  vertexXposH_->Fill(vx, wfac);
1682  vertexYposH_->Fill(vy, wfac);
1683  vertexZposH_->Fill(vz, wfac);
1684 
1685  int nPixBarrel = 0, nPixEndcap = 0, nStripTIB = 0, nStripTOB = 0, nStripTEC = 0, nStripTID = 0;
1686  if (isRECO_) {
1687  for (auto it = track.recHitsBegin(); it != track.recHitsEnd(); ++it) {
1688  const TrackingRecHit& hit = (**it);
1689  if (hit.isValid()) {
1690  if (hit.geographicalId().det() == DetId::Tracker) {
1691  int subdetId = hit.geographicalId().subdetId();
1692  if (subdetId == PixelSubdetector::PixelBarrel)
1693  ++nPixBarrel;
1694  else if (subdetId == PixelSubdetector::PixelEndcap)
1695  ++nPixEndcap;
1696  else if (subdetId == StripSubdetector::TIB)
1697  ++nStripTIB;
1698  else if (subdetId == StripSubdetector::TOB)
1699  ++nStripTOB;
1700  else if (subdetId == StripSubdetector::TEC)
1701  ++nStripTEC;
1702  else if (subdetId == StripSubdetector::TID)
1703  ++nStripTID;
1704 
1705  // Find on-track clusters
1706  processHit(hit, iSetup, tkGeom, wfac);
1707  }
1708  }
1709  }
1710  }
1711  if (verbose_)
1712  edm::LogInfo("StandaloneTrackMonitor")
1713  << " >>> HITs: nPixBarrel: " << nPixBarrel << " nPixEndcap: " << nPixEndcap << " nStripTIB: " << nStripTIB
1714  << " nStripTOB: " << nStripTOB << " nStripTEC: " << nStripTEC << " nStripTID: " << nStripTID;
1715  if (haveAllHistograms_) {
1716  nPixBarrelH_->Fill(nPixBarrel, wfac);
1717  nPixEndcapH_->Fill(nPixEndcap, wfac);
1718  nStripTIBH_->Fill(nStripTIB, wfac);
1719  nStripTOBH_->Fill(nStripTOB, wfac);
1720  nStripTECH_->Fill(nStripTEC, wfac);
1721  nStripTIDH_->Fill(nStripTID, wfac);
1722  }
1723 
1724  DistanceOfClosestApproachToPVH_->Fill(distanceOfClosestApproachToPV, wfac);
1725  DistanceOfClosestApproachToPVZoomedH_->Fill(distanceOfClosestApproachToPV, wfac);
1726  DistanceOfClosestApproachToPVVsPhiH_->Fill(phi, distanceOfClosestApproachToPV);
1727  xPointOfClosestApproachVsZ0wrtPVH_->Fill(positionZ0, xPointOfClosestApproachwrtPV);
1728  yPointOfClosestApproachVsZ0wrtPVH_->Fill(positionZ0, yPointOfClosestApproachwrtPV);
1729 
1730  ip3dToPVH_->Fill(ip3dToPV, wfac);
1731  iperr3dToPVH_->Fill(iperr3dToPV, wfac);
1732  ip3dToBSH_->Fill(ip3dToBS, wfac);
1733  iperr3dToBSH_->Fill(iperr3dToBS, wfac);
1734  ip2dToPVH_->Fill(ip2dToPV, wfac);
1735  iperr2dToPVH_->Fill(iperr2dToPV, wfac);
1736  iperr2dToPVWtH_->Fill(iperr2dToPV, wfac);
1737  ip2dToBSH_->Fill(ip2dToBS, wfac);
1738  iperr2dToBSH_->Fill(iperr2dToBS, wfac);
1739 
1740  iperr3dToPVWtH_->Fill(iperr3dToPV, wfac);
1741  sip3dToPVH_->Fill(sip3dToPV, wfac);
1742  sip2dToPVH_->Fill(sip2dToPV, wfac);
1743  sip3dToBSH_->Fill(sip3dToBS, wfac);
1744  sip2dToBSH_->Fill(sip2dToBS, wfac);
1745  sip2dToPVWtH_->Fill(sip2dToPV, wfac);
1746  sipDxyToPVH_->Fill(sipDxyToPV, wfac);
1747  sipDzToPVH_->Fill(sipDzToPV, wfac);
1748 
1749  if (nValidPixelHits >= 2) {
1750  ip3dToPV2validpixelhitsH_->Fill(ip3dToPV, wfac);
1751  iperr3dToPV2validpixelhitsH_->Fill(iperr3dToPV, wfac);
1752  ip3dToBS2validpixelhitsH_->Fill(ip3dToBS, wfac);
1753  iperr3dToBS2validpixelhitsH_->Fill(iperr3dToBS, wfac);
1754  sip3dToPV2validpixelhitsH_->Fill(sip3dToPV, wfac);
1755  sip3dToBS2validpixelhitsH_->Fill(sip3dToBS, wfac);
1756  }
1757 
1758  trackIperr3dVsEta2DH_->Fill(eta, iperr3dToPV, wfac);
1759  trackSip2dVsEta2DH_->Fill(eta, sip2dToPV, wfac);
1760  trackIperr3dVsChi2prob2DH_->Fill(chi2prob, iperr3dToPV, wfac);
1761  trackSip2dVsChi2prob2DH_->Fill(chi2prob, sip2dToPV, wfac);
1762 
1763  trackIperr3dVsEtaH_->Fill(eta, iperr3dToPV);
1764  trackSip2dVsEtaH_->Fill(eta, sip2dToPV);
1765 
1766  double trackerLayersWithMeasurement = hitp.trackerLayersWithMeasurement();
1767  double pixelLayersWithMeasurement = hitp.pixelLayersWithMeasurement();
1768  double pixelBLayersWithMeasurement = hitp.pixelBarrelLayersWithMeasurement();
1769  double pixelELayersWithMeasurement = hitp.pixelEndcapLayersWithMeasurement();
1770  double stripLayersWithMeasurement = hitp.stripLayersWithMeasurement();
1771  double stripTIBLayersWithMeasurement = hitp.stripTIBLayersWithMeasurement();
1772  double stripTOBLayersWithMeasurement = hitp.stripTOBLayersWithMeasurement();
1773  double stripTIDLayersWithMeasurement = hitp.stripTIDLayersWithMeasurement();
1774  double stripTECLayersWithMeasurement = hitp.stripTECLayersWithMeasurement();
1775 
1776  trkLayerwithMeasurementH_->Fill(trackerLayersWithMeasurement, wfac);
1777  pixelLayerwithMeasurementH_->Fill(pixelLayersWithMeasurement, wfac);
1778  pixelBLayerwithMeasurementH_->Fill(pixelBLayersWithMeasurement, wfac);
1779  pixelELayerwithMeasurementH_->Fill(pixelELayersWithMeasurement, wfac);
1780  stripLayerwithMeasurementH_->Fill(stripLayersWithMeasurement, wfac);
1781  stripTIBLayerwithMeasurementH_->Fill(stripTIBLayersWithMeasurement, wfac);
1782  stripTOBLayerwithMeasurementH_->Fill(stripTOBLayersWithMeasurement, wfac);
1783  stripTIDLayerwithMeasurementH_->Fill(stripTIDLayersWithMeasurement, wfac);
1784  stripTECLayerwithMeasurementH_->Fill(stripTECLayersWithMeasurement, wfac);
1785 
1786  nallHitsH_->Fill(nAllHits, wfac);
1787  ntrackerHitsH_->Fill(nAllTrackerHits, wfac);
1788  nvalidTrackerHitsH_->Fill(nValidTrackerHits, wfac);
1790  nvalidPixelBHitsH_->Fill(nValidPixelBHits, wfac);
1791  nvalidPixelEHitsH_->Fill(nValidPixelEHits, wfac);
1793  nvalidTIBHitsH_->Fill(nValidTIBHits, wfac);
1794  nvalidTOBHitsH_->Fill(nValidTOBHits, wfac);
1795  nvalidTIDHitsH_->Fill(nValidTIDHits, wfac);
1796  nvalidTECHitsH_->Fill(nValidTECHits, wfac);
1797 
1798  nlostTrackerHitsH_->Fill(nLostTrackerHits, wfac);
1799  nlostPixelHitsH_->Fill(nLostPixHits, wfac);
1800  nlostPixelBHitsH_->Fill(nLostPixBHits, wfac);
1801  nlostPixelEHitsH_->Fill(nLostPixEHits, wfac);
1802  nlostStripHitsH_->Fill(nLostStripHits, wfac);
1803  nlostTIBHitsH_->Fill(nLostStripTIBHits, wfac);
1804  nlostTOBHitsH_->Fill(nLostStripTOBHits, wfac);
1805  nlostTIDHitsH_->Fill(nLostStripTIDHits, wfac);
1806  nlostTECHitsH_->Fill(nLostStripTECHits, wfac);
1807  }
1808  }
1809  } else {
1810  edm::LogError("StandaloneTrackMonitor") << "Error! Failed to get reco::Track collection, " << trackTag_;
1811  }
1812 
1813  if (haveAllHistograms_) {
1814  nTracksH_->Fill(ntracks, wfac);
1816  iEvent.getByToken(jetsToken_, jetsColl);
1817  nJet_->Fill(jetsColl->size());
1818 
1819  for (auto const& jet : *jetsColl) {
1820  Jet_pt_->Fill(jet.pt(), wfac);
1821  Jet_eta_->Fill(jet.eta(), wfac);
1822  Jet_energy_->Fill(jet.energy(), wfac);
1823  Jet_chargedMultiplicity_->Fill(jet.chargedHadronMultiplicity(), wfac);
1824  }
1825  if (list.size() >= 2) {
1826  TLorentzVector Zp = list[0] + list[1];
1827  Zpt_->Fill(Zp.Pt(), wfac);
1828  ZInvMass_->Fill(Zp.Mag(), wfac);
1829  KalmanVertexFitter kalman(true);
1830  mumuTransientVtx = kalman.vertex(tks);
1831  if (mumuTransientVtx.isValid()) {
1832  const reco::Vertex* theClosestVertex;
1833  edm::Handle<reco::VertexCollection> vertexHandle = iEvent.getHandle(vertexToken_);
1834  if (vertexHandle.isValid()) {
1835  const reco::VertexCollection* vertices = vertexHandle.product();
1836  theClosestVertex = this->findClosestVertex(mumuTransientVtx, vertices);
1837  reco::Vertex theMainVtx;
1838  if (theClosestVertex == nullptr) {
1839  theMainVtx = vertexHandle.product()->front();
1840  } else {
1841  theMainVtx = *theClosestVertex;
1842  }
1843  if (theMainVtx.isValid()) {
1844  const auto& mainVertexPos = theMainVtx.position();
1845  const auto& myVertexPos = mumuTransientVtx.position();
1846 
1847  const double deltaX = myVertexPos.x() - mainVertexPos.x();
1848  const double deltaY = myVertexPos.y() - mainVertexPos.y();
1849  const double deltaZ = myVertexPos.z() - mainVertexPos.z();
1850 
1851  const double deltaNorm = sqrt(deltaX * deltaX + deltaY * deltaY + deltaZ * deltaZ);
1852  const double zpNorm = sqrt(Zp.Px() * Zp.Px() + Zp.Py() * Zp.Py() + Zp.Pz() * Zp.Pz());
1853 
1854  const double cosPhi3D = (Zp.Px() * deltaX + Zp.Py() * deltaY + Zp.Pz() * deltaZ) / (zpNorm * deltaNorm);
1855  cosPhi3DdileptonH_->Fill(cosPhi3D, wfac);
1856  }
1857  }
1858  }
1859  }
1860  }
1861 
1862  // off track cluster properties (only on RECO data-tier)
1863  if (isRECO_) {
1864  processClusters(iEvent, iSetup, tkGeom, wfac);
1865  }
1866 
1867  if (verbose_)
1868  edm::LogInfo("StandaloneTrackMonitor") << "Ends StandaloneTrackMonitor successfully";
1869 }
MonitorElement * nValidHitsPixEVsPhiH_
MonitorElement * pixelLayerwithMeasurementH_
int numberOfLostTrackerHits(HitCategory category) const
Definition: HitPattern.h:893
MonitorElement * nLostHitByLayerPixH_
MonitorElement * nLostHitsPixBVsIterationH_
int numberOfValidPixelHits() const
Definition: HitPattern.h:831
const edm::InputTag trackTag_
static constexpr auto TEC
MonitorElement * nValidHitsPixBVsPhiH_
static bool stripTECHitFilter(uint16_t pattern)
Definition: HitPattern.h:632
static uint32_t getLayer(uint16_t pattern)
Definition: HitPattern.h:721
MonitorElement * nLostHitsPixEVsIterationH_
MonitorElement * trackDeltaRwrtClosestTrack_
int numberOfLostHits(HitCategory category) const
Definition: HitPattern.h:891
MonitorElement * stripTOBLayerwithMeasurementH_
GlobalPoint position() const
MonitorElement * trackStoppingSourceH_
MonitorElement * trackChi2oNDFVsEtaH_
MonitorElement * trackChi2probVsPhiH_
TrackQuality
track quality
Definition: TrackBase.h:150
const edm::EDGetTokenT< reco::TrackCollection > trackToken_
const Point & position() const
position
Definition: Vertex.h:128
MonitorElement * nMissingOuterHitEH_
int trackerLayersWithMeasurement() const
Definition: HitPattern.cc:535
MonitorElement * nLostHitsTIBVsIterationH_
int numberOfAllHits(HitCategory category) const
Definition: HitPattern.h:804
const edm::EDGetTokenT< std::vector< PileupSummaryInfo > > puSummaryToken_
std::pair< bool, Measurement1D > signedTransverseImpactParameter(const reco::TransientTrack &track, const GlobalVector &direction, const reco::Vertex &vertex)
Definition: IPTools.cc:57
T const * product() const
Definition: Handle.h:70
int stripLayersWithMeasurement() const
Definition: HitPattern.h:1005
MonitorElement * stripLayerwithMeasurementH_
int numberOfValidStripTIBHits() const
Definition: HitPattern.h:847
MonitorElement * sip3dToBS2validpixelhitsH_
std::pair< bool, Measurement1D > signedImpactParameter3D(const reco::TransientTrack &track, const GlobalVector &direction, const reco::Vertex &vertex)
Definition: IPTools.cc:81
int stripTIDLayersWithMeasurement() const
Definition: HitPattern.cc:609
int pixelEndcapLayersWithMeasurement() const
Definition: HitPattern.cc:588
int numberOfValidStripTECHits() const
Definition: HitPattern.h:859
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
MonitorElement * nValidHitsTOBVsPhiH_
int numberOfLostPixelBarrelHits(HitCategory category) const
Definition: HitPattern.h:917
MonitorElement * yPointOfClosestApproachVsZ0wrtPVH_
Log< level::Error, false > LogError
static bool missingHitFilter(uint16_t pattern)
Definition: HitPattern.h:798
int numberOfAllTrackerHits(HitCategory category) const
Definition: HitPattern.h:809
MonitorElement * iperr3dToBS2validpixelhitsH_
MonitorElement * trackChi2probVsEtaH_
MonitorElement * Jet_chargedMultiplicity_
static bool pixelBarrelHitFilter(uint16_t pattern)
Definition: HitPattern.h:590
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > transTrackToken_
int stripTECLayersWithMeasurement() const
Definition: HitPattern.cc:629
MonitorElement * nLostHitsTECVsIterationH_
static bool pixelEndcapHitFilter(uint16_t pattern)
Definition: HitPattern.h:599
int numberOfLostStripHits(HitCategory category) const
Definition: HitPattern.h:925
int numberOfValidStripHits() const
Definition: HitPattern.h:843
MonitorElement * trackIperr3dVsEtaH_
MonitorElement * nMissingExpectedInnerHitsH_
MonitorElement * nLostHitsTOBVsIterationH_
const edm::InputTag vertexTag_
reco::TransientTrack build(const reco::Track *p) const
void Fill(long long x)
MonitorElement * nLostHitsTIDVsEtaH_
int numberOfLostStripTECHits(HitCategory category) const
Definition: HitPattern.h:941
string quality
T x() const
Definition: PV3DBase.h:59
MonitorElement * nLostHitsPixEVsEtaH_
MonitorElement * nMissingInnerHitEH_
int iEvent
Definition: GenABIO.cc:224
MonitorElement * nLostHitsTIBVsEtaH_
MonitorElement * nLostHitsTIDVsIterationH_
MonitorElement * nValidHitsPixVsEtaH_
MonitorElement * stripTIBLayerwithMeasurementH_
MonitorElement * nValidHitsTIDVsEtaH_
MonitorElement * nValidHitsStripVsPhiH_
MonitorElement * nValidHitsTECVsEtaH_
bool isValid() const
T sqrt(T t)
Definition: SSEVec.h:23
int numberOfValidPixelEndcapHits() const
Definition: HitPattern.h:839
MonitorElement * trackSip2dVsChi2prob2DH_
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
int numberOfLostPixelEndcapHits(HitCategory category) const
Definition: HitPattern.h:921
const edm::InputTag puSummaryTag_
MonitorElement * nValidHitsPixVsPhiH_
MonitorElement * DistanceOfClosestApproachToPVH_
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
int stripTOBLayersWithMeasurement() const
Definition: HitPattern.cc:619
MonitorElement * nMissingOuterHitBH_
int numberOfValidStripTIDHits() const
Definition: HitPattern.h:851
MonitorElement * nValidHitsVsCosThetaH_
MonitorElement * nLostHitsTOBVsEtaH_
MonitorElement * pixelELayerwithMeasurementH_
static constexpr auto TOB
MonitorElement * ip3dToPV2validpixelhitsH_
int numberOfLostStripTIDHits(HitCategory category) const
Definition: HitPattern.h:933
MonitorElement * nLostHitsTIDVsPhiH_
uint16_t getHitPattern(HitCategory category, int position) const
Definition: HitPattern.h:537
MonitorElement * trackIperr3dVsChi2prob2DH_
MonitorElement * stripTECLayerwithMeasurementH_
int numberOfLostStripTOBHits(HitCategory category) const
Definition: HitPattern.h:937
MonitorElement * nLostHitsVsCosThetaH_
MonitorElement * nValidHitsTIBVsEtaH_
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:30
Log< level::Info, false > LogInfo
MonitorElement * nMissingExpectedOuterHitsH_
MonitorElement * nvalidTrackerHitsH_
MonitorElement * nValidHitsPixBVsEtaH_
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:126
MonitorElement * nLostHitsTECVsEtaH_
static constexpr auto TIB
MonitorElement * trackChi2oNDFVsPhiH_
MonitorElement * nLostHitsStripVsEtaH_
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
MonitorElement * trkLayerwithMeasurementH_
MonitorElement * DistanceOfClosestApproachToPVZoomedH_
MonitorElement * trackSip2dVsEta2DH_
static bool stripTOBHitFilter(uint16_t pattern)
Definition: HitPattern.h:628
MonitorElement * xPointOfClosestApproachVsZ0wrtPVH_
bool isValid() const
Definition: HandleBase.h:70
MonitorElement * nLostHitByLayerStripH_
int numberOfLostPixelHits(HitCategory category) const
Definition: HitPattern.h:913
static bool stripTIBHitFilter(uint16_t pattern)
Definition: HitPattern.h:620
std::vector< float > vtrack_
MonitorElement * iperr3dToPV2validpixelhitsH_
const edm::EDGetTokenT< reco::VertexCollection > vertexToken_
MonitorElement * nLostHitsPixVsPhiH_
MonitorElement * sip3dToPV2validpixelhitsH_
void processClusters(edm::Event const &iEvent, edm::EventSetup const &iSetup, const TrackerGeometry &tkGeom, double wfac=1)
MonitorElement * nLostHitsVsIterationH_
MonitorElement * nValidHitsStripVsEtaH_
const edm::EDGetTokenT< std::vector< reco::PFJet > > jetsToken_
int numberOfValidPixelBarrelHits() const
Definition: HitPattern.h:835
MonitorElement * nValidHitsTOBVsEtaH_
MonitorElement * nLostHitsTIBVsPhiH_
int pixelBarrelLayersWithMeasurement() const
Definition: HitPattern.cc:577
MonitorElement * trackIperr3dVsEta2DH_
virtual int getNbinsX() const
get # of bins in X-axis
MonitorElement * nLostHitsPixBVsEtaH_
int pixelLayersWithMeasurement() const
Definition: HitPattern.cc:514
MonitorElement * nLostHitsStripVsIterationH_
#define ntrack
MonitorElement * pixelBLayerwithMeasurementH_
MonitorElement * ip3dToBS2validpixelhitsH_
MonitorElement * nLostHitsTOBVsPhiH_
MonitorElement * nLostHitsTECVsPhiH_
static bool stripTIDHitFilter(uint16_t pattern)
Definition: HitPattern.h:624
const reco::Vertex * findClosestVertex(const TransientVertex aTransVtx, const reco::VertexCollection *vertices) const
void processHit(const TrackingRecHit &recHit, edm::EventSetup const &iSetup, const TrackerGeometry &tkGeom, double wfac=1)
MonitorElement * nLostHitsPixBVsPhiH_
MonitorElement * nValidHitsTIBVsPhiH_
static constexpr auto TID
MonitorElement * nLostHitsPixVsIterationH_
int numberOfValidTrackerHits() const
Definition: HitPattern.h:819
MonitorElement * stripTIDLayerwithMeasurementH_
MonitorElement * nValidHitsPixEVsEtaH_
MonitorElement * nLostHitsPixVsEtaH_
MonitorElement * nLostHitsPixEVsPhiH_
int numberOfLostStripTIBHits(HitCategory category) const
Definition: HitPattern.h:929
MonitorElement * DistanceOfClosestApproachToPVVsPhiH_
bool isValid() const
Tells whether the vertex is valid.
Definition: Vertex.h:73
MonitorElement * nValidHitsTIDVsPhiH_
MonitorElement * nValidHitsTECVsPhiH_
MonitorElement * nLostHitsStripVsPhiH_
int numberOfValidStripTOBHits() const
Definition: HitPattern.h:855
int stripTIBLayersWithMeasurement() const
Definition: HitPattern.cc:599
MonitorElement * nMissingInnerHitBH_

◆ bookHistograms()

void StandaloneTrackMonitor::bookHistograms ( DQMStore::IBooker ibook,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 631 of file StandaloneTrackMonitor.cc.

References reco::TrackBase::algoNames, reco::TrackBase::algoSize, beamSpotXYposerrH_, beamSpotXYposH_, beamSpotZposerrH_, beamSpotZposH_, dqm::implementation::IBooker::book1DD(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), bunchCrossingH_, cosPhi3DdileptonH_, DistanceOfClosestApproachToPVH_, DistanceOfClosestApproachToPVVsPhiH_, DistanceOfClosestApproachToPVZoomedH_, folderName_, edm::ParameterSet::getParameter(), haveAllHistograms_, hOffTrkClusChargeThickH_, hOffTrkClusChargeThinH_, hOffTrkClusWidthThickH_, hOffTrkClusWidthThinH_, hOnTrkClusChargeThickH_, hOnTrkClusChargeThinH_, hOnTrkClusWidthThickH_, hOnTrkClusWidthThinH_, mps_fire::i, ip2dToBSH_, ip2dToPVH_, ip3dToBS2validpixelhitsH_, ip3dToBSH_, ip3dToPV2validpixelhitsH_, ip3dToPVH_, iperr2dToBSH_, iperr2dToPVH_, iperr2dToPVWtH_, iperr3dToBS2validpixelhitsH_, iperr3dToBSH_, iperr3dToPV2validpixelhitsH_, iperr3dToPVH_, iperr3dToPVWtH_, isMC_, Jet_chargedMultiplicity_, Jet_energy_, Jet_eta_, Jet_pt_, moduleName_, nallHitsH_, nHitsStripDVsEtaH_, nHitsStripSVsEtaH_, nHitsTECDVsEtaH_, nHitsTECSVsEtaH_, nHitsTIBDVsEtaH_, nHitsTIBSVsEtaH_, nHitsTIDDVsEtaH_, nHitsTIDSVsEtaH_, nHitsTOBDVsEtaH_, nHitsTOBSVsEtaH_, nJet_, nLostHitByLayerH_, nLostHitByLayerPixH_, nLostHitByLayerStripH_, nlostHitsH_, nLostHitsPixBVsEtaH_, nLostHitsPixBVsIterationH_, nLostHitsPixBVsPhiH_, nLostHitsPixEVsEtaH_, nLostHitsPixEVsIterationH_, nLostHitsPixEVsPhiH_, nLostHitsPixVsEtaH_, nLostHitsPixVsIterationH_, nLostHitsPixVsPhiH_, nLostHitsStripVsEtaH_, nLostHitsStripVsIterationH_, nLostHitsStripVsPhiH_, nLostHitsTECVsEtaH_, nLostHitsTECVsIterationH_, nLostHitsTECVsPhiH_, nLostHitsTIBVsEtaH_, nLostHitsTIBVsIterationH_, nLostHitsTIBVsPhiH_, nLostHitsTIDVsEtaH_, nLostHitsTIDVsIterationH_, nLostHitsTIDVsPhiH_, nLostHitsTOBVsEtaH_, nLostHitsTOBVsIterationH_, nLostHitsTOBVsPhiH_, nLostHitsVsCosThetaH_, nLostHitsVsEtaH_, nLostHitsVsIterationH_, nLostHitsVsPhiH_, nLostHitsVspTH_, nlostPixelBHitsH_, nlostPixelEHitsH_, nlostPixelHitsH_, nlostStripHitsH_, nlostTECHitsH_, nlostTIBHitsH_, nlostTIDHitsH_, nlostTOBHitsH_, nlostTrackerHitsH_, nMissingExpectedInnerHitsH_, nMissingExpectedOuterHitsH_, nMissingInnerHitBH_, nMissingInnerHitEH_, nMissingOuterHitBH_, nMissingOuterHitEH_, nPixBarrelH_, nPixEndcapH_, nPUH_, nStripTECH_, nStripTIBH_, nStripTIDH_, nStripTOBH_, ntrackerHitsH_, nTracksH_, nValidHitsPixBVsEtaH_, nValidHitsPixBVsPhiH_, nValidHitsPixEVsEtaH_, nValidHitsPixEVsPhiH_, nValidHitsPixVsEtaH_, nValidHitsPixVsPhiH_, nValidHitsStripVsEtaH_, nValidHitsStripVsPhiH_, nValidHitsTECVsEtaH_, nValidHitsTECVsPhiH_, nValidHitsTIBVsEtaH_, nValidHitsTIBVsPhiH_, nValidHitsTIDVsEtaH_, nValidHitsTIDVsPhiH_, nValidHitsTOBVsEtaH_, nValidHitsTOBVsPhiH_, nValidHitsVsCosThetaH_, nValidHitsVsEtaH_, nValidHitsVsnVtxH_, nValidHitsVsPhiH_, nValidHitsVspTH_, nvalidPixelBHitsH_, nvalidPixelEHitsH_, nvalidPixelHitsH_, nvalidStripHitsH_, nvalidTECHitsH_, nvalidTIBHitsH_, nvalidTIDHitsH_, nvalidTOBHitsH_, nvalidTrackerHitsH_, nVertexH_, nVtxH_, pixelBLayerwithMeasurementH_, pixelELayerwithMeasurementH_, pixelLayerwithMeasurementH_, funct::pow(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), sip2dToBSH_, sip2dToPVH_, sip2dToPVWtH_, sip3dToBS2validpixelhitsH_, sip3dToBSH_, sip3dToPV2validpixelhitsH_, sip3dToPVH_, sipDxyToPVH_, sipDzToPVH_, SIZE, StopReasonName::StopReasonName, AlCaHLTBitMon_QueryRunRegistry::string, stripLayerwithMeasurementH_, stripTECLayerwithMeasurementH_, stripTIBLayerwithMeasurementH_, stripTIDLayerwithMeasurementH_, stripTOBLayerwithMeasurementH_, trackalgoH_, trackChargeH_, trackChi2bynDOFH_, trackChi2H_, trackChi2oNDFH_, trackChi2oNDFVsEtaH_, trackChi2oNDFVsPhiH_, trackChi2ProbH_, trackChi2probVsEtaH_, trackChi2probVsPhiH_, trackCosThetaH_, trackd0H_, trackDeltaRwrtClosestTrack_, trackEtaerrH_, trackEtaH_, TrackEtaHistoPar_, trackIperr3dVsChi2prob2DH_, trackIperr3dVsEta2DH_, trackIperr3dVsEtaH_, tracknDOFH_, trackorigalgoH_, trackPH_, trackPhierrH_, trackPhiH_, TrackPhiHistoPar_, trackPt_ZoomH_, trackPterrH_, trackPtH_, TrackPtHistoPar_, trackqOverperrH_, trackqOverpH_, trackSip2dVsChi2prob2DH_, trackSip2dVsEta2DH_, trackSip2dVsEtaH_, trackStoppingSourceH_, trackThetaerrH_, trkLayerwithMeasurementH_, trueNIntH_, vertexXposH_, vertexYposH_, vertexZposH_, xPointOfClosestApproachVsZ0wrtPVH_, yPointOfClosestApproachVsZ0wrtPVH_, ZInvMass_, and Zpt_.

633  {
634  std::string currentFolder = moduleName_ + "/" + folderName_;
635  ibook.setCurrentFolder(currentFolder);
636 
637  // The following are common with the official tool
638  if (haveAllHistograms_) {
639  trackEtaH_ = ibook.book1DD("trackEta",
640  "Track Eta",
641  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
642  TrackEtaHistoPar_.getParameter<double>("Xmin"),
643  TrackEtaHistoPar_.getParameter<double>("Xmax"));
644 
645  trackEtaerrH_ = ibook.book1DD("trackEtaerr", "Track Eta Error", 50, 0.0, 1.0);
646  trackCosThetaH_ = ibook.book1DD("trackCosTheta", "Track Cos(Theta)", 50, -1.0, 1.0);
647  trackThetaerrH_ = ibook.book1DD("trackThetaerr", "Track Theta Error", 50, 0.0, 1.0);
648  trackPhiH_ = ibook.book1DD("trackPhi", "Track Phi", 70, -3.5, 3.5);
649  trackPhierrH_ = ibook.book1DD("trackPhierr", "Track Phi Error", 50, 0.0, 1.0);
650 
651  trackPH_ = ibook.book1DD("trackP", "Track 4-momentum", 50, 0.0, 10.0);
652  trackPtH_ = ibook.book1DD("trackPt",
653  "Track Pt",
654  TrackPtHistoPar_.getParameter<int32_t>("Xbins"),
655  TrackPtHistoPar_.getParameter<double>("Xmin"),
656  TrackPtHistoPar_.getParameter<double>("Xmax"));
657  trackPt_ZoomH_ = ibook.book1DD("trackPt_Zoom", "Track Pt", 100, 60, 70);
658  trackPterrH_ = ibook.book1DD("trackPterr", "Track Pt Error", 100, 0.0, 100.0);
659  trackqOverpH_ = ibook.book1DD("trackqOverp", "q Over p", 100, -0.5, 0.5);
660  trackqOverperrH_ = ibook.book1DD("trackqOverperr", "q Over p Error", 50, 0.0, 0.5);
661  trackChargeH_ = ibook.book1DD("trackCharge", "Track Charge", 3, -1.5, 1.5);
662  trackChi2H_ = ibook.book1DD("trackChi2", "Chi2", 100, 0.0, 100.0);
663  tracknDOFH_ = ibook.book1DD("tracknDOF", "nDOF", 100, 0.0, 100.0);
664  trackChi2ProbH_ = ibook.book1DD("trackChi2Prob", "Chi2prob", 50, 0.0, 1.0);
665  trackChi2oNDFH_ = ibook.book1DD("trackChi2oNDF", "Chi2oNDF", 100, 0.0, 100.0);
666  trackd0H_ = ibook.book1DD("trackd0", "Track d0", 100, -1, 1);
667  trackChi2bynDOFH_ = ibook.book1DD("trackChi2bynDOF", "Chi2 Over nDOF", 100, 0.0, 10.0);
668  trackalgoH_ = ibook.book1DD("trackalgo", "Track Algo", 46, 0.0, 46.0);
669  trackorigalgoH_ = ibook.book1DD("trackorigalgo", "Track Original Algo", 46, 0.0, 46.0);
670 
671  for (size_t ibin = 0; ibin < reco::TrackBase::algoSize - 1; ibin++) {
674  }
675 
676  trackStoppingSourceH_ = ibook.book1DD("trackstoppingsource", "Track Stopping Source", 12, 0.0, 12.0);
677 
678  // DataFormats/TrackCandidate/interface/TrajectoryStopReasons.h
679  size_t StopReasonNameSize = static_cast<size_t>(StopReason::SIZE);
680  for (unsigned int i = 0; i < StopReasonNameSize; ++i) {
682  }
683 
685  ibook.book1DD("DistanceOfClosestApproachToPV", "DistanceOfClosestApproachToPV", 1000, -1.0, 1.0);
687  ibook.book1DD("DistanceOfClosestApproachToPVZoomed", "DistanceOfClosestApproachToPV", 1000, -0.1, 0.1);
689  "DistanceOfClosestApproachToPVVsPhi", "DistanceOfClosestApproachToPVVsPhi", 100, -3.5, 3.5, 0.0, 0.0, "g");
691  "xPointOfClosestApproachVsZ0wrtPV", "xPointOfClosestApproachVsZ0wrtPV", 120, -60, 60, 0.0, 0.0, "g");
693  "yPointOfClosestApproachVsZ0wrtPV", "yPointOfClosestApproachVsZ0wrtPV", 120, -60, 60, 0.0, 0.0, "g");
695  ibook.book1DD("trackDeltaRwrtClosestTrack", "min#DeltaR(considered track,other tracks)", 500, 0, 10);
696 
697  ip2dToPVH_ = ibook.book1DD("ip2dToPV", "IP in 2d To PV", 1000, -1.0, 1.0);
698  unsigned int niperrbins = 100;
699  float iperrbinning[niperrbins + 1];
700  float miniperr = 0.0001, maxiperr = 5;
701  iperrbinning[0] = miniperr;
702  for (unsigned int i = 1; i != niperrbins + 1; i++) {
703  iperrbinning[i] = iperrbinning[i - 1] * pow(maxiperr / miniperr, 1. / niperrbins);
704  }
705  iperr2dToPVH_ = ibook.book1DD("iperr2dToPV", "IP error in 2d To PV", niperrbins, iperrbinning);
706  iperr2dToPVWtH_ = ibook.book1DD("iperr2dToPVWt", "IP error in 2d To PV", niperrbins, iperrbinning);
707 
708  ip3dToPVH_ = ibook.book1DD("ip3dToPV", "IP in 3d To PV", 200, -20, 20);
709  ip3dToBSH_ = ibook.book1DD("ip3dToBS", "IP in 3d To BS", 200, -20, 20);
710  iperr3dToPVH_ = ibook.book1DD("iperr3dToPV", "IP error in 3d To PV", niperrbins, iperrbinning);
711  iperr3dToBSH_ = ibook.book1DD("iperr3dToBS", "IP error in 3d To BS", niperrbins, iperrbinning);
712  sip3dToPVH_ = ibook.book1DD("sip3dToPV", "IP significance in 3d To PV", 200, -10, 10);
713  sip3dToBSH_ = ibook.book1DD("sip3dToBS", "IP significance in 3d To BS", 200, -10, 10);
714 
716  ibook.book1DD("ip3dToPV2validpixelhits", "IP in 3d To PV (nValidPixelHits>2)", 200, -0.20, 0.20);
718  ibook.book1DD("ip3dToBS2validpixelhits", "IP in 3d To BS (nValidPixelHits>2)", 200, -0.20, 0.20);
720  "iperr3dToPV2validpixelhits", "IP error in 3d To PV (nValidPixelHits>2)", niperrbins, iperrbinning);
722  "iperr3dToBS2validpixelhits", "IP error in 3d To BS (nValidPixelHits>2)", niperrbins, iperrbinning);
724  ibook.book1DD("sip3dToPV2validpixelhits", "IP significance in 3d To PV (nValidPixelHits>2)", 200, -10, 10);
726  ibook.book1DD("sip3dToBS2validpixelhits", "IP significance in 3d To BS (nValidPixelHits>2)", 200, -10, 10);
727 
728  ip2dToBSH_ = ibook.book1DD("ip2dToBS", "IP in 2d To BS", 1000, -1., 1.); //Beamspot
729  iperr2dToBSH_ = ibook.book1DD("iperr2dToBS", "IP error in 2d To BS", niperrbins, iperrbinning);
730  sip2dToBSH_ = ibook.book1DD("sip2dToBS", "IP significance in 2d To BS", 200, -10, 10);
731 
732  iperr3dToPVWtH_ = ibook.book1DD("iperr3dToPVWt", "IP error in 3d To PV", niperrbins, iperrbinning);
733  sip2dToPVH_ = ibook.book1DD("sip2dToPV", "IP significance in 2d To PV", 200, -10, 10);
734 
735  sip2dToPVWtH_ = ibook.book1DD("sip2dToPVWt", "IP significance in 2d To PV", 200, -10, 10);
736  sipDxyToPVH_ = ibook.book1DD("sipDxyToPV", "IP significance in dxy To PV", 100, -10, 10);
737  sipDzToPVH_ = ibook.book1DD("sipDzToPV", "IP significance in dz To PV", 100, -10, 10);
738 
739  nallHitsH_ = ibook.book1DD("nallHits", "No. of All Hits", 60, -0.5, 59.5);
740  ntrackerHitsH_ = ibook.book1DD("ntrackerHits", "No. of Tracker Hits", 60, -0.5, 59.5);
741 
742  nvalidTrackerHitsH_ = ibook.book1DD("nvalidTrackerhits", "No. of Valid Tracker Hits", 47, -0.5, 46.5);
743  nvalidPixelHitsH_ = ibook.book1DD("nvalidPixelHits", "No. of Valid Hits in Pixel", 8, -0.5, 7.5);
744  nvalidPixelBHitsH_ = ibook.book1DD("nvalidPixelBarrelHits", "No. of Valid Hits in Pixel Barrel", 6, -0.5, 5.5);
745  nvalidPixelEHitsH_ = ibook.book1DD("nvalidPixelEndcapHits", "No. of Valid Hits in Pixel Endcap", 6, -0.5, 6.5);
746  nvalidStripHitsH_ = ibook.book1DD("nvalidStripHits", "No. of Valid Hits in Strip", 36, -0.5, 35.5);
747  nvalidTIBHitsH_ = ibook.book1DD("nvalidTIBHits", "No. of Valid Hits in Strip TIB", 6, -0.5, 5.5);
748  nvalidTOBHitsH_ = ibook.book1DD("nvalidTOBHits", "No. of Valid Hits in Strip TOB", 11, -0.5, 10.5);
749  nvalidTIDHitsH_ = ibook.book1DD("nvalidTIDHits", "No. of Valid Hits in Strip TID", 6, -0.5, 5.5);
750  nvalidTECHitsH_ = ibook.book1DD("nvalidTECHits", "No. of Valid Hits in Strip TEC", 11, -0.5, 10.5);
751 
752  nlostTrackerHitsH_ = ibook.book1DD("nlostTrackerhits", "No. of Lost Tracker Hits", 15, -0.5, 14.5);
753  nlostPixelHitsH_ = ibook.book1DD("nlostPixelHits", "No. of Lost Hits in Pixel", 8, -0.5, 7.5);
754  nlostPixelBHitsH_ = ibook.book1DD("nlostPixelBarrelHits", "No. of Lost Hits in Pixel Barrel", 5, -0.5, 4.5);
755  nlostPixelEHitsH_ = ibook.book1DD("nlostPixelEndcapHits", "No. of Lost Hits in Pixel Endcap", 4, -0.5, 3.5);
756  nlostStripHitsH_ = ibook.book1DD("nlostStripHits", "No. of Lost Hits in Strip", 10, -0.5, 9.5);
757  nlostTIBHitsH_ = ibook.book1DD("nlostTIBHits", "No. of Lost Hits in Strip TIB", 5, -0.5, 4.5);
758  nlostTOBHitsH_ = ibook.book1DD("nlostTOBHits", "No. of Lost Hits in Strip TOB", 10, -0.5, 9.5);
759  nlostTIDHitsH_ = ibook.book1DD("nlostTIDHits", "No. of Lost Hits in Strip TID", 5, -0.5, 4.5);
760  nlostTECHitsH_ = ibook.book1DD("nlostTECHits", "No. of Lost Hits in Strip TEC", 10, -0.5, 9.5);
761 
762  trkLayerwithMeasurementH_ = ibook.book1DD("trkLayerwithMeasurement", "No. of Layers per Track", 20, 0.0, 20.0);
764  ibook.book1DD("pixelLayerwithMeasurement", "No. of Pixel Layers per Track", 10, 0.0, 10.0);
766  ibook.book1DD("pixelBLayerwithMeasurement", "No. of Pixel Barrel Layers per Track", 5, 0.0, 5.0);
768  ibook.book1DD("pixelELayerwithMeasurement", "No. of Pixel Endcap Layers per Track", 5, 0.0, 5.0);
770  ibook.book1DD("stripLayerwithMeasurement", "No. of Strip Layers per Track", 20, 0.0, 20.0);
772  ibook.book1DD("stripTIBLayerwithMeasurement", "No. of Strip TIB Layers per Track", 10, 0.0, 10.0);
774  ibook.book1DD("stripTOBLayerwithMeasurement", "No. of Strip TOB Layers per Track", 10, 0.0, 10.0);
776  ibook.book1DD("stripTIDLayerwithMeasurement", "No. of Strip TID Layers per Track", 5, 0.0, 5.0);
778  ibook.book1DD("stripTECLayerwithMeasurement", "No. of Strip TEC Layers per Track", 15, 0.0, 15.0);
779 
780  nlostHitsH_ = ibook.book1DD("nlostHits", "No. of Lost Hits", 10, -0.5, 9.5);
782  ibook.book1DD("nMissingExpectedInnerHits", "No. of Missing Expected Inner Hits", 10, -0.5, 9.5);
784  ibook.book1DD("nMissingExpectedOuterHits", "No. of Missing Expected Outer Hits", 10, -0.5, 9.5);
785 
786  beamSpotXYposH_ = ibook.book1DD("beamSpotXYpos", "d_{xy} w.r.t beam spot", 100, -1.0, 1.0);
787  beamSpotXYposerrH_ = ibook.book1DD("beamSpotXYposerr", "error on d_{xy} w.r.t beam spot", 50, 0.0, 0.25);
788  beamSpotZposH_ = ibook.book1DD("beamSpotZpos", "d_{z} w.r.t beam spot", 100, -20.0, 20.0);
789  beamSpotZposerrH_ = ibook.book1DD("beamSpotZposerr", "error on d_{z} w.r.t. beam spot", 50, 0.0, 0.25);
790 
791  vertexXposH_ = ibook.book1DD("vertexXpos", "Vertex X position", 100, -0.1, 0.1);
792  vertexYposH_ = ibook.book1DD("vertexYpos", "Vertex Y position", 200, -0.1, 0.1);
793  vertexZposH_ = ibook.book1DD("vertexZpos", "Vertex Z position", 100, -20.0, 20.0);
794  nVertexH_ = ibook.book1DD("nVertex", "# of vertices", 120, -0.5, 119.5);
795  nVtxH_ = ibook.book1DD("nVtx", "# of vtxs", 120, -0.5, 119.5);
796 
797  nMissingInnerHitBH_ = ibook.book1DD("nMissingInnerHitB", "No. missing inner hit per Track in Barrel", 6, -0.5, 5.5);
798  nMissingInnerHitEH_ = ibook.book1DD("nMissingInnerHitE", "No. missing inner hit per Track in Endcap", 6, -0.5, 5.5);
800  ibook.book1DD("nMissingOuterHitB", "No. missing outer hit per Track in Barrel", 11, -0.5, 10.5);
802  ibook.book1DD("nMissingOuterHitE", "No. missing outer hit per Track in Endcap", 11, -0.5, 10.5);
803  nPixBarrelH_ = ibook.book1DD("nHitPixelBarrel", "No. of hits in Pixel Barrel per Track", 20, 0, 20.0);
804  nPixEndcapH_ = ibook.book1DD("nHitPixelEndcap", "No. of hits in Pixel Endcap per Track", 20, 0, 20.0);
805  nStripTIBH_ = ibook.book1DD("nHitStripTIB", "No. of hits in Strip TIB per Track", 30, 0, 30.0);
806  nStripTOBH_ = ibook.book1DD("nHitStripTOB", "No. of hits in Strip TOB per Track", 30, 0, 30.0);
807  nStripTECH_ = ibook.book1DD("nHitStripTEC", "No. of hits in Strip TEC per Track", 30, 0, 30.0);
808  nStripTIDH_ = ibook.book1DD("nHitStripTID", "No. of hits in Strip TID per Tracks", 30, 0, 30.0);
809  nTracksH_ = ibook.book1DD("nTracks", "No. of Tracks", 1200, -0.5, 1199.5);
810  nJet_ = ibook.book1DD("nJet", "Number of Jets", 101, -0.5, 100.5);
811  Jet_pt_ = ibook.book1DD("Jet_pt", "Jet p_{T}", 200, 0., 200.);
812  Jet_eta_ = ibook.book1DD("Jet_eta", "Jet #eta", 100, -5.2, 5.2);
813  Jet_energy_ = ibook.book1DD("Jet_energy", "Jet Energy", 200, 0., 200.);
815  ibook.book1DD("Jet_chargedMultiplicity", "Jet charged Hadron Multiplicity", 201, -0.5, 200.5);
816  Zpt_ = ibook.book1DD("Zpt", "Z-boson transverse momentum", 100, 0, 100);
817  ZInvMass_ = ibook.book1DD("ZInvMass", "m_{ll}", 120, 75, 105);
818  cosPhi3DdileptonH_ = ibook.book1DD("cosPhi3Ddilepton", "cos#Phi_{3D,ll}", 202, -1.01, 1.01);
819  }
820  if (isMC_) {
821  bunchCrossingH_ = ibook.book1DD("bunchCrossing", "Bunch Crossing", 60, 0, 60.0);
822  nPUH_ = ibook.book1DD("nPU", "No of Pileup", 100, 0, 100.0);
823  trueNIntH_ = ibook.book1DD("trueNInt", "True no of Interactions", 100, 0, 100.0);
824  }
825  // Exclusive histograms
826 
827  nLostHitByLayerH_ = ibook.book1DD("nLostHitByLayer", "No. of Lost Hit per Layer", 29, 0.5, 29.5);
828 
830  ibook.book1DD("nLostHitByLayerPix", "No. of Lost Hit per Layer for Pixel detector", 7, 0.5, 7.5);
831 
833  ibook.book1DD("nLostHitByLayerStrip", "No. of Lost Hit per Layer for SiStrip detector", 22, 0.5, 22.5);
834 
835  nLostHitsVspTH_ = ibook.bookProfile("nLostHitsVspT",
836  "Number of Lost Hits Vs pT",
837  TrackPtHistoPar_.getParameter<int32_t>("Xbins"),
838  TrackPtHistoPar_.getParameter<double>("Xmin"),
839  TrackPtHistoPar_.getParameter<double>("Xmax"),
840  0.0,
841  0.0,
842  "g");
843  nLostHitsVsEtaH_ = ibook.bookProfile("nLostHitsVsEta",
844  "Number of Lost Hits Vs Eta",
845  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
846  TrackEtaHistoPar_.getParameter<double>("Xmin"),
847  TrackEtaHistoPar_.getParameter<double>("Xmax"),
848  0.0,
849  0.0,
850  "g");
852  ibook.bookProfile("nLostHitsVsCosTheta", "Number of Lost Hits Vs Cos(Theta)", 50, -1.0, 1.0, 0.0, 0.0, "g");
853  nLostHitsVsPhiH_ = ibook.bookProfile("nLostHitsVsPhi", "Number of Lost Hits Vs Phi", 100, -3.5, 3.5, 0.0, 0.0, "g");
855  ibook.bookProfile("nLostHitsVsIteration", "Number of Lost Hits Vs Iteration", 47, -0.5, 46.5, 0.0, 0.0, "g");
856 
857  nHitsTIBSVsEtaH_ = ibook.bookProfile("nHitsTIBSVsEta",
858  "Number of Hits in TIB Vs Eta (Single-sided)",
859  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
860  TrackEtaHistoPar_.getParameter<double>("Xmin"),
861  TrackEtaHistoPar_.getParameter<double>("Xmax"),
862  0.0,
863  0.0,
864  "g");
865  nHitsTOBSVsEtaH_ = ibook.bookProfile("nHitsTOBSVsEta",
866  "Number of Hits in TOB Vs Eta (Single-sided)",
867  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
868  TrackEtaHistoPar_.getParameter<double>("Xmin"),
869  TrackEtaHistoPar_.getParameter<double>("Xmax"),
870  0.0,
871  0.0,
872  "g");
873  nHitsTECSVsEtaH_ = ibook.bookProfile("nHitsTECSVsEta",
874  "Number of Hits in TEC Vs Eta (Single-sided)",
875  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
876  TrackEtaHistoPar_.getParameter<double>("Xmin"),
877  TrackEtaHistoPar_.getParameter<double>("Xmax"),
878  0.0,
879  0.0,
880  "g");
881  nHitsTIDSVsEtaH_ = ibook.bookProfile("nHitsTIDSVsEta",
882  "Number of Hits in TID Vs Eta (Single-sided)",
883  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
884  TrackEtaHistoPar_.getParameter<double>("Xmin"),
885  TrackEtaHistoPar_.getParameter<double>("Xmax"),
886  0.0,
887  0.0,
888  "g");
889 
890  nHitsStripSVsEtaH_ = ibook.bookProfile("nHitsStripSVsEta",
891  "Number of Strip Hits Vs Eta (Single-sided)",
892  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
893  TrackEtaHistoPar_.getParameter<double>("Xmin"),
894  TrackEtaHistoPar_.getParameter<double>("Xmax"),
895  0.0,
896  0.0,
897  "g");
898 
899  nHitsTIBDVsEtaH_ = ibook.bookProfile("nHitsTIBDVsEta",
900  "Number of Hits in TIB Vs Eta (Double-sided)",
901  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
902  TrackEtaHistoPar_.getParameter<double>("Xmin"),
903  TrackEtaHistoPar_.getParameter<double>("Xmax"),
904  0.0,
905  0.0,
906  "g");
907  nHitsTOBDVsEtaH_ = ibook.bookProfile("nHitsTOBDVsEta",
908  "Number of Hits in TOB Vs Eta (Double-sided)",
909  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
910  TrackEtaHistoPar_.getParameter<double>("Xmin"),
911  TrackEtaHistoPar_.getParameter<double>("Xmax"),
912  0.0,
913  0.0,
914  "g");
915  nHitsTECDVsEtaH_ = ibook.bookProfile("nHitsTECDVsEta",
916  "Number of Hits in TEC Vs Eta (Double-sided)",
917  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
918  TrackEtaHistoPar_.getParameter<double>("Xmin"),
919  TrackEtaHistoPar_.getParameter<double>("Xmax"),
920  0.0,
921  0.0,
922  "g");
923  nHitsTIDDVsEtaH_ = ibook.bookProfile("nHitsTIDDVsEta",
924  "Number of Hits in TID Vs Eta (Double-sided)",
925  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
926  TrackEtaHistoPar_.getParameter<double>("Xmin"),
927  TrackEtaHistoPar_.getParameter<double>("Xmax"),
928  0.0,
929  0.0,
930  "g");
931  nHitsStripDVsEtaH_ = ibook.bookProfile("nHitsStripDVsEta",
932  "Number of Strip Hits Vs Eta (Double-sided)",
933  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
934  TrackEtaHistoPar_.getParameter<double>("Xmin"),
935  TrackEtaHistoPar_.getParameter<double>("Xmax"),
936  0.0,
937  0.0,
938  "g");
939 
940  nValidHitsVspTH_ = ibook.bookProfile("nValidHitsVspT",
941  "Number of Valid Hits Vs pT",
942  TrackPtHistoPar_.getParameter<int32_t>("Xbins"),
943  TrackPtHistoPar_.getParameter<double>("Xmin"),
944  TrackPtHistoPar_.getParameter<double>("Xmax"),
945  0.0,
946  0.0,
947  "g");
949  ibook.bookProfile("nValidHitsVsnVtx", "Number of Valid Hits Vs Number of Vertex", 100, 0., 100., 0.0, 0.0, "g");
950  nValidHitsVsEtaH_ = ibook.bookProfile("nValidHitsVsEta",
951  "Number of Hits Vs Eta",
952  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
953  TrackEtaHistoPar_.getParameter<double>("Xmin"),
954  TrackEtaHistoPar_.getParameter<double>("Xmax"),
955  0.0,
956  0.0,
957  "g");
958 
960  ibook.bookProfile("nValidHitsVsCosTheta", "Number of Valid Hits Vs Cos(Theta)", 50, -1.0, 1.0, 0.0, 0.0, "g");
962  ibook.bookProfile("nValidHitsVsPhi", "Number of Valid Hits Vs Phi", 100, -3.5, 3.5, 0.0, 0.0, "g");
963 
964  nValidHitsPixVsEtaH_ = ibook.bookProfile("nValidHitsPixVsEta",
965  "Number of Valid Hits in Pixel Vs Eta",
966  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
967  TrackEtaHistoPar_.getParameter<double>("Xmin"),
968  TrackEtaHistoPar_.getParameter<double>("Xmax"),
969  0.0,
970  0.0,
971  "g");
972  nValidHitsPixBVsEtaH_ = ibook.bookProfile("nValidHitsPixBVsEta",
973  "Number of Valid Hits in Pixel Barrel Vs Eta",
974  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
975  TrackEtaHistoPar_.getParameter<double>("Xmin"),
976  TrackEtaHistoPar_.getParameter<double>("Xmax"),
977  0.0,
978  0.0,
979  "g");
980  nValidHitsPixEVsEtaH_ = ibook.bookProfile("nValidHitsPixEVsEta",
981  "Number of Valid Hits in Pixel Endcap Vs Eta",
982  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
983  TrackEtaHistoPar_.getParameter<double>("Xmin"),
984  TrackEtaHistoPar_.getParameter<double>("Xmax"),
985  0.0,
986  0.0,
987  "g");
988  nValidHitsStripVsEtaH_ = ibook.bookProfile("nValidHitsStripVsEta",
989  "Number of Valid Hits in SiStrip Vs Eta",
990  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
991  TrackEtaHistoPar_.getParameter<double>("Xmin"),
992  TrackEtaHistoPar_.getParameter<double>("Xmax"),
993  0.0,
994  0.0,
995  "g");
996  nValidHitsTIBVsEtaH_ = ibook.bookProfile("nValidHitsTIBVsEta",
997  "Number of Valid Hits in TIB Vs Eta",
998  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
999  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1000  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1001  0.0,
1002  0.0,
1003  "g");
1004  nValidHitsTOBVsEtaH_ = ibook.bookProfile("nValidHitsTOBVsEta",
1005  "Number of Valid Hits in TOB Vs Eta",
1006  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1007  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1008  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1009  0.0,
1010  0.0,
1011  "g");
1012  nValidHitsTECVsEtaH_ = ibook.bookProfile("nValidHitsTECVsEta",
1013  "Number of Valid Hits in TEC Vs Eta",
1014  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1015  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1016  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1017  0.0,
1018  0.0,
1019  "g");
1020  nValidHitsTIDVsEtaH_ = ibook.bookProfile("nValidHitsTIDVsEta",
1021  "Number of Valid Hits in TID Vs Eta",
1022  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1023  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1024  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1025  0.0,
1026  0.0,
1027  "g");
1028 
1029  nValidHitsPixVsPhiH_ = ibook.bookProfile("nValidHitsPixVsPhi",
1030  "Number of Valid Hits in Pixel Vs Phi",
1031  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1032  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1033  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1034  0.0,
1035  0.0,
1036  "g");
1037  nValidHitsPixBVsPhiH_ = ibook.bookProfile("nValidHitsPixBVsPhi",
1038  "Number of Valid Hits in Pixel Barrel Vs Phi",
1039  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1040  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1041  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1042  0.0,
1043  0.0,
1044  "g");
1045  nValidHitsPixEVsPhiH_ = ibook.bookProfile("nValidHitsPixEVsPhi",
1046  "Number of Valid Hits in Pixel Endcap Vs Phi",
1047  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1048  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1049  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1050  0.0,
1051  0.0,
1052  "g");
1053  nValidHitsStripVsPhiH_ = ibook.bookProfile("nValidHitsStripVsPhi",
1054  "Number of Valid Hits in SiStrip Vs Phi",
1055  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1056  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1057  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1058  0.0,
1059  0.0,
1060  "g");
1061  nValidHitsTIBVsPhiH_ = ibook.bookProfile("nValidHitsTIBVsPhi",
1062  "Number of Valid Hits in TIB Vs Phi",
1063  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1064  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1065  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1066  0.0,
1067  0.0,
1068  "g");
1069  nValidHitsTOBVsPhiH_ = ibook.bookProfile("nValidHitsTOBVsPhi",
1070  "Number of Valid Hits in TOB Vs Phi",
1071  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1072  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1073  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1074  0.0,
1075  0.0,
1076  "g");
1077  nValidHitsTECVsPhiH_ = ibook.bookProfile("nValidHitsTECVsPhi",
1078  "Number of Valid Hits in TEC Vs Phi",
1079  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1080  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1081  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1082  0.0,
1083  0.0,
1084  "g");
1085  nValidHitsTIDVsPhiH_ = ibook.bookProfile("nValidHitsTIDVsPhi",
1086  "Number of Valid Hits in TID Vs Phi",
1087  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1088  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1089  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1090  0.0,
1091  0.0,
1092  "g");
1093 
1094  nLostHitsPixVsEtaH_ = ibook.bookProfile("nLostHitsPixVsEta",
1095  "Number of Lost Hits in Pixel Vs Eta",
1096  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1097  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1098  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1099  0.0,
1100  0.0,
1101  "g");
1102  nLostHitsPixBVsEtaH_ = ibook.bookProfile("nLostHitsPixBVsEta",
1103  "Number of Lost Hits in Pixel Barrel Vs Eta",
1104  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1105  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1106  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1107  0.0,
1108  0.0,
1109  "g");
1110  nLostHitsPixEVsEtaH_ = ibook.bookProfile("nLostHitsPixEVsEta",
1111  "Number of Lost Hits in Pixel Endcap Vs Eta",
1112  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1113  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1114  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1115  0.0,
1116  0.0,
1117  "g");
1118  nLostHitsStripVsEtaH_ = ibook.bookProfile("nLostHitsStripVsEta",
1119  "Number of Lost Hits in SiStrip Vs Eta",
1120  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1121  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1122  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1123  0.0,
1124  0.0,
1125  "g");
1126  nLostHitsTIBVsEtaH_ = ibook.bookProfile("nLostHitsTIBVsEta",
1127  "Number of Lost Hits in TIB Vs Eta",
1128  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1129  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1130  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1131  0.0,
1132  0.0,
1133  "g");
1134  nLostHitsTOBVsEtaH_ = ibook.bookProfile("nLostHitsTOBVsEta",
1135  "Number of Lost Hits in TOB Vs Eta",
1136  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1137  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1138  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1139  0.0,
1140  0.0,
1141  "g");
1142  nLostHitsTECVsEtaH_ = ibook.bookProfile("nLostHitsTECVsEta",
1143  "Number of Lost Hits in TEC Vs Eta",
1144  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1145  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1146  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1147  0.0,
1148  0.0,
1149  "g");
1150  nLostHitsTIDVsEtaH_ = ibook.bookProfile("nLostHitsTIDVsEta",
1151  "Number of Lost Hits in TID Vs Eta",
1152  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1153  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1154  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1155  0.0,
1156  0.0,
1157  "g");
1158 
1159  nLostHitsPixVsPhiH_ = ibook.bookProfile("nLostHitsPixVsPhi",
1160  "Number of Lost Hits in Pixel Vs Phi",
1161  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1162  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1163  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1164  0.0,
1165  0.0,
1166  "g");
1167  nLostHitsPixBVsPhiH_ = ibook.bookProfile("nLostHitsPixBVsPhi",
1168  "Number of Lost Hits in Pixel Barrel Vs Phi",
1169  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1170  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1171  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1172  0.0,
1173  0.0,
1174  "g");
1175  nLostHitsPixEVsPhiH_ = ibook.bookProfile("nLostHitsPixEVsPhi",
1176  "Number of Lost Hits in Pixel Endcap Vs Phi",
1177  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1178  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1179  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1180  0.0,
1181  0.0,
1182  "g");
1183  nLostHitsStripVsPhiH_ = ibook.bookProfile("nLostHitsStripVsPhi",
1184  "Number of Lost Hits in SiStrip Vs Phi",
1185  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1186  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1187  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1188  0.0,
1189  0.0,
1190  "g");
1191  nLostHitsTIBVsPhiH_ = ibook.bookProfile("nLostHitsTIBVsPhi",
1192  "Number of Lost Hits in TIB Vs Phi",
1193  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1194  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1195  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1196  0.0,
1197  0.0,
1198  "g");
1199  nLostHitsTOBVsPhiH_ = ibook.bookProfile("nLostHitsTOBVsPhi",
1200  "Number of Lost Hits in TOB Vs Phi",
1201  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1202  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1203  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1204  0.0,
1205  0.0,
1206  "g");
1207  nLostHitsTECVsPhiH_ = ibook.bookProfile("nLostHitsTECVsPhi",
1208  "Number of Lost Hits in TEC Vs Phi",
1209  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1210  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1211  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1212  0.0,
1213  0.0,
1214  "g");
1215  nLostHitsTIDVsPhiH_ = ibook.bookProfile("nLostHitsTIDVsPhi",
1216  "Number of Lost Hits in TID Vs Phi",
1217  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1218  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1219  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1220  0.0,
1221  0.0,
1222  "g");
1223 
1225  "nLostHitsPixVsIteration", "Number of Lost Hits in Pixel Vs Iteration", 47, -0.5, 46.5, 0.0, 0.0, "g");
1227  "nLostHitsPixBVsIteration", "Number of Lost Hits in Pixel Barrel Vs Iteration", 47, -0.5, 46.5, 0.0, 0.0, "g");
1229  "nLostHitsPixEVsIteration", "Number of Lost Hits in Pixel Endcap Vs Iteration", 47, -0.5, 46.5, 0.0, 0.0, "g");
1231  "nLostHitsStripVsIteration", "Number of Lost Hits in SiStrip Vs Iteration", 47, -0.5, 46.5, 0.0, 0.0, "g");
1233  "nLostHitsTIBVsIteration", "Number of Lost Hits in TIB Vs Iteration", 47, -0.5, 46.5, 0.0, 0.0, "g");
1235  "nLostHitsTOBVsIteration", "Number of Lost Hits in TOB Vs Iteration", 47, -0.5, 46.5, 0.0, 0.0, "g");
1237  "nLostHitsTECVsIteration", "Number of Lost Hits in TEC Vs Iteration", 47, -0.5, 46.5, 0.0, 0.0, "g");
1239  "nLostHitsTIDVsIteration", "Number of Lost Hits in TID Vs Iteration", 47, -0.5, 46.5, 0.0, 0.0, "g");
1240 
1241  trackChi2oNDFVsEtaH_ = ibook.bookProfile("trackChi2oNDFVsEta",
1242  "chi2/ndof of Tracks Vs Eta",
1243  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1244  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1245  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1246  0.0,
1247  10.0,
1248  "g");
1249  trackChi2oNDFVsPhiH_ = ibook.bookProfile("trackChi2oNDFVsPhi",
1250  "chi2/ndof of Tracks Vs Phi",
1251  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1252  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1253  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1254  0.0,
1255  10.0,
1256  "g");
1257 
1258  trackChi2probVsEtaH_ = ibook.bookProfile("trackChi2probVsEta",
1259  "chi2 probability of Tracks Vs Eta",
1260  TrackEtaHistoPar_.getParameter<int32_t>("Xbins"),
1261  TrackEtaHistoPar_.getParameter<double>("Xmin"),
1262  TrackEtaHistoPar_.getParameter<double>("Xmax"),
1263  0.0,
1264  1.0,
1265  "g");
1266  trackChi2probVsPhiH_ = ibook.bookProfile("trackChi2probVsPhi",
1267  "chi2 probability of Tracks Vs Phi",
1268  TrackPhiHistoPar_.getParameter<int32_t>("Xbins"),
1269  TrackPhiHistoPar_.getParameter<double>("Xmin"),
1270  TrackPhiHistoPar_.getParameter<double>("Xmax"),
1271  0.0,
1272  1.0,
1273  "g");
1274 
1276  ibook.bookProfile("trackIperr3dVsEta", "ip3d error of Tracks Vs Eta", 80, -4., 4., 0.0, 0.0, "g");
1277 
1278  trackSip2dVsEtaH_ = ibook.bookProfile("trackSip2dVsEta", "sip2d of Tracks Vs Eta", 80, -4., 4., 0.0, 0.0, "g");
1279 
1281  ibook.book2D("trackIperr3dVsEta2D", "ip3d error of Tracks Vs Eta 2d", 80, -4., 4., 100, 0., 5.);
1283  ibook.book2D("trackIperr3dVsChi2prob2D", "ip3d error of Tracks Vs chi2prob 2d", 50, 0., 1., 100, 0., 5.);
1284  trackSip2dVsEta2DH_ = ibook.book2D("trackSip2dVsEta2D", "sip2d of Tracks Vs Eta 2d", 80, -4., 4., 200, -10., 10.);
1286  ibook.book2D("trackSip2dVsChi2prob2D", "sip2d of Tracks Vs chi2prob 2d", 50, 0., 1., 200, -10., 10.);
1287 
1288  // On and off-track cluster properties
1289  hOnTrkClusChargeThinH_ = ibook.book1DD("hOnTrkClusChargeThin", "On-track Cluster Charge (Thin Sensor)", 100, 0, 1000);
1290  hOnTrkClusWidthThinH_ = ibook.book1DD("hOnTrkClusWidthThin", "On-track Cluster Width (Thin Sensor)", 20, -0.5, 19.5);
1292  ibook.book1DD("hOnTrkClusChargeThick", "On-track Cluster Charge (Thick Sensor)", 100, 0, 1000);
1294  ibook.book1DD("hOnTrkClusWidthThick", "On-track Cluster Width (Thick Sensor)", 20, -0.5, 19.5);
1295 
1297  ibook.book1DD("hOffTrkClusChargeThin", "Off-track Cluster Charge (Thin Sensor)", 100, 0, 1000);
1299  ibook.book1DD("hOffTrkClusWidthThin", "Off-track Cluster Width (Thin Sensor)", 20, -0.5, 19.5);
1301  ibook.book1DD("hOffTrkClusChargeThick", "Off-track Cluster Charge (Thick Sensor)", 100, 0, 1000);
1303  ibook.book1DD("hOffTrkClusWidthThick", "Off-track Cluster Width (Thick Sensor)", 20, -0.5, 19.5);
1304 }
MonitorElement * nValidHitsPixEVsPhiH_
MonitorElement * pixelLayerwithMeasurementH_
MonitorElement * nLostHitByLayerPixH_
MonitorElement * nLostHitsPixBVsIterationH_
MonitorElement * hOnTrkClusChargeThickH_
MonitorElement * nValidHitsPixBVsPhiH_
MonitorElement * nLostHitsPixEVsIterationH_
MonitorElement * trackDeltaRwrtClosestTrack_
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
MonitorElement * hOnTrkClusChargeThinH_
MonitorElement * stripTOBLayerwithMeasurementH_
MonitorElement * trackStoppingSourceH_
MonitorElement * trackChi2oNDFVsEtaH_
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * trackChi2probVsPhiH_
MonitorElement * hOffTrkClusWidthThickH_
MonitorElement * nMissingOuterHitEH_
MonitorElement * nLostHitsTIBVsIterationH_
MonitorElement * stripLayerwithMeasurementH_
MonitorElement * sip3dToBS2validpixelhitsH_
MonitorElement * nValidHitsTOBVsPhiH_
MonitorElement * yPointOfClosestApproachVsZ0wrtPVH_
MonitorElement * hOnTrkClusWidthThinH_
MonitorElement * iperr3dToBS2validpixelhitsH_
MonitorElement * trackChi2probVsEtaH_
MonitorElement * Jet_chargedMultiplicity_
MonitorElement * hOffTrkClusWidthThinH_
MonitorElement * hOffTrkClusChargeThinH_
MonitorElement * nLostHitsTECVsIterationH_
MonitorElement * trackIperr3dVsEtaH_
MonitorElement * nMissingExpectedInnerHitsH_
MonitorElement * nLostHitsTOBVsIterationH_
MonitorElement * nLostHitsTIDVsEtaH_
const edm::ParameterSet TrackPtHistoPar_
MonitorElement * book1DD(TString const &name, TString const &title, int nchX, double lowX, double highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:155
MonitorElement * nLostHitsPixEVsEtaH_
MonitorElement * nMissingInnerHitEH_
MonitorElement * nLostHitsTIBVsEtaH_
MonitorElement * nLostHitsTIDVsIterationH_
MonitorElement * nValidHitsPixVsEtaH_
MonitorElement * hOnTrkClusWidthThickH_
MonitorElement * stripTIBLayerwithMeasurementH_
MonitorElement * nValidHitsTIDVsEtaH_
MonitorElement * nValidHitsStripVsPhiH_
MonitorElement * nValidHitsTECVsEtaH_
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:408
MonitorElement * trackSip2dVsChi2prob2DH_
const std::string StopReasonName[]
MonitorElement * nValidHitsPixVsPhiH_
MonitorElement * DistanceOfClosestApproachToPVH_
MonitorElement * nMissingOuterHitBH_
const edm::ParameterSet TrackPhiHistoPar_
MonitorElement * nValidHitsVsCosThetaH_
MonitorElement * nLostHitsTOBVsEtaH_
MonitorElement * pixelELayerwithMeasurementH_
MonitorElement * ip3dToPV2validpixelhitsH_
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
MonitorElement * nLostHitsTIDVsPhiH_
MonitorElement * trackIperr3dVsChi2prob2DH_
MonitorElement * stripTECLayerwithMeasurementH_
MonitorElement * nLostHitsVsCosThetaH_
MonitorElement * nValidHitsTIBVsEtaH_
MonitorElement * hOffTrkClusChargeThickH_
MonitorElement * nMissingExpectedOuterHitsH_
MonitorElement * nvalidTrackerHitsH_
MonitorElement * nValidHitsPixBVsEtaH_
MonitorElement * nLostHitsTECVsEtaH_
MonitorElement * trackChi2oNDFVsPhiH_
MonitorElement * nLostHitsStripVsEtaH_
MonitorElement * trkLayerwithMeasurementH_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:221
MonitorElement * DistanceOfClosestApproachToPVZoomedH_
MonitorElement * trackSip2dVsEta2DH_
static const std::string algoNames[]
Definition: TrackBase.h:147
MonitorElement * xPointOfClosestApproachVsZ0wrtPVH_
MonitorElement * nLostHitByLayerStripH_
MonitorElement * iperr3dToPV2validpixelhitsH_
const edm::ParameterSet TrackEtaHistoPar_
MonitorElement * nLostHitsPixVsPhiH_
MonitorElement * sip3dToPV2validpixelhitsH_
MonitorElement * nLostHitsVsIterationH_
MonitorElement * nValidHitsStripVsEtaH_
MonitorElement * nValidHitsTOBVsEtaH_
MonitorElement * nLostHitsTIBVsPhiH_
MonitorElement * trackIperr3dVsEta2DH_
MonitorElement * nLostHitsPixBVsEtaH_
MonitorElement * nLostHitsStripVsIterationH_
MonitorElement * pixelBLayerwithMeasurementH_
MonitorElement * ip3dToBS2validpixelhitsH_
MonitorElement * nLostHitsTOBVsPhiH_
MonitorElement * nLostHitsTECVsPhiH_
MonitorElement * nLostHitsPixBVsPhiH_
MonitorElement * nValidHitsTIBVsPhiH_
MonitorElement * nLostHitsPixVsIterationH_
MonitorElement * stripTIDLayerwithMeasurementH_
MonitorElement * nValidHitsPixEVsEtaH_
MonitorElement * nLostHitsPixVsEtaH_
MonitorElement * nLostHitsPixEVsPhiH_
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
MonitorElement * DistanceOfClosestApproachToPVVsPhiH_
MonitorElement * nValidHitsTIDVsPhiH_
MonitorElement * nValidHitsTECVsPhiH_
MonitorElement * nLostHitsStripVsPhiH_
MonitorElement * nMissingInnerHitBH_

◆ dqmBeginRun()

void StandaloneTrackMonitor::dqmBeginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 627 of file StandaloneTrackMonitor.cc.

References geomToken_, edm::EventSetup::getData(), and tkGeom_.

627  {
628  tkGeom_ = &(iSetup.getData(geomToken_));
629 }
const TrackerGeometry * tkGeom_
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_

◆ fillDescriptions()

void StandaloneTrackMonitor::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 371 of file StandaloneTrackMonitor.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, M_PI, and AlCaHLTBitMon_QueryRunRegistry::string.

371  {
373  desc.addUntracked<std::string>("moduleName", "StandaloneTrackMonitor");
374  desc.addUntracked<std::string>("folderName", "highPurityTracks");
375  desc.addUntracked<bool>("isRECO", false);
376  desc.addUntracked<edm::InputTag>("trackInputTag", edm::InputTag("generalTracks"));
377  desc.addUntracked<edm::InputTag>("offlineBeamSpot", edm::InputTag("offlineBeamSpot"));
378  desc.addUntracked<edm::InputTag>("vertexTag", edm::InputTag("offlinePrimaryVertices"));
379  desc.addUntracked<edm::InputTag>("puTag", edm::InputTag("addPileupInfo"));
380  desc.addUntracked<edm::InputTag>("clusterTag", edm::InputTag("siStripClusters"));
381  desc.addUntracked<edm::InputTag>("PFJetsCollection", edm::InputTag("ak4PFJetsCHS"));
382 
383  desc.addUntracked<std::string>("trackQuality", "highPurity");
384  desc.addUntracked<bool>("doPUCorrection", false);
385  desc.addUntracked<bool>("doTrackCorrection", false);
386  desc.addUntracked<bool>("isMC", false);
387  desc.addUntracked<bool>("haveAllHistograms", false);
388  desc.addUntracked<std::string>("puScaleFactorFile", "PileupScaleFactor.root");
389  desc.addUntracked<std::string>("trackScaleFactorFile", "PileupScaleFactor.root");
390  desc.addUntracked<std::vector<std::string> >("MVAProducers", {"initialStepClassifier1", "initialStepClassifier2"});
391  desc.addUntracked<edm::InputTag>("TrackProducerForMVA", edm::InputTag("initialStepTracks"));
392 
393  desc.addUntracked<edm::InputTag>("TCProducer", edm::InputTag("initialStepTrackCandidates"));
394  desc.addUntracked<std::string>("AlgoName", "GenTk");
395  desc.addUntracked<bool>("verbose", false);
396 
397  {
398  edm::ParameterSetDescription TrackEtaHistoPar;
399  TrackEtaHistoPar.add<int>("Xbins", 60);
400  TrackEtaHistoPar.add<double>("Xmin", -3.0);
401  TrackEtaHistoPar.add<double>("Xmax", 3.0);
402  desc.add<edm::ParameterSetDescription>("trackEtaH", TrackEtaHistoPar);
403  }
404 
405  {
406  edm::ParameterSetDescription TrackPtHistoPar;
407  TrackPtHistoPar.add<int>("Xbins", 60);
408  TrackPtHistoPar.add<double>("Xmin", 0.0);
409  TrackPtHistoPar.add<double>("Xmax", 100.0);
410  desc.add<edm::ParameterSetDescription>("trackPtH", TrackPtHistoPar);
411  }
412 
413  {
414  edm::ParameterSetDescription TrackPhiHistoPar;
415  TrackPhiHistoPar.add<int>("Xbins", 100);
416  TrackPhiHistoPar.add<double>("Xmin", -M_PI);
417  TrackPhiHistoPar.add<double>("Xmax", M_PI);
418  desc.add<edm::ParameterSetDescription>("trackPhiH", TrackPhiHistoPar);
419  }
420 
421  descriptions.add("standaloneTrackMonitorDefault", desc);
422 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
#define M_PI
void add(std::string const &label, ParameterSetDescription const &psetDescription)

◆ findClosestVertex()

const reco::Vertex * StandaloneTrackMonitor::findClosestVertex ( const TransientVertex  aTransVtx,
const reco::VertexCollection vertices 
) const
private

Definition at line 1984 of file StandaloneTrackMonitor.cc.

References counter, VertexDistance3D::distance(), TransientVertex::isValid(), Measurement1D::value(), AlignmentTracksFromVertexSelector_cfi::vertices, and L1BJetProducer_cff::vtx.

Referenced by analyze().

1986  { //same as in /DQMOffline/Alignment/src/DiMuonVertexSelector.cc
1987  reco::Vertex* defaultVtx = nullptr;
1988 
1989  if (!aTransVtx.isValid())
1990  return defaultVtx;
1991 
1992  // find the closest vertex to the secondary vertex in 3D
1993  VertexDistance3D vertTool3D;
1994  float minD = 9999.;
1995  int closestVtxIndex = 0;
1996  int counter = 0;
1997  for (const auto& vtx : *vertices) {
1998  double dist3D = vertTool3D.distance(aTransVtx, vtx).value();
1999  if (dist3D < minD) {
2000  minD = dist3D;
2001  closestVtxIndex = counter;
2002  }
2003  counter++;
2004  }
2005 
2006  if ((*vertices).at(closestVtxIndex).isValid()) {
2007  return &(vertices->at(closestVtxIndex));
2008  } else {
2009  return defaultVtx;
2010  }
2011 }
bool isValid() const
Measurement1D distance(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override
double value() const
Definition: Measurement1D.h:25
static std::atomic< unsigned int > counter

◆ processClusters()

void StandaloneTrackMonitor::processClusters ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup,
const TrackerGeometry tkGeom,
double  wfac = 1 
)
protected

Definition at line 1870 of file StandaloneTrackMonitor.cc.

References Surface::bounds(), SiStripClusterInfo::charge(), ALCARECOTkAlJpsiMuMu_cff::charge, clusterMap_, clusterTag_, clusterToken_, hcalRecHitTable_cff::detId, dqm::impl::MonitorElement::Fill(), hOffTrkClusChargeThickH_, hOffTrkClusChargeThinH_, hOffTrkClusWidthThickH_, hOffTrkClusWidthThinH_, TrackerGeometry::idToDetUnit(), iEvent, edm::HandleBase::isValid(), alignCSCRings::s, SiStripClusterInfo::setCluster(), siStripClusterInfo_, GeomDet::surface(), ppsPixelTopologyESSourceRun2_cfi::thickness, Bounds::thickness(), ApeEstimator_cff::width, and SiStripClusterInfo::width().

Referenced by analyze().

1873  {
1874  // SiStripClusters
1876  iEvent.getByToken(clusterToken_, clusterHandle);
1877 
1878  if (clusterHandle.isValid()) {
1879  // Loop on Dets
1880  for (edmNew::DetSetVector<SiStripCluster>::const_iterator dsvit = clusterHandle->begin();
1881  dsvit != clusterHandle->end();
1882  ++dsvit) {
1883  uint32_t detId = dsvit->id();
1884  std::map<uint32_t, std::set<const SiStripCluster*> >::iterator jt = clusterMap_.find(detId);
1885  bool detid_found = (jt != clusterMap_.end()) ? true : false;
1886 
1887  // Loop on Clusters
1888  for (edmNew::DetSet<SiStripCluster>::const_iterator clusit = dsvit->begin(); clusit != dsvit->end(); ++clusit) {
1889  if (detid_found) {
1890  std::set<const SiStripCluster*>& s = jt->second;
1891  if (s.find(&*clusit) != s.end())
1892  continue;
1893  }
1894 
1896  float charge = siStripClusterInfo_.charge();
1897  float width = siStripClusterInfo_.width();
1898 
1899  const GeomDetUnit* detUnit = tkGeom.idToDetUnit(detId);
1900  float thickness = detUnit->surface().bounds().thickness(); // unit cm
1901  if (thickness > 0.035) {
1904  } else {
1907  }
1908  }
1909  }
1910  } else {
1911  edm::LogError("StandaloneTrackMonitor") << "ClusterCollection " << clusterTag_ << " not valid!!" << std::endl;
1912  }
1913 }
void setCluster(const SiStripCluster &cluster, int detId)
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
const edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clusterToken_
MonitorElement * hOffTrkClusWidthThickH_
data_type const * const_iterator
Definition: DetSetNew.h:31
Log< level::Error, false > LogError
MonitorElement * hOffTrkClusWidthThinH_
MonitorElement * hOffTrkClusChargeThinH_
SiStripClusterInfo siStripClusterInfo_
void Fill(long long x)
virtual float thickness() const =0
int iEvent
Definition: GenABIO.cc:224
MonitorElement * hOffTrkClusChargeThickH_
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
const edm::InputTag clusterTag_
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
std::map< uint32_t, std::set< const SiStripCluster * > > clusterMap_
uint16_t width() const
bool isValid() const
Definition: HandleBase.h:70
uint16_t charge() const
const Bounds & bounds() const
Definition: Surface.h:87

◆ processHit()

void StandaloneTrackMonitor::processHit ( const TrackingRecHit recHit,
edm::EventSetup const &  iSetup,
const TrackerGeometry tkGeom,
double  wfac = 1 
)
protected

Definition at line 1914 of file StandaloneTrackMonitor.cc.

References addClusterToMap(), Surface::bounds(), SiStripClusterInfo::charge(), Options::const, ALCARECOPPSCalTrackBasedSel_cff::detid, dqm::impl::MonitorElement::Fill(), hOnTrkClusChargeThickH_, hOnTrkClusChargeThinH_, hOnTrkClusWidthThickH_, hOnTrkClusWidthThinH_, TrackerGeometry::idToDetUnit(), SiStripMatchedRecHit2D::monoCluster(), rpcPointValidation_cfi::recHit, SiStripClusterInfo::setCluster(), siStripClusterInfo_, SiStripMatchedRecHit2D::stereoCluster(), GeomDet::surface(), ppsPixelTopologyESSourceRun2_cfi::thickness, Bounds::thickness(), and SiStripClusterInfo::width().

Referenced by analyze().

1917  {
1918  uint32_t detid = recHit.geographicalId();
1919  const GeomDetUnit* detUnit = tkGeom.idToDetUnit(detid);
1920  float thickness = detUnit->surface().bounds().thickness(); // unit cm
1921 
1922  auto const& thit = static_cast<BaseTrackerRecHit const&>(recHit);
1923  if (!thit.isValid())
1924  return;
1925 
1926  auto const& clus = thit.firstClusterRef();
1927  if (!clus.isValid())
1928  return;
1929  if (!clus.isStrip())
1930  return;
1931 
1932  if (thit.isMatched()) {
1933  const SiStripMatchedRecHit2D& matchedHit = dynamic_cast<const SiStripMatchedRecHit2D&>(recHit);
1934 
1935  auto& clusterM = matchedHit.monoCluster();
1937 
1938  if (thickness > 0.035) {
1941  } else {
1944  }
1945  addClusterToMap(detid, &clusterM);
1946 
1947  auto& clusterS = matchedHit.stereoCluster();
1948 
1950  if (thickness > 0.035) {
1953  } else {
1956  }
1957  addClusterToMap(detid, &clusterS);
1958  } else {
1959  auto& cluster = clus.stripCluster();
1961  if (thickness > 0.035) {
1964  } else {
1967  }
1968 
1969  addClusterToMap(detid, &cluster);
1970  }
1971 }
MonitorElement * hOnTrkClusChargeThickH_
MonitorElement * hOnTrkClusChargeThinH_
void setCluster(const SiStripCluster &cluster, int detId)
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
MonitorElement * hOnTrkClusWidthThinH_
SiStripClusterInfo siStripClusterInfo_
void Fill(long long x)
virtual float thickness() const =0
MonitorElement * hOnTrkClusWidthThickH_
SiStripCluster const & monoCluster() const
void addClusterToMap(uint32_t detid, const SiStripCluster *cluster)
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
uint16_t width() const
SiStripCluster const & stereoCluster() const
uint16_t charge() const
const Bounds & bounds() const
Definition: Surface.h:87

Member Data Documentation

◆ algoName_

const std::string StandaloneTrackMonitor::algoName_
private

Definition at line 107 of file StandaloneTrackMonitor.cc.

◆ beamSpotXYposerrH_

MonitorElement* StandaloneTrackMonitor::beamSpotXYposerrH_
private

Definition at line 224 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ beamSpotXYposH_

MonitorElement* StandaloneTrackMonitor::beamSpotXYposH_
private

Definition at line 223 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ beamSpotZposerrH_

MonitorElement* StandaloneTrackMonitor::beamSpotZposerrH_
private

Definition at line 226 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ beamSpotZposH_

MonitorElement* StandaloneTrackMonitor::beamSpotZposH_
private

Definition at line 225 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ bsTag_

const edm::InputTag StandaloneTrackMonitor::bsTag_
private

Definition at line 84 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ bsToken_

const edm::EDGetTokenT<reco::BeamSpot> StandaloneTrackMonitor::bsToken_
private

Definition at line 90 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ bunchCrossingH_

MonitorElement* StandaloneTrackMonitor::bunchCrossingH_
private

Definition at line 243 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ chi2it

int StandaloneTrackMonitor::chi2it = 0
private

Definition at line 110 of file StandaloneTrackMonitor.cc.

◆ chi2itGt

int StandaloneTrackMonitor::chi2itGt = 0
private

Definition at line 110 of file StandaloneTrackMonitor.cc.

◆ chi2itLt

int StandaloneTrackMonitor::chi2itLt = 0
private

Definition at line 110 of file StandaloneTrackMonitor.cc.

◆ clusterMap_

std::map<uint32_t, std::set<const SiStripCluster*> > StandaloneTrackMonitor::clusterMap_
private

Definition at line 368 of file StandaloneTrackMonitor.cc.

Referenced by addClusterToMap(), and processClusters().

◆ clusterTag_

const edm::InputTag StandaloneTrackMonitor::clusterTag_
private

Definition at line 87 of file StandaloneTrackMonitor.cc.

Referenced by processClusters().

◆ clusterToken_

const edm::EDGetTokenT<edmNew::DetSetVector<SiStripCluster> > StandaloneTrackMonitor::clusterToken_
private

Definition at line 93 of file StandaloneTrackMonitor.cc.

Referenced by processClusters().

◆ cosPhi3DdileptonH_

MonitorElement* StandaloneTrackMonitor::cosPhi3DdileptonH_
private

Definition at line 362 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ DistanceOfClosestApproachToPVH_

MonitorElement* StandaloneTrackMonitor::DistanceOfClosestApproachToPVH_
private

Definition at line 145 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ DistanceOfClosestApproachToPVVsPhiH_

MonitorElement* StandaloneTrackMonitor::DistanceOfClosestApproachToPVVsPhiH_
private

Definition at line 147 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ DistanceOfClosestApproachToPVZoomedH_

MonitorElement* StandaloneTrackMonitor::DistanceOfClosestApproachToPVZoomedH_
private

Definition at line 146 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ doPUCorrection_

const bool StandaloneTrackMonitor::doPUCorrection_
private

Definition at line 97 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ doTrackCorrection_

const bool StandaloneTrackMonitor::doTrackCorrection_
private

Definition at line 98 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ folderName_

const std::string StandaloneTrackMonitor::folderName_
private

Definition at line 77 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ geomToken_

const edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> StandaloneTrackMonitor::geomToken_
private

Definition at line 113 of file StandaloneTrackMonitor.cc.

Referenced by dqmBeginRun().

◆ haveAllHistograms_

const bool StandaloneTrackMonitor::haveAllHistograms_
private

Definition at line 100 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ hOffTrkClusChargeThickH_

MonitorElement* StandaloneTrackMonitor::hOffTrkClusChargeThickH_
private

Definition at line 343 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms(), and processClusters().

◆ hOffTrkClusChargeThinH_

MonitorElement* StandaloneTrackMonitor::hOffTrkClusChargeThinH_
private

Definition at line 341 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms(), and processClusters().

◆ hOffTrkClusWidthThickH_

MonitorElement* StandaloneTrackMonitor::hOffTrkClusWidthThickH_
private

Definition at line 344 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms(), and processClusters().

◆ hOffTrkClusWidthThinH_

MonitorElement* StandaloneTrackMonitor::hOffTrkClusWidthThinH_
private

Definition at line 342 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms(), and processClusters().

◆ hOnTrkClusChargeThickH_

MonitorElement* StandaloneTrackMonitor::hOnTrkClusChargeThickH_
private

Definition at line 338 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms(), and processHit().

◆ hOnTrkClusChargeThinH_

MonitorElement* StandaloneTrackMonitor::hOnTrkClusChargeThinH_
private

Definition at line 336 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms(), and processHit().

◆ hOnTrkClusWidthThickH_

MonitorElement* StandaloneTrackMonitor::hOnTrkClusWidthThickH_
private

Definition at line 339 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms(), and processHit().

◆ hOnTrkClusWidthThinH_

MonitorElement* StandaloneTrackMonitor::hOnTrkClusWidthThinH_
private

Definition at line 337 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms(), and processHit().

◆ ip2dToBSH_

MonitorElement* StandaloneTrackMonitor::ip2dToBSH_
private

Definition at line 161 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ ip2dToPVH_

MonitorElement* StandaloneTrackMonitor::ip2dToPVH_
private

Definition at line 152 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ ip3dToBS2validpixelhitsH_

MonitorElement* StandaloneTrackMonitor::ip3dToBS2validpixelhitsH_
private

Definition at line 175 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ ip3dToBSH_

MonitorElement* StandaloneTrackMonitor::ip3dToBSH_
private

Definition at line 155 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ ip3dToPV2validpixelhitsH_

MonitorElement* StandaloneTrackMonitor::ip3dToPV2validpixelhitsH_
private

Definition at line 174 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ ip3dToPVH_

MonitorElement* StandaloneTrackMonitor::ip3dToPVH_
private

Definition at line 164 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ iperr2dToBSH_

MonitorElement* StandaloneTrackMonitor::iperr2dToBSH_
private

Definition at line 158 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ iperr2dToPVH_

MonitorElement* StandaloneTrackMonitor::iperr2dToPVH_
private

Definition at line 153 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ iperr2dToPVWtH_

MonitorElement* StandaloneTrackMonitor::iperr2dToPVWtH_
private

Definition at line 159 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ iperr3dToBS2validpixelhitsH_

MonitorElement* StandaloneTrackMonitor::iperr3dToBS2validpixelhitsH_
private

Definition at line 177 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ iperr3dToBSH_

MonitorElement* StandaloneTrackMonitor::iperr3dToBSH_
private

Definition at line 156 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ iperr3dToBSWtH_

MonitorElement* StandaloneTrackMonitor::iperr3dToBSWtH_
private

Definition at line 157 of file StandaloneTrackMonitor.cc.

◆ iperr3dToPV2validpixelhitsH_

MonitorElement* StandaloneTrackMonitor::iperr3dToPV2validpixelhitsH_
private

Definition at line 176 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ iperr3dToPVH_

MonitorElement* StandaloneTrackMonitor::iperr3dToPVH_
private

Definition at line 165 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ iperr3dToPVWtH_

MonitorElement* StandaloneTrackMonitor::iperr3dToPVWtH_
private

Definition at line 166 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ isMC_

const bool StandaloneTrackMonitor::isMC_
private

Definition at line 99 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ isRECO_

const bool StandaloneTrackMonitor::isRECO_
private

Definition at line 79 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ Jet_chargedMultiplicity_

MonitorElement* StandaloneTrackMonitor::Jet_chargedMultiplicity_
private

Definition at line 357 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ Jet_energy_

MonitorElement* StandaloneTrackMonitor::Jet_energy_
private

Definition at line 356 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ Jet_eta_

MonitorElement* StandaloneTrackMonitor::Jet_eta_
private

Definition at line 355 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ Jet_pt_

MonitorElement* StandaloneTrackMonitor::Jet_pt_
private

Definition at line 354 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ jetsTag_

const edm::InputTag StandaloneTrackMonitor::jetsTag_
private

Definition at line 88 of file StandaloneTrackMonitor.cc.

◆ jetsToken_

const edm::EDGetTokenT<std::vector<reco::PFJet> > StandaloneTrackMonitor::jetsToken_
private

Definition at line 94 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ lumivec1

std::vector<int> StandaloneTrackMonitor::lumivec1
private

Definition at line 364 of file StandaloneTrackMonitor.cc.

◆ lumivec2

std::vector<int> StandaloneTrackMonitor::lumivec2
private

Definition at line 365 of file StandaloneTrackMonitor.cc.

◆ moduleName_

const std::string StandaloneTrackMonitor::moduleName_
private

Definition at line 76 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ mvaProducers_

const std::vector<std::string> StandaloneTrackMonitor::mvaProducers_
private

Definition at line 103 of file StandaloneTrackMonitor.cc.

◆ mvaQualityTokens_

std::vector<std::tuple<edm::EDGetTokenT<MVACollection>, edm::EDGetTokenT<QualityMaskCollection> > > StandaloneTrackMonitor::mvaQualityTokens_
private

Definition at line 112 of file StandaloneTrackMonitor.cc.

◆ mvaTrackTag_

const edm::InputTag StandaloneTrackMonitor::mvaTrackTag_
private

Definition at line 104 of file StandaloneTrackMonitor.cc.

◆ mvaTrackToken_

const edm::EDGetTokenT<edm::View<reco::Track> > StandaloneTrackMonitor::mvaTrackToken_
private

Definition at line 105 of file StandaloneTrackMonitor.cc.

◆ nallHitsH_

MonitorElement* StandaloneTrackMonitor::nallHitsH_
private

Definition at line 181 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nevt

int StandaloneTrackMonitor::nevt = 0
private

Definition at line 109 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ nHitsStripDVsEtaH_

MonitorElement* StandaloneTrackMonitor::nHitsStripDVsEtaH_
private

Definition at line 267 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ nHitsStripSVsEtaH_

MonitorElement* StandaloneTrackMonitor::nHitsStripSVsEtaH_
private

Definition at line 261 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ nHitsTECDVsEtaH_

MonitorElement* StandaloneTrackMonitor::nHitsTECDVsEtaH_
private

Definition at line 265 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ nHitsTECSVsEtaH_

MonitorElement* StandaloneTrackMonitor::nHitsTECSVsEtaH_
private

Definition at line 259 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ nHitsTIBDVsEtaH_

MonitorElement* StandaloneTrackMonitor::nHitsTIBDVsEtaH_
private

Definition at line 263 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ nHitsTIBSVsEtaH_

MonitorElement* StandaloneTrackMonitor::nHitsTIBSVsEtaH_
private

Definition at line 257 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ nHitsTIDDVsEtaH_

MonitorElement* StandaloneTrackMonitor::nHitsTIDDVsEtaH_
private

Definition at line 266 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ nHitsTIDSVsEtaH_

MonitorElement* StandaloneTrackMonitor::nHitsTIDSVsEtaH_
private

Definition at line 260 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ nHitsTOBDVsEtaH_

MonitorElement* StandaloneTrackMonitor::nHitsTOBDVsEtaH_
private

Definition at line 264 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ nHitsTOBSVsEtaH_

MonitorElement* StandaloneTrackMonitor::nHitsTOBSVsEtaH_
private

Definition at line 258 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ nJet_

MonitorElement* StandaloneTrackMonitor::nJet_
private

Definition at line 353 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitByLayerH_

MonitorElement* StandaloneTrackMonitor::nLostHitByLayerH_
private

Definition at line 248 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitByLayerPixH_

MonitorElement* StandaloneTrackMonitor::nLostHitByLayerPixH_
private

Definition at line 249 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitByLayerStripH_

MonitorElement* StandaloneTrackMonitor::nLostHitByLayerStripH_
private

Definition at line 250 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nlostHitsH_

MonitorElement* StandaloneTrackMonitor::nlostHitsH_
private

Definition at line 219 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsPixBVsEtaH_

MonitorElement* StandaloneTrackMonitor::nLostHitsPixBVsEtaH_
private

Definition at line 294 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsPixBVsIterationH_

MonitorElement* StandaloneTrackMonitor::nLostHitsPixBVsIterationH_
private

Definition at line 303 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsPixBVsPhiH_

MonitorElement* StandaloneTrackMonitor::nLostHitsPixBVsPhiH_
private

Definition at line 312 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsPixEVsEtaH_

MonitorElement* StandaloneTrackMonitor::nLostHitsPixEVsEtaH_
private

Definition at line 295 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsPixEVsIterationH_

MonitorElement* StandaloneTrackMonitor::nLostHitsPixEVsIterationH_
private

Definition at line 304 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsPixEVsPhiH_

MonitorElement* StandaloneTrackMonitor::nLostHitsPixEVsPhiH_
private

Definition at line 313 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsPixVsEtaH_

MonitorElement* StandaloneTrackMonitor::nLostHitsPixVsEtaH_
private

Definition at line 293 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsPixVsIterationH_

MonitorElement* StandaloneTrackMonitor::nLostHitsPixVsIterationH_
private

Definition at line 302 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsPixVsPhiH_

MonitorElement* StandaloneTrackMonitor::nLostHitsPixVsPhiH_
private

Definition at line 311 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsStripVsEtaH_

MonitorElement* StandaloneTrackMonitor::nLostHitsStripVsEtaH_
private

Definition at line 296 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsStripVsIterationH_

MonitorElement* StandaloneTrackMonitor::nLostHitsStripVsIterationH_
private

Definition at line 305 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsStripVsPhiH_

MonitorElement* StandaloneTrackMonitor::nLostHitsStripVsPhiH_
private

Definition at line 314 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsTECVsEtaH_

MonitorElement* StandaloneTrackMonitor::nLostHitsTECVsEtaH_
private

Definition at line 299 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsTECVsIterationH_

MonitorElement* StandaloneTrackMonitor::nLostHitsTECVsIterationH_
private

Definition at line 308 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsTECVsPhiH_

MonitorElement* StandaloneTrackMonitor::nLostHitsTECVsPhiH_
private

Definition at line 317 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsTIBVsEtaH_

MonitorElement* StandaloneTrackMonitor::nLostHitsTIBVsEtaH_
private

Definition at line 297 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsTIBVsIterationH_

MonitorElement* StandaloneTrackMonitor::nLostHitsTIBVsIterationH_
private

Definition at line 306 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsTIBVsPhiH_

MonitorElement* StandaloneTrackMonitor::nLostHitsTIBVsPhiH_
private

Definition at line 315 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsTIDVsEtaH_

MonitorElement* StandaloneTrackMonitor::nLostHitsTIDVsEtaH_
private

Definition at line 300 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsTIDVsIterationH_

MonitorElement* StandaloneTrackMonitor::nLostHitsTIDVsIterationH_
private

Definition at line 309 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsTIDVsPhiH_

MonitorElement* StandaloneTrackMonitor::nLostHitsTIDVsPhiH_
private

Definition at line 318 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsTOBVsEtaH_

MonitorElement* StandaloneTrackMonitor::nLostHitsTOBVsEtaH_
private

Definition at line 298 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsTOBVsIterationH_

MonitorElement* StandaloneTrackMonitor::nLostHitsTOBVsIterationH_
private

Definition at line 307 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsTOBVsPhiH_

MonitorElement* StandaloneTrackMonitor::nLostHitsTOBVsPhiH_
private

Definition at line 316 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsVsCosThetaH_

MonitorElement* StandaloneTrackMonitor::nLostHitsVsCosThetaH_
private

Definition at line 253 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsVsEtaH_

MonitorElement* StandaloneTrackMonitor::nLostHitsVsEtaH_
private

Definition at line 252 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsVsIterationH_

MonitorElement* StandaloneTrackMonitor::nLostHitsVsIterationH_
private

Definition at line 255 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsVsPhiH_

MonitorElement* StandaloneTrackMonitor::nLostHitsVsPhiH_
private

Definition at line 254 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nLostHitsVspTH_

MonitorElement* StandaloneTrackMonitor::nLostHitsVspTH_
private

Definition at line 251 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nlostPixelBHitsH_

MonitorElement* StandaloneTrackMonitor::nlostPixelBHitsH_
private

Definition at line 196 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nlostPixelEHitsH_

MonitorElement* StandaloneTrackMonitor::nlostPixelEHitsH_
private

Definition at line 197 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nlostPixelHitsH_

MonitorElement* StandaloneTrackMonitor::nlostPixelHitsH_
private

Definition at line 195 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nlostStripHitsH_

MonitorElement* StandaloneTrackMonitor::nlostStripHitsH_
private

Definition at line 198 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nlostTECHitsH_

MonitorElement* StandaloneTrackMonitor::nlostTECHitsH_
private

Definition at line 202 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nlostTIBHitsH_

MonitorElement* StandaloneTrackMonitor::nlostTIBHitsH_
private

Definition at line 199 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nlostTIDHitsH_

MonitorElement* StandaloneTrackMonitor::nlostTIDHitsH_
private

Definition at line 201 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nlostTOBHitsH_

MonitorElement* StandaloneTrackMonitor::nlostTOBHitsH_
private

Definition at line 200 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nlostTrackerHitsH_

MonitorElement* StandaloneTrackMonitor::nlostTrackerHitsH_
private

Definition at line 194 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nMissingExpectedInnerHitsH_

MonitorElement* StandaloneTrackMonitor::nMissingExpectedInnerHitsH_
private

Definition at line 220 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nMissingExpectedOuterHitsH_

MonitorElement* StandaloneTrackMonitor::nMissingExpectedOuterHitsH_
private

Definition at line 221 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nMissingInnerHitBH_

MonitorElement* StandaloneTrackMonitor::nMissingInnerHitBH_
private

Definition at line 204 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nMissingInnerHitEH_

MonitorElement* StandaloneTrackMonitor::nMissingInnerHitEH_
private

Definition at line 205 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nMissingOuterHitBH_

MonitorElement* StandaloneTrackMonitor::nMissingOuterHitBH_
private

Definition at line 206 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nMissingOuterHitEH_

MonitorElement* StandaloneTrackMonitor::nMissingOuterHitEH_
private

Definition at line 207 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nPixBarrelH_

MonitorElement* StandaloneTrackMonitor::nPixBarrelH_
private

Definition at line 234 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nPixEndcapH_

MonitorElement* StandaloneTrackMonitor::nPixEndcapH_
private

Definition at line 235 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nPUH_

MonitorElement* StandaloneTrackMonitor::nPUH_
private

Definition at line 244 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nStripTECH_

MonitorElement* StandaloneTrackMonitor::nStripTECH_
private

Definition at line 238 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nStripTIBH_

MonitorElement* StandaloneTrackMonitor::nStripTIBH_
private

Definition at line 236 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nStripTIDH_

MonitorElement* StandaloneTrackMonitor::nStripTIDH_
private

Definition at line 239 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nStripTOBH_

MonitorElement* StandaloneTrackMonitor::nStripTOBH_
private

Definition at line 237 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ ntrackerHitsH_

MonitorElement* StandaloneTrackMonitor::ntrackerHitsH_
private

Definition at line 182 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nTracksH_

MonitorElement* StandaloneTrackMonitor::nTracksH_
private

Definition at line 240 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsPixBVsEtaH_

MonitorElement* StandaloneTrackMonitor::nValidHitsPixBVsEtaH_
private

Definition at line 276 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsPixBVsPhiH_

MonitorElement* StandaloneTrackMonitor::nValidHitsPixBVsPhiH_
private

Definition at line 285 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsPixEVsEtaH_

MonitorElement* StandaloneTrackMonitor::nValidHitsPixEVsEtaH_
private

Definition at line 277 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsPixEVsPhiH_

MonitorElement* StandaloneTrackMonitor::nValidHitsPixEVsPhiH_
private

Definition at line 286 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsPixVsEtaH_

MonitorElement* StandaloneTrackMonitor::nValidHitsPixVsEtaH_
private

Definition at line 275 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsPixVsPhiH_

MonitorElement* StandaloneTrackMonitor::nValidHitsPixVsPhiH_
private

Definition at line 284 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsStripVsEtaH_

MonitorElement* StandaloneTrackMonitor::nValidHitsStripVsEtaH_
private

Definition at line 278 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsStripVsPhiH_

MonitorElement* StandaloneTrackMonitor::nValidHitsStripVsPhiH_
private

Definition at line 287 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsTECVsEtaH_

MonitorElement* StandaloneTrackMonitor::nValidHitsTECVsEtaH_
private

Definition at line 281 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsTECVsPhiH_

MonitorElement* StandaloneTrackMonitor::nValidHitsTECVsPhiH_
private

Definition at line 290 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsTIBVsEtaH_

MonitorElement* StandaloneTrackMonitor::nValidHitsTIBVsEtaH_
private

Definition at line 279 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsTIBVsPhiH_

MonitorElement* StandaloneTrackMonitor::nValidHitsTIBVsPhiH_
private

Definition at line 288 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsTIDVsEtaH_

MonitorElement* StandaloneTrackMonitor::nValidHitsTIDVsEtaH_
private

Definition at line 282 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsTIDVsPhiH_

MonitorElement* StandaloneTrackMonitor::nValidHitsTIDVsPhiH_
private

Definition at line 291 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsTOBVsEtaH_

MonitorElement* StandaloneTrackMonitor::nValidHitsTOBVsEtaH_
private

Definition at line 280 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsTOBVsPhiH_

MonitorElement* StandaloneTrackMonitor::nValidHitsTOBVsPhiH_
private

Definition at line 289 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsVsCosThetaH_

MonitorElement* StandaloneTrackMonitor::nValidHitsVsCosThetaH_
private

Definition at line 272 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsVsEtaH_

MonitorElement* StandaloneTrackMonitor::nValidHitsVsEtaH_
private

Definition at line 271 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsVsnVtxH_

MonitorElement* StandaloneTrackMonitor::nValidHitsVsnVtxH_
private

Definition at line 270 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsVsPhiH_

MonitorElement* StandaloneTrackMonitor::nValidHitsVsPhiH_
private

Definition at line 273 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nValidHitsVspTH_

MonitorElement* StandaloneTrackMonitor::nValidHitsVspTH_
private

Definition at line 269 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nvalidPixelBHitsH_

MonitorElement* StandaloneTrackMonitor::nvalidPixelBHitsH_
private

Definition at line 186 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nvalidPixelEHitsH_

MonitorElement* StandaloneTrackMonitor::nvalidPixelEHitsH_
private

Definition at line 187 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nvalidPixelHitsH_

MonitorElement* StandaloneTrackMonitor::nvalidPixelHitsH_
private

Definition at line 185 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nvalidStripHitsH_

MonitorElement* StandaloneTrackMonitor::nvalidStripHitsH_
private

Definition at line 188 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nvalidTECHitsH_

MonitorElement* StandaloneTrackMonitor::nvalidTECHitsH_
private

Definition at line 192 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nvalidTIBHitsH_

MonitorElement* StandaloneTrackMonitor::nvalidTIBHitsH_
private

Definition at line 189 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nvalidTIDHitsH_

MonitorElement* StandaloneTrackMonitor::nvalidTIDHitsH_
private

Definition at line 191 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nvalidTOBHitsH_

MonitorElement* StandaloneTrackMonitor::nvalidTOBHitsH_
private

Definition at line 190 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nvalidTrackerHitsH_

MonitorElement* StandaloneTrackMonitor::nvalidTrackerHitsH_
private

Definition at line 184 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nVertexH_

MonitorElement* StandaloneTrackMonitor::nVertexH_
private

Definition at line 231 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ nVtxH_

MonitorElement* StandaloneTrackMonitor::nVtxH_
private

Definition at line 232 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ pixelBLayerwithMeasurementH_

MonitorElement* StandaloneTrackMonitor::pixelBLayerwithMeasurementH_
private

Definition at line 211 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ pixelELayerwithMeasurementH_

MonitorElement* StandaloneTrackMonitor::pixelELayerwithMeasurementH_
private

Definition at line 212 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ pixelLayerwithMeasurementH_

MonitorElement* StandaloneTrackMonitor::pixelLayerwithMeasurementH_
private

Definition at line 210 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ puScaleFactorFile_

const std::string StandaloneTrackMonitor::puScaleFactorFile_
private

Definition at line 101 of file StandaloneTrackMonitor.cc.

◆ puSummaryTag_

const edm::InputTag StandaloneTrackMonitor::puSummaryTag_
private

Definition at line 86 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ puSummaryToken_

const edm::EDGetTokenT<std::vector<PileupSummaryInfo> > StandaloneTrackMonitor::puSummaryToken_
private

Definition at line 92 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ sip2dToBSH_

MonitorElement* StandaloneTrackMonitor::sip2dToBSH_
private

Definition at line 162 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ sip2dToPVH_

MonitorElement* StandaloneTrackMonitor::sip2dToPVH_
private

Definition at line 169 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ sip2dToPVWtH_

MonitorElement* StandaloneTrackMonitor::sip2dToPVWtH_
private

Definition at line 170 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ sip3dToBS2validpixelhitsH_

MonitorElement* StandaloneTrackMonitor::sip3dToBS2validpixelhitsH_
private

Definition at line 179 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ sip3dToBSH_

MonitorElement* StandaloneTrackMonitor::sip3dToBSH_
private

Definition at line 168 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ sip3dToPV2validpixelhitsH_

MonitorElement* StandaloneTrackMonitor::sip3dToPV2validpixelhitsH_
private

Definition at line 178 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ sip3dToPVH_

MonitorElement* StandaloneTrackMonitor::sip3dToPVH_
private

Definition at line 167 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ sipDxyToPVH_

MonitorElement* StandaloneTrackMonitor::sipDxyToPVH_
private

Definition at line 171 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ sipDzToPVH_

MonitorElement* StandaloneTrackMonitor::sipDzToPVH_
private

Definition at line 172 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ siStripClusterInfo_

SiStripClusterInfo StandaloneTrackMonitor::siStripClusterInfo_
private

Definition at line 81 of file StandaloneTrackMonitor.cc.

Referenced by processClusters(), and processHit().

◆ stripLayerwithMeasurementH_

MonitorElement* StandaloneTrackMonitor::stripLayerwithMeasurementH_
private

Definition at line 213 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ stripTECLayerwithMeasurementH_

MonitorElement* StandaloneTrackMonitor::stripTECLayerwithMeasurementH_
private

Definition at line 217 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ stripTIBLayerwithMeasurementH_

MonitorElement* StandaloneTrackMonitor::stripTIBLayerwithMeasurementH_
private

Definition at line 214 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ stripTIDLayerwithMeasurementH_

MonitorElement* StandaloneTrackMonitor::stripTIDLayerwithMeasurementH_
private

Definition at line 216 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ stripTOBLayerwithMeasurementH_

MonitorElement* StandaloneTrackMonitor::stripTOBLayerwithMeasurementH_
private

Definition at line 215 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ tcProducer_

const edm::InputTag StandaloneTrackMonitor::tcProducer_
private

Definition at line 106 of file StandaloneTrackMonitor.cc.

◆ tkGeom_

const TrackerGeometry* StandaloneTrackMonitor::tkGeom_ = nullptr
private

Definition at line 118 of file StandaloneTrackMonitor.cc.

Referenced by dqmBeginRun().

◆ trackalgoH_

MonitorElement* StandaloneTrackMonitor::trackalgoH_
private

Definition at line 141 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackChargeH_

MonitorElement* StandaloneTrackMonitor::trackChargeH_
private

Definition at line 134 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackChi2bynDOFH_

MonitorElement* StandaloneTrackMonitor::trackChi2bynDOFH_
private

Definition at line 140 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackChi2H_

MonitorElement* StandaloneTrackMonitor::trackChi2H_
private

Definition at line 135 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackChi2oNDFH_

MonitorElement* StandaloneTrackMonitor::trackChi2oNDFH_
private

Definition at line 138 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackChi2oNDFVsEtaH_

MonitorElement* StandaloneTrackMonitor::trackChi2oNDFVsEtaH_
private

Definition at line 320 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackChi2oNDFVsPhiH_

MonitorElement* StandaloneTrackMonitor::trackChi2oNDFVsPhiH_
private

Definition at line 321 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackChi2ProbH_

MonitorElement* StandaloneTrackMonitor::trackChi2ProbH_
private

Definition at line 137 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackChi2probVsEtaH_

MonitorElement* StandaloneTrackMonitor::trackChi2probVsEtaH_
private

Definition at line 322 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackChi2probVsPhiH_

MonitorElement* StandaloneTrackMonitor::trackChi2probVsPhiH_
private

Definition at line 323 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackCosThetaH_

MonitorElement* StandaloneTrackMonitor::trackCosThetaH_
private

Definition at line 122 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackd0H_

MonitorElement* StandaloneTrackMonitor::trackd0H_
private

Definition at line 139 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackDeltaRwrtClosestTrack_

MonitorElement* StandaloneTrackMonitor::trackDeltaRwrtClosestTrack_
private

Definition at line 150 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackEtaerrH_

MonitorElement* StandaloneTrackMonitor::trackEtaerrH_
private

Definition at line 121 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackEtaH_

MonitorElement* StandaloneTrackMonitor::trackEtaH_
private

Definition at line 120 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ TrackEtaHistoPar_

const edm::ParameterSet StandaloneTrackMonitor::TrackEtaHistoPar_
private

Definition at line 115 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ trackIperr3dVsChi2prob2DH_

MonitorElement* StandaloneTrackMonitor::trackIperr3dVsChi2prob2DH_
private

Definition at line 331 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackIperr3dVsChi2probH_

MonitorElement* StandaloneTrackMonitor::trackIperr3dVsChi2probH_
private

Definition at line 326 of file StandaloneTrackMonitor.cc.

◆ trackIperr3dVsEta2DH_

MonitorElement* StandaloneTrackMonitor::trackIperr3dVsEta2DH_
private

Definition at line 330 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackIperr3dVsEtaH_

MonitorElement* StandaloneTrackMonitor::trackIperr3dVsEtaH_
private

Definition at line 325 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackMVAs

std::vector<MonitorElement*> StandaloneTrackMonitor::trackMVAs
private

Definition at line 346 of file StandaloneTrackMonitor.cc.

◆ trackMVAsHP

std::vector<MonitorElement*> StandaloneTrackMonitor::trackMVAsHP
private

Definition at line 347 of file StandaloneTrackMonitor.cc.

◆ trackMVAsHPVsEtaProfile

std::vector<MonitorElement*> StandaloneTrackMonitor::trackMVAsHPVsEtaProfile
private

Definition at line 351 of file StandaloneTrackMonitor.cc.

◆ trackMVAsHPVsPtProfile

std::vector<MonitorElement*> StandaloneTrackMonitor::trackMVAsHPVsPtProfile
private

Definition at line 349 of file StandaloneTrackMonitor.cc.

◆ trackMVAsVsEtaProfile

std::vector<MonitorElement*> StandaloneTrackMonitor::trackMVAsVsEtaProfile
private

Definition at line 350 of file StandaloneTrackMonitor.cc.

◆ trackMVAsVsPtProfile

std::vector<MonitorElement*> StandaloneTrackMonitor::trackMVAsVsPtProfile
private

Definition at line 348 of file StandaloneTrackMonitor.cc.

◆ tracknDOFH_

MonitorElement* StandaloneTrackMonitor::tracknDOFH_
private

Definition at line 136 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackorigalgoH_

MonitorElement* StandaloneTrackMonitor::trackorigalgoH_
private

Definition at line 142 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackPH_

MonitorElement* StandaloneTrackMonitor::trackPH_
private

Definition at line 126 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackPhierrH_

MonitorElement* StandaloneTrackMonitor::trackPhierrH_
private

Definition at line 125 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackPhiH_

MonitorElement* StandaloneTrackMonitor::trackPhiH_
private

Definition at line 124 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ TrackPhiHistoPar_

const edm::ParameterSet StandaloneTrackMonitor::TrackPhiHistoPar_
private

Definition at line 116 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ trackPt_ZoomH_

MonitorElement* StandaloneTrackMonitor::trackPt_ZoomH_
private

Definition at line 128 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackPterrH_

MonitorElement* StandaloneTrackMonitor::trackPterrH_
private

Definition at line 131 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackPtH_

MonitorElement* StandaloneTrackMonitor::trackPtH_
private

Definition at line 127 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ TrackPtHistoPar_

const edm::ParameterSet StandaloneTrackMonitor::TrackPtHistoPar_
private

Definition at line 117 of file StandaloneTrackMonitor.cc.

Referenced by bookHistograms().

◆ trackPtOver10GeVH_

MonitorElement* StandaloneTrackMonitor::trackPtOver10GeVH_
private

Definition at line 130 of file StandaloneTrackMonitor.cc.

◆ trackPtUpto2GeVH_

MonitorElement* StandaloneTrackMonitor::trackPtUpto2GeVH_
private

Definition at line 129 of file StandaloneTrackMonitor.cc.

◆ trackqOverperrH_

MonitorElement* StandaloneTrackMonitor::trackqOverperrH_
private

Definition at line 133 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackqOverpH_

MonitorElement* StandaloneTrackMonitor::trackqOverpH_
private

Definition at line 132 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackQuality_

const std::string StandaloneTrackMonitor::trackQuality_
private

Definition at line 96 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ trackScaleFactorFile_

const std::string StandaloneTrackMonitor::trackScaleFactorFile_
private

Definition at line 102 of file StandaloneTrackMonitor.cc.

◆ trackSip2dVsChi2prob2DH_

MonitorElement* StandaloneTrackMonitor::trackSip2dVsChi2prob2DH_
private

Definition at line 334 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackSip2dVsEta2DH_

MonitorElement* StandaloneTrackMonitor::trackSip2dVsEta2DH_
private

Definition at line 333 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackSip2dVsEtaH_

MonitorElement* StandaloneTrackMonitor::trackSip2dVsEtaH_
private

Definition at line 328 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackStoppingSourceH_

MonitorElement* StandaloneTrackMonitor::trackStoppingSourceH_
private

Definition at line 143 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackTag_

const edm::InputTag StandaloneTrackMonitor::trackTag_
private

Definition at line 83 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ trackThetaerrH_

MonitorElement* StandaloneTrackMonitor::trackThetaerrH_
private

Definition at line 123 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trackToken_

const edm::EDGetTokenT<reco::TrackCollection> StandaloneTrackMonitor::trackToken_
private

Definition at line 89 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ transTrackToken_

const edm::ESGetToken<TransientTrackBuilder, TransientTrackRecord> StandaloneTrackMonitor::transTrackToken_
private

Definition at line 114 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ trkLayerwithMeasurementH_

MonitorElement* StandaloneTrackMonitor::trkLayerwithMeasurementH_
private

Definition at line 209 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ trueNIntH_

MonitorElement* StandaloneTrackMonitor::trueNIntH_
private

Definition at line 245 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ verbose_

const bool StandaloneTrackMonitor::verbose_
private

Definition at line 111 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ vertexTag_

const edm::InputTag StandaloneTrackMonitor::vertexTag_
private

Definition at line 85 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ vertexToken_

const edm::EDGetTokenT<reco::VertexCollection> StandaloneTrackMonitor::vertexToken_
private

Definition at line 91 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ vertexXposH_

MonitorElement* StandaloneTrackMonitor::vertexXposH_
private

Definition at line 228 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ vertexYposH_

MonitorElement* StandaloneTrackMonitor::vertexYposH_
private

Definition at line 229 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ vertexZposH_

MonitorElement* StandaloneTrackMonitor::vertexZposH_
private

Definition at line 230 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ vpu_

std::vector<float> StandaloneTrackMonitor::vpu_
private

Definition at line 366 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ vtrack_

std::vector<float> StandaloneTrackMonitor::vtrack_
private

Definition at line 367 of file StandaloneTrackMonitor.cc.

Referenced by analyze().

◆ xPointOfClosestApproachVsZ0wrtPVH_

MonitorElement* StandaloneTrackMonitor::xPointOfClosestApproachVsZ0wrtPVH_
private

Definition at line 148 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ yPointOfClosestApproachVsZ0wrtPVH_

MonitorElement* StandaloneTrackMonitor::yPointOfClosestApproachVsZ0wrtPVH_
private

Definition at line 149 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ ZInvMass_

MonitorElement* StandaloneTrackMonitor::ZInvMass_
private

Definition at line 360 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().

◆ Zpt_

MonitorElement* StandaloneTrackMonitor::Zpt_
private

Definition at line 359 of file StandaloneTrackMonitor.cc.

Referenced by analyze(), and bookHistograms().