CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
tadqm::TrackAnalyzer Class Reference

#include <TrackAnalyzer.h>

Classes

struct  Key
 
struct  KeyHasher
 
struct  TkParameterMEs
 
struct  TkRecHitsPerSubDetMEs
 

Public Types

typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 

Public Member Functions

void analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::Track &track)
 
void initHisto (DQMStore::IBooker &ibooker, const edm::EventSetup &, const edm::ParameterSet &)
 
void setBX (const edm::Event &)
 
void setLumi (const edm::Event &, const edm::EventSetup &iSetup)
 
void setNumberOfGoodVertices (const edm::Event &)
 
 TrackAnalyzer (const edm::ParameterSet &)
 
 TrackAnalyzer (const edm::ParameterSet &, edm::ConsumesCollector &iC)
 
 ~TrackAnalyzer ()
 

Private Types

enum  monQuantity {
  VsPU, VsBX, VsPIXELLUMI, VsSCALLUMI,
  END
}
 

Private Member Functions

void bookHistosForBeamSpot (DQMStore::IBooker &ibooker)
 
void bookHistosForEfficiencyFromHitPatter (DQMStore::IBooker &ibooker, const edm::EventSetup &iSetup, const std::string suffix, bool useInac)
 
void bookHistosForHitProperties (DQMStore::IBooker &ibooker)
 
void bookHistosForLScertification (DQMStore::IBooker &ibooker)
 
void bookHistosForState (std::string sname, DQMStore::IBooker &ibooker)
 
void bookHistosForTrackerSpecific (DQMStore::IBooker &ibooker)
 
void fillHistosForEfficiencyFromHitPatter (const reco::Track &track, const std::string suffix, const float monitoring, bool useInac)
 
void fillHistosForHitProperties (const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
 
void fillHistosForLScertification (const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
 
void fillHistosForState (const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
 
void fillHistosForTrackerSpecific (const reco::Track &track)
 
void initHistos ()
 

Private Attributes

MonitorElementAbsDistanceOfClosestApproachToBS
 
MonitorElementalgorithm
 
edm::EDGetTokenT< reco::BeamSpotbeamSpotToken_
 
unsigned int bx_
 
MonitorElementChi2
 
MonitorElementChi2oNDF
 
MonitorElementChi2oNDF_lumiFlag
 
MonitorElementChi2oNDFVsEta = nullptr
 
MonitorElementChi2oNDFVsNHits = nullptr
 
MonitorElementChi2oNDFVsPhi
 
MonitorElementChi2oNDFVsPt = nullptr
 
MonitorElementChi2oNDFVsTheta
 
MonitorElementChi2Prob
 
MonitorElementChi2ProbVsEta
 
MonitorElementChi2ProbVsPhi
 
MonitorElementChi2ProbVsTheta
 
edm::ParameterSet const * conf_
 
MonitorElementDeltaZToPV
 
MonitorElementDeltaZToPVZoom
 
MonitorElementDistanceOfClosestApproach
 
MonitorElementDistanceOfClosestApproachError
 
MonitorElementDistanceOfClosestApproachErrorVsDxy
 
MonitorElementDistanceOfClosestApproachErrorVsEta
 
MonitorElementDistanceOfClosestApproachErrorVsPhi
 
MonitorElementDistanceOfClosestApproachErrorVsPt
 
MonitorElementDistanceOfClosestApproachToBS
 
MonitorElementDistanceOfClosestApproachToBSdz
 
MonitorElementDistanceOfClosestApproachToBSVsEta
 
MonitorElementDistanceOfClosestApproachToBSVsPhi
 
MonitorElementDistanceOfClosestApproachToPV
 
MonitorElementDistanceOfClosestApproachToPVVsPhi
 
MonitorElementDistanceOfClosestApproachToPVZoom
 
MonitorElementDistanceOfClosestApproachVsEta
 
MonitorElementDistanceOfClosestApproachVsPhi
 
MonitorElementDistanceOfClosestApproachVsTheta
 
MonitorElementdNdEta_HighPurity
 
MonitorElementdNdPhi_HighPurity
 
MonitorElementdNdPt_HighPurity
 
MonitorElementdNhitdPt_HighPurity
 
bool doAllPlots_
 
bool doBSPlots_
 
bool doDCAPlots_
 
bool doDCAwrt000Plots_
 
bool doDCAwrtPVPlots_
 
bool doEffFromHitPatternVsBX_
 
bool doEffFromHitPatternVsLUMI_
 
bool doEffFromHitPatternVsPU_
 
bool doGeneralPropertiesPlots_
 
bool doHIPlots_
 
bool doHitPropertiesPlots_
 
bool doLayersVsPhiVsEtaPerTrack_
 
bool doLumiAnalysis_
 
bool doMeasurementStatePlots_
 
bool doPVPlots_
 
bool doRecHitsPerTrackProfile_
 
bool doRecHitVsPhiVsEtaPerTrack_
 
bool doRecHitVsPtVsEtaPerTrack_
 
bool doSIPPlots_
 
bool doTestPlots_
 
bool doThetaPlots_
 
bool doTrack2DChi2Plots_
 
bool doTrackerSpecific_
 
bool doTrackLayersVsPhiVsEtaPerTrack_
 
bool doTrackPxPyPlots_
 
bool doTrackRecHitVsPhiVsEtaPerTrack_
 
bool doTrackRecHitVsPtVsEtaPerTrack_
 
const bool forceSCAL_
 
unsigned int good_vertices_
 
std::string histname
 
std::unordered_map< Key, MonitorElement *, KeyHasherhits_bad_
 
std::unordered_map< Key, MonitorElement *, KeyHasherhits_inactive_
 
std::unordered_map< Key, MonitorElement *, KeyHasherhits_missing_
 
std::unordered_map< Key, MonitorElement *, KeyHasherhits_total_
 
std::unordered_map< Key, MonitorElement *, KeyHasherhits_valid_
 
MonitorElementLongDCASig
 
float lumi_factor_per_bx_
 
edm::EDGetTokenT< LumiScalersCollectionlumiscalersToken_
 
edm::EDGetTokenT< OnlineLuminosityRecordmetaDataToken_
 
int minNumberOfPixelsPerCluster_
 
float minPixelClusterCharge_
 
std::string monName [monQuantity::END] = {"", "VsBX", "VsPIXELLUMI", "VsSCALLUMI"}
 
MonitorElementNhitVsEta_HighPurity
 
MonitorElementNhitVsPhi_HighPurity
 
MonitorElementNumberOfLayersPerTrack [4] = {nullptr, nullptr, nullptr, nullptr}
 
MonitorElementNumberOfLayersPerTrackVsEta
 
MonitorElementNumberOfLayersPerTrackVsPhi
 
MonitorElementNumberOfLayersPerTrackVsTheta
 
MonitorElementNumberOfLayersVsPhiVsEtaPerTrack [5] = {nullptr, nullptr, nullptr, nullptr, nullptr}
 
MonitorElementNumberOfLostRecHitsPerTrack
 
MonitorElementNumberOfLostRecHitsPerTrackVsEta = nullptr
 
MonitorElementNumberOfLostRecHitsPerTrackVsPhi = nullptr
 
MonitorElementNumberOfLostRecHitsPerTrackVsPt = nullptr
 
MonitorElementNumberOfLostRecHitsPerTrackVsTheta = nullptr
 
MonitorElementNumberOfLostRecHitVsPhiVsEtaPerTrack = nullptr
 
MonitorElementNumberOfLostRecHitVsPtVsEtaPerTrack = nullptr
 
MonitorElementNumberOfMIRecHitsPerTrack = nullptr
 
MonitorElementNumberOfMIRecHitsPerTrackVsEta = nullptr
 
MonitorElementNumberOfMIRecHitsPerTrackVsPhi = nullptr
 
MonitorElementNumberOfMIRecHitsPerTrackVsPt = nullptr
 
MonitorElementNumberOfMIRecHitsPerTrackVsTheta = nullptr
 
MonitorElementNumberOfMIRecHitVsPhiVsEtaPerTrack = nullptr
 
MonitorElementNumberOfMIRecHitVsPtVsEtaPerTrack = nullptr
 
MonitorElementNumberOfMORecHitsPerTrack = nullptr
 
MonitorElementNumberOfMORecHitsPerTrackVsEta = nullptr
 
MonitorElementNumberOfMORecHitsPerTrackVsPhi = nullptr
 
MonitorElementNumberOfMORecHitsPerTrackVsPt = nullptr
 
MonitorElementNumberOfMORecHitsPerTrackVsTheta = nullptr
 
MonitorElementNumberOfMORecHitVsPhiVsEtaPerTrack = nullptr
 
MonitorElementNumberOfMORecHitVsPtVsEtaPerTrack = nullptr
 
MonitorElementNumberOfRecHitsPerTrack
 
MonitorElementNumberOfRecHitsPerTrack_lumiFlag
 
MonitorElementNumberOfRecHitsPerTrackVsEta = nullptr
 
MonitorElementNumberOfRecHitsPerTrackVsPhi = nullptr
 
MonitorElementNumberOfRecHitsPerTrackVsTheta = nullptr
 
MonitorElementNumberOfRecHitVsPhiVsEtaPerTrack = nullptr
 
MonitorElementNumberOfValidRecHitsPerTrack
 
MonitorElementNumberOfValidRecHitsPerTrackVsEta = nullptr
 
MonitorElementNumberOfValidRecHitsPerTrackVsPhi = nullptr
 
MonitorElementNumberOfValidRecHitsPerTrackVsPt = nullptr
 
MonitorElementNumberOfValidRecHitsPerTrackVsTheta = nullptr
 
MonitorElementNumberOfValidRecHitVsPhiVsEtaPerTrack = nullptr
 
MonitorElementNumberOfValidRecHitVsPtVsEtaPerTrack = nullptr
 
MonitorElementoriAlgo
 
float pixel_lumi_
 
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
 
MonitorElementPtdist_HighPurity
 
int pvNDOF_
 
edm::EDGetTokenT< reco::VertexCollectionpvToken_
 
std::string qualityString_
 
float scal_lumi_
 
MonitorElementsip2dToPV
 
MonitorElementsip3dToPV
 
MonitorElementsipDxyToBS
 
MonitorElementsipDxyToPV
 
MonitorElementsipDzToBS
 
MonitorElementsipDzToPV
 
std::string stateName_
 
MonitorElementstoppingSource
 
MonitorElementstoppingSourceVSeta
 
MonitorElementstoppingSourceVSphi
 
MonitorElementTESTDistanceOfClosestApproachToBS
 
MonitorElementTESTDistanceOfClosestApproachToBSVsPhi
 
std::map< std::string, TkParameterMEsTkParameterMEMap
 
std::map< std::string, TkRecHitsPerSubDetMEsTkRecHitsPerSubDetMEMap
 
std::string TopFolder_
 
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecordtrackerGeometryToken_
 
edm::ESGetToken< TrackerTopology, TrackerTopologyRcdtrackerTopologyToken_
 
MonitorElementTransDCASig
 
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecordtransientTrackBuilderToken_
 
bool useBPixLayer1_
 
MonitorElementValidFractionPerTrack = nullptr
 
MonitorElementValidFractionVsPhiVsEtaPerTrack = nullptr
 
MonitorElementxPointOfClosestApproach
 
MonitorElementxPointOfClosestApproachToPV
 
MonitorElementxPointOfClosestApproachVsZ0wrt000
 
MonitorElementxPointOfClosestApproachVsZ0wrtBS
 
MonitorElementxPointOfClosestApproachVsZ0wrtPV
 
MonitorElementyPointOfClosestApproach
 
MonitorElementyPointOfClosestApproachToPV
 
MonitorElementyPointOfClosestApproachVsZ0wrt000
 
MonitorElementyPointOfClosestApproachVsZ0wrtBS
 
MonitorElementyPointOfClosestApproachVsZ0wrtPV
 
MonitorElementzPointOfClosestApproach
 
MonitorElementzPointOfClosestApproachToPV
 
MonitorElementzPointOfClosestApproachVsPhi
 

Detailed Description

Definition at line 40 of file TrackAnalyzer.h.

Member Typedef Documentation

◆ DQMStore

Definition at line 42 of file TrackAnalyzer.h.

◆ MonitorElement

Definition at line 43 of file TrackAnalyzer.h.

Member Enumeration Documentation

◆ monQuantity

Enumerator
VsPU 
VsBX 
VsPIXELLUMI 
VsSCALLUMI 
END 

Definition at line 506 of file TrackAnalyzer.h.

Constructor & Destructor Documentation

◆ TrackAnalyzer() [1/2]

TrackAnalyzer::TrackAnalyzer ( const edm::ParameterSet iConfig)

Definition at line 40 of file TrackAnalyzer.cc.

41  : conf_(nullptr),
42  stateName_(iConfig.getParameter<std::string>("MeasurementState")),
43  doTrackerSpecific_(iConfig.getParameter<bool>("doTrackerSpecific")),
44  doAllPlots_(iConfig.getParameter<bool>("doAllPlots")),
45  doBSPlots_(iConfig.getParameter<bool>("doBeamSpotPlots")),
46  doPVPlots_(iConfig.getParameter<bool>("doPrimaryVertexPlots")),
47  doDCAPlots_(iConfig.getParameter<bool>("doDCAPlots")),
48  doGeneralPropertiesPlots_(iConfig.getParameter<bool>("doGeneralPropertiesPlots")),
49  doMeasurementStatePlots_(iConfig.getParameter<bool>("doMeasurementStatePlots")),
50  doHitPropertiesPlots_(iConfig.getParameter<bool>("doHitPropertiesPlots")),
51  doRecHitVsPhiVsEtaPerTrack_(iConfig.getParameter<bool>("doRecHitVsPhiVsEtaPerTrack")),
52  doRecHitVsPtVsEtaPerTrack_(iConfig.getParameter<bool>("doRecHitVsPtVsEtaPerTrack")),
53  doLayersVsPhiVsEtaPerTrack_(iConfig.getParameter<bool>("doLayersVsPhiVsEtaPerTrack")),
54  doRecHitsPerTrackProfile_(iConfig.getParameter<bool>("doRecHitsPerTrackProfile")),
55  doThetaPlots_(iConfig.getParameter<bool>("doThetaPlots")),
56  doTrackPxPyPlots_(iConfig.getParameter<bool>("doTrackPxPyPlots")),
57  doDCAwrtPVPlots_(iConfig.getParameter<bool>("doDCAwrtPVPlots")),
58  doDCAwrt000Plots_(iConfig.getParameter<bool>("doDCAwrt000Plots")),
59  doLumiAnalysis_(iConfig.getParameter<bool>("doLumiAnalysis")),
60  doTestPlots_(iConfig.getParameter<bool>("doTestPlots")),
61  doHIPlots_(iConfig.getParameter<bool>("doHIPlots")),
62  doSIPPlots_(iConfig.getParameter<bool>("doSIPPlots")),
63  doEffFromHitPatternVsPU_(iConfig.getParameter<bool>("doEffFromHitPatternVsPU")),
64  doEffFromHitPatternVsBX_(iConfig.getParameter<bool>("doEffFromHitPatternVsBX")),
65  doEffFromHitPatternVsLUMI_(iConfig.getParameter<bool>("doEffFromHitPatternVsLUMI")),
66  pvNDOF_(iConfig.getParameter<int>("pvNDOF")),
67  forceSCAL_(iConfig.getParameter<bool>("forceSCAL")),
68  useBPixLayer1_(iConfig.getParameter<bool>("useBPixLayer1")),
69  minNumberOfPixelsPerCluster_(iConfig.getParameter<int>("minNumberOfPixelsPerCluster")),
70  minPixelClusterCharge_(iConfig.getParameter<double>("minPixelClusterCharge")),
71  qualityString_(iConfig.getParameter<std::string>("qualityString")),
72  good_vertices_(0),
73  bx_(0),
74  pixel_lumi_(0.),
75  scal_lumi_(0.) {
76  initHistos();
77  TopFolder_ = iConfig.getParameter<std::string>("FolderName");
78 }

References edm::ParameterSet::getParameter(), initHistos(), AlCaHLTBitMon_QueryRunRegistry::string, and TopFolder_.

◆ TrackAnalyzer() [2/2]

TrackAnalyzer::TrackAnalyzer ( const edm::ParameterSet iConfig,
edm::ConsumesCollector iC 
)

Definition at line 80 of file TrackAnalyzer.cc.

80  : TrackAnalyzer(iConfig) {
81  edm::InputTag bsSrc = iConfig.getParameter<edm::InputTag>("beamSpot");
82  edm::InputTag primaryVertexInputTag = iConfig.getParameter<edm::InputTag>("primaryVertex");
83  edm::InputTag pixelClusterInputTag = iConfig.getParameter<edm::InputTag>("pixelCluster4lumi");
84  edm::InputTag scalInputTag = iConfig.getParameter<edm::InputTag>("scal");
85  edm::InputTag metaDataInputTag = iConfig.getParameter<edm::InputTag>("metadata");
87  pvToken_ = iC.consumes<reco::VertexCollection>(primaryVertexInputTag);
90  metaDataToken_ = iC.mayConsume<OnlineLuminosityRecord>(metaDataInputTag);
91 
94  }
96  if (doSIPPlots_ ||
97  ((doMeasurementStatePlots_ || doAllPlots_) && (stateName_ == "All" || stateName_ == "OuterSurface" ||
98  stateName_ == "InnerSurface" || stateName_ == "ImpactPoint"))) {
100  iC.esConsumes<TransientTrackBuilder, TransientTrackRecord>(edm::ESInputTag("", "TransientTrackBuilder"));
101  }
102 
103  if (useBPixLayer1_)
105  else
107 }

References beamSpotToken_, edm::BeginRun, edm::ConsumesCollector::consumes(), doAllPlots_, doEffFromHitPatternVsBX_, doEffFromHitPatternVsLUMI_, doEffFromHitPatternVsPU_, doMeasurementStatePlots_, doSIPPlots_, edm::ConsumesCollector::esConsumes(), GetLumi::FREQ_ORBIT, edm::ParameterSet::getParameter(), lumi_factor_per_bx_, lumiscalersToken_, edm::ConsumesCollector::mayConsume(), metaDataToken_, pixelClustersToken_, pvToken_, GetLumi::rXSEC_PIXEL_CLUSTER, GetLumi::SECONDS_PER_LS, stateName_, trackerGeometryToken_, trackerTopologyToken_, transientTrackBuilderToken_, useBPixLayer1_, and GetLumi::XSEC_PIXEL_CLUSTER.

◆ ~TrackAnalyzer()

TrackAnalyzer::~TrackAnalyzer ( )

Definition at line 192 of file TrackAnalyzer.cc.

192 {}

Member Function Documentation

◆ analyze()

void TrackAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup,
const reco::Track track 
)

Definition at line 1171 of file TrackAnalyzer.cc.

1171  {
1172  auto pt = track.pt();
1173  auto phi = track.phi();
1174  // double eta = track.eta();
1175  auto phiIn = track.innerPosition().phi();
1176  auto etaIn = track.innerPosition().eta();
1177  auto phiOut = track.outerPosition().phi();
1178  auto etaOut = track.outerPosition().eta();
1179 
1180  int nRecHits = track.hitPattern().numberOfAllHits(reco::HitPattern::TRACK_HITS);
1181  int nValidRecHits = track.numberOfValidHits();
1182  int nLostRecHits = track.numberOfLostHits();
1183  int nLostIn = track.hitPattern().numberOfLostTrackerHits(reco::HitPattern::MISSING_INNER_HITS);
1184  int nLostOut = track.hitPattern().numberOfLostTrackerHits(reco::HitPattern::MISSING_OUTER_HITS);
1185 
1186  auto chi2 = track.chi2();
1187  auto chi2prob = TMath::Prob(track.chi2(), (int)track.ndof());
1188  auto chi2oNDF = track.normalizedChi2();
1189 
1190  std::string Folder = TopFolder_.substr(0, 2);
1191 
1193  // rec hits
1194  NumberOfRecHitsPerTrack->Fill(nRecHits);
1195  NumberOfValidRecHitsPerTrack->Fill(nValidRecHits);
1196  NumberOfLostRecHitsPerTrack->Fill(nLostRecHits);
1197  NumberOfMIRecHitsPerTrack->Fill(nLostIn);
1198  NumberOfMORecHitsPerTrack->Fill(nLostOut);
1199  ValidFractionPerTrack->Fill(track.validFraction());
1200 
1201  // 2D plots
1203  NumberOfValidRecHitVsPhiVsEtaPerTrack->Fill(etaIn, phiIn, nValidRecHits);
1204  NumberOfLostRecHitVsPhiVsEtaPerTrack->Fill(etaIn, phiIn, nLostRecHits);
1205  NumberOfMIRecHitVsPhiVsEtaPerTrack->Fill(etaIn, phiIn, nLostIn);
1206  NumberOfMORecHitVsPhiVsEtaPerTrack->Fill(etaOut, phiOut, nLostOut);
1207  ValidFractionVsPhiVsEtaPerTrack->Fill(etaIn, phiIn, track.validFraction());
1208  }
1210  NumberOfValidRecHitVsPtVsEtaPerTrack->Fill(etaIn, pt, nValidRecHits);
1211  NumberOfLostRecHitVsPtVsEtaPerTrack->Fill(etaIn, pt, nLostRecHits);
1212  NumberOfMIRecHitVsPtVsEtaPerTrack->Fill(etaIn, pt, nLostIn);
1213  NumberOfMORecHitVsPtVsEtaPerTrack->Fill(etaOut, pt, nLostOut);
1214  }
1215  NumberOfValidRecHitsPerTrackVsPt->Fill(pt, nValidRecHits);
1216  NumberOfLostRecHitsPerTrackVsPt->Fill(pt, nLostRecHits);
1219 
1220  int nLayers[5] = {track.hitPattern().trackerLayersWithMeasurement(),
1221  track.hitPattern().trackerLayersTotallyOffOrBad(),
1222  track.hitPattern().numberOfValidStripLayersWithMonoAndStereo() +
1223  track.hitPattern().pixelLayersWithMeasurement(),
1224  track.hitPattern().trackerLayersWithoutMeasurement(reco::HitPattern::TRACK_HITS),
1225  track.hitPattern().pixelLayersWithMeasurement()};
1226 
1227  // layers
1228  for (int i = 0; i < 4; ++i)
1230 
1231  // 2D plots
1233  for (int i = 0; i < 5; ++i)
1234  NumberOfLayersVsPhiVsEtaPerTrack[i]->Fill(etaIn, phiIn, nLayers[i]);
1235  }
1236 
1240  fillHistosForEfficiencyFromHitPatter(track, "VsBX", float(bx_), false);
1242  fillHistosForEfficiencyFromHitPatter(track, "VsSCALLUMI", scal_lumi_, false);
1243  // if (doEffFromHitPatternVsLUMI_ || doAllPlots_) fillHistosForEfficiencyFromHitPatter(track,"VsPIXELLUMI", pixel_lumi_ );
1248 
1250  // fitting
1251  Chi2->Fill(chi2);
1252  Chi2Prob->Fill(chi2prob);
1253  Chi2oNDF->Fill(chi2oNDF);
1254 
1255  // DCA
1256  // temporary patch in order to put back those MEs in Muon Workspace
1257  if (doDCAPlots_) {
1258  if (doDCAwrt000Plots_) {
1261  }
1262 
1263  // PCA
1264  xPointOfClosestApproach->Fill(track.referencePoint().x());
1265  yPointOfClosestApproach->Fill(track.referencePoint().y());
1266  zPointOfClosestApproach->Fill(track.referencePoint().z());
1267  }
1268 
1269  // algorithm
1270  algorithm->Fill(static_cast<double>(track.algo()));
1271  oriAlgo->Fill(static_cast<double>(track.originalAlgo()));
1272 
1273  // stopping source
1274  int max = stoppingSource->getNbinsX();
1275  double stop = track.stopReason() > max ? double(max - 1) : static_cast<double>(track.stopReason());
1276  double stopped = int(StopReason::NOT_STOPPED) == track.stopReason() ? 0. : 1.;
1277  stoppingSource->Fill(stop);
1278  stoppingSourceVSeta->Fill(track.eta(), stopped);
1279  stoppingSourceVSphi->Fill(track.phi(), stopped);
1280  }
1281 
1282  if (doLumiAnalysis_) {
1284  Chi2oNDF_lumiFlag->Fill(chi2oNDF);
1285  }
1286 
1288  edm::Handle<reco::BeamSpot> recoBeamSpotHandle;
1289  iEvent.getByToken(beamSpotToken_, recoBeamSpotHandle);
1290  const reco::BeamSpot& bs = *recoBeamSpotHandle;
1291 
1296  DistanceOfClosestApproachErrorVsDxy->Fill(track.dxy(bs.position()), track.dxyError());
1297 
1298  DistanceOfClosestApproachToBS->Fill(track.dxy(bs.position()));
1299 
1300  if (Folder == "Tr") {
1301  DistanceOfClosestApproachToBSdz->Fill(track.dz(bs.position()));
1302  DistanceOfClosestApproachToBSVsEta->Fill(track.eta(), track.dxy(bs.position()));
1303  }
1304 
1306  DistanceOfClosestApproachToBSVsPhi->Fill(track.phi(), track.dxy(bs.position()));
1310  xPointOfClosestApproachVsZ0wrtBS->Fill(track.dz(bs.position()), (track.vx() - bs.position(track.vz()).x()));
1311  yPointOfClosestApproachVsZ0wrtBS->Fill(track.dz(bs.position()), (track.vy() - bs.position(track.vz()).y()));
1312  if (doTestPlots_) {
1313  TESTDistanceOfClosestApproachToBS->Fill(track.dxy(bs.position(track.vz())));
1314  TESTDistanceOfClosestApproachToBSVsPhi->Fill(track.phi(), track.dxy(bs.position(track.vz())));
1315  }
1316 
1317  if (doSIPPlots_) {
1318  sipDxyToBS->Fill(track.dxy(bs.position()) / track.dxyError());
1319  sipDzToBS->Fill(track.dz(bs.position()) / track.dzError());
1320  }
1321  }
1322 
1324  edm::Handle<reco::VertexCollection> recoPrimaryVerticesHandle;
1325  iEvent.getByToken(pvToken_, recoPrimaryVerticesHandle);
1326  if (recoPrimaryVerticesHandle.isValid() && !recoPrimaryVerticesHandle->empty()) {
1327  const reco::Vertex& pv = (*recoPrimaryVerticesHandle)[0];
1328 
1330  //HI PLOTS///////
1332 
1333  if (doHIPlots_) {
1334  double longDCAsig = 0, transDCAsig = 0;
1335  double zerr2 = track.dzError() * track.dzError() + pv.zError() * pv.zError();
1336  double xyerr2 = track.d0Error() * track.d0Error() + pv.xError() * pv.yError();
1337  if (zerr2 > 0)
1338  longDCAsig = track.dz(pv.position()) / zerr2;
1339  if (xyerr2 > 0)
1340  transDCAsig = track.dxy(pv.position()) / xyerr2;
1341  LongDCASig->Fill(longDCAsig);
1342  TransDCASig->Fill(transDCAsig);
1343 
1345  dNdEta_HighPurity->Fill(track.eta());
1346  dNdPhi_HighPurity->Fill(track.phi());
1347  dNdPt_HighPurity->Fill(track.ptError() / track.pt());
1348  NhitVsEta_HighPurity->Fill(track.eta(), track.numberOfValidHits());
1349  NhitVsPhi_HighPurity->Fill(track.phi(), track.numberOfValidHits());
1350  dNhitdPt_HighPurity->Fill(track.pt(), track.numberOfValidHits());
1351  Ptdist_HighPurity->Fill(track.pt());
1352  } //end of high quality tracks requirement
1353  }
1354 
1355  xPointOfClosestApproachToPV->Fill(track.vx() - pv.position().x());
1356  yPointOfClosestApproachToPV->Fill(track.vy() - pv.position().y());
1357  zPointOfClosestApproachToPV->Fill(track.dz(pv.position()));
1358  DistanceOfClosestApproachToPV->Fill(track.dxy(pv.position()));
1359  DeltaZToPV->Fill(track.dz(pv.position()));
1360  DistanceOfClosestApproachToPVZoom->Fill(track.dxy(pv.position()));
1361  DeltaZToPVZoom->Fill(track.dz(pv.position()));
1362  DistanceOfClosestApproachToPVVsPhi->Fill(track.phi(), track.dxy(pv.position()));
1363  xPointOfClosestApproachVsZ0wrtPV->Fill(track.dz(pv.position()), (track.vx() - pv.position().x()));
1364  yPointOfClosestApproachVsZ0wrtPV->Fill(track.dz(pv.position()), (track.vy() - pv.position().y()));
1365 
1366  if (doSIPPlots_) {
1368  reco::TransientTrack transTrack = theB.build(track);
1369 
1370  GlobalVector dir(track.px(), track.py(), track.pz());
1371  std::pair<bool, Measurement1D> ip3d = IPTools::signedImpactParameter3D(transTrack, dir, pv);
1372  std::pair<bool, Measurement1D> ip2d = IPTools::signedTransverseImpactParameter(transTrack, dir, pv);
1373  if (ip3d.first)
1374  sip3dToPV->Fill(ip3d.second.value() / ip3d.second.error());
1375  if (ip2d.first)
1376  sip2dToPV->Fill(ip2d.second.value() / ip2d.second.error());
1377  sipDxyToPV->Fill(track.dxy(pv.position()) / track.dxyError());
1378  sipDzToPV->Fill(track.dz(pv.position()) / track.dzError());
1379  }
1380  }
1381  }
1382 
1383  if (doDCAPlots_ || doAllPlots_) {
1384  if (doDCAwrt000Plots_) {
1385  if (doThetaPlots_) {
1387  }
1389  }
1390  }
1391 
1392  //Tracker Specific Histograms
1395  }
1397  if (stateName_ == "All") {
1398  fillHistosForState(iSetup, track, std::string("OuterSurface"));
1399  fillHistosForState(iSetup, track, std::string("InnerSurface"));
1400  fillHistosForState(iSetup, track, std::string("ImpactPoint"));
1401  } else if (stateName_ != "OuterSurface" && stateName_ != "InnerSurface" && stateName_ != "ImpactPoint" &&
1402  stateName_ != "default") {
1403  fillHistosForState(iSetup, track, std::string("default"));
1404  } else {
1406  }
1407  }
1408 
1409  if (doAllPlots_) {
1410  }
1411 }

References funct::abs(), AbsDistanceOfClosestApproachToBS, algorithm, beamSpotToken_, cms::cuda::bs, TransientTrackBuilder::build(), bx_, hltPixelTracks_cff::chi2, Chi2oNDF, Chi2oNDF_lumiFlag, Chi2Prob, DeltaZToPV, DeltaZToPVZoom, DeadROC_duringRun::dir, DistanceOfClosestApproach, DistanceOfClosestApproachError, DistanceOfClosestApproachErrorVsDxy, DistanceOfClosestApproachErrorVsEta, DistanceOfClosestApproachErrorVsPhi, DistanceOfClosestApproachErrorVsPt, DistanceOfClosestApproachToBS, DistanceOfClosestApproachToBSdz, DistanceOfClosestApproachToBSVsEta, DistanceOfClosestApproachToBSVsPhi, DistanceOfClosestApproachToPV, DistanceOfClosestApproachToPVVsPhi, DistanceOfClosestApproachToPVZoom, DistanceOfClosestApproachVsEta, DistanceOfClosestApproachVsPhi, DistanceOfClosestApproachVsTheta, dNdEta_HighPurity, dNdPhi_HighPurity, dNdPt_HighPurity, dNhitdPt_HighPurity, doAllPlots_, doBSPlots_, doDCAPlots_, doDCAwrt000Plots_, doEffFromHitPatternVsBX_, doEffFromHitPatternVsLUMI_, doEffFromHitPatternVsPU_, doGeneralPropertiesPlots_, doHIPlots_, doHitPropertiesPlots_, doLayersVsPhiVsEtaPerTrack_, doLumiAnalysis_, doMeasurementStatePlots_, doPVPlots_, doRecHitVsPhiVsEtaPerTrack_, doRecHitVsPtVsEtaPerTrack_, doSIPPlots_, doTestPlots_, doThetaPlots_, doTrackerSpecific_, dqm::impl::MonitorElement::Fill(), HcalObjRepresent::Fill(), fillHistosForEfficiencyFromHitPatter(), fillHistosForState(), fillHistosForTrackerSpecific(), edm::EventSetup::getData(), dqm::impl::MonitorElement::getNbinsX(), good_vertices_, mps_fire::i, iEvent, createfilelist::int, electrons_cff::ip3d, edm::HandleBase::isValid(), LongDCASig, SiStripPI::max, reco::HitPattern::MISSING_INNER_HITS, reco::HitPattern::MISSING_OUTER_HITS, NhitVsEta_HighPurity, NhitVsPhi_HighPurity, MuonTCMETValueMapProducer_cff::nLayers, NOT_STOPPED, NumberOfLayersPerTrack, NumberOfLayersVsPhiVsEtaPerTrack, NumberOfLostRecHitsPerTrack, NumberOfLostRecHitsPerTrackVsPt, NumberOfLostRecHitVsPhiVsEtaPerTrack, NumberOfLostRecHitVsPtVsEtaPerTrack, NumberOfMIRecHitsPerTrack, NumberOfMIRecHitsPerTrackVsPt, NumberOfMIRecHitVsPhiVsEtaPerTrack, NumberOfMIRecHitVsPtVsEtaPerTrack, NumberOfMORecHitsPerTrack, NumberOfMORecHitsPerTrackVsPt, NumberOfMORecHitVsPhiVsEtaPerTrack, NumberOfMORecHitVsPtVsEtaPerTrack, NumberOfRecHitsPerTrack, NumberOfRecHitsPerTrack_lumiFlag, NumberOfValidRecHitsPerTrack, NumberOfValidRecHitsPerTrackVsPt, NumberOfValidRecHitVsPhiVsEtaPerTrack, NumberOfValidRecHitVsPtVsEtaPerTrack, oriAlgo, DiDispStaMuonMonitor_cfi::pt, Ptdist_HighPurity, MetAnalyzer::pv(), pvToken_, reco::TrackBase::qualityByName(), qualityString_, scal_lumi_, IPTools::signedImpactParameter3D(), IPTools::signedTransverseImpactParameter(), sip2dToPV, sip3dToPV, sipDxyToBS, sipDxyToPV, sipDzToBS, sipDzToPV, stateName_, stoppingSource, stoppingSourceVSeta, stoppingSourceVSphi, AlCaHLTBitMon_QueryRunRegistry::string, TESTDistanceOfClosestApproachToBS, TESTDistanceOfClosestApproachToBSVsPhi, TopFolder_, HLT_2018_cff::track, reco::HitPattern::TRACK_HITS, TransDCASig, transientTrackBuilderToken_, ValidFractionPerTrack, ValidFractionVsPhiVsEtaPerTrack, xPointOfClosestApproach, xPointOfClosestApproachToPV, xPointOfClosestApproachVsZ0wrt000, xPointOfClosestApproachVsZ0wrtBS, xPointOfClosestApproachVsZ0wrtPV, yPointOfClosestApproach, yPointOfClosestApproachToPV, yPointOfClosestApproachVsZ0wrt000, yPointOfClosestApproachVsZ0wrtBS, yPointOfClosestApproachVsZ0wrtPV, zPointOfClosestApproach, zPointOfClosestApproachToPV, and zPointOfClosestApproachVsPhi.

Referenced by TrackingMonitor::analyze().

◆ bookHistosForBeamSpot()

void TrackAnalyzer::bookHistosForBeamSpot ( DQMStore::IBooker ibooker)
private

Definition at line 777 of file TrackAnalyzer.cc.

777  {
778  // parameters from the configuration
779  std::string QualName = conf_->getParameter<std::string>("Quality");
781 
782  // use the AlgoName and Quality Name
783  std::string CategoryName = !QualName.empty() ? AlgoName + "_" + QualName : AlgoName;
784  std::string Folder = TopFolder_.substr(0, 2);
785 
786  // book the Beam Spot related histograms
787  // ---------------------------------------------------------------------------------//
788 
789  if (doDCAPlots_ || doBSPlots_ || doAllPlots_) {
790  int DxyErrBin = conf_->getParameter<int>("DxyErrBin");
791  double DxyErrMax = conf_->getParameter<double>("DxyErrMax");
792 
793  int DxyBin = conf_->getParameter<int>("DxyBin");
794  double DxyMin = conf_->getParameter<double>("DxyMin");
795  double DxyMax = conf_->getParameter<double>("DxyMax");
796 
797  int AbsDxyBin = conf_->getParameter<int>("AbsDxyBin");
798  double AbsDxyMin = conf_->getParameter<double>("AbsDxyMin");
799  double AbsDxyMax = conf_->getParameter<double>("AbsDxyMax");
800 
801  int PhiBin = conf_->getParameter<int>("PhiBin");
802  double PhiMin = conf_->getParameter<double>("PhiMin");
803  double PhiMax = conf_->getParameter<double>("PhiMax");
804 
805  int EtaBin = conf_->getParameter<int>("EtaBin");
806  double EtaMin = conf_->getParameter<double>("EtaMin");
807  double EtaMax = conf_->getParameter<double>("EtaMax");
808 
809  int PtBin = conf_->getParameter<int>("TrackPtBin");
810  double PtMin = conf_->getParameter<double>("TrackPtMin");
811  double PtMax = conf_->getParameter<double>("TrackPtMax");
812 
813  int X0Bin = conf_->getParameter<int>("X0Bin");
814  double X0Min = conf_->getParameter<double>("X0Min");
815  double X0Max = conf_->getParameter<double>("X0Max");
816 
817  int Y0Bin = conf_->getParameter<int>("Y0Bin");
818  double Y0Min = conf_->getParameter<double>("Y0Min");
819  double Y0Max = conf_->getParameter<double>("Y0Max");
820 
821  int Z0Bin = conf_->getParameter<int>("Z0Bin");
822  double Z0Min = conf_->getParameter<double>("Z0Min");
823  double Z0Max = conf_->getParameter<double>("Z0Max");
824 
825  int VZBinProf = conf_->getParameter<int>("VZBinProf");
826  double VZMinProf = conf_->getParameter<double>("VZMinProf");
827  double VZMaxProf = conf_->getParameter<double>("VZMaxProf");
828 
829  ibooker.setCurrentFolder(TopFolder_ + "/GeneralProperties");
830 
831  histname = "DistanceOfClosestApproachError_";
833  ibooker.book1D(histname + CategoryName, histname + CategoryName, DxyErrBin, 0., DxyErrMax);
834  DistanceOfClosestApproachError->setAxisTitle("Track d_{xy} error (cm)", 1);
835  DistanceOfClosestApproachError->setAxisTitle("Number of Tracks", 2);
836 
837  histname = "DistanceOfClosestApproachErrorVsPt_";
839  ibooker.bookProfile(histname + CategoryName, histname + CategoryName, PtBin, PtMin, PtMax, 0., DxyErrMax);
840  DistanceOfClosestApproachErrorVsPt->setAxisTitle("Track p_{T} (GeV)", 1);
841  DistanceOfClosestApproachErrorVsPt->setAxisTitle("Track d_{xy} error (cm)", 2);
842 
843  histname = "DistanceOfClosestApproachErrorVsEta_";
845  ibooker.bookProfile(histname + CategoryName, histname + CategoryName, EtaBin, EtaMin, EtaMax, 0., DxyErrMax);
847  DistanceOfClosestApproachErrorVsEta->setAxisTitle("Track d_{xy} error (cm)", 2);
848 
849  histname = "DistanceOfClosestApproachErrorVsPhi_";
851  ibooker.bookProfile(histname + CategoryName, histname + CategoryName, PhiBin, PhiMin, PhiMax, 0., DxyErrMax);
853  DistanceOfClosestApproachErrorVsPhi->setAxisTitle("Track d_{xy} error (cm)", 2);
854 
855  histname = "DistanceOfClosestApproachErrorVsDxy_";
857  ibooker.bookProfile(histname + CategoryName, histname + CategoryName, DxyBin, DxyMin, DxyMax, 0., DxyErrMax);
859  DistanceOfClosestApproachErrorVsDxy->setAxisTitle("Track d_{xy} error (cm)", 2);
860 
861  histname = "DistanceOfClosestApproachToBS_";
863  ibooker.book1D(histname + CategoryName, histname + CategoryName, DxyBin, DxyMin, DxyMax);
864  DistanceOfClosestApproachToBS->setAxisTitle("Track d_{xy} wrt beam spot (cm)", 1);
865  DistanceOfClosestApproachToBS->setAxisTitle("Number of Tracks", 2);
866 
867  if (Folder == "Tr") {
868  histname = "DistanceOfClosestApproachToBSdz_";
870  ibooker.book1D(histname + CategoryName, histname + CategoryName, 100, -20.1, 20.1);
871  DistanceOfClosestApproachToBSdz->setAxisTitle("Track d_{z} wrt beam spot (cm)", 1);
872  DistanceOfClosestApproachToBSdz->setAxisTitle("Number of Tracks", 2);
873 
874  histname = "DistanceOfClosestApproachToBSVsEta_";
875  DistanceOfClosestApproachToBSVsEta = ibooker.bookProfile(
876  histname + CategoryName, histname + CategoryName, EtaBin, EtaMin, EtaMax, DxyBin, DxyMin, DxyMax, "");
878  DistanceOfClosestApproachToBSVsEta->setAxisTitle("Track d_{xy} wrt beam spot (cm)", 2);
879  }
880 
881  histname = "AbsDistanceOfClosestApproachToBS_";
883  ibooker.book1D(histname + CategoryName, histname + CategoryName, AbsDxyBin, AbsDxyMin, AbsDxyMax);
884  AbsDistanceOfClosestApproachToBS->setAxisTitle("Track |d_{xy}| wrt beam spot (cm)", 1);
885  AbsDistanceOfClosestApproachToBS->setAxisTitle("Number of Tracks", 2);
886 
887  histname = "DistanceOfClosestApproachToBSVsPhi_";
888  DistanceOfClosestApproachToBSVsPhi = ibooker.bookProfile(
889  histname + CategoryName, histname + CategoryName, PhiBin, PhiMin, PhiMax, DxyBin, DxyMin, DxyMax, "");
891  DistanceOfClosestApproachToBSVsPhi->setAxisTitle("Track d_{xy} wrt beam spot (cm)", 2);
892 
893  histname = "xPointOfClosestApproachVsZ0wrt000_";
894  xPointOfClosestApproachVsZ0wrt000 = ibooker.bookProfile(
895  histname + CategoryName, histname + CategoryName, Z0Bin, Z0Min, Z0Max, X0Bin, X0Min, X0Max, "");
897  xPointOfClosestApproachVsZ0wrt000->setAxisTitle("x component of Track PCA to beam line (cm)", 2);
898 
899  histname = "yPointOfClosestApproachVsZ0wrt000_";
900  yPointOfClosestApproachVsZ0wrt000 = ibooker.bookProfile(
901  histname + CategoryName, histname + CategoryName, Z0Bin, Z0Min, Z0Max, Y0Bin, Y0Min, Y0Max, "");
903  yPointOfClosestApproachVsZ0wrt000->setAxisTitle("y component of Track PCA to beam line (cm)", 2);
904 
905  histname = "xPointOfClosestApproachVsZ0wrtBS_";
906  xPointOfClosestApproachVsZ0wrtBS = ibooker.bookProfile(
907  histname + CategoryName, histname + CategoryName, Z0Bin, Z0Min, Z0Max, X0Bin, X0Min, X0Max, "");
908  xPointOfClosestApproachVsZ0wrtBS->setAxisTitle("d_{z} w.r.t. Beam Spot (cm)", 1);
909  xPointOfClosestApproachVsZ0wrtBS->setAxisTitle("x component of Track PCA to BS (cm)", 2);
910 
911  histname = "yPointOfClosestApproachVsZ0wrtBS_";
912  yPointOfClosestApproachVsZ0wrtBS = ibooker.bookProfile(
913  histname + CategoryName, histname + CategoryName, Z0Bin, Z0Min, Z0Max, Y0Bin, Y0Min, Y0Max, "");
914  yPointOfClosestApproachVsZ0wrtBS->setAxisTitle("d_{z} w.r.t. Beam Spot (cm)", 1);
915  yPointOfClosestApproachVsZ0wrtBS->setAxisTitle("y component of Track PCA to BS (cm)", 2);
916 
917  histname = "zPointOfClosestApproachVsPhi_";
918  zPointOfClosestApproachVsPhi = ibooker.bookProfile(
919  histname + CategoryName, histname + CategoryName, PhiBin, PhiMin, PhiMax, VZBinProf, VZMinProf, VZMaxProf, "");
920  zPointOfClosestApproachVsPhi->setAxisTitle("Track #phi", 1);
921  zPointOfClosestApproachVsPhi->setAxisTitle("z component of Track PCA to beam line (cm)", 2);
922  }
923 
924  if (doDCAPlots_ || doPVPlots_ || doAllPlots_) {
925  int DxyBin = conf_->getParameter<int>("DxyBin");
926  double DxyMin = conf_->getParameter<double>("DxyMin");
927  double DxyMax = conf_->getParameter<double>("DxyMax");
928 
929  int PhiBin = conf_->getParameter<int>("PhiBin");
930  double PhiMin = conf_->getParameter<double>("PhiMin");
931  double PhiMax = conf_->getParameter<double>("PhiMax");
932 
933  int X0Bin = conf_->getParameter<int>("X0Bin");
934  double X0Min = conf_->getParameter<double>("X0Min");
935  double X0Max = conf_->getParameter<double>("X0Max");
936 
937  int Y0Bin = conf_->getParameter<int>("Y0Bin");
938  double Y0Min = conf_->getParameter<double>("Y0Min");
939  double Y0Max = conf_->getParameter<double>("Y0Max");
940 
941  int Z0Bin = conf_->getParameter<int>("Z0Bin");
942  double Z0Min = conf_->getParameter<double>("Z0Min");
943  double Z0Max = conf_->getParameter<double>("Z0Max");
944 
945  ibooker.setCurrentFolder(TopFolder_ + "/GeneralProperties");
946 
947  histname = "DistanceOfClosestApproachToPV_";
949  ibooker.book1D(histname + CategoryName, histname + CategoryName, DxyBin, DxyMin, DxyMax);
950  DistanceOfClosestApproachToPV->setAxisTitle("Track d_{xy} w.r.t. PV (cm)", 1);
951  DistanceOfClosestApproachToPV->setAxisTitle("Number of Tracks", 2);
952 
953  histname = "DistanceOfClosestApproachToPVZoom_";
955  ibooker.book1D(histname + CategoryName, histname + CategoryName, 100, -0.08, 0.08);
956  DistanceOfClosestApproachToPVZoom->setAxisTitle("Track d_{xy} w.r.t. PV (cm)", 1);
957  DistanceOfClosestApproachToPVZoom->setAxisTitle("Number of Tracks", 2);
958 
959  histname = "DeltaZToPV_";
960  DeltaZToPV = ibooker.book1D(histname + CategoryName, histname + CategoryName, Z0Bin, Z0Min, Z0Max);
961  DeltaZToPV->setAxisTitle("Track d_{z} w.r.t. PV (cm)", 1);
962  DeltaZToPV->setAxisTitle("Number of Tracks", 2);
963 
964  histname = "DeltaZToPVZoom_";
965  DeltaZToPVZoom = ibooker.book1D(histname + CategoryName, histname + CategoryName, 100, -0.15, 0.15);
966  DeltaZToPVZoom->setAxisTitle("Track d_{z} w.r.t. PV (cm)", 1);
967  DeltaZToPVZoom->setAxisTitle("Number of Tracks", 2);
968 
969  histname = "DistanceOfClosestApproachToPVVsPhi_";
970  DistanceOfClosestApproachToPVVsPhi = ibooker.bookProfile(
971  histname + CategoryName, histname + CategoryName, PhiBin, PhiMin, PhiMax, DxyBin, DxyMin, DxyMax, "");
973  DistanceOfClosestApproachToPVVsPhi->setAxisTitle("Track d_{xy} w.r.t. PV (cm)", 2);
974 
975  histname = "xPointOfClosestApproachVsZ0wrtPV_";
976  xPointOfClosestApproachVsZ0wrtPV = ibooker.bookProfile(
977  histname + CategoryName, histname + CategoryName, Z0Bin, Z0Min, Z0Max, X0Bin, X0Min, X0Max, "");
978  xPointOfClosestApproachVsZ0wrtPV->setAxisTitle("d_{z} w.r.t. PV (cm)", 1);
979  xPointOfClosestApproachVsZ0wrtPV->setAxisTitle("x component of Track PCA to PV (cm)", 2);
980 
981  histname = "yPointOfClosestApproachVsZ0wrtPV_";
982  yPointOfClosestApproachVsZ0wrtPV = ibooker.bookProfile(
983  histname + CategoryName, histname + CategoryName, Z0Bin, Z0Min, Z0Max, Y0Bin, Y0Min, Y0Max, "");
984  yPointOfClosestApproachVsZ0wrtPV->setAxisTitle("d_{z} w.r.t. PV (cm)", 1);
985  yPointOfClosestApproachVsZ0wrtPV->setAxisTitle("y component of Track PCA to PV (cm)", 2);
986  }
987 
988  if (doBSPlots_ || doAllPlots_) {
989  if (doTestPlots_) {
990  int DxyBin = conf_->getParameter<int>("DxyBin");
991  double DxyMin = conf_->getParameter<double>("DxyMin");
992  double DxyMax = conf_->getParameter<double>("DxyMax");
993 
994  int PhiBin = conf_->getParameter<int>("PhiBin");
995  double PhiMin = conf_->getParameter<double>("PhiMin");
996  double PhiMax = conf_->getParameter<double>("PhiMax");
997 
998  histname = "TESTDistanceOfClosestApproachToBS_";
1000  ibooker.book1D(histname + CategoryName, histname + CategoryName, DxyBin, DxyMin, DxyMax);
1001  TESTDistanceOfClosestApproachToBS->setAxisTitle("Track d_{xy} wrt beam spot (cm)", 1);
1002  TESTDistanceOfClosestApproachToBS->setAxisTitle("Number of Tracks", 2);
1003 
1004  histname = "TESTDistanceOfClosestApproachToBSVsPhi_";
1005  TESTDistanceOfClosestApproachToBSVsPhi = ibooker.bookProfile(
1006  histname + CategoryName, histname + CategoryName, PhiBin, PhiMin, PhiMax, DxyBin, DxyMin, DxyMax, "");
1008  TESTDistanceOfClosestApproachToBSVsPhi->setAxisTitle("Track d_{xy} wrt beam spot (cm)", 2);
1009  }
1010  }
1011 
1012  // book the Profile plots for DCA related histograms
1013  // ---------------------------------------------------------------------------------//
1014  if (doDCAPlots_ || doAllPlots_) {
1015  if (doDCAwrt000Plots_) {
1016  int EtaBin = conf_->getParameter<int>("EtaBin");
1017  double EtaMin = conf_->getParameter<double>("EtaMin");
1018  double EtaMax = conf_->getParameter<double>("EtaMax");
1019 
1020  int PhiBin = conf_->getParameter<int>("PhiBin");
1021  double PhiMin = conf_->getParameter<double>("PhiMin");
1022  double PhiMax = conf_->getParameter<double>("PhiMax");
1023 
1024  int DxyBin = conf_->getParameter<int>("DxyBin");
1025  double DxyMin = conf_->getParameter<double>("DxyMin");
1026  double DxyMax = conf_->getParameter<double>("DxyMax");
1027 
1028  if (doThetaPlots_) {
1029  int ThetaBin = conf_->getParameter<int>("ThetaBin");
1030  double ThetaMin = conf_->getParameter<double>("ThetaMin");
1031  double ThetaMax = conf_->getParameter<double>("ThetaMax");
1032 
1033  ibooker.setCurrentFolder(TopFolder_ + "/GeneralProperties");
1034  histname = "DistanceOfClosestApproachVsTheta_";
1035  DistanceOfClosestApproachVsTheta = ibooker.bookProfile(
1036  histname + CategoryName, histname + CategoryName, ThetaBin, ThetaMin, ThetaMax, DxyMin, DxyMax, "");
1037  DistanceOfClosestApproachVsTheta->setAxisTitle("Track #theta", 1);
1038  DistanceOfClosestApproachVsTheta->setAxisTitle("Track d_{xy} wrt (0,0,0) (cm)", 2);
1039  }
1040 
1041  histname = "DistanceOfClosestApproachVsEta_";
1042  DistanceOfClosestApproachVsEta = ibooker.bookProfile(
1043  histname + CategoryName, histname + CategoryName, EtaBin, EtaMin, EtaMax, DxyMin, DxyMax, "");
1044  DistanceOfClosestApproachVsEta->setAxisTitle("Track #eta", 1);
1045  DistanceOfClosestApproachVsEta->setAxisTitle("Track d_{xy} wrt (0,0,0) (cm)", 2);
1046  // temporary patch in order to put back those MEs in Muon Workspace
1047 
1048  histname = "DistanceOfClosestApproach_";
1050  ibooker.book1D(histname + CategoryName, histname + CategoryName, DxyBin, DxyMin, DxyMax);
1051  DistanceOfClosestApproach->setAxisTitle("Track d_{xy} wrt (0,0,0) (cm)", 1);
1052  DistanceOfClosestApproach->setAxisTitle("Number of Tracks", 2);
1053 
1054  histname = "DistanceOfClosestApproachVsPhi_";
1055  DistanceOfClosestApproachVsPhi = ibooker.bookProfile(
1056  histname + CategoryName, histname + CategoryName, PhiBin, PhiMin, PhiMax, DxyMin, DxyMax, "");
1057  DistanceOfClosestApproachVsPhi->setAxisTitle("Track #phi", 1);
1058  DistanceOfClosestApproachVsPhi->setAxisTitle("Track d_{xy} wrt (0,0,0) (cm)", 2);
1059  }
1060  }
1061 
1062  if (doSIPPlots_ || doAllPlots_) {
1063  const double sipBins = 200;
1064  const double sipMin = -20;
1065  const double sipMax = 20;
1066 
1067  ibooker.setCurrentFolder(TopFolder_ + "/GeneralProperties");
1068 
1069  // SIP wrt. beamspot
1070  histname = "SIPDxyToBS_";
1071  sipDxyToBS = ibooker.book1D(histname + CategoryName, histname + CategoryName, sipBins, sipMin, sipMax);
1072  sipDxyToBS->setAxisTitle("Track dxy significance wrt beam spot", 1);
1073  sipDxyToBS->setAxisTitle("Number of Tracks", 2);
1074 
1075  histname = "SIPDzToBS_";
1076  sipDzToBS = ibooker.book1D(histname + CategoryName, histname + CategoryName, sipBins, sipMin, sipMax);
1077  sipDzToBS->setAxisTitle("Track dz significance wrt beam spot", 1);
1078  sipDzToBS->setAxisTitle("Number of Tracks", 2);
1079 
1080  // SIP wrt. vertex
1081  histname = "SIP3DToPV_";
1082  sip3dToPV = ibooker.book1D(histname + CategoryName, histname + CategoryName, sipBins, sipMin, sipMax);
1083  sip3dToPV->setAxisTitle("3D IP significance wrt primary vertex", 1);
1084  sip3dToPV->setAxisTitle("Number of Tracks", 2);
1085 
1086  histname = "SIP2DToPV_";
1087  sip2dToPV = ibooker.book1D(histname + CategoryName, histname + CategoryName, sipBins, sipMin, sipMax);
1088  sip2dToPV->setAxisTitle("2D IP significance wrt primary vertex", 1);
1089  sip2dToPV->setAxisTitle("Number of Tracks", 2);
1090 
1091  histname = "SIPDxyToPV_";
1092  sipDxyToPV = ibooker.book1D(histname + CategoryName, histname + CategoryName, sipBins, sipMin, sipMax);
1093  sipDxyToPV->setAxisTitle("Track dxy significance wrt primary vertex", 1);
1094  sipDxyToPV->setAxisTitle("Number of Tracks", 2);
1095 
1096  histname = "SIPDzToPV_";
1097  sipDzToPV = ibooker.book1D(histname + CategoryName, histname + CategoryName, sipBins, sipMin, sipMax);
1098  sipDzToPV->setAxisTitle("Track dz significance wrt primary vertex", 1);
1099  sipDzToPV->setAxisTitle("Number of Tracks", 2);
1100  }
1101 }

References AbsDistanceOfClosestApproachToBS, beam_dqm_sourceclient-live_cfg::AbsDxyBin, beam_dqm_sourceclient-live_cfg::AbsDxyMax, TrackingMonitor_cfi::AbsDxyMin, HLTSiStripMonitoring_cff::AlgoName, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), conf_, DeltaZToPV, DeltaZToPVZoom, DistanceOfClosestApproach, DistanceOfClosestApproachError, DistanceOfClosestApproachErrorVsDxy, DistanceOfClosestApproachErrorVsEta, DistanceOfClosestApproachErrorVsPhi, DistanceOfClosestApproachErrorVsPt, DistanceOfClosestApproachToBS, DistanceOfClosestApproachToBSdz, DistanceOfClosestApproachToBSVsEta, DistanceOfClosestApproachToBSVsPhi, DistanceOfClosestApproachToPV, DistanceOfClosestApproachToPVVsPhi, DistanceOfClosestApproachToPVZoom, DistanceOfClosestApproachVsEta, DistanceOfClosestApproachVsPhi, DistanceOfClosestApproachVsTheta, doAllPlots_, doBSPlots_, doDCAPlots_, doDCAwrt000Plots_, doPVPlots_, doSIPPlots_, doTestPlots_, doThetaPlots_, beam_dqm_sourceclient-live_cfg::DxyBin, TrackingMonitor_cfi::DxyErrBin, TrackingMonitor_cfi::DxyErrMax, beam_dqm_sourceclient-live_cfg::DxyMax, beam_dqm_sourceclient-live_cfg::DxyMin, MonitorTrackInnerTrackMuons_cff::EtaBin, MonitorTrackInnerTrackMuons_cff::EtaMax, MonitorTrackInnerTrackMuons_cff::EtaMin, edm::ParameterSet::getParameter(), histname, MonitorTrackSTAMuons_cfi::PhiBin, MonitorTrackSTAMuons_cfi::PhiMax, MonitorTrackSTAMuons_cfi::PhiMin, electronDQMIsoDist_cfi::PtMax, HLT_2018_cff::PtMin, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), sip2dToPV, sip3dToPV, sipDxyToBS, sipDxyToPV, sipDzToBS, sipDzToPV, AlCaHLTBitMon_QueryRunRegistry::string, TESTDistanceOfClosestApproachToBS, TESTDistanceOfClosestApproachToBSVsPhi, MonitorTrackSTAMuons_cfi::ThetaBin, MonitorTrackSTAMuons_cfi::ThetaMax, MonitorTrackSTAMuons_cfi::ThetaMin, TopFolder_, TrackingMonitor_cfi::VZBinProf, TrackingMonitor_cfi::VZMaxProf, TrackingMonitor_cfi::VZMinProf, MonitorTrackSTAMuons_cfi::X0Bin, MonitorTrackSTAMuons_cfi::X0Max, MonitorTrackSTAMuons_cfi::X0Min, xPointOfClosestApproachVsZ0wrt000, xPointOfClosestApproachVsZ0wrtBS, xPointOfClosestApproachVsZ0wrtPV, MonitorTrackSTAMuons_cfi::Y0Bin, MonitorTrackSTAMuons_cfi::Y0Max, MonitorTrackSTAMuons_cfi::Y0Min, yPointOfClosestApproachVsZ0wrt000, yPointOfClosestApproachVsZ0wrtBS, yPointOfClosestApproachVsZ0wrtPV, MonitorTrackSTAMuons_cfi::Z0Bin, MonitorTrackSTAMuons_cfi::Z0Max, MonitorTrackSTAMuons_cfi::Z0Min, and zPointOfClosestApproachVsPhi.

Referenced by initHisto().

◆ bookHistosForEfficiencyFromHitPatter()

void TrackAnalyzer::bookHistosForEfficiencyFromHitPatter ( DQMStore::IBooker ibooker,
const edm::EventSetup iSetup,
const std::string  suffix,
bool  useInac 
)
private

Definition at line 236 of file TrackAnalyzer.cc.

239  {
240  ibooker.setCurrentFolder(TopFolder_ + "/HitEffFromHitPattern" + (useInac ? "All" : "") + suffix);
241 
242  constexpr int LUMIBin = 300; // conf_->getParameter<int>("LUMIBin");
243  float LUMIMin = conf_->getParameter<double>("LUMIMin");
244  float LUMIMax = conf_->getParameter<double>("LUMIMax");
245 
246  int PVBin = conf_->getParameter<int>("PVBin");
247  float PVMin = conf_->getParameter<double>("PVMin");
248  float PVMax = conf_->getParameter<double>("PVMax");
249 
251  float MIN[] = {PVMin, 0.5, LUMIMin, LUMIMin};
252  float MAX[] = {PVMax, float(GetLumi::lastBunchCrossing) + 0.5, LUMIMax, LUMIMax};
253  std::string NAME[] = {"", "VsBX", "VsLUMI", "VsLUMI"};
254 
255  auto logBins = makeLogBins<float, LUMIBin>(LUMIMin, LUMIMax);
256 
257  int mon = -1;
258  int nbins = -1;
259  float min = -1.;
260  float max = -1.;
261  bool logQ = false;
262  std::string name = "";
263  for (int i = 0; i < monQuantity::END; i++) {
264  if (monName[i] == suffix) {
265  logQ = (i > 1); // VsLUMI
266  mon = i;
267  if (useInac)
268  mon += monQuantity::END;
269  nbins = NBINS[i];
270  min = MIN[i];
271  max = MAX[i];
272  name = NAME[i];
273  }
274  }
275 
276  TrackerGeometry const& trackerGeometry = iSetup.getData(trackerGeometryToken_);
277 
278  // Values are not ordered randomly, but the order is taken from
279  // http://cmslxr.fnal.gov/dxr/CMSSW/source/Geometry/CommonDetUnit/interface/GeomDetEnumerators.h#15
280  const char* dets[] = {"None", "PXB", "PXF", "TIB", "TID", "TOB", "TEC"};
281 
282  // Also in this case, ordering is not random but extracted from
283  // http://cmslxr.fnal.gov/dxr/CMSSW/source/DataFormats/TrackReco/interface/HitPattern.h
284  // The category "total" is an addition to ease the computation of
285  // the efficiencies and is not part of the original HitPattern.
286  const char* hit_category[] = {"valid", "missing", "inactive", "bad", "total"};
287 
288  // We set sub_det to be a 1-based index since to it is the sub-sub-structure in the HitPattern
289  char title[50];
290  for (unsigned int det = 1; det < sizeof(dets) / sizeof(char*); ++det) {
291  for (unsigned int sub_det = 1; sub_det <= trackerGeometry.numberOfLayers(det); ++sub_det) {
292  for (unsigned int cat = 0; cat < sizeof(hit_category) / sizeof(char*); ++cat) {
293  memset(title, 0, sizeof(title));
294  snprintf(title, sizeof(title), "Hits%s_%s_%s_Subdet%d", name.c_str(), hit_category[cat], dets[det], sub_det);
295  switch (cat) {
296  case 0:
297  hits_valid_.insert(std::make_pair(Key(det, sub_det, mon),
298  logQ ? ibooker.book1D(title, title, nbins, &logBins[0])
299  : ibooker.book1D(title, title, nbins, min, max)));
300  break;
301  case 4:
302  hits_total_.insert(std::make_pair(Key(det, sub_det, mon),
303  logQ ? ibooker.book1D(title, title, nbins, &logBins[0])
304  : ibooker.book1D(title, title, nbins, min, max)));
305  break;
306  default:
307  LogDebug("TrackAnalyzer") << "Invalid hit category used " << cat << " ignored\n";
308  }
309  }
310  }
311  }
312 }

References dqm::implementation::IBooker::book1D(), eostools::cat(), conf_, dqmMemoryStats::float, edm::EventSetup::getData(), edm::ParameterSet::getParameter(), hits_total_, hits_valid_, mps_fire::i, createfilelist::int, GetLumi::lastBunchCrossing, LogDebug, TrackingMonitor_cfi::LUMIBin, TrackingMonitor_cfi::LUMIMax, TrackingMonitor_cfi::LUMIMin, SiStripPI::max, min(), LaserDQM_cfi::mon, monName, Skims_PA_cff::name, NBINS, LaserClient_cfi::nbins, TrackerGeometry::numberOfLayers(), MonitorTrackInnerTrackMuons_cff::PVBin, MonitorTrackInnerTrackMuons_cff::PVMax, MonitorTrackInnerTrackMuons_cff::PVMin, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, createPayload::suffix, overlapproblemtsosanalyzer_cfi::title, TopFolder_, and trackerGeometryToken_.

Referenced by initHisto().

◆ bookHistosForHitProperties()

void TrackAnalyzer::bookHistosForHitProperties ( DQMStore::IBooker ibooker)
private

Definition at line 315 of file TrackAnalyzer.cc.

315  {
316  // parameters from the configuration
317  std::string QualName = conf_->getParameter<std::string>("Quality");
319  std::string MEBSFolderName = conf_->getParameter<std::string>("BSFolderName");
320 
321  // use the AlgoName and Quality Name
322  std::string CategoryName = !QualName.empty() ? AlgoName + "_" + QualName : AlgoName;
323 
324  // get binning from the configuration
325  int TKHitBin = conf_->getParameter<int>("RecHitBin");
326  double TKHitMin = conf_->getParameter<double>("RecHitMin");
327  double TKHitMax = conf_->getParameter<double>("RecHitMax");
328 
329  int TKLostBin = conf_->getParameter<int>("RecLostBin");
330  double TKLostMin = conf_->getParameter<double>("RecLostMin");
331  double TKLostMax = conf_->getParameter<double>("RecLostMax");
332 
333  int TKLayBin = conf_->getParameter<int>("RecLayBin");
334  double TKLayMin = conf_->getParameter<double>("RecLayMin");
335  double TKLayMax = conf_->getParameter<double>("RecLayMax");
336 
337  int PhiBin = conf_->getParameter<int>("PhiBin");
338  double PhiMin = conf_->getParameter<double>("PhiMin");
339  double PhiMax = conf_->getParameter<double>("PhiMax");
340 
341  int EtaBin = conf_->getParameter<int>("EtaBin");
342  double EtaMin = conf_->getParameter<double>("EtaMin");
343  double EtaMax = conf_->getParameter<double>("EtaMax");
344 
345  int PtBin = conf_->getParameter<int>("TrackPtBin");
346  double PtMin = conf_->getParameter<double>("TrackPtMin");
347  double PtMax = conf_->getParameter<double>("TrackPtMax");
348 
349  int Phi2DBin = conf_->getParameter<int>("Phi2DBin");
350  int Eta2DBin = conf_->getParameter<int>("Eta2DBin");
351  int Pt2DBin = conf_->getParameter<int>("TrackPt2DBin");
352 
353  int VXBin = conf_->getParameter<int>("VXBin");
354  double VXMin = conf_->getParameter<double>("VXMin");
355  double VXMax = conf_->getParameter<double>("VXMax");
356 
357  int VYBin = conf_->getParameter<int>("VYBin");
358  double VYMin = conf_->getParameter<double>("VYMin");
359  double VYMax = conf_->getParameter<double>("VYMax");
360 
361  int VZBin = conf_->getParameter<int>("VZBin");
362  double VZMin = conf_->getParameter<double>("VZMin");
363  double VZMax = conf_->getParameter<double>("VZMax");
364 
365  ibooker.setCurrentFolder(TopFolder_);
366 
367  // book the Hit Property histograms
368  // ---------------------------------------------------------------------------------//
369 
370  TkParameterMEs tkmes;
372  ibooker.setCurrentFolder(TopFolder_ + "/HitProperties");
373 
374  histname = "NumberOfRecHitsPerTrack_";
376  ibooker.book1D(histname + CategoryName, histname + CategoryName, TKHitBin, TKHitMin, TKHitMax);
377  NumberOfRecHitsPerTrack->setAxisTitle("Number of all RecHits of each Track");
378  NumberOfRecHitsPerTrack->setAxisTitle("Number of Tracks", 2);
379 
380  histname = "NumberOfValidRecHitsPerTrack_";
382  ibooker.book1D(histname + CategoryName, histname + CategoryName, TKHitBin, TKHitMin, TKHitMax);
383  NumberOfValidRecHitsPerTrack->setAxisTitle("Number of valid RecHits for each Track");
384 
385  NumberOfValidRecHitsPerTrack->setAxisTitle("Number of Tracks", 2);
386 
387  histname = "NumberOfLostRecHitsPerTrack_";
389  ibooker.book1D(histname + CategoryName, histname + CategoryName, TKLostBin, TKLostMin, TKLostMax);
390  NumberOfLostRecHitsPerTrack->setAxisTitle("Number of lost RecHits for each Track");
391  NumberOfLostRecHitsPerTrack->setAxisTitle("Number of Tracks", 2);
392 
393  histname = "NumberOfMissingInnerRecHitsPerTrack_";
394  NumberOfMIRecHitsPerTrack = ibooker.book1D(histname + CategoryName, histname + CategoryName, 10, -0.5, 9.5);
395  NumberOfMIRecHitsPerTrack->setAxisTitle("Number of missing-inner RecHits for each Track");
396  NumberOfMIRecHitsPerTrack->setAxisTitle("Number of Tracks", 2);
397 
398  histname = "NumberOfMissingOuterRecHitsPerTrack_";
399  NumberOfMORecHitsPerTrack = ibooker.book1D(histname + CategoryName, histname + CategoryName, 10, -0.5, 9.5);
400  NumberOfMORecHitsPerTrack->setAxisTitle("Number of missing-outer RecHits for each Track");
401  NumberOfMORecHitsPerTrack->setAxisTitle("Number of Tracks", 2);
402 
403  histname = "ValidFractionPerTrack_";
404  ValidFractionPerTrack = ibooker.book1D(histname + CategoryName, histname + CategoryName, 101, 0., 1.01);
405  ValidFractionPerTrack->setAxisTitle("ValidFraction of RecHits for each Track");
406  ValidFractionPerTrack->setAxisTitle("Number of Tracks", 2);
407 
409  histname = "NumberOfValidRecHitVsPhiVsEtaPerTrack_";
410  NumberOfValidRecHitVsPhiVsEtaPerTrack = ibooker.bookProfile2D(histname + CategoryName,
411  histname + CategoryName,
412  Eta2DBin,
413  EtaMin,
414  EtaMax,
415  Phi2DBin,
416  PhiMin,
417  PhiMax,
418  0,
419  40.,
420  "");
423 
424  histname = "NumberOfLostRecHitVsPhiVsEtaPerTrack_";
425  NumberOfLostRecHitVsPhiVsEtaPerTrack = ibooker.bookProfile2D(histname + CategoryName,
426  histname + CategoryName,
427  Eta2DBin,
428  EtaMin,
429  EtaMax,
430  Phi2DBin,
431  PhiMin,
432  PhiMax,
433  0,
434  5.,
435  "");
438 
439  histname = "NumberMIRecHitVsPhiVsEtaPerTrack_";
440  NumberOfMIRecHitVsPhiVsEtaPerTrack = ibooker.bookProfile2D(histname + CategoryName,
441  histname + CategoryName,
442  Eta2DBin,
443  EtaMin,
444  EtaMax,
445  Phi2DBin,
446  PhiMin,
447  PhiMax,
448  0,
449  15.,
450  "");
453 
454  histname = "NumberMORecHitVsPhiVsEtaPerTrack_";
455  NumberOfMORecHitVsPhiVsEtaPerTrack = ibooker.bookProfile2D(histname + CategoryName,
456  histname + CategoryName,
457  Eta2DBin,
458  EtaMin,
459  EtaMax,
460  Phi2DBin,
461  PhiMin,
462  PhiMax,
463  0,
464  15.,
465  "");
468 
469  histname = "ValidFractionVsPhiVsEtaPerTrack_";
470  ValidFractionVsPhiVsEtaPerTrack = ibooker.bookProfile2D(histname + CategoryName,
471  histname + CategoryName,
472  Eta2DBin,
473  EtaMin,
474  EtaMax,
475  Phi2DBin,
476  PhiMin,
477  PhiMax,
478  0,
479  2.,
480  "");
483  }
484 
486  histname = "NumberOfValidRecHitVsPtVsEtaPerTrack_";
487  NumberOfValidRecHitVsPtVsEtaPerTrack = ibooker.bookProfile2D(
488  histname + CategoryName, histname + CategoryName, Eta2DBin, EtaMin, EtaMax, Pt2DBin, PtMin, PtMax, 0, 40., "");
490  NumberOfValidRecHitVsPtVsEtaPerTrack->setAxisTitle("Track p_{T} [GeV] ", 2);
491 
492  histname = "NumberOfLostRecHitVsPtVsEtaPerTrack_";
493  NumberOfLostRecHitVsPtVsEtaPerTrack = ibooker.bookProfile2D(
494  histname + CategoryName, histname + CategoryName, Eta2DBin, EtaMin, EtaMax, Pt2DBin, PtMin, PtMax, 0, 5., "");
496  NumberOfLostRecHitVsPtVsEtaPerTrack->setAxisTitle("Track p_{T} [GeV] ", 2);
497 
498  histname = "NumberMIRecHitVsPtVsEtaPerTrack_";
499  NumberOfMIRecHitVsPtVsEtaPerTrack = ibooker.bookProfile2D(
500  histname + CategoryName, histname + CategoryName, Eta2DBin, EtaMin, EtaMax, Pt2DBin, PtMin, PtMax, 0, 15., "");
502  NumberOfMIRecHitVsPtVsEtaPerTrack->setAxisTitle("Track p_{T} [GeV] ", 2);
503 
504  histname = "NumberMORecHitVsPtVsEtaPerTrack_";
505  NumberOfMORecHitVsPtVsEtaPerTrack = ibooker.bookProfile2D(
506  histname + CategoryName, histname + CategoryName, Eta2DBin, EtaMin, EtaMax, Pt2DBin, PtMin, PtMax, 0, 15., "");
508  NumberOfMORecHitVsPtVsEtaPerTrack->setAxisTitle("Track p_{T} [GeV] ", 2);
509  }
510 
511  histname = "NumberOfValidRecHitsPerTrackVsPt_";
512  NumberOfValidRecHitsPerTrackVsPt = ibooker.bookProfile(
513  histname + CategoryName, histname + CategoryName, PtBin, PtMin, PtMax, TKHitMin, TKHitMax, "");
514  NumberOfValidRecHitsPerTrackVsPt->setAxisTitle("Track p_{T} [GeV]", 1);
515  NumberOfValidRecHitsPerTrackVsPt->setAxisTitle("Number of valid RecHits in each Track", 2);
516 
517  histname = "NumberOfLostRecHitsPerTrackVsPt_";
518  NumberOfLostRecHitsPerTrackVsPt = ibooker.bookProfile(
519  histname + CategoryName, histname + CategoryName, PtBin, PtMin, PtMax, TKHitMin, TKHitMax, "");
520  NumberOfLostRecHitsPerTrackVsPt->setAxisTitle("Track p_{T} [GeV]", 1);
521  NumberOfLostRecHitsPerTrackVsPt->setAxisTitle("Average Number of Lost RecHits per Track", 2);
522 
523  histname = "NumberMIRecHitsPerTrackVsPt_";
524  NumberOfMIRecHitsPerTrackVsPt = ibooker.bookProfile(
525  histname + CategoryName, histname + CategoryName, PtBin, PtMin, PtMax, TKHitMin, TKHitMax, "");
526  NumberOfMIRecHitsPerTrackVsPt->setAxisTitle("Track p_{T} [GeV]", 1);
527  NumberOfMIRecHitsPerTrackVsPt->setAxisTitle("Average Number of Lost RecHits per Track", 2);
528 
529  histname = "NumberMORecHitsPerTrackVsPt_";
530  NumberOfMORecHitsPerTrackVsPt = ibooker.bookProfile(
531  histname + CategoryName, histname + CategoryName, PtBin, PtMin, PtMax, TKHitMin, TKHitMax, "");
532  NumberOfMORecHitsPerTrackVsPt->setAxisTitle("Track p_{T} [GeV]", 1);
533  NumberOfMORecHitsPerTrackVsPt->setAxisTitle("Average Number of Lost RecHits per Track", 2);
534 
535  std::string layerTypeName[5] = {"", "Off", "3D", "Missing", "Pixel"};
536  for (int i = 0; i < 4; ++i) {
537  histname = "NumberOf" + layerTypeName[i] + "LayersPerTrack_";
539  ibooker.book1D(histname + CategoryName, histname + CategoryName, TKLayBin, TKLayMin, TKLayMax);
540  NumberOfLayersPerTrack[i]->setAxisTitle("Number of " + layerTypeName[i] + " Layers of each Track", 1);
541  NumberOfLayersPerTrack[i]->setAxisTitle("Number of Tracks", 2);
542  }
544  for (int i = 0; i < 5; ++i) {
545  histname = "NumberOf" + layerTypeName[i] + "LayersVsPhiVsEtaPerTrack_";
546  NumberOfLayersVsPhiVsEtaPerTrack[i] = ibooker.bookProfile2D(histname + CategoryName,
547  histname + CategoryName,
548  Eta2DBin,
549  EtaMin,
550  EtaMax,
551  Phi2DBin,
552  PhiMin,
553  PhiMax,
554  0,
555  40.,
556  "");
557  NumberOfLayersVsPhiVsEtaPerTrack[i]->setAxisTitle("Track #eta ", 1);
558  NumberOfLayersVsPhiVsEtaPerTrack[i]->setAxisTitle("Track #phi ", 2);
559  }
560  }
561 
562  // book the General Property histograms
563  // ---------------------------------------------------------------------------------//
564 
566  int Chi2Bin = conf_->getParameter<int>("Chi2Bin");
567  double Chi2Min = conf_->getParameter<double>("Chi2Min");
568  double Chi2Max = conf_->getParameter<double>("Chi2Max");
569 
570  int Chi2NDFBin = conf_->getParameter<int>("Chi2NDFBin");
571  double Chi2NDFMin = conf_->getParameter<double>("Chi2NDFMin");
572  double Chi2NDFMax = conf_->getParameter<double>("Chi2NDFMax");
573 
574  int Chi2ProbBin = conf_->getParameter<int>("Chi2ProbBin");
575  double Chi2ProbMin = conf_->getParameter<double>("Chi2ProbMin");
576  double Chi2ProbMax = conf_->getParameter<double>("Chi2ProbMax");
577 
578  //HI PLOTS////
579  int TransDCABins = conf_->getParameter<int>("TransDCABins");
580  double TransDCAMin = conf_->getParameter<double>("TransDCAMin");
581  double TransDCAMax = conf_->getParameter<double>("TransDCAMax");
582 
583  int LongDCABins = conf_->getParameter<int>("LongDCABins");
584  double LongDCAMin = conf_->getParameter<double>("LongDCAMin");
585  double LongDCAMax = conf_->getParameter<double>("LongDCAMax");
587 
588  ibooker.setCurrentFolder(TopFolder_ + "/GeneralProperties");
589 
590  histname = "Chi2_";
591  Chi2 = ibooker.book1D(histname + CategoryName, histname + CategoryName, Chi2Bin, Chi2Min, Chi2Max);
592  Chi2->setAxisTitle("Track #chi^{2}", 1);
593  Chi2->setAxisTitle("Number of Tracks", 2);
594 
595  histname = "Chi2Prob_";
596  Chi2Prob = ibooker.book1D(histname + CategoryName, histname + CategoryName, Chi2ProbBin, Chi2ProbMin, Chi2ProbMax);
597  Chi2Prob->setAxisTitle("Track #chi^{2} probability", 1);
598  Chi2Prob->setAxisTitle("Number of Tracks", 2);
599 
600  histname = "Chi2oNDF_";
601  Chi2oNDF = ibooker.book1D(histname + CategoryName, histname + CategoryName, Chi2NDFBin, Chi2NDFMin, Chi2NDFMax);
602  Chi2oNDF->setAxisTitle("Track #chi^{2}/ndf", 1);
603  Chi2oNDF->setAxisTitle("Number of Tracks", 2);
604 
606  //HI PLOTS///
608  if (doHIPlots_) {
609  histname = "LongDCASig_";
610  LongDCASig =
611  ibooker.book1D(histname + CategoryName, histname + CategoryName, LongDCABins, LongDCAMin, LongDCAMax);
612  LongDCASig->setAxisTitle("dz/#sigma_{dz}", 1);
613 
614  histname = "TransDCASig_";
615  TransDCASig =
616  ibooker.book1D(histname + CategoryName, histname + CategoryName, TransDCABins, TransDCAMin, TransDCAMax);
617  TransDCASig->setAxisTitle("dxy/#sigma_{dxy}", 1);
618 
619  histname = "dNdPhi_HighPurity_";
620  dNdPhi_HighPurity = ibooker.book1D(histname + CategoryName, histname + CategoryName, PhiBin, PhiMin, PhiMax);
621  dNdPhi_HighPurity->setAxisTitle("#phi", 1);
622 
623  histname = "dNdEta_HighPurity_";
624  dNdEta_HighPurity = ibooker.book1D(histname + CategoryName, histname + CategoryName, EtaBin, EtaMin, EtaMax);
625  dNdEta_HighPurity->setAxisTitle("#eta", 1);
626 
627  histname = "dNdPt_HighPurity_";
628  dNdPt_HighPurity = ibooker.book1D(histname + CategoryName, histname + CategoryName, 150, 0, 0.3);
629  dNdPt_HighPurity->setAxisTitle("#sigma_{p_{T}}/p_{T}", 1);
630 
631  histname = "NhitVsEta_HighPurity_";
633  ibooker.bookProfile(histname + CategoryName, histname + CategoryName, EtaBin, EtaMin, EtaMax, -0.5, 39.5, "");
634  NhitVsEta_HighPurity->setAxisTitle("Track #eta", 1);
635  NhitVsEta_HighPurity->setAxisTitle("Number of Valid RecHits in each Track", 2);
636 
637  histname = "NhitVsPhi_HighPurity_";
639  ibooker.bookProfile(histname + CategoryName, histname + CategoryName, PhiBin, PhiMin, PhiMax, -0.5, 39.5, "");
640  NhitVsPhi_HighPurity->setAxisTitle("Track #phi", 1);
641  NhitVsPhi_HighPurity->setAxisTitle("Number of Valid RecHits in each Track", 2);
642 
643  histname = "Ptdist_HighPurity_";
644  Ptdist_HighPurity = ibooker.book1D(histname + CategoryName, histname + CategoryName, 150, 0, 50.);
645  Ptdist_HighPurity->setAxisTitle("p_{T} (GeV/c)", 1);
646  Ptdist_HighPurity->setAxisTitle("Number of Tracks", 2);
647 
648  histname = "dNhitdPt_HighPurity_";
650  ibooker.bookProfile(histname + CategoryName, histname + CategoryName, 150, 0, 25., -0.5, 39.5, "");
651  dNhitdPt_HighPurity->setAxisTitle("p_{T} (GeV/c)", 1);
652  dNhitdPt_HighPurity->setAxisTitle("N_{hit}", 2);
653  }
654 
656  histname = "xPointOfClosestApproach_";
657  xPointOfClosestApproach = ibooker.book1D(histname + CategoryName, histname + CategoryName, VXBin, VXMin, VXMax);
658  xPointOfClosestApproach->setAxisTitle("x component of Track PCA to beam line (cm)", 1);
659  xPointOfClosestApproach->setAxisTitle("Number of Tracks", 2);
660 
661  histname = "yPointOfClosestApproach_";
662  yPointOfClosestApproach = ibooker.book1D(histname + CategoryName, histname + CategoryName, VYBin, VYMin, VYMax);
663  yPointOfClosestApproach->setAxisTitle("y component of Track PCA to beam line (cm)", 1);
664  yPointOfClosestApproach->setAxisTitle("Number of Tracks", 2);
665 
666  histname = "zPointOfClosestApproach_";
667  zPointOfClosestApproach = ibooker.book1D(histname + CategoryName, histname + CategoryName, VZBin, VZMin, VZMax);
668  zPointOfClosestApproach->setAxisTitle("z component of Track PCA to beam line (cm)", 1);
669  zPointOfClosestApproach->setAxisTitle("Number of Tracks", 2);
670 
671  histname = "xPointOfClosestApproachToPV_";
673  ibooker.book1D(histname + CategoryName, histname + CategoryName, VXBin, VXMin, VXMax);
674  xPointOfClosestApproachToPV->setAxisTitle("x component of Track PCA to pv (cm)", 1);
675  xPointOfClosestApproachToPV->setAxisTitle("Number of Tracks", 2);
676 
677  histname = "yPointOfClosestApproachToPV_";
679  ibooker.book1D(histname + CategoryName, histname + CategoryName, VYBin, VYMin, VYMax);
680  yPointOfClosestApproachToPV->setAxisTitle("y component of Track PCA to pv line (cm)", 1);
681  yPointOfClosestApproachToPV->setAxisTitle("Number of Tracks", 2);
682 
683  histname = "zPointOfClosestApproachToPV_";
685  ibooker.book1D(histname + CategoryName, histname + CategoryName, VZBin, VZMin, VZMax);
686  zPointOfClosestApproachToPV->setAxisTitle("z component of Track PCA to pv line (cm)", 1);
687  zPointOfClosestApproachToPV->setAxisTitle("Number of Tracks", 2);
688  }
689 
690  // See DataFormats/TrackReco/interface/TrackBase.h for track algorithm enum definition
691  // http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/DataFormats/TrackReco/interface/TrackBase.h?view=log
692  histname = "algorithm_";
693  algorithm = ibooker.book1D(histname + CategoryName,
694  histname + CategoryName,
696  0.,
697  double(reco::TrackBase::algoSize));
698  algorithm->setAxisTitle("Tracking algorithm", 1);
699  algorithm->setAxisTitle("Number of Tracks", 2);
700 
701  histname = "originalAlgorithm_";
702  oriAlgo = ibooker.book1D(histname + CategoryName,
703  histname + CategoryName,
705  0.,
706  double(reco::TrackBase::algoSize));
707  oriAlgo->setAxisTitle("Tracking algorithm", 1);
708  oriAlgo->setAxisTitle("Number of Tracks", 2);
709 
710  for (size_t ibin = 0; ibin < reco::TrackBase::algoSize - 1; ibin++) {
713  }
714 
715  size_t StopReasonNameSize = sizeof(StopReasonName::StopReasonName) / sizeof(std::string);
716  histname = "stoppingSource_";
717  stoppingSource = ibooker.book1D(
718  histname + CategoryName, histname + CategoryName, StopReasonNameSize, 0., double(StopReasonNameSize));
719  stoppingSource->setAxisTitle("stopping reason", 1);
720  stoppingSource->setAxisTitle("Number of Tracks", 2);
721 
722  histname = "stoppingSourceVSeta_";
724  ibooker.bookProfile(histname + CategoryName, histname + CategoryName, EtaBin, EtaMin, EtaMax, 2, 0., 2.);
725  stoppingSourceVSeta->setAxisTitle("track #eta", 1);
726  stoppingSourceVSeta->setAxisTitle("stopped fraction", 2);
727 
728  histname = "stoppingSourceVSphi_";
730  ibooker.bookProfile(histname + CategoryName, histname + CategoryName, PhiBin, PhiMin, PhiMax, 2, 0., 2.);
731  stoppingSourceVSphi->setAxisTitle("track #phi", 1);
732  stoppingSourceVSphi->setAxisTitle("stopped fraction", 2);
733 
734  for (size_t ibin = 0; ibin < StopReasonNameSize; ibin++) {
736  }
737  }
738 }

References HLTSiStripMonitoring_cff::AlgoName, reco::TrackBase::algoNames, algorithm, reco::TrackBase::algoSize, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), dqm::implementation::IBooker::bookProfile2D(), MonitorTrackSTAMuons_cfi::Chi2Bin, MonitorTrackSTAMuons_cfi::Chi2Max, MonitorTrackSTAMuons_cfi::Chi2Min, beam_dqm_sourceclient-live_cfg::Chi2NDFBin, beam_dqm_sourceclient-live_cfg::Chi2NDFMax, beam_dqm_sourceclient-live_cfg::Chi2NDFMin, Chi2oNDF, Chi2Prob, MonitorTrackSTAMuons_cfi::Chi2ProbBin, MonitorTrackSTAMuons_cfi::Chi2ProbMax, MonitorTrackSTAMuons_cfi::Chi2ProbMin, conf_, dNdEta_HighPurity, dNdPhi_HighPurity, dNdPt_HighPurity, dNhitdPt_HighPurity, doAllPlots_, doDCAPlots_, doGeneralPropertiesPlots_, doHIPlots_, doHitPropertiesPlots_, doLayersVsPhiVsEtaPerTrack_, doPVPlots_, doRecHitVsPhiVsEtaPerTrack_, doRecHitVsPtVsEtaPerTrack_, doSIPPlots_, MonitorTrackInnerTrackMuons_cff::Eta2DBin, MonitorTrackInnerTrackMuons_cff::EtaBin, MonitorTrackInnerTrackMuons_cff::EtaMax, MonitorTrackInnerTrackMuons_cff::EtaMin, edm::ParameterSet::getParameter(), histname, mps_fire::i, TrackingMonitor_cfi::LongDCABins, TrackingMonitor_cfi::LongDCAMax, TrackingMonitor_cfi::LongDCAMin, LongDCASig, NhitVsEta_HighPurity, NhitVsPhi_HighPurity, NumberOfLayersPerTrack, NumberOfLayersVsPhiVsEtaPerTrack, NumberOfLostRecHitsPerTrack, NumberOfLostRecHitsPerTrackVsPt, NumberOfLostRecHitVsPhiVsEtaPerTrack, NumberOfLostRecHitVsPtVsEtaPerTrack, NumberOfMIRecHitsPerTrack, NumberOfMIRecHitsPerTrackVsPt, NumberOfMIRecHitVsPhiVsEtaPerTrack, NumberOfMIRecHitVsPtVsEtaPerTrack, NumberOfMORecHitsPerTrack, NumberOfMORecHitsPerTrackVsPt, NumberOfMORecHitVsPhiVsEtaPerTrack, NumberOfMORecHitVsPtVsEtaPerTrack, NumberOfRecHitsPerTrack, NumberOfValidRecHitsPerTrack, NumberOfValidRecHitsPerTrackVsPt, NumberOfValidRecHitVsPhiVsEtaPerTrack, NumberOfValidRecHitVsPtVsEtaPerTrack, oriAlgo, MonitorTrackInnerTrackMuons_cff::Phi2DBin, MonitorTrackSTAMuons_cfi::PhiBin, MonitorTrackSTAMuons_cfi::PhiMax, MonitorTrackSTAMuons_cfi::PhiMin, Ptdist_HighPurity, electronDQMIsoDist_cfi::PtMax, HLT_2018_cff::PtMin, dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), stoppingSource, stoppingSourceVSeta, stoppingSourceVSphi, StopReasonName::StopReasonName, AlCaHLTBitMon_QueryRunRegistry::string, TopFolder_, TrackingMonitor_cfi::TransDCABins, TrackingMonitor_cfi::TransDCAMax, TrackingMonitor_cfi::TransDCAMin, TransDCASig, ValidFractionPerTrack, ValidFractionVsPhiVsEtaPerTrack, MonitorTrackSTAMuons_cfi::VXBin, MonitorTrackSTAMuons_cfi::VXMax, MonitorTrackSTAMuons_cfi::VXMin, MonitorTrackSTAMuons_cfi::VYBin, MonitorTrackSTAMuons_cfi::VYMax, MonitorTrackSTAMuons_cfi::VYMin, beam_dqm_sourceclient-live_cfg::VZBin, beam_dqm_sourceclient-live_cfg::VZMax, beam_dqm_sourceclient-live_cfg::VZMin, xPointOfClosestApproach, xPointOfClosestApproachToPV, yPointOfClosestApproach, yPointOfClosestApproachToPV, zPointOfClosestApproach, and zPointOfClosestApproachToPV.

Referenced by initHisto().

◆ bookHistosForLScertification()

void TrackAnalyzer::bookHistosForLScertification ( DQMStore::IBooker ibooker)
private

Definition at line 740 of file TrackAnalyzer.cc.

740  {
741  // parameters from the configuration
742  std::string QualName = conf_->getParameter<std::string>("Quality");
744 
745  // use the AlgoName and Quality Name
746  std::string CategoryName = !QualName.empty() ? AlgoName + "_" + QualName : AlgoName;
747 
748  // book LS analysis related histograms
749  // -----------------------------------
750  if (doLumiAnalysis_) {
751  // get binning from the configuration
752  int TKHitBin = conf_->getParameter<int>("RecHitBin");
753  double TKHitMin = conf_->getParameter<double>("RecHitMin");
754  double TKHitMax = conf_->getParameter<double>("RecHitMax");
755 
756  int Chi2NDFBin = conf_->getParameter<int>("Chi2NDFBin");
757  double Chi2NDFMin = conf_->getParameter<double>("Chi2NDFMin");
758  double Chi2NDFMax = conf_->getParameter<double>("Chi2NDFMax");
759 
760  // add by Mia in order to deal w/ LS transitions
761  ibooker.setCurrentFolder(TopFolder_ + "/LSanalysis");
762 
763  histname = "NumberOfRecHitsPerTrack_lumiFlag_";
765  ibooker.book1D(histname + CategoryName, histname + CategoryName, TKHitBin, TKHitMin, TKHitMax);
766  NumberOfRecHitsPerTrack_lumiFlag->setAxisTitle("Number of all RecHits of each Track");
767  NumberOfRecHitsPerTrack_lumiFlag->setAxisTitle("Number of Tracks", 2);
768 
769  histname = "Chi2oNDF_lumiFlag_";
771  ibooker.book1D(histname + CategoryName, histname + CategoryName, Chi2NDFBin, Chi2NDFMin, Chi2NDFMax);
772  Chi2oNDF_lumiFlag->setAxisTitle("Track #chi^{2}/ndf", 1);
773  Chi2oNDF_lumiFlag->setAxisTitle("Number of Tracks", 2);
774  }
775 }

References HLTSiStripMonitoring_cff::AlgoName, dqm::implementation::IBooker::book1D(), beam_dqm_sourceclient-live_cfg::Chi2NDFBin, beam_dqm_sourceclient-live_cfg::Chi2NDFMax, beam_dqm_sourceclient-live_cfg::Chi2NDFMin, Chi2oNDF_lumiFlag, conf_, doLumiAnalysis_, edm::ParameterSet::getParameter(), histname, NumberOfRecHitsPerTrack_lumiFlag, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and TopFolder_.

Referenced by initHisto().

◆ bookHistosForState()

void TrackAnalyzer::bookHistosForState ( std::string  sname,
DQMStore::IBooker ibooker 
)
private

Definition at line 1469 of file TrackAnalyzer.cc.

1469  {
1470  // parameters from the configuration
1471  std::string QualName = conf_->getParameter<std::string>("Quality");
1473  std::string Folder = TopFolder_.substr(0, 2);
1474 
1475  // use the AlgoName and Quality Name
1476  std::string CategoryName = !QualName.empty() ? AlgoName + "_" + QualName : AlgoName;
1477 
1478  // get binning from the configuration
1479  double Chi2NDFMin = conf_->getParameter<double>("Chi2NDFMin");
1480  double Chi2NDFMax = conf_->getParameter<double>("Chi2NDFMax");
1481 
1482  int RecHitBin = conf_->getParameter<int>("RecHitBin");
1483  double RecHitMin = conf_->getParameter<double>("RecHitMin");
1484  double RecHitMax = conf_->getParameter<double>("RecHitMax");
1485 
1486  int RecLayBin = conf_->getParameter<int>("RecHitBin");
1487  double RecLayMin = conf_->getParameter<double>("RecHitMin");
1488  double RecLayMax = conf_->getParameter<double>("RecHitMax");
1489 
1490  int PhiBin = conf_->getParameter<int>("PhiBin");
1491  double PhiMin = conf_->getParameter<double>("PhiMin");
1492  double PhiMax = conf_->getParameter<double>("PhiMax");
1493 
1494  int EtaBin = conf_->getParameter<int>("EtaBin");
1495  double EtaMin = conf_->getParameter<double>("EtaMin");
1496  double EtaMax = conf_->getParameter<double>("EtaMax");
1497 
1498  int Phi2DBin = conf_->getParameter<int>("Phi2DBin");
1499  int Eta2DBin = conf_->getParameter<int>("Eta2DBin");
1500 
1501  int ThetaBin = conf_->getParameter<int>("ThetaBin");
1502  double ThetaMin = conf_->getParameter<double>("ThetaMin");
1503  double ThetaMax = conf_->getParameter<double>("ThetaMax");
1504 
1505  int TrackQBin = conf_->getParameter<int>("TrackQBin");
1506  double TrackQMin = conf_->getParameter<double>("TrackQMin");
1507  double TrackQMax = conf_->getParameter<double>("TrackQMax");
1508 
1509  int TrackPtBin = conf_->getParameter<int>("TrackPtBin");
1510  double TrackPtMin = conf_->getParameter<double>("TrackPtMin");
1511  double TrackPtMax = conf_->getParameter<double>("TrackPtMax");
1512 
1513  int TrackPBin = conf_->getParameter<int>("TrackPBin");
1514  double TrackPMin = conf_->getParameter<double>("TrackPMin");
1515  double TrackPMax = conf_->getParameter<double>("TrackPMax");
1516 
1517  int TrackPxBin = conf_->getParameter<int>("TrackPxBin");
1518  double TrackPxMin = conf_->getParameter<double>("TrackPxMin");
1519  double TrackPxMax = conf_->getParameter<double>("TrackPxMax");
1520 
1521  int TrackPyBin = conf_->getParameter<int>("TrackPyBin");
1522  double TrackPyMin = conf_->getParameter<double>("TrackPyMin");
1523  double TrackPyMax = conf_->getParameter<double>("TrackPyMax");
1524 
1525  int TrackPzBin = conf_->getParameter<int>("TrackPzBin");
1526  double TrackPzMin = conf_->getParameter<double>("TrackPzMin");
1527  double TrackPzMax = conf_->getParameter<double>("TrackPzMax");
1528 
1529  int ptErrBin = conf_->getParameter<int>("ptErrBin");
1530  double ptErrMin = conf_->getParameter<double>("ptErrMin");
1531  double ptErrMax = conf_->getParameter<double>("ptErrMax");
1532 
1533  int pxErrBin = conf_->getParameter<int>("pxErrBin");
1534  double pxErrMin = conf_->getParameter<double>("pxErrMin");
1535  double pxErrMax = conf_->getParameter<double>("pxErrMax");
1536 
1537  int pyErrBin = conf_->getParameter<int>("pyErrBin");
1538  double pyErrMin = conf_->getParameter<double>("pyErrMin");
1539  double pyErrMax = conf_->getParameter<double>("pyErrMax");
1540 
1541  int pzErrBin = conf_->getParameter<int>("pzErrBin");
1542  double pzErrMin = conf_->getParameter<double>("pzErrMin");
1543  double pzErrMax = conf_->getParameter<double>("pzErrMax");
1544 
1545  int pErrBin = conf_->getParameter<int>("pErrBin");
1546  double pErrMin = conf_->getParameter<double>("pErrMin");
1547  double pErrMax = conf_->getParameter<double>("pErrMax");
1548 
1549  int phiErrBin = conf_->getParameter<int>("phiErrBin");
1550  double phiErrMin = conf_->getParameter<double>("phiErrMin");
1551  double phiErrMax = conf_->getParameter<double>("phiErrMax");
1552 
1553  int etaErrBin = conf_->getParameter<int>("etaErrBin");
1554  double etaErrMin = conf_->getParameter<double>("etaErrMin");
1555  double etaErrMax = conf_->getParameter<double>("etaErrMax");
1556 
1557  double Chi2ProbMin = conf_->getParameter<double>("Chi2ProbMin");
1558  double Chi2ProbMax = conf_->getParameter<double>("Chi2ProbMax");
1559 
1560  ibooker.setCurrentFolder(TopFolder_);
1561 
1562  TkParameterMEs tkmes;
1563 
1564  std::string histTag = (sname == "default") ? CategoryName : sname + "_" + CategoryName;
1565 
1566  if (doAllPlots_) {
1567  // general properties
1568  ibooker.setCurrentFolder(TopFolder_ + "/GeneralProperties");
1569 
1570  if (doThetaPlots_) {
1571  histname = "Chi2oNDFVsTheta_" + histTag;
1572  tkmes.Chi2oNDFVsTheta =
1573  ibooker.bookProfile(histname, histname, ThetaBin, ThetaMin, ThetaMax, Chi2NDFMin, Chi2NDFMax, "");
1574  tkmes.Chi2oNDFVsTheta->setAxisTitle("Track #theta", 1);
1575  tkmes.Chi2oNDFVsTheta->setAxisTitle("Track #chi^{2}/ndf", 2);
1576  }
1577  histname = "Chi2oNDFVsPhi_" + histTag;
1578  tkmes.Chi2oNDFVsPhi = ibooker.bookProfile(histname, histname, PhiBin, PhiMin, PhiMax, Chi2NDFMin, Chi2NDFMax, "");
1579  tkmes.Chi2oNDFVsPhi->setAxisTitle("Track #phi", 1);
1580  tkmes.Chi2oNDFVsPhi->setAxisTitle("Track #chi^{2}/ndf", 2);
1581 
1582  histname = "Chi2ProbVsPhi_" + histTag;
1583  tkmes.Chi2ProbVsPhi = ibooker.bookProfile(
1584  histname + CategoryName, histname + CategoryName, PhiBin, PhiMin, PhiMax, Chi2ProbMin, Chi2ProbMax);
1585  tkmes.Chi2ProbVsPhi->setAxisTitle("Tracks #phi", 1);
1586  tkmes.Chi2ProbVsPhi->setAxisTitle("Track #chi^{2} probability", 2);
1587 
1588  histname = "Chi2ProbVsEta_" + histTag;
1589  tkmes.Chi2ProbVsEta = ibooker.bookProfile(
1590  histname + CategoryName, histname + CategoryName, EtaBin, EtaMin, EtaMax, Chi2ProbMin, Chi2ProbMax);
1591  tkmes.Chi2ProbVsEta->setAxisTitle("Tracks #eta", 1);
1592  tkmes.Chi2ProbVsEta->setAxisTitle("Track #chi^{2} probability", 2);
1593  }
1594 
1595  // general properties
1596  ibooker.setCurrentFolder(TopFolder_ + "/GeneralProperties");
1597 
1598  histname = "Chi2oNDFVsEta_" + histTag;
1599  tkmes.Chi2oNDFVsEta = ibooker.bookProfile(histname, histname, EtaBin, EtaMin, EtaMax, Chi2NDFMin, Chi2NDFMax, "");
1600  tkmes.Chi2oNDFVsEta->setAxisTitle("Track #eta", 1);
1601  tkmes.Chi2oNDFVsEta->setAxisTitle("Track #chi^{2}/ndf", 2);
1602 
1603  histname = "Chi2oNDFVsPt_" + histTag;
1604  tkmes.Chi2oNDFVsPt =
1605  ibooker.bookProfile(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax, Chi2NDFMin, Chi2NDFMax, "");
1606  tkmes.Chi2oNDFVsPt->setAxisTitle("Track p_{T} (GeV/c)", 1);
1607  tkmes.Chi2oNDFVsPt->setAxisTitle("Track #chi^{2}/ndf", 2);
1608 
1609  histname = "Chi2oNDFVsNHits_" + histTag;
1610  tkmes.Chi2oNDFVsNHits = ibooker.bookProfile(histname, histname, 50, 0., 50, Chi2NDFMin, Chi2NDFMax, "");
1611  tkmes.Chi2oNDFVsNHits->setAxisTitle("Track NHits", 1);
1612  tkmes.Chi2oNDFVsNHits->setAxisTitle("Track #chi^{2}/ndf", 2);
1613 
1614  histname = "TrackP_" + histTag;
1615  tkmes.TrackP = ibooker.book1D(histname, histname, TrackPBin, TrackPMin, TrackPMax);
1616  tkmes.TrackP->setAxisTitle("Track |p| (GeV/c)", 1);
1617  tkmes.TrackP->setAxisTitle("Number of Tracks", 2);
1618 
1619  histname = "TrackPt_" + histTag;
1620  tkmes.TrackPt = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1621  tkmes.TrackPt->setAxisTitle("Track p_{T} (GeV/c)", 1);
1622  tkmes.TrackPt->setAxisTitle("Number of Tracks", 2);
1623 
1624  if (doTrackPxPyPlots_) {
1625  histname = "TrackPx_" + histTag;
1626  tkmes.TrackPx = ibooker.book1D(histname, histname, TrackPxBin, TrackPxMin, TrackPxMax);
1627  tkmes.TrackPx->setAxisTitle("Track p_{x} (GeV/c)", 1);
1628  tkmes.TrackPx->setAxisTitle("Number of Tracks", 2);
1629 
1630  histname = "TrackPy_" + histTag;
1631  tkmes.TrackPy = ibooker.book1D(histname, histname, TrackPyBin, TrackPyMin, TrackPyMax);
1632  tkmes.TrackPy->setAxisTitle("Track p_{y} (GeV/c)", 1);
1633  tkmes.TrackPy->setAxisTitle("Number of Tracks", 2);
1634  }
1635  histname = "TrackPz_" + histTag;
1636  tkmes.TrackPz = ibooker.book1D(histname, histname, TrackPzBin, TrackPzMin, TrackPzMax);
1637  tkmes.TrackPz->setAxisTitle("Track p_{z} (GeV/c)", 1);
1638  tkmes.TrackPz->setAxisTitle("Number of Tracks", 2);
1639 
1640  histname = "TrackPhi_" + histTag;
1641  tkmes.TrackPhi = ibooker.book1D(histname, histname, PhiBin, PhiMin, PhiMax);
1642  tkmes.TrackPhi->setAxisTitle("Track #phi", 1);
1643  tkmes.TrackPhi->setAxisTitle("Number of Tracks", 2);
1644 
1645  histname = "TrackEta_" + histTag;
1646  tkmes.TrackEta = ibooker.book1D(histname, histname, EtaBin, EtaMin, EtaMax);
1647  tkmes.TrackEta->setAxisTitle("Track #eta", 1);
1648  tkmes.TrackEta->setAxisTitle("Number of Tracks", 2);
1649 
1650  if (Folder == "Tr") {
1651  histname = "TrackPtHighPurity_" + histTag;
1652  tkmes.TrackPtHighPurity = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1653  tkmes.TrackPtHighPurity->setAxisTitle("Track p_{T} (GeV/c)", 1);
1654  tkmes.TrackPtHighPurity->setAxisTitle("Number of High Purity Tracks", 2);
1655 
1656  histname = "TrackPtTight_" + histTag;
1657  tkmes.TrackPtTight = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1658  tkmes.TrackPtTight->setAxisTitle("Track p_{T} (GeV/c)", 1);
1659  tkmes.TrackPtTight->setAxisTitle("Number of Tight Tracks", 2);
1660 
1661  histname = "TrackPtLoose_" + histTag;
1662  tkmes.TrackPtLoose = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1663  tkmes.TrackPtLoose->setAxisTitle("Track p_{T} (GeV/c)", 1);
1664  tkmes.TrackPtLoose->setAxisTitle("Number of Loose Tracks", 2);
1665 
1666  histname = "Quality_";
1667  tkmes.Quality = ibooker.book1D(histname + CategoryName, histname + CategoryName, 3, 0., 3.);
1668  tkmes.Quality->setAxisTitle("Track quality", 1);
1669  tkmes.Quality->setAxisTitle("Number of Tracks", 2);
1670 
1671  for (size_t ibin = 0; ibin < 3; ibin++) {
1672  tkmes.Quality->setBinLabel(ibin + 1, reco::TrackBase::qualityNames[ibin]);
1673  }
1674 
1675  histname = "TrackPt_NegEta_Phi_btw_neg16_neg32_" + histTag;
1676  tkmes.TrackPt_NegEta_Phi_btw_neg16_neg32 = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1677  tkmes.TrackPt_NegEta_Phi_btw_neg16_neg32->setAxisTitle("Track p_{T} (GeV/c)", 1);
1678  tkmes.TrackPt_NegEta_Phi_btw_neg16_neg32->setAxisTitle("Number of Tracks", 2);
1679 
1680  histname = "TrackPt_NegEta_Phi_btw_0_neg16_" + histTag;
1681  tkmes.TrackPt_NegEta_Phi_btw_0_neg16 = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1682  tkmes.TrackPt_NegEta_Phi_btw_0_neg16->setAxisTitle("Track p_{T} (GeV/c)", 1);
1683  tkmes.TrackPt_NegEta_Phi_btw_0_neg16->setAxisTitle("Number of Tracks", 2);
1684 
1685  histname = "TrackPt_NegEta_Phi_btw_16_0_" + histTag;
1686  tkmes.TrackPt_NegEta_Phi_btw_16_0 = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1687  tkmes.TrackPt_NegEta_Phi_btw_16_0->setAxisTitle("Track p_{T} (GeV/c)", 1);
1688  tkmes.TrackPt_NegEta_Phi_btw_16_0->setAxisTitle("Number of Tracks", 2);
1689 
1690  histname = "TrackPt_NegEta_Phi_btw_32_16_" + histTag;
1691  tkmes.TrackPt_NegEta_Phi_btw_32_16 = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1692  tkmes.TrackPt_NegEta_Phi_btw_32_16->setAxisTitle("Track p_{T} (GeV/c)", 1);
1693  tkmes.TrackPt_NegEta_Phi_btw_32_16->setAxisTitle("Number of Tracks", 2);
1694 
1695  histname = "TrackPt_PosEta_Phi_btw_neg16_neg32_" + histTag;
1696  tkmes.TrackPt_PosEta_Phi_btw_neg16_neg32 = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1697  tkmes.TrackPt_PosEta_Phi_btw_neg16_neg32->setAxisTitle("Track p_{T} (GeV/c)", 1);
1698  tkmes.TrackPt_PosEta_Phi_btw_neg16_neg32->setAxisTitle("Number of Tracks", 2);
1699 
1700  histname = "TrackPt_PosEta_Phi_btw_0_neg16_" + histTag;
1701  tkmes.TrackPt_PosEta_Phi_btw_0_neg16 = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1702  tkmes.TrackPt_PosEta_Phi_btw_0_neg16->setAxisTitle("Track p_{T} (GeV/c)", 1);
1703  tkmes.TrackPt_PosEta_Phi_btw_0_neg16->setAxisTitle("Number of Tracks", 2);
1704 
1705  histname = "TrackPt_PosEta_Phi_btw_16_0_" + histTag;
1706  tkmes.TrackPt_PosEta_Phi_btw_16_0 = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1707  tkmes.TrackPt_PosEta_Phi_btw_16_0->setAxisTitle("Track p_{T} (GeV/c)", 1);
1708  tkmes.TrackPt_PosEta_Phi_btw_16_0->setAxisTitle("Number of Tracks", 2);
1709 
1710  histname = "TrackPt_PosEta_Phi_btw_32_16_" + histTag;
1711  tkmes.TrackPt_PosEta_Phi_btw_32_16 = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1712  tkmes.TrackPt_PosEta_Phi_btw_32_16->setAxisTitle("Track p_{T} (GeV/c)", 1);
1713  tkmes.TrackPt_PosEta_Phi_btw_32_16->setAxisTitle("Number of Tracks", 2);
1714 
1715  histname = "Ratio_byFolding_" + histTag;
1716  tkmes.Ratio_byFolding = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1717  tkmes.Ratio_byFolding->setAxisTitle("Track p_{T} (GeV/c)", 1);
1718 
1719  histname = "Ratio_byFolding2_" + histTag;
1720  tkmes.Ratio_byFolding2 = ibooker.book1D(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax);
1721  tkmes.Ratio_byFolding2->setAxisTitle("Track p_{T} (GeV/c)", 1);
1722 
1723  histname = "TrackEtaHighpurity_" + histTag;
1724  tkmes.TrackEtaHighPurity = ibooker.book1D(histname, histname, EtaBin, EtaMin, EtaMax);
1725  tkmes.TrackEtaHighPurity->setAxisTitle("Track #eta", 1);
1726  tkmes.TrackEtaHighPurity->setAxisTitle("Number of High Purity Tracks", 2);
1727 
1728  histname = "TrackEtaTight_" + histTag;
1729  tkmes.TrackEtaTight = ibooker.book1D(histname, histname, EtaBin, EtaMin, EtaMax);
1730  tkmes.TrackEtaTight->setAxisTitle("Track #eta", 1);
1731  tkmes.TrackEtaTight->setAxisTitle("Number of Tight Tracks", 2);
1732 
1733  histname = "TrackEtaLoose_" + histTag;
1734  tkmes.TrackEtaLoose = ibooker.book1D(histname, histname, EtaBin, EtaMin, EtaMax);
1735  tkmes.TrackEtaLoose->setAxisTitle("Track #eta", 1);
1736  tkmes.TrackEtaLoose->setAxisTitle("Number of Loose Tracks", 2);
1737 
1738  histname = "TrackEtaPhiInverted_" + histTag;
1739  tkmes.TrackEtaPhiInverted = ibooker.book2D(histname, histname, Eta2DBin, EtaMin, EtaMax, Phi2DBin, PhiMin, PhiMax);
1740  tkmes.TrackEtaPhiInverted->setAxisTitle("Track #eta", 1);
1741  tkmes.TrackEtaPhiInverted->setAxisTitle("Track #phi", 2);
1742 
1743  histname = "TrackEtaPhiInvertedoutofphase_" + histTag;
1744  tkmes.TrackEtaPhiInvertedoutofphase =
1745  ibooker.book2D(histname, histname, Eta2DBin, EtaMin, EtaMax, Phi2DBin, PhiMin, PhiMax);
1746  tkmes.TrackEtaPhiInvertedoutofphase->setAxisTitle("Track #eta", 1);
1747  tkmes.TrackEtaPhiInvertedoutofphase->setAxisTitle("Track #phi", 2);
1748 
1749  histname = "TkEtaPhi_Ratio_byFoldingmap_" + histTag;
1750  tkmes.TkEtaPhi_Ratio_byFoldingmap =
1751  ibooker.book2D(histname, histname, Eta2DBin, EtaMin, EtaMax, Phi2DBin, PhiMin, PhiMax);
1752  tkmes.TkEtaPhi_Ratio_byFoldingmap->setAxisTitle("Track #eta", 1);
1753  tkmes.TkEtaPhi_Ratio_byFoldingmap->setAxisTitle("Track #phi", 2);
1754 
1755  histname = "TkEtaPhi_Ratio_byFoldingmap_op_" + histTag;
1756  tkmes.TkEtaPhi_Ratio_byFoldingmap_op =
1757  ibooker.book2D(histname, histname, Eta2DBin, EtaMin, EtaMax, Phi2DBin, PhiMin, PhiMax);
1758  tkmes.TkEtaPhi_Ratio_byFoldingmap_op->setAxisTitle("Track #eta", 1);
1759  tkmes.TkEtaPhi_Ratio_byFoldingmap_op->setAxisTitle("Track #phi", 2);
1760 
1761  histname = "TkEtaPhi_RelativeDifference_byFoldingmap_" + histTag;
1762  tkmes.TkEtaPhi_RelativeDifference_byFoldingmap =
1763  ibooker.book2D(histname, histname, Eta2DBin, EtaMin, EtaMax, Phi2DBin, PhiMin, PhiMax);
1764  tkmes.TkEtaPhi_RelativeDifference_byFoldingmap->setAxisTitle("Track #eta", 1);
1765  tkmes.TkEtaPhi_RelativeDifference_byFoldingmap->setAxisTitle("Track #phi", 2);
1766 
1767  histname = "TkEtaPhi_RelativeDifference_byFoldingmap_op_" + histTag;
1768  tkmes.TkEtaPhi_RelativeDifference_byFoldingmap_op =
1769  ibooker.book2D(histname, histname, Eta2DBin, EtaMin, EtaMax, Phi2DBin, PhiMin, PhiMax);
1770  tkmes.TkEtaPhi_RelativeDifference_byFoldingmap_op->setAxisTitle("Track #eta", 1);
1771  tkmes.TkEtaPhi_RelativeDifference_byFoldingmap_op->setAxisTitle("Track #phi", 2);
1772 
1773  histname = "TrackQoverP_" + histTag;
1774  tkmes.TrackQoverP = ibooker.book1D(histname, histname, 10 * TrackQBin, TrackQMin, TrackQMax);
1775  tkmes.TrackQoverP->setAxisTitle("Track QoverP", 1);
1776  tkmes.TrackQoverP->setAxisTitle("Number of Tracks", 2);
1777  }
1778 
1779  histname = "TrackEtaPhi_" + histTag;
1780  tkmes.TrackEtaPhi = ibooker.book2D(histname, histname, Eta2DBin, EtaMin, EtaMax, Phi2DBin, PhiMin, PhiMax);
1781  tkmes.TrackEtaPhi->setAxisTitle("Track #eta", 1);
1782  tkmes.TrackEtaPhi->setAxisTitle("Track #phi", 2);
1783 
1784  histname = "TrackEtaPhiInner_" + histTag;
1785  tkmes.TrackEtaPhiInner = ibooker.book2D(histname, histname, Eta2DBin, EtaMin, EtaMax, Phi2DBin, PhiMin, PhiMax);
1786  tkmes.TrackEtaPhiInner->setAxisTitle("Track #eta", 1);
1787  tkmes.TrackEtaPhiInner->setAxisTitle("Track #phi", 2);
1788 
1789  histname = "TrackEtaPhiOuter_" + histTag;
1790  tkmes.TrackEtaPhiOuter = ibooker.book2D(histname, histname, Eta2DBin, EtaMin, EtaMax, Phi2DBin, PhiMin, PhiMax);
1791  tkmes.TrackEtaPhiOuter->setAxisTitle("Track #eta", 1);
1792  tkmes.TrackEtaPhiOuter->setAxisTitle("Track #phi", 2);
1793 
1794  if (doThetaPlots_) {
1795  histname = "TrackTheta_" + histTag;
1796  tkmes.TrackTheta = ibooker.book1D(histname, histname, ThetaBin, ThetaMin, ThetaMax);
1797  tkmes.TrackTheta->setAxisTitle("Track #theta", 1);
1798  tkmes.TrackTheta->setAxisTitle("Number of Tracks", 2);
1799  }
1800  histname = "TrackQ_" + histTag;
1801  tkmes.TrackQ = ibooker.book1D(histname, histname, TrackQBin, TrackQMin, TrackQMax);
1802  tkmes.TrackQ->setAxisTitle("Track Charge", 1);
1803  tkmes.TrackQ->setAxisTitle("Number of Tracks", 2);
1804 
1805  histname = "TrackPErrOverP_" + histTag;
1806  tkmes.TrackPErr = ibooker.book1D(histname, histname, pErrBin, pErrMin, pErrMax);
1807  tkmes.TrackPErr->setAxisTitle("track error(p)/p", 1);
1808  tkmes.TrackPErr->setAxisTitle("Number of Tracks", 2);
1809 
1810  histname = "TrackPtErrOverPt_" + histTag;
1811  tkmes.TrackPtErr = ibooker.book1D(histname, histname, ptErrBin, ptErrMin, ptErrMax);
1812  tkmes.TrackPtErr->setAxisTitle("track error(p_{T})/p_{T}", 1);
1813  tkmes.TrackPtErr->setAxisTitle("Number of Tracks", 2);
1814 
1815  histname = "TrackPtErrOverPtVsEta_" + histTag;
1816  tkmes.TrackPtErrVsEta = ibooker.bookProfile(histname, histname, EtaBin, EtaMin, EtaMax, ptErrMin, ptErrMax);
1817  tkmes.TrackPtErrVsEta->setAxisTitle("Track #eta", 1);
1818  tkmes.TrackPtErrVsEta->setAxisTitle("track error(p_{T})/p_{T}", 2);
1819 
1820  if (doTrackPxPyPlots_) {
1821  histname = "TrackPxErrOverPx_" + histTag;
1822  tkmes.TrackPxErr = ibooker.book1D(histname, histname, pxErrBin, pxErrMin, pxErrMax);
1823  tkmes.TrackPxErr->setAxisTitle("track error(p_{x})/p_{x}", 1);
1824  tkmes.TrackPxErr->setAxisTitle("Number of Tracks", 2);
1825 
1826  histname = "TrackPyErrOverPy_" + histTag;
1827  tkmes.TrackPyErr = ibooker.book1D(histname, histname, pyErrBin, pyErrMin, pyErrMax);
1828  tkmes.TrackPyErr->setAxisTitle("track error(p_{y})/p_{y}", 1);
1829  tkmes.TrackPyErr->setAxisTitle("Number of Tracks", 2);
1830  }
1831  histname = "TrackPzErrOverPz_" + histTag;
1832  tkmes.TrackPzErr = ibooker.book1D(histname, histname, pzErrBin, pzErrMin, pzErrMax);
1833  tkmes.TrackPzErr->setAxisTitle("track error(p_{z})/p_{z}", 1);
1834  tkmes.TrackPzErr->setAxisTitle("Number of Tracks", 2);
1835 
1836  histname = "TrackPhiErr_" + histTag;
1837  tkmes.TrackPhiErr = ibooker.book1D(histname, histname, phiErrBin, phiErrMin, phiErrMax);
1838  tkmes.TrackPhiErr->setAxisTitle("track error(#phi)");
1839  tkmes.TrackPhiErr->setAxisTitle("Number of Tracks", 2);
1840 
1841  histname = "TrackEtaErr_" + histTag;
1842  tkmes.TrackEtaErr = ibooker.book1D(histname, histname, etaErrBin, etaErrMin, etaErrMax);
1843  tkmes.TrackEtaErr->setAxisTitle("track error(#eta)");
1844  tkmes.TrackEtaErr->setAxisTitle("Number of Tracks", 2);
1845 
1846  // rec hit profiles
1847  ibooker.setCurrentFolder(TopFolder_ + "/GeneralProperties");
1848  histname = "NumberOfRecHitsPerTrackVsPhi_" + histTag;
1849  tkmes.NumberOfRecHitsPerTrackVsPhi =
1850  ibooker.bookProfile(histname, histname, PhiBin, PhiMin, PhiMax, RecHitBin, RecHitMin, RecHitMax, "");
1851  tkmes.NumberOfRecHitsPerTrackVsPhi->setAxisTitle("Track #phi", 1);
1852  tkmes.NumberOfRecHitsPerTrackVsPhi->setAxisTitle("Number of RecHits in each Track", 2);
1853 
1854  if (doThetaPlots_) {
1855  histname = "NumberOfRecHitsPerTrackVsTheta_" + histTag;
1856  tkmes.NumberOfRecHitsPerTrackVsTheta =
1857  ibooker.bookProfile(histname, histname, ThetaBin, ThetaMin, ThetaMax, RecHitBin, RecHitMin, RecHitMax, "");
1858  tkmes.NumberOfRecHitsPerTrackVsTheta->setAxisTitle("Track #phi", 1);
1859  tkmes.NumberOfRecHitsPerTrackVsTheta->setAxisTitle("Number of RecHits in each Track", 2);
1860  }
1861  histname = "NumberOfRecHitsPerTrackVsEta_" + histTag;
1862  tkmes.NumberOfRecHitsPerTrackVsEta =
1863  ibooker.bookProfile(histname, histname, EtaBin, EtaMin, EtaMax, RecHitBin, RecHitMin, RecHitMax, "");
1864  tkmes.NumberOfRecHitsPerTrackVsEta->setAxisTitle("Track #eta", 1);
1865  tkmes.NumberOfRecHitsPerTrackVsEta->setAxisTitle("Number of RecHits in each Track", 2);
1866 
1867  histname = "NumberOfValidRecHitsPerTrackVsPhi_" + histTag;
1868  tkmes.NumberOfValidRecHitsPerTrackVsPhi =
1869  ibooker.bookProfile(histname, histname, PhiBin, PhiMin, PhiMax, RecHitMin, RecHitMax, "");
1870  tkmes.NumberOfValidRecHitsPerTrackVsPhi->setAxisTitle("Track #phi", 1);
1871  tkmes.NumberOfValidRecHitsPerTrackVsPhi->setAxisTitle("Number of valid RecHits in each Track", 2);
1872 
1873  histname = "NumberOfValidRecHitsPerTrackVsEta_" + histTag;
1874  tkmes.NumberOfValidRecHitsPerTrackVsEta =
1875  ibooker.bookProfile(histname, histname, EtaBin, EtaMin, EtaMax, RecHitMin, RecHitMax, "");
1876  tkmes.NumberOfValidRecHitsPerTrackVsEta->setAxisTitle("Track #eta", 1);
1877  tkmes.NumberOfValidRecHitsPerTrackVsEta->setAxisTitle("Number of valid RecHits in each Track", 2);
1878 
1879  histname = "NumberOfValidRecHitsPerTrackVsPt_" + histTag;
1880  tkmes.NumberOfValidRecHitsPerTrackVsPt =
1881  ibooker.bookProfile(histname, histname, TrackPtBin, TrackPtMin, TrackPtMax, RecHitMin, RecHitMax, "");
1882  tkmes.NumberOfValidRecHitsPerTrackVsPt->setAxisTitle("Track p_{T} [GeV]", 1);
1883  tkmes.NumberOfValidRecHitsPerTrackVsPt->setAxisTitle("Number of valid RecHits in each Track", 2);
1884 
1886  histname = "NumberOfLayersPerTrackVsPhi_" + histTag;
1887  tkmes.NumberOfLayersPerTrackVsPhi =
1888  ibooker.bookProfile(histname, histname, PhiBin, PhiMin, PhiMax, RecLayBin, RecLayMin, RecLayMax, "");
1889  tkmes.NumberOfLayersPerTrackVsPhi->setAxisTitle("Track #phi", 1);
1890  tkmes.NumberOfLayersPerTrackVsPhi->setAxisTitle("Number of Layers in each Track", 2);
1891 
1892  if (doThetaPlots_) {
1893  histname = "NumberOfLayersPerTrackVsTheta_" + histTag;
1894  tkmes.NumberOfLayersPerTrackVsTheta =
1895  ibooker.bookProfile(histname, histname, ThetaBin, ThetaMin, ThetaMax, RecLayBin, RecLayMin, RecLayMax, "");
1896  tkmes.NumberOfLayersPerTrackVsTheta->setAxisTitle("Track #phi", 1);
1897  tkmes.NumberOfLayersPerTrackVsTheta->setAxisTitle("Number of Layers in each Track", 2);
1898  }
1899  histname = "NumberOfLayersPerTrackVsEta_" + histTag;
1900  tkmes.NumberOfLayersPerTrackVsEta =
1901  ibooker.bookProfile(histname, histname, EtaBin, EtaMin, EtaMax, RecLayBin, RecLayMin, RecLayMax, "");
1902  tkmes.NumberOfLayersPerTrackVsEta->setAxisTitle("Track #eta", 1);
1903  tkmes.NumberOfLayersPerTrackVsEta->setAxisTitle("Number of Layers in each Track", 2);
1904 
1905  if (doThetaPlots_) {
1906  histname = "Chi2oNDFVsTheta_" + histTag;
1907  tkmes.Chi2oNDFVsTheta =
1908  ibooker.bookProfile(histname, histname, ThetaBin, ThetaMin, ThetaMax, Chi2NDFMin, Chi2NDFMax, "");
1909  tkmes.Chi2oNDFVsTheta->setAxisTitle("Track #theta", 1);
1910  tkmes.Chi2oNDFVsTheta->setAxisTitle("Track #chi^{2}/ndf", 2);
1911  }
1912  if (doAllPlots_) {
1913  histname = "Chi2oNDFVsPhi_" + histTag;
1914  tkmes.Chi2oNDFVsPhi = ibooker.bookProfile(histname, histname, PhiBin, PhiMin, PhiMax, Chi2NDFMin, Chi2NDFMax, "");
1915  tkmes.Chi2oNDFVsPhi->setAxisTitle("Track #phi", 1);
1916  tkmes.Chi2oNDFVsPhi->setAxisTitle("Track #chi^{2}/ndf", 2);
1917 
1918  histname = "Chi2oNDFVsEta_" + histTag;
1919  tkmes.Chi2oNDFVsEta = ibooker.bookProfile(histname, histname, EtaBin, EtaMin, EtaMax, Chi2NDFMin, Chi2NDFMax, "");
1920  tkmes.Chi2oNDFVsEta->setAxisTitle("Track #eta", 1);
1921  tkmes.Chi2oNDFVsEta->setAxisTitle("Track #chi^{2}/ndf", 2);
1922 
1923  histname = "Chi2ProbVsPhi_" + histTag;
1924  tkmes.Chi2ProbVsPhi = ibooker.bookProfile(
1925  histname + CategoryName, histname + CategoryName, PhiBin, PhiMin, PhiMax, Chi2ProbMin, Chi2ProbMax);
1926  tkmes.Chi2ProbVsPhi->setAxisTitle("Tracks #phi", 1);
1927  tkmes.Chi2ProbVsPhi->setAxisTitle("Track #chi^{2} probability", 2);
1928 
1929  histname = "Chi2ProbVsEta_" + histTag;
1930  tkmes.Chi2ProbVsEta = ibooker.bookProfile(
1931  histname + CategoryName, histname + CategoryName, EtaBin, EtaMin, EtaMax, Chi2ProbMin, Chi2ProbMax);
1932  tkmes.Chi2ProbVsEta->setAxisTitle("Tracks #eta", 1);
1933  tkmes.Chi2ProbVsEta->setAxisTitle("Track #chi^{2} probability", 2);
1934  }
1935 
1936  // now put the MEs in the map
1937  TkParameterMEMap.insert(std::make_pair(sname, tkmes));
1938 }

References HLTSiStripMonitoring_cff::AlgoName, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), beam_dqm_sourceclient-live_cfg::Chi2NDFMax, beam_dqm_sourceclient-live_cfg::Chi2NDFMin, tadqm::TrackAnalyzer::TkParameterMEs::Chi2oNDFVsEta, tadqm::TrackAnalyzer::TkParameterMEs::Chi2oNDFVsNHits, tadqm::TrackAnalyzer::TkParameterMEs::Chi2oNDFVsPhi, tadqm::TrackAnalyzer::TkParameterMEs::Chi2oNDFVsPt, tadqm::TrackAnalyzer::TkParameterMEs::Chi2oNDFVsTheta, MonitorTrackSTAMuons_cfi::Chi2ProbMax, MonitorTrackSTAMuons_cfi::Chi2ProbMin, tadqm::TrackAnalyzer::TkParameterMEs::Chi2ProbVsEta, tadqm::TrackAnalyzer::TkParameterMEs::Chi2ProbVsPhi, conf_, doAllPlots_, doThetaPlots_, doTrackPxPyPlots_, MonitorTrackInnerTrackMuons_cff::Eta2DBin, MonitorTrackInnerTrackMuons_cff::EtaBin, MonitorTrackSTAMuons_cfi::etaErrBin, MonitorTrackInnerTrackMuons_cff::etaErrMax, MonitorTrackSTAMuons_cfi::etaErrMin, MonitorTrackInnerTrackMuons_cff::EtaMax, MonitorTrackInnerTrackMuons_cff::EtaMin, edm::ParameterSet::getParameter(), histname, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfLayersPerTrackVsEta, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfLayersPerTrackVsPhi, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfLayersPerTrackVsTheta, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfRecHitsPerTrackVsEta, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfRecHitsPerTrackVsPhi, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfRecHitsPerTrackVsTheta, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfValidRecHitsPerTrackVsEta, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfValidRecHitsPerTrackVsPhi, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfValidRecHitsPerTrackVsPt, MonitorTrackSTAMuons_cfi::pErrBin, MonitorTrackSTAMuons_cfi::pErrMax, MonitorTrackSTAMuons_cfi::pErrMin, MonitorTrackInnerTrackMuons_cff::Phi2DBin, MonitorTrackSTAMuons_cfi::PhiBin, MonitorTrackSTAMuons_cfi::phiErrBin, MonitorTrackInnerTrackMuons_cff::phiErrMax, MonitorTrackSTAMuons_cfi::phiErrMin, MonitorTrackSTAMuons_cfi::PhiMax, MonitorTrackSTAMuons_cfi::PhiMin, MonitorTrackSTAMuons_cfi::ptErrBin, MonitorTrackSTAMuons_cfi::ptErrMax, MonitorTrackSTAMuons_cfi::ptErrMin, MonitorTrackSTAMuons_cfi::pxErrBin, MonitorTrackSTAMuons_cfi::pxErrMax, MonitorTrackSTAMuons_cfi::pxErrMin, MonitorTrackSTAMuons_cfi::pyErrBin, MonitorTrackSTAMuons_cfi::pyErrMax, MonitorTrackSTAMuons_cfi::pyErrMin, MonitorTrackSTAMuons_cfi::pzErrBin, MonitorTrackSTAMuons_cfi::pzErrMax, MonitorTrackSTAMuons_cfi::pzErrMin, tadqm::TrackAnalyzer::TkParameterMEs::Quality, reco::TrackBase::qualityNames, tadqm::TrackAnalyzer::TkParameterMEs::Ratio_byFolding, tadqm::TrackAnalyzer::TkParameterMEs::Ratio_byFolding2, MonitorTrackSTAMuons_cfi::RecHitBin, MonitorTrackSTAMuons_cfi::RecHitMax, MonitorTrackSTAMuons_cfi::RecHitMin, MonitorTrackSTAMuons_cfi::RecLayBin, MonitorTrackSTAMuons_cfi::RecLayMax, MonitorTrackSTAMuons_cfi::RecLayMin, dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, MonitorTrackSTAMuons_cfi::ThetaBin, MonitorTrackSTAMuons_cfi::ThetaMax, MonitorTrackSTAMuons_cfi::ThetaMin, tadqm::TrackAnalyzer::TkParameterMEs::TkEtaPhi_Ratio_byFoldingmap, tadqm::TrackAnalyzer::TkParameterMEs::TkEtaPhi_Ratio_byFoldingmap_op, tadqm::TrackAnalyzer::TkParameterMEs::TkEtaPhi_RelativeDifference_byFoldingmap, tadqm::TrackAnalyzer::TkParameterMEs::TkEtaPhi_RelativeDifference_byFoldingmap_op, TkParameterMEMap, TopFolder_, tadqm::TrackAnalyzer::TkParameterMEs::TrackEta, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaErr, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaHighPurity, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaLoose, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaPhi, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaPhiInner, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaPhiInverted, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaPhiInvertedoutofphase, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaPhiOuter, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaTight, tadqm::TrackAnalyzer::TkParameterMEs::TrackP, MonitorTrackSTAMuons_cfi::TrackPBin, tadqm::TrackAnalyzer::TkParameterMEs::TrackPErr, tadqm::TrackAnalyzer::TkParameterMEs::TrackPhi, tadqm::TrackAnalyzer::TkParameterMEs::TrackPhiErr, MonitorTrackSTAMuons_cfi::TrackPMax, MonitorTrackSTAMuons_cfi::TrackPMin, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_NegEta_Phi_btw_0_neg16, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_NegEta_Phi_btw_16_0, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_NegEta_Phi_btw_32_16, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_NegEta_Phi_btw_neg16_neg32, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_PosEta_Phi_btw_0_neg16, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_PosEta_Phi_btw_16_0, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_PosEta_Phi_btw_32_16, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_PosEta_Phi_btw_neg16_neg32, beam_dqm_sourceclient-live_cfg::TrackPtBin, tadqm::TrackAnalyzer::TkParameterMEs::TrackPtErr, tadqm::TrackAnalyzer::TkParameterMEs::TrackPtErrVsEta, tadqm::TrackAnalyzer::TkParameterMEs::TrackPtHighPurity, tadqm::TrackAnalyzer::TkParameterMEs::TrackPtLoose, beam_dqm_sourceclient-live_cfg::TrackPtMax, beam_dqm_sourceclient-live_cfg::TrackPtMin, tadqm::TrackAnalyzer::TkParameterMEs::TrackPtTight, tadqm::TrackAnalyzer::TkParameterMEs::TrackPx, MonitorTrackSTAMuons_cfi::TrackPxBin, tadqm::TrackAnalyzer::TkParameterMEs::TrackPxErr, MonitorTrackSTAMuons_cfi::TrackPxMax, MonitorTrackSTAMuons_cfi::TrackPxMin, tadqm::TrackAnalyzer::TkParameterMEs::TrackPy, MonitorTrackSTAMuons_cfi::TrackPyBin, tadqm::TrackAnalyzer::TkParameterMEs::TrackPyErr, MonitorTrackSTAMuons_cfi::TrackPyMax, MonitorTrackSTAMuons_cfi::TrackPyMin, tadqm::TrackAnalyzer::TkParameterMEs::TrackPz, MonitorTrackSTAMuons_cfi::TrackPzBin, tadqm::TrackAnalyzer::TkParameterMEs::TrackPzErr, MonitorTrackSTAMuons_cfi::TrackPzMax, MonitorTrackSTAMuons_cfi::TrackPzMin, tadqm::TrackAnalyzer::TkParameterMEs::TrackQ, MonitorTrackSTAMuons_cfi::TrackQBin, MonitorTrackSTAMuons_cfi::TrackQMax, MonitorTrackSTAMuons_cfi::TrackQMin, tadqm::TrackAnalyzer::TkParameterMEs::TrackQoverP, and tadqm::TrackAnalyzer::TkParameterMEs::TrackTheta.

Referenced by initHisto().

◆ bookHistosForTrackerSpecific()

void TrackAnalyzer::bookHistosForTrackerSpecific ( DQMStore::IBooker ibooker)
private

Definition at line 2247 of file TrackAnalyzer.cc.

2247  {
2248  // parameters from the configuration
2249  std::string QualName = conf_->getParameter<std::string>("Quality");
2251 
2252  // use the AlgoName and Quality Name
2253  std::string CategoryName = !QualName.empty() ? AlgoName + "_" + QualName : AlgoName;
2254 
2255  int PhiBin = conf_->getParameter<int>("PhiBin");
2256  double PhiMin = conf_->getParameter<double>("PhiMin");
2257  double PhiMax = conf_->getParameter<double>("PhiMax");
2258 
2259  int EtaBin = conf_->getParameter<int>("EtaBin");
2260  double EtaMin = conf_->getParameter<double>("EtaMin");
2261  double EtaMax = conf_->getParameter<double>("EtaMax");
2262 
2263  int PtBin = conf_->getParameter<int>("TrackPtBin");
2264  double PtMin = conf_->getParameter<double>("TrackPtMin");
2265  double PtMax = conf_->getParameter<double>("TrackPtMax");
2266 
2267  // book hit property histograms
2268  // ---------------------------------------------------------------------------------//
2269  ibooker.setCurrentFolder(TopFolder_ + "/HitProperties");
2270 
2271  std::vector<std::string> subdetectors = conf_->getParameter<std::vector<std::string> >("subdetectors");
2272  int detBin = conf_->getParameter<int>("subdetectorBin");
2273 
2274  for (auto det : subdetectors) {
2275  // hits properties
2276  ibooker.setCurrentFolder(TopFolder_ + "/HitProperties/" + det);
2277 
2278  TkRecHitsPerSubDetMEs recHitsPerSubDet_mes;
2279 
2280  recHitsPerSubDet_mes.detectorTag = det;
2281  int detID = -1;
2282  if (det == "TIB")
2283  detID = StripSubdetector::TIB; // 3
2284  if (det == "TOB")
2285  detID = StripSubdetector::TOB; // 5
2286  if (det == "TID")
2287  detID = StripSubdetector::TID; // 4
2288  if (det == "TEC")
2289  detID = StripSubdetector::TEC; // 6
2290  if (det == "PixBarrel")
2291  detID = PixelSubdetector::PixelBarrel; // 1
2292  if (det == "PixEndcap")
2293  detID = PixelSubdetector::PixelEndcap; // 2
2294  if (det == "Pixel")
2295  detID = 0;
2296  if (det == "Strip")
2297  detID = 7;
2298 
2299  recHitsPerSubDet_mes.detectorId = detID;
2300 
2301  histname = "NumberOfRecHitsPerTrack_" + det + "_" + CategoryName;
2302  recHitsPerSubDet_mes.NumberOfRecHitsPerTrack =
2303  ibooker.book1D(histname, histname, detBin, -0.5, double(detBin) - 0.5);
2304  recHitsPerSubDet_mes.NumberOfRecHitsPerTrack->setAxisTitle("Number of " + det + " valid RecHits in each Track", 1);
2305  recHitsPerSubDet_mes.NumberOfRecHitsPerTrack->setAxisTitle("Number of Tracks", 2);
2306 
2307  histname = "NumberOfRecHitsPerTrackVsPhi_" + det + "_" + CategoryName;
2308  recHitsPerSubDet_mes.NumberOfRecHitsPerTrackVsPhi =
2309  ibooker.bookProfile(histname, histname, PhiBin, PhiMin, PhiMax, detBin, -0.5, double(detBin) - 0.5, "");
2310  recHitsPerSubDet_mes.NumberOfRecHitsPerTrackVsPhi->setAxisTitle("Track #phi", 1);
2311  recHitsPerSubDet_mes.NumberOfRecHitsPerTrackVsPhi->setAxisTitle("Number of " + det + " valid RecHits in each Track",
2312  2);
2313 
2314  histname = "NumberOfRecHitsPerTrackVsEta_" + det + "_" + CategoryName;
2315  recHitsPerSubDet_mes.NumberOfRecHitsPerTrackVsEta =
2316  ibooker.bookProfile(histname, histname, EtaBin, EtaMin, EtaMax, detBin, -0.5, double(detBin) - 0.5, "");
2317  recHitsPerSubDet_mes.NumberOfRecHitsPerTrackVsEta->setAxisTitle("Track #eta", 1);
2318  recHitsPerSubDet_mes.NumberOfRecHitsPerTrackVsEta->setAxisTitle("Number of " + det + " valid RecHits in each Track",
2319  2);
2320 
2321  histname = "NumberOfRecHitsPerTrackVsPt_" + det + "_" + CategoryName;
2322  recHitsPerSubDet_mes.NumberOfRecHitsPerTrackVsPt =
2323  ibooker.bookProfile(histname, histname, PtBin, PtMin, PtMax, detBin, -0.5, double(detBin) - 0.5, "");
2324  recHitsPerSubDet_mes.NumberOfRecHitsPerTrackVsPt->setAxisTitle("Track p_{T} [GeV]", 1);
2325  recHitsPerSubDet_mes.NumberOfRecHitsPerTrackVsPt->setAxisTitle("Number of " + det + " valid RecHits in each Track",
2326  2);
2327 
2328  histname = "NumberOfLayersPerTrack_" + det + "_" + CategoryName;
2329  recHitsPerSubDet_mes.NumberOfLayersPerTrack =
2330  ibooker.book1D(histname, histname, detBin, -0.5, double(detBin) - 0.5);
2331  recHitsPerSubDet_mes.NumberOfLayersPerTrack->setAxisTitle("Number of " + det + " valid Layers in each Track", 1);
2332  recHitsPerSubDet_mes.NumberOfLayersPerTrack->setAxisTitle("Number of Tracks", 2);
2333 
2334  histname = "NumberOfLayersPerTrackVsPhi_" + det + "_" + CategoryName;
2335  recHitsPerSubDet_mes.NumberOfLayersPerTrackVsPhi =
2336  ibooker.bookProfile(histname, histname, PhiBin, PhiMin, PhiMax, detBin, -0.5, double(detBin) - 0.5, "");
2337  recHitsPerSubDet_mes.NumberOfLayersPerTrackVsPhi->setAxisTitle("Track #phi", 1);
2338  recHitsPerSubDet_mes.NumberOfLayersPerTrackVsPhi->setAxisTitle("Number of " + det + " valid Layers in each Track",
2339  2);
2340 
2341  histname = "NumberOfLayersPerTrackVsEta_" + det + "_" + CategoryName;
2342  recHitsPerSubDet_mes.NumberOfLayersPerTrackVsEta =
2343  ibooker.bookProfile(histname, histname, EtaBin, EtaMin, EtaMax, detBin, -0.5, double(detBin) - 0.5, "");
2344  recHitsPerSubDet_mes.NumberOfLayersPerTrackVsEta->setAxisTitle("Track #eta", 1);
2345  recHitsPerSubDet_mes.NumberOfLayersPerTrackVsEta->setAxisTitle("Number of " + det + " valid Layers in each Track",
2346  2);
2347 
2348  histname = "NumberOfLayersPerTrackVsPt_" + det + "_" + CategoryName;
2349  recHitsPerSubDet_mes.NumberOfLayersPerTrackVsPt =
2350  ibooker.bookProfile(histname, histname, PtBin, PtMin, PtMax, detBin, -0.5, double(detBin) - 0.5, "");
2351  recHitsPerSubDet_mes.NumberOfLayersPerTrackVsPt->setAxisTitle("Track p_{T} [GeV]", 1);
2352  recHitsPerSubDet_mes.NumberOfLayersPerTrackVsPt->setAxisTitle("Number of " + det + " valid Layers in each Track",
2353  2);
2354 
2355  TkRecHitsPerSubDetMEMap.insert(std::pair<std::string, TkRecHitsPerSubDetMEs>(det, recHitsPerSubDet_mes));
2356  }
2357 }

References HLTSiStripMonitoring_cff::AlgoName, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), conf_, tadqm::TrackAnalyzer::TkRecHitsPerSubDetMEs::detectorId, tadqm::TrackAnalyzer::TkRecHitsPerSubDetMEs::detectorTag, MonitorTrackInnerTrackMuons_cff::EtaBin, MonitorTrackInnerTrackMuons_cff::EtaMax, MonitorTrackInnerTrackMuons_cff::EtaMin, edm::ParameterSet::getParameter(), histname, tadqm::TrackAnalyzer::TkRecHitsPerSubDetMEs::NumberOfLayersPerTrack, tadqm::TrackAnalyzer::TkRecHitsPerSubDetMEs::NumberOfLayersPerTrackVsEta, tadqm::TrackAnalyzer::TkRecHitsPerSubDetMEs::NumberOfLayersPerTrackVsPhi, tadqm::TrackAnalyzer::TkRecHitsPerSubDetMEs::NumberOfLayersPerTrackVsPt, tadqm::TrackAnalyzer::TkRecHitsPerSubDetMEs::NumberOfRecHitsPerTrack, tadqm::TrackAnalyzer::TkRecHitsPerSubDetMEs::NumberOfRecHitsPerTrackVsEta, tadqm::TrackAnalyzer::TkRecHitsPerSubDetMEs::NumberOfRecHitsPerTrackVsPhi, tadqm::TrackAnalyzer::TkRecHitsPerSubDetMEs::NumberOfRecHitsPerTrackVsPt, MonitorTrackSTAMuons_cfi::PhiBin, MonitorTrackSTAMuons_cfi::PhiMax, MonitorTrackSTAMuons_cfi::PhiMin, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, electronDQMIsoDist_cfi::PtMax, HLT_2018_cff::PtMin, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, TrackingMonitor_cfi::subdetectors, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, TkRecHitsPerSubDetMEMap, StripSubdetector::TOB, and TopFolder_.

Referenced by initHisto().

◆ fillHistosForEfficiencyFromHitPatter()

void TrackAnalyzer::fillHistosForEfficiencyFromHitPatter ( const reco::Track track,
const std::string  suffix,
const float  monitoring,
bool  useInac 
)
private

Definition at line 1413 of file TrackAnalyzer.cc.

1416  {
1417  int mon = -1;
1418  for (int i = 0; i < monQuantity::END; i++) {
1419  if (monName[i] == suffix)
1420  mon = i;
1421  }
1422  if (useInac)
1423  mon += monQuantity::END;
1424 
1425  // if (track.pt() > 1.0 && track.dxy() < 0.1 and monitoring > 0) {
1426  if (track.pt() > 1.0 && track.dxy() < 0.1 and monitoring > -9.) {
1427  auto hp = track.hitPattern();
1428  // Here hit_category is meant to iterate over
1429  // reco::HitPattern::HitCategory, defined here:
1430  // http://cmslxr.fnal.gov/dxr/CMSSW/source/DataFormats/TrackReco/interface/HitPattern.h
1431  for (unsigned int category = 0; category < 3; ++category) {
1432  for (int hit = 0; hit < hp.numberOfAllHits((reco::HitPattern::HitCategory)(category)); ++hit) {
1433  auto pattern = hp.getHitPattern((reco::HitPattern::HitCategory)(category), hit);
1434  // Boolean bad is missing simply because it is inferred and the only missing case.
1435  bool valid = hp.validHitFilter(pattern);
1436  bool missing = hp.missingHitFilter(pattern);
1437  bool inactive = hp.inactiveHitFilter(pattern);
1438  int hit_type = -1;
1439  hit_type = valid ? 0 : (missing ? 1 : (inactive ? 2 : 3));
1440  if (hits_valid_.find(Key(hp.getSubStructure(pattern), hp.getSubSubStructure(pattern), mon)) ==
1441  hits_valid_.end()) {
1442  LogDebug("TrackAnalyzer") << "Invalid combination of detector and subdetector: ("
1443  << hp.getSubStructure(pattern) << ", " << hp.getSubSubStructure(pattern) << ", "
1444  << mon << "): ignoring it.\n";
1445  continue;
1446  }
1447  switch (hit_type) {
1448  case 0:
1449  hits_valid_[Key(hp.getSubStructure(pattern), hp.getSubSubStructure(pattern), mon)]->Fill(monitoring);
1450  hits_total_[Key(hp.getSubStructure(pattern), hp.getSubSubStructure(pattern), mon)]->Fill(monitoring);
1451  break;
1452  case 2:
1453  if (!useInac)
1454  break;
1455  [[fallthrough]];
1456  case 1:
1457  hits_total_[Key(hp.getSubStructure(pattern), hp.getSubSubStructure(pattern), mon)]->Fill(monitoring);
1458  break;
1459  default:
1460  LogDebug("TrackAnalyzer") << "Invalid hit category used " << hit_type << " ignored\n";
1461  }
1462  }
1463  }
1464  }
1465 }

References taus_updatedMVAIds_cff::category, HcalObjRepresent::Fill(), hits_total_, hits_valid_, trackingPlots::hp, mps_fire::i, LogDebug, combine::missing, LaserDQM_cfi::mon, singleTopDQM_cfi::monitoring, monName, topSingleLeptonDQM_PU_cfi::pattern, createPayload::suffix, HLT_2018_cff::track, and validateGeometry_cfg::valid.

Referenced by analyze().

◆ fillHistosForHitProperties()

void tadqm::TrackAnalyzer::fillHistosForHitProperties ( const edm::EventSetup iSetup,
const reco::Track track,
std::string  sname 
)
private

◆ fillHistosForLScertification()

void tadqm::TrackAnalyzer::fillHistosForLScertification ( const edm::EventSetup iSetup,
const reco::Track track,
std::string  sname 
)
private

◆ fillHistosForState()

void TrackAnalyzer::fillHistosForState ( const edm::EventSetup iSetup,
const reco::Track track,
std::string  sname 
)
private

Definition at line 1942 of file TrackAnalyzer.cc.

1942  {
1943  //get the kinematic parameters
1944  double p, px, py, pz, pt, theta, phi, eta, q;
1945  double pxerror, pyerror, pzerror, pterror, perror, phierror, etaerror;
1946 
1947  std::string Folder = TopFolder_.substr(0, 2);
1948 
1949  auto phiIn = track.innerPosition().phi();
1950  auto etaIn = track.innerPosition().eta();
1951  auto phiOut = track.outerPosition().phi();
1952  auto etaOut = track.outerPosition().eta();
1953 
1954  if (sname == "default") {
1955  p = track.p();
1956  px = track.px();
1957  py = track.py();
1958  pz = track.pz();
1959  pt = track.pt();
1960  phi = track.phi();
1961  theta = track.theta();
1962  eta = track.eta();
1963  q = track.charge();
1964 
1965  pterror = (pt) ? track.ptError() / (pt * pt) : 0.0;
1966  pxerror = -1.0;
1967  pyerror = -1.0;
1968  pzerror = -1.0;
1969  perror = -1.0;
1970  phierror = track.phiError();
1971  etaerror = track.etaError();
1972 
1973  } else {
1975  reco::TransientTrack TransTrack = theB.build(track);
1976 
1978 
1979  if (sname == "OuterSurface")
1980  TSOS = TransTrack.outermostMeasurementState();
1981  else if (sname == "InnerSurface")
1982  TSOS = TransTrack.innermostMeasurementState();
1983  else if (sname == "ImpactPoint")
1984  TSOS = TransTrack.impactPointState();
1985 
1986  p = TSOS.globalMomentum().mag();
1987  px = TSOS.globalMomentum().x();
1988  py = TSOS.globalMomentum().y();
1989  pz = TSOS.globalMomentum().z();
1990  pt = TSOS.globalMomentum().perp();
1991  phi = TSOS.globalMomentum().phi();
1993  eta = TSOS.globalMomentum().eta();
1994  q = TSOS.charge();
1995 
1996  //get the error of the kinimatic parameters
1998  double partialPterror =
1999  errors(3, 3) * pow(TSOS.globalMomentum().x(), 2) + errors(4, 4) * pow(TSOS.globalMomentum().y(), 2);
2000  pterror = sqrt(partialPterror) / TSOS.globalMomentum().perp();
2001  pxerror = sqrt(errors(3, 3)) / TSOS.globalMomentum().x();
2002  pyerror = sqrt(errors(4, 4)) / TSOS.globalMomentum().y();
2003  pzerror = sqrt(errors(5, 5)) / TSOS.globalMomentum().z();
2004  perror = sqrt(partialPterror + errors(5, 5) * pow(TSOS.globalMomentum().z(), 2)) / TSOS.globalMomentum().mag();
2005  phierror = sqrt(TSOS.curvilinearError().matrix()(2, 2));
2006  etaerror = sqrt(TSOS.curvilinearError().matrix()(1, 1)) * fabs(sin(TSOS.globalMomentum().theta()));
2007  }
2008 
2009  std::map<std::string, TkParameterMEs>::iterator iPos = TkParameterMEMap.find(sname);
2010  if (iPos != TkParameterMEMap.end()) {
2011  TkParameterMEs tkmes = iPos->second;
2012 
2013  // momentum
2014  tkmes.TrackP->Fill(p);
2015  if (doTrackPxPyPlots_) {
2016  tkmes.TrackPx->Fill(px);
2017  tkmes.TrackPy->Fill(py);
2018  }
2019  tkmes.TrackPz->Fill(pz);
2020  tkmes.TrackPt->Fill(pt);
2021 
2022  // angles
2023  tkmes.TrackPhi->Fill(phi);
2024  tkmes.TrackEta->Fill(eta);
2025  tkmes.TrackEtaPhi->Fill(eta, phi);
2026 
2027  if (Folder == "Tr") {
2028  tkmes.TrackEtaPhiInverted->Fill(eta, -1 * phi);
2029  tkmes.TrackEtaPhiInvertedoutofphase->Fill(eta, 3.141592654 + -1 * phi);
2030  tkmes.TrackEtaPhiInvertedoutofphase->Fill(eta, -1 * phi - 3.141592654);
2031  tkmes.TkEtaPhi_Ratio_byFoldingmap->divide(tkmes.TrackEtaPhi, tkmes.TrackEtaPhiInverted, 1., 1., "");
2032  tkmes.TkEtaPhi_Ratio_byFoldingmap_op->divide(tkmes.TrackEtaPhi, tkmes.TrackEtaPhiInvertedoutofphase, 1., 1., "");
2033 
2034  int nx = tkmes.TrackEtaPhi->getNbinsX();
2035  int ny = tkmes.TrackEtaPhi->getNbinsY();
2036 
2037  //NOTE: for full reproducibility when using threads, this loop needs to be
2038  // a critical section
2039  for (int ii = 1; ii <= nx; ii++) {
2040  for (int jj = 1; jj <= ny; jj++) {
2041  double Sum1 = tkmes.TrackEtaPhi->getBinContent(ii, jj) + tkmes.TrackEtaPhiInverted->getBinContent(ii, jj);
2042  double Sum2 =
2043  tkmes.TrackEtaPhi->getBinContent(ii, jj) + tkmes.TrackEtaPhiInvertedoutofphase->getBinContent(ii, jj);
2044 
2045  double Sub1 = tkmes.TrackEtaPhi->getBinContent(ii, jj) - tkmes.TrackEtaPhiInverted->getBinContent(ii, jj);
2046  double Sub2 =
2047  tkmes.TrackEtaPhi->getBinContent(ii, jj) - tkmes.TrackEtaPhiInvertedoutofphase->getBinContent(ii, jj);
2048 
2049  if (Sum1 == 0 || Sum2 == 0) {
2050  tkmes.TkEtaPhi_RelativeDifference_byFoldingmap->setBinContent(ii, jj, 1);
2051  tkmes.TkEtaPhi_RelativeDifference_byFoldingmap_op->setBinContent(ii, jj, 1);
2052  } else {
2053  double ratio1 = Sub1 / Sum1;
2054  double ratio2 = Sub2 / Sum2;
2055  tkmes.TkEtaPhi_RelativeDifference_byFoldingmap->setBinContent(ii, jj, ratio1);
2056  tkmes.TkEtaPhi_RelativeDifference_byFoldingmap_op->setBinContent(ii, jj, ratio2);
2057  }
2058  }
2059  }
2060 
2061  //pT histograms to create efficiency vs pT plot, only for the most inefficient region.
2062 
2063  if (eta < 0. && phi < -1.6) {
2064  tkmes.TrackPt_NegEta_Phi_btw_neg16_neg32->Fill(pt);
2065  }
2066  if (eta < 0. && phi < 0 && phi >= -1.6) {
2067  tkmes.TrackPt_NegEta_Phi_btw_0_neg16->Fill(pt);
2068  }
2069  if (eta < 0. && phi < 1.6 && phi >= 0) {
2070  tkmes.TrackPt_NegEta_Phi_btw_16_0->Fill(pt);
2071  }
2072  if (eta < 0. && phi >= 1.6) {
2073  tkmes.TrackPt_NegEta_Phi_btw_32_16->Fill(pt);
2074  }
2075  if (eta >= 0. && phi < -1.6) {
2076  tkmes.TrackPt_PosEta_Phi_btw_neg16_neg32->Fill(pt);
2077  }
2078  if (eta >= 0. && phi < 0 && phi >= -1.6) {
2079  tkmes.TrackPt_PosEta_Phi_btw_0_neg16->Fill(pt);
2080  }
2081  if (eta >= 0. && phi < 1.6 && phi >= 0) {
2082  tkmes.TrackPt_PosEta_Phi_btw_16_0->Fill(pt);
2083  }
2084  if (eta >= 0. && phi >= 1.6) {
2085  tkmes.TrackPt_PosEta_Phi_btw_32_16->Fill(pt);
2086  }
2087 
2088  float A[8];
2089  A[0] = tkmes.TrackPt_NegEta_Phi_btw_neg16_neg32->integral();
2090  A[1] = tkmes.TrackPt_NegEta_Phi_btw_0_neg16->integral();
2091  A[2] = tkmes.TrackPt_NegEta_Phi_btw_16_0->integral();
2092  A[3] = tkmes.TrackPt_NegEta_Phi_btw_32_16->integral();
2093  A[4] = tkmes.TrackPt_PosEta_Phi_btw_neg16_neg32->integral();
2094  A[5] = tkmes.TrackPt_PosEta_Phi_btw_0_neg16->integral();
2095  A[6] = tkmes.TrackPt_PosEta_Phi_btw_16_0->integral();
2096  A[7] = tkmes.TrackPt_PosEta_Phi_btw_32_16->integral();
2097 
2098  //WZ (the worst zone)
2099  int WZ = 0;
2100  float minA = A[0];
2101  for (int w = 1; w < 8; w++) {
2102  if (minA > A[w]) {
2103  minA = A[w];
2104  WZ = w;
2105  }
2106  }
2107 
2108  switch (WZ) {
2109  case 1:
2110  tkmes.Ratio_byFolding->divide(
2111  tkmes.TrackPt_NegEta_Phi_btw_neg16_neg32, tkmes.TrackPt_NegEta_Phi_btw_32_16, 1., 1., "B");
2112  tkmes.Ratio_byFolding2->divide(
2113  tkmes.TrackPt_NegEta_Phi_btw_neg16_neg32, tkmes.TrackPt_NegEta_Phi_btw_0_neg16, 1., 1., "B");
2114  break;
2115  case 2:
2116  tkmes.Ratio_byFolding->divide(
2117  tkmes.TrackPt_NegEta_Phi_btw_0_neg16, tkmes.TrackPt_NegEta_Phi_btw_16_0, 1., 1., "B");
2118  tkmes.Ratio_byFolding2->divide(
2119  tkmes.TrackPt_NegEta_Phi_btw_0_neg16, tkmes.TrackPt_NegEta_Phi_btw_neg16_neg32, 1., 1., "B");
2120  break;
2121  case 3:
2122  tkmes.Ratio_byFolding->divide(
2123  tkmes.TrackPt_NegEta_Phi_btw_16_0, tkmes.TrackPt_NegEta_Phi_btw_0_neg16, 1., 1., "B");
2124  tkmes.Ratio_byFolding2->divide(
2125  tkmes.TrackPt_NegEta_Phi_btw_16_0, tkmes.TrackPt_NegEta_Phi_btw_32_16, 1., 1., "B");
2126  break;
2127  case 4:
2128  tkmes.Ratio_byFolding->divide(
2129  tkmes.TrackPt_NegEta_Phi_btw_32_16, tkmes.TrackPt_NegEta_Phi_btw_neg16_neg32, 1., 1., "B");
2130  tkmes.Ratio_byFolding2->divide(
2131  tkmes.TrackPt_NegEta_Phi_btw_32_16, tkmes.TrackPt_NegEta_Phi_btw_16_0, 1., 1., "B");
2132  break;
2133  case 5:
2134  tkmes.Ratio_byFolding->divide(
2135  tkmes.TrackPt_PosEta_Phi_btw_neg16_neg32, tkmes.TrackPt_PosEta_Phi_btw_32_16, 1., 1., "B");
2136  tkmes.Ratio_byFolding2->divide(
2137  tkmes.TrackPt_PosEta_Phi_btw_neg16_neg32, tkmes.TrackPt_PosEta_Phi_btw_0_neg16, 1., 1., "B");
2138  break;
2139  case 6:
2140  tkmes.Ratio_byFolding->divide(
2141  tkmes.TrackPt_PosEta_Phi_btw_0_neg16, tkmes.TrackPt_PosEta_Phi_btw_16_0, 1., 1., "B");
2142  tkmes.Ratio_byFolding2->divide(
2143  tkmes.TrackPt_PosEta_Phi_btw_0_neg16, tkmes.TrackPt_PosEta_Phi_btw_neg16_neg32, 1., 1., "B");
2144  break;
2145  case 7:
2146  tkmes.Ratio_byFolding->divide(
2147  tkmes.TrackPt_PosEta_Phi_btw_16_0, tkmes.TrackPt_PosEta_Phi_btw_0_neg16, 1., 1., "B");
2148  tkmes.Ratio_byFolding2->divide(
2149  tkmes.TrackPt_PosEta_Phi_btw_16_0, tkmes.TrackPt_PosEta_Phi_btw_32_16, 1., 1., "B");
2150  break;
2151  case 8:
2152  tkmes.Ratio_byFolding->divide(
2153  tkmes.TrackPt_PosEta_Phi_btw_32_16, tkmes.TrackPt_PosEta_Phi_btw_neg16_neg32, 1., 1., "B");
2154  tkmes.Ratio_byFolding2->divide(
2155  tkmes.TrackPt_PosEta_Phi_btw_32_16, tkmes.TrackPt_PosEta_Phi_btw_16_0, 1., 1., "B");
2156  break;
2157  }
2158  tkmes.Ratio_byFolding->setAxisTitle("Efficiency(Ratio)_" + std::to_string(WZ), 2);
2159  tkmes.Ratio_byFolding2->setAxisTitle("Efficiency(Ratio)_" + std::to_string(WZ), 2);
2160 
2161  if (track.quality(reco::TrackBase::highPurity)) {
2162  tkmes.TrackPtHighPurity->Fill(pt);
2163  tkmes.Quality->Fill(reco::TrackBase::highPurity, 1.);
2164  }
2165  if (track.quality(reco::TrackBase::tight)) {
2166  tkmes.TrackPtTight->Fill(pt);
2167  tkmes.Quality->Fill(reco::TrackBase::tight, 1.);
2168  }
2169  if (track.quality(reco::TrackBase::loose)) {
2170  tkmes.TrackPtLoose->Fill(pt);
2171  tkmes.Quality->Fill(reco::TrackBase::loose, 1.);
2172  }
2173  if (track.quality(reco::TrackBase::highPurity)) {
2174  tkmes.TrackEtaHighPurity->Fill(eta);
2175  }
2176  if (track.quality(reco::TrackBase::tight)) {
2177  tkmes.TrackEtaTight->Fill(eta);
2178  }
2179  if (track.quality(reco::TrackBase::loose)) {
2180  tkmes.TrackEtaLoose->Fill(eta);
2181  }
2182 
2183  if (p > 0.) {
2184  tkmes.TrackQoverP->Fill(q / p);
2185  }
2186  }
2187 
2188  tkmes.TrackEtaPhiInner->Fill(etaIn, phiIn);
2189  tkmes.TrackEtaPhiOuter->Fill(etaOut, phiOut);
2190 
2191  if (doThetaPlots_) {
2192  tkmes.TrackTheta->Fill(theta);
2193  }
2194  tkmes.TrackQ->Fill(q);
2195 
2196  // errors
2197  tkmes.TrackPtErr->Fill(pterror);
2198  tkmes.TrackPtErrVsEta->Fill(eta, pterror);
2199  if (doTrackPxPyPlots_) {
2200  tkmes.TrackPxErr->Fill(pxerror);
2201  tkmes.TrackPyErr->Fill(pyerror);
2202  }
2203  tkmes.TrackPzErr->Fill(pzerror);
2204  tkmes.TrackPErr->Fill(perror);
2205  tkmes.TrackPhiErr->Fill(phierror);
2206  tkmes.TrackEtaErr->Fill(etaerror);
2207 
2208  int nRecHits = track.hitPattern().numberOfAllHits(reco::HitPattern::TRACK_HITS);
2209  int nValidRecHits = track.numberOfValidHits();
2210  // rec hits
2211  tkmes.NumberOfRecHitsPerTrackVsPhi->Fill(phi, nRecHits);
2212  if (doThetaPlots_) {
2213  tkmes.NumberOfRecHitsPerTrackVsTheta->Fill(theta, nRecHits);
2214  }
2215  tkmes.NumberOfRecHitsPerTrackVsEta->Fill(eta, nRecHits);
2216  tkmes.NumberOfValidRecHitsPerTrackVsPhi->Fill(phi, nValidRecHits);
2217  tkmes.NumberOfValidRecHitsPerTrackVsEta->Fill(eta, nValidRecHits);
2218  tkmes.NumberOfValidRecHitsPerTrackVsPt->Fill(pt, nValidRecHits);
2219 
2220  int nLayers = track.hitPattern().trackerLayersWithMeasurement();
2221  // rec layers
2222  tkmes.NumberOfLayersPerTrackVsPhi->Fill(phi, nLayers);
2223  if (doThetaPlots_) {
2224  tkmes.NumberOfLayersPerTrackVsTheta->Fill(theta, nLayers);
2225  }
2226  tkmes.NumberOfLayersPerTrackVsEta->Fill(eta, nLayers);
2227 
2228  double chi2prob = TMath::Prob(track.chi2(), (int)track.ndof());
2229  double chi2oNDF = track.normalizedChi2();
2230 
2231  tkmes.Chi2oNDFVsEta->Fill(eta, chi2oNDF);
2232  tkmes.Chi2oNDFVsPt->Fill(pt, chi2oNDF);
2233  tkmes.Chi2oNDFVsNHits->Fill(nRecHits, chi2oNDF);
2234 
2235  if (doAllPlots_) {
2236  // general properties
2237  if (doThetaPlots_) {
2238  tkmes.Chi2oNDFVsTheta->Fill(theta, chi2oNDF);
2239  }
2240  tkmes.Chi2oNDFVsPhi->Fill(phi, chi2oNDF);
2241  tkmes.Chi2ProbVsPhi->Fill(phi, chi2prob);
2242  tkmes.Chi2ProbVsEta->Fill(eta, chi2prob);
2243  }
2244  }
2245 }

References TransientTrackBuilder::build(), TrajectoryStateOnSurface::cartesianError(), TrajectoryStateOnSurface::charge(), tadqm::TrackAnalyzer::TkParameterMEs::Chi2oNDFVsEta, tadqm::TrackAnalyzer::TkParameterMEs::Chi2oNDFVsNHits, tadqm::TrackAnalyzer::TkParameterMEs::Chi2oNDFVsPhi, tadqm::TrackAnalyzer::TkParameterMEs::Chi2oNDFVsPt, tadqm::TrackAnalyzer::TkParameterMEs::Chi2oNDFVsTheta, tadqm::TrackAnalyzer::TkParameterMEs::Chi2ProbVsEta, tadqm::TrackAnalyzer::TkParameterMEs::Chi2ProbVsPhi, TrajectoryStateOnSurface::curvilinearError(), dqm::impl::MonitorElement::divide(), doAllPlots_, doThetaPlots_, doTrackPxPyPlots_, MessageLogger_cfi::errors, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), etaerror, dqm::impl::MonitorElement::Fill(), dqm::impl::MonitorElement::getBinContent(), edm::EventSetup::getData(), dqm::impl::MonitorElement::getNbinsX(), dqm::impl::MonitorElement::getNbinsY(), TrajectoryStateOnSurface::globalMomentum(), reco::TrackBase::highPurity, cuy::ii, reco::TransientTrack::impactPointState(), reco::TransientTrack::innermostMeasurementState(), createfilelist::int, dqm::impl::MonitorElement::integral(), findQualityFiles::jj, reco::TrackBase::loose, PV3DBase< T, PVType, FrameType >::mag(), CartesianTrajectoryError::matrix(), CurvilinearTrajectoryError::matrix(), MuonTCMETValueMapProducer_cff::nLayers, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfLayersPerTrackVsEta, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfLayersPerTrackVsPhi, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfLayersPerTrackVsTheta, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfRecHitsPerTrackVsEta, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfRecHitsPerTrackVsPhi, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfRecHitsPerTrackVsTheta, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfValidRecHitsPerTrackVsEta, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfValidRecHitsPerTrackVsPhi, tadqm::TrackAnalyzer::TkParameterMEs::NumberOfValidRecHitsPerTrackVsPt, reco::TransientTrack::outermostMeasurementState(), AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), funct::pow(), DiDispStaMuonMonitor_cfi::pt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, data-class-funcs::q, tadqm::TrackAnalyzer::TkParameterMEs::Quality, tadqm::TrackAnalyzer::TkParameterMEs::Ratio_byFolding, tadqm::TrackAnalyzer::TkParameterMEs::Ratio_byFolding2, dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinContent(), funct::sin(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, PV3DBase< T, PVType, FrameType >::theta(), theta(), reco::TrackBase::tight, tadqm::TrackAnalyzer::TkParameterMEs::TkEtaPhi_Ratio_byFoldingmap, tadqm::TrackAnalyzer::TkParameterMEs::TkEtaPhi_Ratio_byFoldingmap_op, tadqm::TrackAnalyzer::TkParameterMEs::TkEtaPhi_RelativeDifference_byFoldingmap, tadqm::TrackAnalyzer::TkParameterMEs::TkEtaPhi_RelativeDifference_byFoldingmap_op, TkParameterMEMap, TopFolder_, HLT_2018_cff::track, reco::HitPattern::TRACK_HITS, tadqm::TrackAnalyzer::TkParameterMEs::TrackEta, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaErr, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaHighPurity, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaLoose, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaPhi, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaPhiInner, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaPhiInverted, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaPhiInvertedoutofphase, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaPhiOuter, tadqm::TrackAnalyzer::TkParameterMEs::TrackEtaTight, tadqm::TrackAnalyzer::TkParameterMEs::TrackP, tadqm::TrackAnalyzer::TkParameterMEs::TrackPErr, tadqm::TrackAnalyzer::TkParameterMEs::TrackPhi, tadqm::TrackAnalyzer::TkParameterMEs::TrackPhiErr, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_NegEta_Phi_btw_0_neg16, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_NegEta_Phi_btw_16_0, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_NegEta_Phi_btw_32_16, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_NegEta_Phi_btw_neg16_neg32, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_PosEta_Phi_btw_0_neg16, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_PosEta_Phi_btw_16_0, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_PosEta_Phi_btw_32_16, tadqm::TrackAnalyzer::TkParameterMEs::TrackPt_PosEta_Phi_btw_neg16_neg32, tadqm::TrackAnalyzer::TkParameterMEs::TrackPtErr, tadqm::TrackAnalyzer::TkParameterMEs::TrackPtErrVsEta, tadqm::TrackAnalyzer::TkParameterMEs::TrackPtHighPurity, tadqm::TrackAnalyzer::TkParameterMEs::TrackPtLoose, tadqm::TrackAnalyzer::TkParameterMEs::TrackPtTight, tadqm::TrackAnalyzer::TkParameterMEs::TrackPx, tadqm::TrackAnalyzer::TkParameterMEs::TrackPxErr, tadqm::TrackAnalyzer::TkParameterMEs::TrackPy, tadqm::TrackAnalyzer::TkParameterMEs::TrackPyErr, tadqm::TrackAnalyzer::TkParameterMEs::TrackPz, tadqm::TrackAnalyzer::TkParameterMEs::TrackPzErr, tadqm::TrackAnalyzer::TkParameterMEs::TrackQ, tadqm::TrackAnalyzer::TkParameterMEs::TrackQoverP, tadqm::TrackAnalyzer::TkParameterMEs::TrackTheta, transientTrackBuilderToken_, w, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

Referenced by analyze().

◆ fillHistosForTrackerSpecific()

void TrackAnalyzer::fillHistosForTrackerSpecific ( const reco::Track track)
private

Definition at line 2359 of file TrackAnalyzer.cc.

2359  {
2360  double phi = track.phi();
2361  double eta = track.eta();
2362  double pt = track.pt();
2363 
2364  for (std::map<std::string, TkRecHitsPerSubDetMEs>::iterator it = TkRecHitsPerSubDetMEMap.begin();
2365  it != TkRecHitsPerSubDetMEMap.end();
2366  it++) {
2367  int nValidLayers = 0;
2368  int nValidRecHits = 0;
2369  int substr = it->second.detectorId;
2370  switch (substr) {
2371  case 0:
2372  nValidLayers = track.hitPattern().pixelBarrelLayersWithMeasurement() +
2373  track.hitPattern().pixelEndcapLayersWithMeasurement(); // case 0: pixel
2374  nValidRecHits = track.hitPattern().numberOfValidPixelBarrelHits() +
2375  track.hitPattern().numberOfValidPixelEndcapHits(); // case 0: pixel
2376  break;
2377  case StripSubdetector::TIB:
2378  nValidLayers = track.hitPattern().stripTIBLayersWithMeasurement(); // case 3: strip TIB
2379  nValidRecHits = track.hitPattern().numberOfValidStripTIBHits(); // case 3: strip TIB
2380  break;
2381  case StripSubdetector::TID:
2382  nValidLayers = track.hitPattern().stripTIDLayersWithMeasurement(); // case 4: strip TID
2383  nValidRecHits = track.hitPattern().numberOfValidStripTIDHits(); // case 4: strip TID
2384  break;
2385  case StripSubdetector::TOB:
2386  nValidLayers = track.hitPattern().stripTOBLayersWithMeasurement(); // case 5: strip TOB
2387  nValidRecHits = track.hitPattern().numberOfValidStripTOBHits(); // case 5: strip TOB
2388  break;
2389  case StripSubdetector::TEC:
2390  nValidLayers = track.hitPattern().stripTECLayersWithMeasurement(); // case 6: strip TEC
2391  nValidRecHits = track.hitPattern().numberOfValidStripTECHits(); // case 6: strip TEC
2392  break;
2394  nValidLayers = track.hitPattern().pixelBarrelLayersWithMeasurement(); // case 1: pixel PXB
2395  nValidRecHits = track.hitPattern().numberOfValidPixelBarrelHits(); // case 1: pixel PXB
2396  break;
2398  nValidLayers = track.hitPattern().pixelEndcapLayersWithMeasurement(); // case 2: pixel PXF
2399  nValidRecHits = track.hitPattern().numberOfValidPixelEndcapHits(); // case 2: pixel PXF
2400  break;
2401  case 7:
2402  nValidLayers = track.hitPattern().stripTIBLayersWithMeasurement() // case 7: strip
2403  + track.hitPattern().stripTIDLayersWithMeasurement() +
2404  track.hitPattern().stripTOBLayersWithMeasurement() +
2405  track.hitPattern().stripTECLayersWithMeasurement();
2406  nValidRecHits = track.hitPattern().numberOfValidStripTIBHits() // case 7: strip
2407  + track.hitPattern().numberOfValidStripTIDHits() +
2408  track.hitPattern().numberOfValidStripTOBHits() + track.hitPattern().numberOfValidStripTECHits();
2409  break;
2410  default:
2411  break;
2412  }
2413 
2414  //Fill Layers and RecHits
2415  it->second.NumberOfRecHitsPerTrack->Fill(nValidRecHits);
2416  it->second.NumberOfRecHitsPerTrackVsPhi->Fill(phi, nValidRecHits);
2417  it->second.NumberOfRecHitsPerTrackVsEta->Fill(eta, nValidRecHits);
2418  it->second.NumberOfRecHitsPerTrackVsPt->Fill(pt, nValidRecHits);
2419 
2420  it->second.NumberOfLayersPerTrack->Fill(nValidLayers);
2421  it->second.NumberOfLayersPerTrackVsPhi->Fill(phi, nValidLayers);
2422  it->second.NumberOfLayersPerTrackVsEta->Fill(eta, nValidLayers);
2423  it->second.NumberOfLayersPerTrackVsPt->Fill(pt, nValidLayers);
2424  }
2425 }

References PVValHelper::eta, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DiDispStaMuonMonitor_cfi::pt, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, TkRecHitsPerSubDetMEMap, StripSubdetector::TOB, and HLT_2018_cff::track.

Referenced by analyze().

◆ initHisto()

void TrackAnalyzer::initHisto ( DQMStore::IBooker ibooker,
const edm::EventSetup iSetup,
const edm::ParameterSet iConfig 
)

Definition at line 194 of file TrackAnalyzer.cc.

196  {
197  conf_ = &iConfig;
199  bookHistosForBeamSpot(ibooker);
202  bookHistosForEfficiencyFromHitPatter(ibooker, iSetup, "", false);
204  bookHistosForEfficiencyFromHitPatter(ibooker, iSetup, "VsBX", false);
206  bookHistosForEfficiencyFromHitPatter(ibooker, iSetup, "VsSCALLUMI", false);
207  // if (doEffFromHitPatternVsLUMI_ || doAllPlots_) bookHistosForEfficiencyFromHitPatter(ibooker, iSetup, "VsPIXELLUMI");
209  bookHistosForEfficiencyFromHitPatter(ibooker, iSetup, "", true);
211  bookHistosForEfficiencyFromHitPatter(ibooker, iSetup, "VsSCALLUMI", true);
212 
213  // book tracker specific related histograms
214  // ---------------------------------------------------------------------------------//
217 
218  // book state related histograms
219  // ---------------------------------------------------------------------------------//
221  if (stateName_ == "All") {
222  bookHistosForState("OuterSurface", ibooker);
223  bookHistosForState("InnerSurface", ibooker);
224  bookHistosForState("ImpactPoint", ibooker);
225  } else if (stateName_ != "OuterSurface" && stateName_ != "InnerSurface" && stateName_ != "ImpactPoint" &&
226  stateName_ != "default") {
227  bookHistosForState("default", ibooker);
228 
229  } else {
230  bookHistosForState(stateName_, ibooker);
231  }
232  conf_ = nullptr;
233  }
234 }

References bookHistosForBeamSpot(), bookHistosForEfficiencyFromHitPatter(), bookHistosForHitProperties(), bookHistosForLScertification(), bookHistosForState(), bookHistosForTrackerSpecific(), conf_, doAllPlots_, doEffFromHitPatternVsBX_, doEffFromHitPatternVsLUMI_, doEffFromHitPatternVsPU_, doMeasurementStatePlots_, doTrackerSpecific_, and stateName_.

Referenced by TrackingMonitor::bookHistograms().

◆ initHistos()

void TrackAnalyzer::initHistos ( )
private

Definition at line 109 of file TrackAnalyzer.cc.

109  {
110  Chi2 = nullptr;
111  Chi2Prob = nullptr;
112  Chi2ProbVsPhi = nullptr;
113  Chi2ProbVsEta = nullptr;
114  Chi2oNDF = nullptr;
115  Chi2oNDFVsEta = nullptr;
116  Chi2oNDFVsPhi = nullptr;
117  Chi2oNDFVsTheta = nullptr;
118 
119  NumberOfRecHitsPerTrack = nullptr;
121  NumberOfLostRecHitsPerTrack = nullptr;
122 
126 
128 
131 
132  DistanceOfClosestApproach = nullptr;
143  DeltaZToPV = nullptr;
144  DeltaZToPVZoom = nullptr;
151  xPointOfClosestApproach = nullptr;
154  yPointOfClosestApproach = nullptr;
157  zPointOfClosestApproach = nullptr;
159  algorithm = nullptr;
160  oriAlgo = nullptr;
161  stoppingSource = nullptr;
162  stoppingSourceVSeta = nullptr;
163  stoppingSourceVSphi = nullptr;
164  // TESTING
167 
168  // by Mia in order to deal w/ LS transitions
169  Chi2oNDF_lumiFlag = nullptr;
171 
173  //special Plots for HI DQM //SHOULD I ADD THE BOOL HERE??
175  LongDCASig = nullptr;
176  TransDCASig = nullptr;
177  dNdPhi_HighPurity = nullptr;
178  dNdEta_HighPurity = nullptr;
179  dNdPt_HighPurity = nullptr;
180  NhitVsEta_HighPurity = nullptr;
181  NhitVsPhi_HighPurity = nullptr;
182 
183  // IP significance
184  sipDxyToBS = nullptr;
185  sipDzToBS = nullptr;
186  sip3dToPV = nullptr;
187  sip2dToPV = nullptr;
188  sipDxyToPV = nullptr;
189  sipDzToPV = nullptr;
190 }

References AbsDistanceOfClosestApproachToBS, algorithm, Chi2oNDF, Chi2oNDF_lumiFlag, Chi2oNDFVsEta, Chi2oNDFVsPhi, Chi2oNDFVsTheta, Chi2Prob, Chi2ProbVsEta, Chi2ProbVsPhi, DeltaZToPV, DeltaZToPVZoom, DistanceOfClosestApproach, DistanceOfClosestApproachError, DistanceOfClosestApproachErrorVsDxy, DistanceOfClosestApproachErrorVsEta, DistanceOfClosestApproachErrorVsPhi, DistanceOfClosestApproachErrorVsPt, DistanceOfClosestApproachToBS, DistanceOfClosestApproachToBSdz, DistanceOfClosestApproachToBSVsEta, DistanceOfClosestApproachToBSVsPhi, DistanceOfClosestApproachToPV, DistanceOfClosestApproachToPVVsPhi, DistanceOfClosestApproachToPVZoom, DistanceOfClosestApproachVsEta, DistanceOfClosestApproachVsPhi, DistanceOfClosestApproachVsTheta, dNdEta_HighPurity, dNdPhi_HighPurity, dNdPt_HighPurity, LongDCASig, NhitVsEta_HighPurity, NhitVsPhi_HighPurity, NumberOfLostRecHitsPerTrack, NumberOfRecHitsPerTrack, NumberOfRecHitsPerTrack_lumiFlag, NumberOfRecHitsPerTrackVsEta, NumberOfRecHitsPerTrackVsPhi, NumberOfRecHitsPerTrackVsTheta, NumberOfRecHitVsPhiVsEtaPerTrack, NumberOfValidRecHitsPerTrack, NumberOfValidRecHitsPerTrackVsEta, NumberOfValidRecHitsPerTrackVsPhi, oriAlgo, sip2dToPV, sip3dToPV, sipDxyToBS, sipDxyToPV, sipDzToBS, sipDzToPV, stoppingSource, stoppingSourceVSeta, stoppingSourceVSphi, TESTDistanceOfClosestApproachToBS, TESTDistanceOfClosestApproachToBSVsPhi, TransDCASig, xPointOfClosestApproach, xPointOfClosestApproachVsZ0wrt000, xPointOfClosestApproachVsZ0wrtBS, yPointOfClosestApproach, yPointOfClosestApproachVsZ0wrt000, yPointOfClosestApproachVsZ0wrtBS, zPointOfClosestApproach, and zPointOfClosestApproachVsPhi.

Referenced by TrackAnalyzer().

◆ setBX()

void TrackAnalyzer::setBX ( const edm::Event iEvent)

Definition at line 1117 of file TrackAnalyzer.cc.

1117 { bx_ = iEvent.bunchCrossing(); }

References bx_, and iEvent.

Referenced by TrackingMonitor::analyze().

◆ setLumi()

void TrackAnalyzer::setLumi ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)

Definition at line 1119 of file TrackAnalyzer.cc.

1119  {
1120  // as done by pixelLumi http://cmslxr.fnal.gov/source/DQM/PixelLumi/plugins/PixelLumiDQM.cc
1121 
1122  if (forceSCAL_) {
1124  iEvent.getByToken(lumiscalersToken_, lumiScalers);
1125  if (lumiScalers.isValid() && !lumiScalers->empty()) {
1126  LumiScalersCollection::const_iterator scalit = lumiScalers->begin();
1127  scal_lumi_ = scalit->instantLumi();
1128  } else
1129  scal_lumi_ = -1;
1130  } else {
1132  iEvent.getByToken(metaDataToken_, metaData);
1133  if (metaData.isValid())
1134  scal_lumi_ = metaData->instLumi();
1135  else
1136  scal_lumi_ = -1;
1137  }
1138 
1141  if (pixelClusters.isValid()) {
1142  TrackerTopology const& tTopo = iSetup.getData(trackerTopologyToken_);
1143 
1144  // Count the number of clusters with at least a minimum
1145  // number of pixels per cluster and at least a minimum charge.
1146  size_t numClusters = 0;
1147  size_t tot = 0;
1148 
1150  for (; pixCluDet != pixelClusters->end(); ++pixCluDet) {
1151  DetId detid = pixCluDet->detId();
1152  size_t subdetid = detid.subdetId();
1153  // std::cout << tTopo.print(detid) << std::endl;
1154  if (subdetid == (int)PixelSubdetector::PixelBarrel)
1155  if (tTopo.layer(detid) == 1)
1156  continue;
1157 
1159  for (; pixClu != pixCluDet->end(); ++pixClu) {
1160  ++tot;
1161  if ((pixClu->size() >= minNumberOfPixelsPerCluster_) && (pixClu->charge() >= minPixelClusterCharge_)) {
1162  ++numClusters;
1163  }
1164  }
1165  }
1166  pixel_lumi_ = lumi_factor_per_bx_ * numClusters / GetLumi::CM2_TO_NANOBARN; // ?!?!
1167  } else
1168  pixel_lumi_ = -1.;
1169 }

References edmNew::DetSetVector< T >::begin(), GetLumi::CM2_TO_NANOBARN, edmNew::DetSetVector< T >::end(), forceSCAL_, edm::EventSetup::getData(), iEvent, OnlineLuminosityRecord::instLumi(), edm::HandleBase::isValid(), TrackerTopology::layer(), lumi_factor_per_bx_, V0Monitor_cfi::lumiScalers, lumiscalersToken_, metaDataToken_, minNumberOfPixelsPerCluster_, minPixelClusterCharge_, pixel_lumi_, PixelSubdetector::PixelBarrel, LumiMonitor_cff::pixelClusters, pixelClustersToken_, scal_lumi_, edmNew::DetSet< T >::size(), DetId::subdetId(), and trackerTopologyToken_.

Referenced by TrackingMonitor::analyze().

◆ setNumberOfGoodVertices()

void TrackAnalyzer::setNumberOfGoodVertices ( const edm::Event iEvent)

Definition at line 1105 of file TrackAnalyzer.cc.

1105  {
1106  good_vertices_ = 0;
1107 
1108  edm::Handle<reco::VertexCollection> recoPrimaryVerticesHandle;
1109  iEvent.getByToken(pvToken_, recoPrimaryVerticesHandle);
1110  if (recoPrimaryVerticesHandle.isValid())
1111  if (!recoPrimaryVerticesHandle->empty())
1112  for (auto v : *recoPrimaryVerticesHandle)
1113  if (v.ndof() >= pvNDOF_ && !v.isFake())
1114  ++good_vertices_;
1115 }

References good_vertices_, iEvent, edm::HandleBase::isValid(), pvNDOF_, pvToken_, and findQualityFiles::v.

Referenced by TrackingMonitor::analyze().

Member Data Documentation

◆ AbsDistanceOfClosestApproachToBS

MonitorElement* tadqm::TrackAnalyzer::AbsDistanceOfClosestApproachToBS
private

Definition at line 407 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ algorithm

MonitorElement* tadqm::TrackAnalyzer::algorithm
private

Definition at line 431 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ beamSpotToken_

edm::EDGetTokenT<reco::BeamSpot> tadqm::TrackAnalyzer::beamSpotToken_
private

Definition at line 84 of file TrackAnalyzer.h.

Referenced by analyze(), and TrackAnalyzer().

◆ bx_

unsigned int tadqm::TrackAnalyzer::bx_
private

Definition at line 503 of file TrackAnalyzer.h.

Referenced by analyze(), and setBX().

◆ Chi2

MonitorElement* tadqm::TrackAnalyzer::Chi2
private

Definition at line 385 of file TrackAnalyzer.h.

◆ Chi2oNDF

MonitorElement* tadqm::TrackAnalyzer::Chi2oNDF
private

Definition at line 387 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ Chi2oNDF_lumiFlag

MonitorElement* tadqm::TrackAnalyzer::Chi2oNDF_lumiFlag
private

Definition at line 440 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForLScertification(), and initHistos().

◆ Chi2oNDFVsEta

MonitorElement* tadqm::TrackAnalyzer::Chi2oNDFVsEta = nullptr
private

Definition at line 391 of file TrackAnalyzer.h.

Referenced by initHistos().

◆ Chi2oNDFVsNHits

MonitorElement* tadqm::TrackAnalyzer::Chi2oNDFVsNHits = nullptr
private

Definition at line 389 of file TrackAnalyzer.h.

◆ Chi2oNDFVsPhi

MonitorElement* tadqm::TrackAnalyzer::Chi2oNDFVsPhi
private

Definition at line 392 of file TrackAnalyzer.h.

Referenced by initHistos().

◆ Chi2oNDFVsPt

MonitorElement* tadqm::TrackAnalyzer::Chi2oNDFVsPt = nullptr
private

Definition at line 390 of file TrackAnalyzer.h.

◆ Chi2oNDFVsTheta

MonitorElement* tadqm::TrackAnalyzer::Chi2oNDFVsTheta
private

Definition at line 393 of file TrackAnalyzer.h.

Referenced by initHistos().

◆ Chi2Prob

MonitorElement* tadqm::TrackAnalyzer::Chi2Prob
private

Definition at line 386 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ Chi2ProbVsEta

MonitorElement* tadqm::TrackAnalyzer::Chi2ProbVsEta
private

Definition at line 395 of file TrackAnalyzer.h.

Referenced by initHistos().

◆ Chi2ProbVsPhi

MonitorElement* tadqm::TrackAnalyzer::Chi2ProbVsPhi
private

Definition at line 396 of file TrackAnalyzer.h.

Referenced by initHistos().

◆ Chi2ProbVsTheta

MonitorElement* tadqm::TrackAnalyzer::Chi2ProbVsTheta
private

Definition at line 397 of file TrackAnalyzer.h.

◆ conf_

edm::ParameterSet const* tadqm::TrackAnalyzer::conf_
private

◆ DeltaZToPV

MonitorElement* tadqm::TrackAnalyzer::DeltaZToPV
private

Definition at line 410 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DeltaZToPVZoom

MonitorElement* tadqm::TrackAnalyzer::DeltaZToPVZoom
private

Definition at line 411 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproach

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproach
private

Definition at line 399 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachError

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachError
private

Definition at line 400 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachErrorVsDxy

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachErrorVsDxy
private

Definition at line 404 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachErrorVsEta

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachErrorVsEta
private

Definition at line 402 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachErrorVsPhi

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachErrorVsPhi
private

Definition at line 403 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachErrorVsPt

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachErrorVsPt
private

Definition at line 401 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachToBS

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachToBS
private

Definition at line 405 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachToBSdz

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachToBSdz
private

Definition at line 406 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachToBSVsEta

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachToBSVsEta
private

Definition at line 415 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachToBSVsPhi

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachToBSVsPhi
private

Definition at line 414 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachToPV

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachToPV
private

Definition at line 408 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachToPVVsPhi

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachToPVVsPhi
private

Definition at line 416 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachToPVZoom

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachToPVZoom
private

Definition at line 409 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachVsEta

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachVsEta
private

Definition at line 417 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachVsPhi

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachVsPhi
private

Definition at line 413 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ DistanceOfClosestApproachVsTheta

MonitorElement* tadqm::TrackAnalyzer::DistanceOfClosestApproachVsTheta
private

Definition at line 412 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ dNdEta_HighPurity

MonitorElement* tadqm::TrackAnalyzer::dNdEta_HighPurity
private

Definition at line 447 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ dNdPhi_HighPurity

MonitorElement* tadqm::TrackAnalyzer::dNdPhi_HighPurity
private

Definition at line 446 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ dNdPt_HighPurity

MonitorElement* tadqm::TrackAnalyzer::dNdPt_HighPurity
private

Definition at line 448 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ dNhitdPt_HighPurity

MonitorElement* tadqm::TrackAnalyzer::dNhitdPt_HighPurity
private

Definition at line 452 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ doAllPlots_

bool tadqm::TrackAnalyzer::doAllPlots_
private

◆ doBSPlots_

bool tadqm::TrackAnalyzer::doBSPlots_
private

Definition at line 101 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForBeamSpot().

◆ doDCAPlots_

bool tadqm::TrackAnalyzer::doDCAPlots_
private

Definition at line 103 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and bookHistosForHitProperties().

◆ doDCAwrt000Plots_

bool tadqm::TrackAnalyzer::doDCAwrt000Plots_
private

Definition at line 123 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForBeamSpot().

◆ doDCAwrtPVPlots_

bool tadqm::TrackAnalyzer::doDCAwrtPVPlots_
private

Definition at line 122 of file TrackAnalyzer.h.

◆ doEffFromHitPatternVsBX_

bool tadqm::TrackAnalyzer::doEffFromHitPatternVsBX_
private

Definition at line 139 of file TrackAnalyzer.h.

Referenced by analyze(), initHisto(), and TrackAnalyzer().

◆ doEffFromHitPatternVsLUMI_

bool tadqm::TrackAnalyzer::doEffFromHitPatternVsLUMI_
private

Definition at line 140 of file TrackAnalyzer.h.

Referenced by analyze(), initHisto(), and TrackAnalyzer().

◆ doEffFromHitPatternVsPU_

bool tadqm::TrackAnalyzer::doEffFromHitPatternVsPU_
private

Definition at line 138 of file TrackAnalyzer.h.

Referenced by analyze(), initHisto(), and TrackAnalyzer().

◆ doGeneralPropertiesPlots_

bool tadqm::TrackAnalyzer::doGeneralPropertiesPlots_
private

Definition at line 104 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ doHIPlots_

bool tadqm::TrackAnalyzer::doHIPlots_
private

Definition at line 131 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ doHitPropertiesPlots_

bool tadqm::TrackAnalyzer::doHitPropertiesPlots_
private

Definition at line 106 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ doLayersVsPhiVsEtaPerTrack_

bool tadqm::TrackAnalyzer::doLayersVsPhiVsEtaPerTrack_
private

Definition at line 110 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ doLumiAnalysis_

bool tadqm::TrackAnalyzer::doLumiAnalysis_
private

Definition at line 125 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForLScertification().

◆ doMeasurementStatePlots_

bool tadqm::TrackAnalyzer::doMeasurementStatePlots_
private

Definition at line 105 of file TrackAnalyzer.h.

Referenced by analyze(), initHisto(), and TrackAnalyzer().

◆ doPVPlots_

bool tadqm::TrackAnalyzer::doPVPlots_
private

Definition at line 102 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and bookHistosForHitProperties().

◆ doRecHitsPerTrackProfile_

bool tadqm::TrackAnalyzer::doRecHitsPerTrackProfile_
private

Definition at line 115 of file TrackAnalyzer.h.

◆ doRecHitVsPhiVsEtaPerTrack_

bool tadqm::TrackAnalyzer::doRecHitVsPhiVsEtaPerTrack_
private

Definition at line 107 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ doRecHitVsPtVsEtaPerTrack_

bool tadqm::TrackAnalyzer::doRecHitVsPtVsEtaPerTrack_
private

Definition at line 108 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ doSIPPlots_

bool tadqm::TrackAnalyzer::doSIPPlots_
private

◆ doTestPlots_

bool tadqm::TrackAnalyzer::doTestPlots_
private

Definition at line 128 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForBeamSpot().

◆ doThetaPlots_

bool tadqm::TrackAnalyzer::doThetaPlots_
private

◆ doTrack2DChi2Plots_

bool tadqm::TrackAnalyzer::doTrack2DChi2Plots_
private

Definition at line 114 of file TrackAnalyzer.h.

◆ doTrackerSpecific_

bool tadqm::TrackAnalyzer::doTrackerSpecific_
private

Definition at line 99 of file TrackAnalyzer.h.

Referenced by analyze(), and initHisto().

◆ doTrackLayersVsPhiVsEtaPerTrack_

bool tadqm::TrackAnalyzer::doTrackLayersVsPhiVsEtaPerTrack_
private

Definition at line 113 of file TrackAnalyzer.h.

◆ doTrackPxPyPlots_

bool tadqm::TrackAnalyzer::doTrackPxPyPlots_
private

Definition at line 119 of file TrackAnalyzer.h.

Referenced by bookHistosForState(), and fillHistosForState().

◆ doTrackRecHitVsPhiVsEtaPerTrack_

bool tadqm::TrackAnalyzer::doTrackRecHitVsPhiVsEtaPerTrack_
private

Definition at line 111 of file TrackAnalyzer.h.

◆ doTrackRecHitVsPtVsEtaPerTrack_

bool tadqm::TrackAnalyzer::doTrackRecHitVsPtVsEtaPerTrack_
private

Definition at line 112 of file TrackAnalyzer.h.

◆ forceSCAL_

const bool tadqm::TrackAnalyzer::forceSCAL_
private

Definition at line 142 of file TrackAnalyzer.h.

Referenced by setLumi().

◆ good_vertices_

unsigned int tadqm::TrackAnalyzer::good_vertices_
private

Definition at line 502 of file TrackAnalyzer.h.

Referenced by analyze(), and setNumberOfGoodVertices().

◆ histname

std::string tadqm::TrackAnalyzer::histname
private

◆ hits_bad_

std::unordered_map<Key, MonitorElement*, KeyHasher> tadqm::TrackAnalyzer::hits_bad_
private

Definition at line 500 of file TrackAnalyzer.h.

◆ hits_inactive_

std::unordered_map<Key, MonitorElement*, KeyHasher> tadqm::TrackAnalyzer::hits_inactive_
private

Definition at line 499 of file TrackAnalyzer.h.

◆ hits_missing_

std::unordered_map<Key, MonitorElement*, KeyHasher> tadqm::TrackAnalyzer::hits_missing_
private

Definition at line 498 of file TrackAnalyzer.h.

◆ hits_total_

std::unordered_map<Key, MonitorElement*, KeyHasher> tadqm::TrackAnalyzer::hits_total_
private

◆ hits_valid_

std::unordered_map<Key, MonitorElement*, KeyHasher> tadqm::TrackAnalyzer::hits_valid_
private

◆ LongDCASig

MonitorElement* tadqm::TrackAnalyzer::LongDCASig
private

Definition at line 444 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ lumi_factor_per_bx_

float tadqm::TrackAnalyzer::lumi_factor_per_bx_
private

Definition at line 93 of file TrackAnalyzer.h.

Referenced by setLumi(), and TrackAnalyzer().

◆ lumiscalersToken_

edm::EDGetTokenT<LumiScalersCollection> tadqm::TrackAnalyzer::lumiscalersToken_
private

Definition at line 87 of file TrackAnalyzer.h.

Referenced by setLumi(), and TrackAnalyzer().

◆ metaDataToken_

edm::EDGetTokenT<OnlineLuminosityRecord> tadqm::TrackAnalyzer::metaDataToken_
private

Definition at line 88 of file TrackAnalyzer.h.

Referenced by setLumi(), and TrackAnalyzer().

◆ minNumberOfPixelsPerCluster_

int tadqm::TrackAnalyzer::minNumberOfPixelsPerCluster_
private

Definition at line 144 of file TrackAnalyzer.h.

Referenced by setLumi().

◆ minPixelClusterCharge_

float tadqm::TrackAnalyzer::minPixelClusterCharge_
private

Definition at line 145 of file TrackAnalyzer.h.

Referenced by setLumi().

◆ monName

std::string tadqm::TrackAnalyzer::monName[monQuantity::END] = {"", "VsBX", "VsPIXELLUMI", "VsSCALLUMI"}
private

◆ NhitVsEta_HighPurity

MonitorElement* tadqm::TrackAnalyzer::NhitVsEta_HighPurity
private

Definition at line 449 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ NhitVsPhi_HighPurity

MonitorElement* tadqm::TrackAnalyzer::NhitVsPhi_HighPurity
private

Definition at line 450 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ NumberOfLayersPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfLayersPerTrack[4] = {nullptr, nullptr, nullptr, nullptr}
private

Definition at line 377 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfLayersPerTrackVsEta

MonitorElement* tadqm::TrackAnalyzer::NumberOfLayersPerTrackVsEta
private

Definition at line 381 of file TrackAnalyzer.h.

◆ NumberOfLayersPerTrackVsPhi

MonitorElement* tadqm::TrackAnalyzer::NumberOfLayersPerTrackVsPhi
private

Definition at line 379 of file TrackAnalyzer.h.

◆ NumberOfLayersPerTrackVsTheta

MonitorElement* tadqm::TrackAnalyzer::NumberOfLayersPerTrackVsTheta
private

Definition at line 380 of file TrackAnalyzer.h.

◆ NumberOfLayersVsPhiVsEtaPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfLayersVsPhiVsEtaPerTrack[5] = {nullptr, nullptr, nullptr, nullptr, nullptr}
private

Definition at line 383 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfLostRecHitsPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfLostRecHitsPerTrack
private

Definition at line 337 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ NumberOfLostRecHitsPerTrackVsEta

MonitorElement* tadqm::TrackAnalyzer::NumberOfLostRecHitsPerTrackVsEta = nullptr
private

Definition at line 355 of file TrackAnalyzer.h.

◆ NumberOfLostRecHitsPerTrackVsPhi

MonitorElement* tadqm::TrackAnalyzer::NumberOfLostRecHitsPerTrackVsPhi = nullptr
private

Definition at line 353 of file TrackAnalyzer.h.

◆ NumberOfLostRecHitsPerTrackVsPt

MonitorElement* tadqm::TrackAnalyzer::NumberOfLostRecHitsPerTrackVsPt = nullptr
private

Definition at line 356 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfLostRecHitsPerTrackVsTheta

MonitorElement* tadqm::TrackAnalyzer::NumberOfLostRecHitsPerTrackVsTheta = nullptr
private

Definition at line 354 of file TrackAnalyzer.h.

◆ NumberOfLostRecHitVsPhiVsEtaPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfLostRecHitVsPhiVsEtaPerTrack = nullptr
private

Definition at line 357 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfLostRecHitVsPtVsEtaPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfLostRecHitVsPtVsEtaPerTrack = nullptr
private

Definition at line 358 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfMIRecHitsPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfMIRecHitsPerTrack = nullptr
private

Definition at line 338 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfMIRecHitsPerTrackVsEta

MonitorElement* tadqm::TrackAnalyzer::NumberOfMIRecHitsPerTrackVsEta = nullptr
private

Definition at line 362 of file TrackAnalyzer.h.

◆ NumberOfMIRecHitsPerTrackVsPhi

MonitorElement* tadqm::TrackAnalyzer::NumberOfMIRecHitsPerTrackVsPhi = nullptr
private

Definition at line 360 of file TrackAnalyzer.h.

◆ NumberOfMIRecHitsPerTrackVsPt

MonitorElement* tadqm::TrackAnalyzer::NumberOfMIRecHitsPerTrackVsPt = nullptr
private

Definition at line 363 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfMIRecHitsPerTrackVsTheta

MonitorElement* tadqm::TrackAnalyzer::NumberOfMIRecHitsPerTrackVsTheta = nullptr
private

Definition at line 361 of file TrackAnalyzer.h.

◆ NumberOfMIRecHitVsPhiVsEtaPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfMIRecHitVsPhiVsEtaPerTrack = nullptr
private

Definition at line 364 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfMIRecHitVsPtVsEtaPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfMIRecHitVsPtVsEtaPerTrack = nullptr
private

Definition at line 365 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfMORecHitsPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfMORecHitsPerTrack = nullptr
private

Definition at line 339 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfMORecHitsPerTrackVsEta

MonitorElement* tadqm::TrackAnalyzer::NumberOfMORecHitsPerTrackVsEta = nullptr
private

Definition at line 369 of file TrackAnalyzer.h.

◆ NumberOfMORecHitsPerTrackVsPhi

MonitorElement* tadqm::TrackAnalyzer::NumberOfMORecHitsPerTrackVsPhi = nullptr
private

Definition at line 367 of file TrackAnalyzer.h.

◆ NumberOfMORecHitsPerTrackVsPt

MonitorElement* tadqm::TrackAnalyzer::NumberOfMORecHitsPerTrackVsPt = nullptr
private

Definition at line 370 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfMORecHitsPerTrackVsTheta

MonitorElement* tadqm::TrackAnalyzer::NumberOfMORecHitsPerTrackVsTheta = nullptr
private

Definition at line 368 of file TrackAnalyzer.h.

◆ NumberOfMORecHitVsPhiVsEtaPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfMORecHitVsPhiVsEtaPerTrack = nullptr
private

Definition at line 371 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfMORecHitVsPtVsEtaPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfMORecHitVsPtVsEtaPerTrack = nullptr
private

Definition at line 372 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfRecHitsPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfRecHitsPerTrack
private

Definition at line 335 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ NumberOfRecHitsPerTrack_lumiFlag

MonitorElement* tadqm::TrackAnalyzer::NumberOfRecHitsPerTrack_lumiFlag
private

Definition at line 441 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForLScertification(), and initHistos().

◆ NumberOfRecHitsPerTrackVsEta

MonitorElement* tadqm::TrackAnalyzer::NumberOfRecHitsPerTrackVsEta = nullptr
private

Definition at line 343 of file TrackAnalyzer.h.

Referenced by initHistos().

◆ NumberOfRecHitsPerTrackVsPhi

MonitorElement* tadqm::TrackAnalyzer::NumberOfRecHitsPerTrackVsPhi = nullptr
private

Definition at line 341 of file TrackAnalyzer.h.

Referenced by initHistos().

◆ NumberOfRecHitsPerTrackVsTheta

MonitorElement* tadqm::TrackAnalyzer::NumberOfRecHitsPerTrackVsTheta = nullptr
private

Definition at line 342 of file TrackAnalyzer.h.

Referenced by initHistos().

◆ NumberOfRecHitVsPhiVsEtaPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfRecHitVsPhiVsEtaPerTrack = nullptr
private

Definition at line 344 of file TrackAnalyzer.h.

Referenced by initHistos().

◆ NumberOfValidRecHitsPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfValidRecHitsPerTrack
private

Definition at line 336 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ NumberOfValidRecHitsPerTrackVsEta

MonitorElement* tadqm::TrackAnalyzer::NumberOfValidRecHitsPerTrackVsEta = nullptr
private

Definition at line 348 of file TrackAnalyzer.h.

Referenced by initHistos().

◆ NumberOfValidRecHitsPerTrackVsPhi

MonitorElement* tadqm::TrackAnalyzer::NumberOfValidRecHitsPerTrackVsPhi = nullptr
private

Definition at line 346 of file TrackAnalyzer.h.

Referenced by initHistos().

◆ NumberOfValidRecHitsPerTrackVsPt

MonitorElement* tadqm::TrackAnalyzer::NumberOfValidRecHitsPerTrackVsPt = nullptr
private

Definition at line 349 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfValidRecHitsPerTrackVsTheta

MonitorElement* tadqm::TrackAnalyzer::NumberOfValidRecHitsPerTrackVsTheta = nullptr
private

Definition at line 347 of file TrackAnalyzer.h.

◆ NumberOfValidRecHitVsPhiVsEtaPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfValidRecHitVsPhiVsEtaPerTrack = nullptr
private

Definition at line 350 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ NumberOfValidRecHitVsPtVsEtaPerTrack

MonitorElement* tadqm::TrackAnalyzer::NumberOfValidRecHitVsPtVsEtaPerTrack = nullptr
private

Definition at line 351 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ oriAlgo

MonitorElement * tadqm::TrackAnalyzer::oriAlgo
private

Definition at line 431 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ pixel_lumi_

float tadqm::TrackAnalyzer::pixel_lumi_
private

Definition at line 504 of file TrackAnalyzer.h.

Referenced by setLumi().

◆ pixelClustersToken_

edm::EDGetTokenT<edmNew::DetSetVector<SiPixelCluster> > tadqm::TrackAnalyzer::pixelClustersToken_
private

Definition at line 86 of file TrackAnalyzer.h.

Referenced by setLumi(), and TrackAnalyzer().

◆ Ptdist_HighPurity

MonitorElement* tadqm::TrackAnalyzer::Ptdist_HighPurity
private

Definition at line 451 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ pvNDOF_

int tadqm::TrackAnalyzer::pvNDOF_
private

Definition at line 141 of file TrackAnalyzer.h.

Referenced by setNumberOfGoodVertices().

◆ pvToken_

edm::EDGetTokenT<reco::VertexCollection> tadqm::TrackAnalyzer::pvToken_
private

Definition at line 85 of file TrackAnalyzer.h.

Referenced by analyze(), setNumberOfGoodVertices(), and TrackAnalyzer().

◆ qualityString_

std::string tadqm::TrackAnalyzer::qualityString_
private

Definition at line 146 of file TrackAnalyzer.h.

Referenced by analyze().

◆ scal_lumi_

float tadqm::TrackAnalyzer::scal_lumi_
private

Definition at line 505 of file TrackAnalyzer.h.

Referenced by analyze(), and setLumi().

◆ sip2dToPV

MonitorElement* tadqm::TrackAnalyzer::sip2dToPV
private

Definition at line 458 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ sip3dToPV

MonitorElement* tadqm::TrackAnalyzer::sip3dToPV
private

Definition at line 457 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ sipDxyToBS

MonitorElement* tadqm::TrackAnalyzer::sipDxyToBS
private

Definition at line 455 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ sipDxyToPV

MonitorElement* tadqm::TrackAnalyzer::sipDxyToPV
private

Definition at line 459 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ sipDzToBS

MonitorElement* tadqm::TrackAnalyzer::sipDzToBS
private

Definition at line 456 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ sipDzToPV

MonitorElement* tadqm::TrackAnalyzer::sipDzToPV
private

Definition at line 460 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ stateName_

std::string tadqm::TrackAnalyzer::stateName_
private

Definition at line 97 of file TrackAnalyzer.h.

Referenced by analyze(), initHisto(), and TrackAnalyzer().

◆ stoppingSource

MonitorElement* tadqm::TrackAnalyzer::stoppingSource
private

Definition at line 432 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ stoppingSourceVSeta

MonitorElement* tadqm::TrackAnalyzer::stoppingSourceVSeta
private

Definition at line 433 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ stoppingSourceVSphi

MonitorElement* tadqm::TrackAnalyzer::stoppingSourceVSphi
private

Definition at line 434 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ TESTDistanceOfClosestApproachToBS

MonitorElement* tadqm::TrackAnalyzer::TESTDistanceOfClosestApproachToBS
private

Definition at line 436 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ TESTDistanceOfClosestApproachToBSVsPhi

MonitorElement* tadqm::TrackAnalyzer::TESTDistanceOfClosestApproachToBSVsPhi
private

Definition at line 437 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ TkParameterMEMap

std::map<std::string, TkParameterMEs> tadqm::TrackAnalyzer::TkParameterMEMap
private

Definition at line 333 of file TrackAnalyzer.h.

Referenced by bookHistosForState(), and fillHistosForState().

◆ TkRecHitsPerSubDetMEMap

std::map<std::string, TkRecHitsPerSubDetMEs> tadqm::TrackAnalyzer::TkRecHitsPerSubDetMEMap
private

Definition at line 476 of file TrackAnalyzer.h.

Referenced by bookHistosForTrackerSpecific(), and fillHistosForTrackerSpecific().

◆ TopFolder_

std::string tadqm::TrackAnalyzer::TopFolder_
private

◆ trackerGeometryToken_

edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> tadqm::TrackAnalyzer::trackerGeometryToken_
private

Definition at line 89 of file TrackAnalyzer.h.

Referenced by bookHistosForEfficiencyFromHitPatter(), and TrackAnalyzer().

◆ trackerTopologyToken_

edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> tadqm::TrackAnalyzer::trackerTopologyToken_
private

Definition at line 90 of file TrackAnalyzer.h.

Referenced by setLumi(), and TrackAnalyzer().

◆ TransDCASig

MonitorElement* tadqm::TrackAnalyzer::TransDCASig
private

Definition at line 445 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ transientTrackBuilderToken_

edm::ESGetToken<TransientTrackBuilder, TransientTrackRecord> tadqm::TrackAnalyzer::transientTrackBuilderToken_
private

Definition at line 91 of file TrackAnalyzer.h.

Referenced by analyze(), fillHistosForState(), and TrackAnalyzer().

◆ useBPixLayer1_

bool tadqm::TrackAnalyzer::useBPixLayer1_
private

Definition at line 143 of file TrackAnalyzer.h.

Referenced by TrackAnalyzer().

◆ ValidFractionPerTrack

MonitorElement* tadqm::TrackAnalyzer::ValidFractionPerTrack = nullptr
private

Definition at line 374 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ ValidFractionVsPhiVsEtaPerTrack

MonitorElement* tadqm::TrackAnalyzer::ValidFractionVsPhiVsEtaPerTrack = nullptr
private

Definition at line 375 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ xPointOfClosestApproach

MonitorElement* tadqm::TrackAnalyzer::xPointOfClosestApproach
private

Definition at line 418 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ xPointOfClosestApproachToPV

MonitorElement* tadqm::TrackAnalyzer::xPointOfClosestApproachToPV
private

Definition at line 419 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ xPointOfClosestApproachVsZ0wrt000

MonitorElement* tadqm::TrackAnalyzer::xPointOfClosestApproachVsZ0wrt000
private

Definition at line 420 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ xPointOfClosestApproachVsZ0wrtBS

MonitorElement* tadqm::TrackAnalyzer::xPointOfClosestApproachVsZ0wrtBS
private

Definition at line 421 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ xPointOfClosestApproachVsZ0wrtPV

MonitorElement* tadqm::TrackAnalyzer::xPointOfClosestApproachVsZ0wrtPV
private

Definition at line 422 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForBeamSpot().

◆ yPointOfClosestApproach

MonitorElement* tadqm::TrackAnalyzer::yPointOfClosestApproach
private

Definition at line 423 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ yPointOfClosestApproachToPV

MonitorElement* tadqm::TrackAnalyzer::yPointOfClosestApproachToPV
private

Definition at line 424 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ yPointOfClosestApproachVsZ0wrt000

MonitorElement* tadqm::TrackAnalyzer::yPointOfClosestApproachVsZ0wrt000
private

Definition at line 425 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ yPointOfClosestApproachVsZ0wrtBS

MonitorElement* tadqm::TrackAnalyzer::yPointOfClosestApproachVsZ0wrtBS
private

Definition at line 426 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

◆ yPointOfClosestApproachVsZ0wrtPV

MonitorElement* tadqm::TrackAnalyzer::yPointOfClosestApproachVsZ0wrtPV
private

Definition at line 427 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForBeamSpot().

◆ zPointOfClosestApproach

MonitorElement* tadqm::TrackAnalyzer::zPointOfClosestApproach
private

Definition at line 428 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForHitProperties(), and initHistos().

◆ zPointOfClosestApproachToPV

MonitorElement* tadqm::TrackAnalyzer::zPointOfClosestApproachToPV
private

Definition at line 429 of file TrackAnalyzer.h.

Referenced by analyze(), and bookHistosForHitProperties().

◆ zPointOfClosestApproachVsPhi

MonitorElement* tadqm::TrackAnalyzer::zPointOfClosestApproachVsPhi
private

Definition at line 430 of file TrackAnalyzer.h.

Referenced by analyze(), bookHistosForBeamSpot(), and initHistos().

tadqm::TrackAnalyzer::DistanceOfClosestApproachErrorVsPt
MonitorElement * DistanceOfClosestApproachErrorVsPt
Definition: TrackAnalyzer.h:401
Vector3DBase
Definition: Vector3DBase.h:8
tadqm::TrackAnalyzer::doDCAPlots_
bool doDCAPlots_
Definition: TrackAnalyzer.h:103
tadqm::TrackAnalyzer::xPointOfClosestApproachVsZ0wrtPV
MonitorElement * xPointOfClosestApproachVsZ0wrtPV
Definition: TrackAnalyzer.h:422
beam_dqm_sourceclient-live_cfg.DxyMin
DxyMin
Definition: beam_dqm_sourceclient-live_cfg.py:180
MonitorTrackSTAMuons_cfi.TrackPMax
TrackPMax
Definition: MonitorTrackSTAMuons_cfi.py:195
tadqm::TrackAnalyzer::NumberOfValidRecHitVsPhiVsEtaPerTrack
MonitorElement * NumberOfValidRecHitVsPhiVsEtaPerTrack
Definition: TrackAnalyzer.h:350
reco::HitPattern::MISSING_OUTER_HITS
Definition: HitPattern.h:155
tadqm::TrackAnalyzer::transientTrackBuilderToken_
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > transientTrackBuilderToken_
Definition: TrackAnalyzer.h:91
MonitorTrackSTAMuons_cfi.VXBin
VXBin
Definition: MonitorTrackSTAMuons_cfi.py:269
tadqm::TrackAnalyzer::pvNDOF_
int pvNDOF_
Definition: TrackAnalyzer.h:141
taus_updatedMVAIds_cff.category
category
Definition: taus_updatedMVAIds_cff.py:30
tadqm::TrackAnalyzer::yPointOfClosestApproachVsZ0wrt000
MonitorElement * yPointOfClosestApproachVsZ0wrt000
Definition: TrackAnalyzer.h:425
tadqm::TrackAnalyzer::DistanceOfClosestApproachToPVVsPhi
MonitorElement * DistanceOfClosestApproachToPVVsPhi
Definition: TrackAnalyzer.h:416
tadqm::TrackAnalyzer::NumberOfValidRecHitsPerTrack
MonitorElement * NumberOfValidRecHitsPerTrack
Definition: TrackAnalyzer.h:336
mps_fire.i
i
Definition: mps_fire.py:355
edm::ESInputTag
Definition: ESInputTag.h:87
tadqm::TrackAnalyzer::xPointOfClosestApproach
MonitorElement * xPointOfClosestApproach
Definition: TrackAnalyzer.h:418
MonitorTrackSTAMuons_cfi.RecHitMax
RecHitMax
Definition: MonitorTrackSTAMuons_cfi.py:110
tadqm::TrackAnalyzer::fillHistosForEfficiencyFromHitPatter
void fillHistosForEfficiencyFromHitPatter(const reco::Track &track, const std::string suffix, const float monitoring, bool useInac)
Definition: TrackAnalyzer.cc:1413
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
tadqm::TrackAnalyzer::stoppingSourceVSphi
MonitorElement * stoppingSourceVSphi
Definition: TrackAnalyzer.h:434
LumiMonitor_cff.pixelClusters
pixelClusters
Definition: LumiMonitor_cff.py:10
reco::TrackBase::tight
Definition: TrackBase.h:153
PixelSubdetector::PixelEndcap
Definition: PixelSubdetector.h:11
tadqm::TrackAnalyzer::NhitVsPhi_HighPurity
MonitorElement * NhitVsPhi_HighPurity
Definition: TrackAnalyzer.h:450
NBINS
const int NBINS
Definition: CaloCachedShapeIntegrator.cc:3
reco::TrackBase::loose
Definition: TrackBase.h:152
tadqm::TrackAnalyzer::DistanceOfClosestApproachToBSdz
MonitorElement * DistanceOfClosestApproachToBSdz
Definition: TrackAnalyzer.h:406
tadqm::TrackAnalyzer::xPointOfClosestApproachVsZ0wrtBS
MonitorElement * xPointOfClosestApproachVsZ0wrtBS
Definition: TrackAnalyzer.h:421
PixelSubdetector::PixelBarrel
Definition: PixelSubdetector.h:11
tadqm::TrackAnalyzer::TkRecHitsPerSubDetMEMap
std::map< std::string, TkRecHitsPerSubDetMEs > TkRecHitsPerSubDetMEMap
Definition: TrackAnalyzer.h:476
tadqm::TrackAnalyzer::NumberOfRecHitsPerTrack_lumiFlag
MonitorElement * NumberOfRecHitsPerTrack_lumiFlag
Definition: TrackAnalyzer.h:441
MonitorTrackSTAMuons_cfi.Chi2ProbBin
Chi2ProbBin
Definition: MonitorTrackSTAMuons_cfi.py:74
tadqm::TrackAnalyzer::NumberOfMIRecHitsPerTrack
MonitorElement * NumberOfMIRecHitsPerTrack
Definition: TrackAnalyzer.h:338
tadqm::TrackAnalyzer::minPixelClusterCharge_
float minPixelClusterCharge_
Definition: TrackAnalyzer.h:145
tadqm::TrackAnalyzer::DistanceOfClosestApproachError
MonitorElement * DistanceOfClosestApproachError
Definition: TrackAnalyzer.h:400
tadqm::TrackAnalyzer::sipDzToPV
MonitorElement * sipDzToPV
Definition: TrackAnalyzer.h:460
TrajectoryStateOnSurface::cartesianError
const CartesianTrajectoryError cartesianError() const
Definition: TrajectoryStateOnSurface.h:71
tadqm::TrackAnalyzer::Ptdist_HighPurity
MonitorElement * Ptdist_HighPurity
Definition: TrackAnalyzer.h:451
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
tadqm::TrackAnalyzer::Chi2Prob
MonitorElement * Chi2Prob
Definition: TrackAnalyzer.h:386
tadqm::TrackAnalyzer::VsPIXELLUMI
Definition: TrackAnalyzer.h:506
MonitorTrackSTAMuons_cfi.TrackQMin
TrackQMin
Definition: MonitorTrackSTAMuons_cfi.py:96
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
MonitorTrackInnerTrackMuons_cff.phiErrMax
phiErrMax
Definition: MonitorTrackInnerTrackMuons_cff.py:46
tadqm::TrackAnalyzer::doLayersVsPhiVsEtaPerTrack_
bool doLayersVsPhiVsEtaPerTrack_
Definition: TrackAnalyzer.h:110
min
T min(T a, T b)
Definition: MathUtil.h:58
tadqm::TrackAnalyzer::NumberOfMORecHitsPerTrackVsPt
MonitorElement * NumberOfMORecHitsPerTrackVsPt
Definition: TrackAnalyzer.h:370
multPhiCorr_741_25nsDY_cfi.py
py
Definition: multPhiCorr_741_25nsDY_cfi.py:12
tadqm::TrackAnalyzer::NumberOfValidRecHitsPerTrackVsEta
MonitorElement * NumberOfValidRecHitsPerTrackVsEta
Definition: TrackAnalyzer.h:348
MonitorTrackSTAMuons_cfi.Z0Bin
Z0Bin
Definition: MonitorTrackSTAMuons_cfi.py:294
tadqm::TrackAnalyzer::trackerTopologyToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopologyToken_
Definition: TrackAnalyzer.h:90
GetLumi::CM2_TO_NANOBARN
static constexpr double CM2_TO_NANOBARN
Definition: GetLumi.h:42
TrackerTopology
Definition: TrackerTopology.h:16
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
eostools.cat
def cat(path)
Definition: eostools.py:401
PV3DBase::theta
Geom::Theta< T > theta() const
Definition: PV3DBase.h:72
V0Monitor_cfi.lumiScalers
lumiScalers
Definition: V0Monitor_cfi.py:9
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
tadqm::TrackAnalyzer::doAllPlots_
bool doAllPlots_
Definition: TrackAnalyzer.h:100
beam_dqm_sourceclient-live_cfg.TrackPtBin
TrackPtBin
Definition: beam_dqm_sourceclient-live_cfg.py:194
StopReasonName::StopReasonName
static const std::string StopReasonName[]
Definition: TrajectoryStopReasons.h:25
tadqm::TrackAnalyzer::NumberOfMORecHitVsPtVsEtaPerTrack
MonitorElement * NumberOfMORecHitVsPtVsEtaPerTrack
Definition: TrackAnalyzer.h:372
electronDQMIsoDist_cfi.PtMax
PtMax
Definition: electronDQMIsoDist_cfi.py:51
data-class-funcs.q
q
Definition: data-class-funcs.py:169
edmNew::DetSetVector::const_iterator
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
Definition: DetSetVectorNew.h:231
TrajectoryStateOnSurface::charge
TrackCharge charge() const
Definition: TrajectoryStateOnSurface.h:68
tadqm::TrackAnalyzer::bookHistosForEfficiencyFromHitPatter
void bookHistosForEfficiencyFromHitPatter(DQMStore::IBooker &ibooker, const edm::EventSetup &iSetup, const std::string suffix, bool useInac)
Definition: TrackAnalyzer.cc:236
tadqm::TrackAnalyzer::Chi2oNDFVsTheta
MonitorElement * Chi2oNDFVsTheta
Definition: TrackAnalyzer.h:393
tadqm::TrackAnalyzer::useBPixLayer1_
bool useBPixLayer1_
Definition: TrackAnalyzer.h:143
tadqm::TrackAnalyzer::beamSpotToken_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
Definition: TrackAnalyzer.h:84
MessageLogger_cfi.errors
errors
Definition: MessageLogger_cfi.py:18
MonitorTrackSTAMuons_cfi.VYMin
VYMin
Definition: MonitorTrackSTAMuons_cfi.py:276
TrackerTopology::layer
unsigned int layer(const DetId &id) const
Definition: TrackerTopology.cc:47
tadqm::TrackAnalyzer::dNhitdPt_HighPurity
MonitorElement * dNhitdPt_HighPurity
Definition: TrackAnalyzer.h:452
beam_dqm_sourceclient-live_cfg.TrackPtMin
TrackPtMin
Definition: beam_dqm_sourceclient-live_cfg.py:192
tadqm::TrackAnalyzer::bookHistosForState
void bookHistosForState(std::string sname, DQMStore::IBooker &ibooker)
Definition: TrackAnalyzer.cc:1469
edmNew::DetSetVector::begin
const_iterator begin(bool update=false) const
Definition: DetSetVectorNew.h:572
tadqm::TrackAnalyzer::dNdEta_HighPurity
MonitorElement * dNdEta_HighPurity
Definition: TrackAnalyzer.h:447
GetLumi::XSEC_PIXEL_CLUSTER
static constexpr double XSEC_PIXEL_CLUSTER
Definition: GetLumi.h:36
TrackingMonitor_cfi.LongDCAMax
LongDCAMax
Definition: TrackingMonitor_cfi.py:431
beam_dqm_sourceclient-live_cfg.AbsDxyBin
AbsDxyBin
Definition: beam_dqm_sourceclient-live_cfg.py:178
tadqm::TrackAnalyzer::TopFolder_
std::string TopFolder_
Definition: TrackAnalyzer.h:82
tadqm::TrackAnalyzer::trackerGeometryToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeometryToken_
Definition: TrackAnalyzer.h:89
tadqm::TrackAnalyzer::NumberOfLayersPerTrack
MonitorElement * NumberOfLayersPerTrack[4]
Definition: TrackAnalyzer.h:377
MonitorTrackSTAMuons_cfi.Z0Min
Z0Min
Definition: MonitorTrackSTAMuons_cfi.py:296
MonitorTrackInnerTrackMuons_cff.EtaBin
EtaBin
Definition: MonitorTrackInnerTrackMuons_cff.py:64
tadqm::TrackAnalyzer::ValidFractionVsPhiVsEtaPerTrack
MonitorElement * ValidFractionVsPhiVsEtaPerTrack
Definition: TrackAnalyzer.h:375
findQualityFiles.v
v
Definition: findQualityFiles.py:179
hltPixelTracks_cff.chi2
chi2
Definition: hltPixelTracks_cff.py:25
tadqm::TrackAnalyzer::dNdPt_HighPurity
MonitorElement * dNdPt_HighPurity
Definition: TrackAnalyzer.h:448
IPTools::signedTransverseImpactParameter
std::pair< bool, Measurement1D > signedTransverseImpactParameter(const reco::TransientTrack &track, const GlobalVector &direction, const reco::Vertex &vertex)
Definition: IPTools.cc:57
tadqm::TrackAnalyzer::NumberOfLayersVsPhiVsEtaPerTrack
MonitorElement * NumberOfLayersVsPhiVsEtaPerTrack[5]
Definition: TrackAnalyzer.h:383
tadqm::TrackAnalyzer::NumberOfMIRecHitsPerTrackVsPt
MonitorElement * NumberOfMIRecHitsPerTrackVsPt
Definition: TrackAnalyzer.h:363
MonitorTrackSTAMuons_cfi.TrackPyMin
TrackPyMin
Definition: MonitorTrackSTAMuons_cfi.py:211
MonitorTrackInnerTrackMuons_cff.Eta2DBin
Eta2DBin
Definition: MonitorTrackInnerTrackMuons_cff.py:58
edm::ConsumesCollector::esConsumes
auto esConsumes()
Definition: ConsumesCollector.h:86
edm::Handle< reco::BeamSpot >
HLTSiStripMonitoring_cff.AlgoName
AlgoName
Definition: HLTSiStripMonitoring_cff.py:232
MonitorTrackSTAMuons_cfi.Y0Bin
Y0Bin
Definition: MonitorTrackSTAMuons_cfi.py:289
MonitorTrackSTAMuons_cfi.TrackQMax
TrackQMax
Definition: MonitorTrackSTAMuons_cfi.py:95
MonitorTrackSTAMuons_cfi.TrackQBin
TrackQBin
Definition: MonitorTrackSTAMuons_cfi.py:94
TrackingMonitor_cfi.VZBinProf
VZBinProf
Definition: TrackingMonitor_cfi.py:320
MonitorTrackSTAMuons_cfi.ptErrMax
ptErrMax
Definition: MonitorTrackSTAMuons_cfi.py:240
tadqm::TrackAnalyzer::doThetaPlots_
bool doThetaPlots_
Definition: TrackAnalyzer.h:118
validateGeometry_cfg.valid
valid
Definition: validateGeometry_cfg.py:21
createPayload.suffix
suffix
Definition: createPayload.py:281
tadqm::TrackAnalyzer::Chi2oNDFVsEta
MonitorElement * Chi2oNDFVsEta
Definition: TrackAnalyzer.h:391
edmNew::DetSet::size
size_type size() const
Definition: DetSetNew.h:68
TrackerGeometry::numberOfLayers
unsigned int numberOfLayers(int subdet) const
Definition: TrackerGeometry.cc:211
tadqm::TrackAnalyzer::DistanceOfClosestApproachErrorVsDxy
MonitorElement * DistanceOfClosestApproachErrorVsDxy
Definition: TrackAnalyzer.h:404
tadqm::TrackAnalyzer::Chi2ProbVsPhi
MonitorElement * Chi2ProbVsPhi
Definition: TrackAnalyzer.h:396
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
tadqm::TrackAnalyzer::Chi2ProbVsEta
MonitorElement * Chi2ProbVsEta
Definition: TrackAnalyzer.h:395
TrackingMonitor_cfi.subdetectors
subdetectors
Definition: TrackingMonitor_cfi.py:181
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
Chi2
Definition: Chi2.h:15
tadqm::TrackAnalyzer::hits_valid_
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_valid_
Definition: TrackAnalyzer.h:497
tadqm::TrackAnalyzer::DistanceOfClosestApproachToBSVsPhi
MonitorElement * DistanceOfClosestApproachToBSVsPhi
Definition: TrackAnalyzer.h:414
MonitorTrackSTAMuons_cfi.Chi2ProbMin
Chi2ProbMin
Definition: MonitorTrackSTAMuons_cfi.py:76
MonitorTrackSTAMuons_cfi.ThetaMin
ThetaMin
Definition: MonitorTrackSTAMuons_cfi.py:221
DetId
Definition: DetId.h:17
tadqm::TrackAnalyzer::doRecHitVsPtVsEtaPerTrack_
bool doRecHitVsPtVsEtaPerTrack_
Definition: TrackAnalyzer.h:108
tadqm::TrackAnalyzer::DistanceOfClosestApproachToBS
MonitorElement * DistanceOfClosestApproachToBS
Definition: TrackAnalyzer.h:405
MonitorTrackSTAMuons_cfi.pzErrBin
pzErrBin
Definition: MonitorTrackSTAMuons_cfi.py:254
tadqm::TrackAnalyzer::NumberOfRecHitVsPhiVsEtaPerTrack
MonitorElement * NumberOfRecHitVsPhiVsEtaPerTrack
Definition: TrackAnalyzer.h:344
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
MonitorTrackSTAMuons_cfi.ptErrMin
ptErrMin
Definition: MonitorTrackSTAMuons_cfi.py:241
MonitorTrackSTAMuons_cfi.PhiMax
PhiMax
Definition: MonitorTrackSTAMuons_cfi.py:230
Key
Definition: GoldenPattern.h:15
MonitorTrackSTAMuons_cfi.VYMax
VYMax
Definition: MonitorTrackSTAMuons_cfi.py:275
cms::cuda::bs
bs
Definition: HistoContainer.h:127
tadqm::TrackAnalyzer::xPointOfClosestApproachVsZ0wrt000
MonitorElement * xPointOfClosestApproachVsZ0wrt000
Definition: TrackAnalyzer.h:420
tadqm::TrackAnalyzer::yPointOfClosestApproachVsZ0wrtPV
MonitorElement * yPointOfClosestApproachVsZ0wrtPV
Definition: TrackAnalyzer.h:427
tadqm::TrackAnalyzer::END
Definition: TrackAnalyzer.h:506
trackingPlots.hp
hp
Definition: trackingPlots.py:1246
tadqm::TrackAnalyzer::NumberOfValidRecHitsPerTrackVsPt
MonitorElement * NumberOfValidRecHitsPerTrackVsPt
Definition: TrackAnalyzer.h:349
MonitorTrackSTAMuons_cfi.pzErrMin
pzErrMin
Definition: MonitorTrackSTAMuons_cfi.py:256
MonitorTrackSTAMuons_cfi.TrackPBin
TrackPBin
Definition: MonitorTrackSTAMuons_cfi.py:194
TrackingMonitor_cfi.DxyErrMax
DxyErrMax
Definition: TrackingMonitor_cfi.py:449
errors
Definition: errors.py:1
tadqm::TrackAnalyzer::sipDzToBS
MonitorElement * sipDzToBS
Definition: TrackAnalyzer.h:456
beam_dqm_sourceclient-live_cfg.AbsDxyMax
AbsDxyMax
Definition: beam_dqm_sourceclient-live_cfg.py:177
TrackingMonitor_cfi.AbsDxyMin
AbsDxyMin
Definition: TrackingMonitor_cfi.py:345
tadqm::TrackAnalyzer::NumberOfMORecHitVsPhiVsEtaPerTrack
MonitorElement * NumberOfMORecHitVsPhiVsEtaPerTrack
Definition: TrackAnalyzer.h:371
tadqm::TrackAnalyzer::doTrackerSpecific_
bool doTrackerSpecific_
Definition: TrackAnalyzer.h:99
TrackingMonitor_cfi.DxyErrBin
DxyErrBin
it might need to be adjust if CMS asks to have lumi levelling at lower values
Definition: TrackingMonitor_cfi.py:448
IPTools::signedImpactParameter3D
std::pair< bool, Measurement1D > signedImpactParameter3D(const reco::TransientTrack &track, const GlobalVector &direction, const reco::Vertex &vertex)
Definition: IPTools.cc:81
MonitorTrackInnerTrackMuons_cff.etaErrMax
etaErrMax
Definition: MonitorTrackInnerTrackMuons_cff.py:47
tadqm::TrackAnalyzer::DistanceOfClosestApproachToBSVsEta
MonitorElement * DistanceOfClosestApproachToBSVsEta
Definition: TrackAnalyzer.h:415
PVValHelper::eta
Definition: PVValidationHelpers.h:69
tadqm::TrackAnalyzer::doEffFromHitPatternVsBX_
bool doEffFromHitPatternVsBX_
Definition: TrackAnalyzer.h:139
tadqm::TrackAnalyzer::bookHistosForBeamSpot
void bookHistosForBeamSpot(DQMStore::IBooker &ibooker)
Definition: TrackAnalyzer.cc:777
w
const double w
Definition: UKUtility.cc:23
MonitorTrackInnerTrackMuons_cff.PVMin
PVMin
Definition: MonitorTrackInnerTrackMuons_cff.py:49
tadqm::TrackAnalyzer::pixel_lumi_
float pixel_lumi_
Definition: TrackAnalyzer.h:504
tadqm::TrackAnalyzer::DistanceOfClosestApproach
MonitorElement * DistanceOfClosestApproach
Definition: TrackAnalyzer.h:399
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:15
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
vertices_cff.x
x
Definition: vertices_cff.py:29
MonitorTrackSTAMuons_cfi.RecHitMin
RecHitMin
Definition: MonitorTrackSTAMuons_cfi.py:111
TrackingMonitor_cfi.TransDCAMax
TransDCAMax
Definition: TrackingMonitor_cfi.py:427
reco::BeamSpot
Definition: BeamSpot.h:21
AlgebraicSymMatrix66
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
Definition: AlgebraicROOTObjects.h:24
TransientTrackRecord
Definition: TransientTrackRecord.h:11
MonitorTrackSTAMuons_cfi.TrackPzBin
TrackPzBin
Definition: MonitorTrackSTAMuons_cfi.py:216
beam_dqm_sourceclient-live_cfg.TrackPtMax
TrackPtMax
Definition: beam_dqm_sourceclient-live_cfg.py:193
tadqm::TrackAnalyzer::TkParameterMEMap
std::map< std::string, TkParameterMEs > TkParameterMEMap
Definition: TrackAnalyzer.h:333
tadqm::TrackAnalyzer::ValidFractionPerTrack
MonitorElement * ValidFractionPerTrack
Definition: TrackAnalyzer.h:374
TrackingMonitor_cfi.LUMIMax
LUMIMax
Definition: TrackingMonitor_cfi.py:415
MonitorTrackSTAMuons_cfi.etaErrMin
etaErrMin
Definition: MonitorTrackSTAMuons_cfi.py:261
LaserClient_cfi.nbins
nbins
Definition: LaserClient_cfi.py:51
tadqm::TrackAnalyzer::VsPU
Definition: TrackAnalyzer.h:506
GetLumi::FREQ_ORBIT
static constexpr double FREQ_ORBIT
Definition: GetLumi.h:26
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:49
theta
Geom::Theta< T > theta() const
Definition: Basic3DVectorLD.h:150
beam_dqm_sourceclient-live_cfg.DxyMax
DxyMax
Definition: beam_dqm_sourceclient-live_cfg.py:181
StripSubdetector::TIB
static constexpr auto TIB
Definition: StripSubdetector.h:16
tadqm::TrackAnalyzer::yPointOfClosestApproachVsZ0wrtBS
MonitorElement * yPointOfClosestApproachVsZ0wrtBS
Definition: TrackAnalyzer.h:426
tadqm::TrackAnalyzer::NumberOfRecHitsPerTrackVsPhi
MonitorElement * NumberOfRecHitsPerTrackVsPhi
Definition: TrackAnalyzer.h:341
tadqm::TrackAnalyzer::bookHistosForTrackerSpecific
void bookHistosForTrackerSpecific(DQMStore::IBooker &ibooker)
Definition: TrackAnalyzer.cc:2247
tadqm::TrackAnalyzer::DeltaZToPV
MonitorElement * DeltaZToPV
Definition: TrackAnalyzer.h:410
MonitorTrackSTAMuons_cfi.pErrMax
pErrMax
Definition: MonitorTrackSTAMuons_cfi.py:235
tadqm::TrackAnalyzer::LongDCASig
MonitorElement * LongDCASig
Definition: TrackAnalyzer.h:444
MonitorTrackSTAMuons_cfi.Chi2Min
Chi2Min
Definition: MonitorTrackSTAMuons_cfi.py:66
tadqm::TrackAnalyzer::zPointOfClosestApproach
MonitorElement * zPointOfClosestApproach
Definition: TrackAnalyzer.h:428
tadqm::TrackAnalyzer::NumberOfLostRecHitVsPhiVsEtaPerTrack
MonitorElement * NumberOfLostRecHitVsPhiVsEtaPerTrack
Definition: TrackAnalyzer.h:357
tadqm::TrackAnalyzer::doRecHitVsPhiVsEtaPerTrack_
bool doRecHitVsPhiVsEtaPerTrack_
Definition: TrackAnalyzer.h:107
MonitorTrackSTAMuons_cfi.X0Min
X0Min
Definition: MonitorTrackSTAMuons_cfi.py:286
MonitorTrackSTAMuons_cfi.TrackPxMin
TrackPxMin
Definition: MonitorTrackSTAMuons_cfi.py:206
tadqm::TrackAnalyzer::hits_total_
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_total_
Definition: TrackAnalyzer.h:501
tadqm::TrackAnalyzer::bx_
unsigned int bx_
Definition: TrackAnalyzer.h:503
LaserDQM_cfi.mon
mon
Definition: LaserDQM_cfi.py:3
tadqm::TrackAnalyzer::DistanceOfClosestApproachToPV
MonitorElement * DistanceOfClosestApproachToPV
Definition: TrackAnalyzer.h:408
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
MonitorTrackSTAMuons_cfi.Y0Min
Y0Min
Definition: MonitorTrackSTAMuons_cfi.py:291
MonitorTrackSTAMuons_cfi.TrackPyBin
TrackPyBin
Definition: MonitorTrackSTAMuons_cfi.py:209
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
tadqm::TrackAnalyzer::DistanceOfClosestApproachToPVZoom
MonitorElement * DistanceOfClosestApproachToPVZoom
Definition: TrackAnalyzer.h:409
MonitorTrackSTAMuons_cfi.TrackPzMax
TrackPzMax
Definition: MonitorTrackSTAMuons_cfi.py:215
MuonTCMETValueMapProducer_cff.nLayers
nLayers
Definition: MuonTCMETValueMapProducer_cff.py:38
tadqm::TrackAnalyzer::TESTDistanceOfClosestApproachToBSVsPhi
MonitorElement * TESTDistanceOfClosestApproachToBSVsPhi
Definition: TrackAnalyzer.h:437
GetLumi::lastBunchCrossing
static const unsigned int lastBunchCrossing
Definition: GetLumi.h:43
TrackingMonitor_cfi.LongDCAMin
LongDCAMin
Definition: TrackingMonitor_cfi.py:430
MonitorTrackSTAMuons_cfi.Chi2Bin
Chi2Bin
Definition: MonitorTrackSTAMuons_cfi.py:64
tadqm::TrackAnalyzer::NumberOfLostRecHitsPerTrackVsPt
MonitorElement * NumberOfLostRecHitsPerTrackVsPt
Definition: TrackAnalyzer.h:356
tadqm::TrackAnalyzer::stoppingSource
MonitorElement * stoppingSource
Definition: TrackAnalyzer.h:432
tadqm::TrackAnalyzer::VsBX
Definition: TrackAnalyzer.h:506
tadqm::TrackAnalyzer::doEffFromHitPatternVsPU_
bool doEffFromHitPatternVsPU_
Definition: TrackAnalyzer.h:138
tadqm::TrackAnalyzer::doTrackPxPyPlots_
bool doTrackPxPyPlots_
Definition: TrackAnalyzer.h:119
beam_dqm_sourceclient-live_cfg.Chi2NDFBin
Chi2NDFBin
Definition: beam_dqm_sourceclient-live_cfg.py:186
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
tadqm::TrackAnalyzer::doTestPlots_
bool doTestPlots_
Definition: TrackAnalyzer.h:128
MonitorTrackInnerTrackMuons_cff.PVBin
PVBin
Definition: MonitorTrackInnerTrackMuons_cff.py:48
tadqm::TrackAnalyzer::sip2dToPV
MonitorElement * sip2dToPV
Definition: TrackAnalyzer.h:458
tadqm::TrackAnalyzer::yPointOfClosestApproach
MonitorElement * yPointOfClosestApproach
Definition: TrackAnalyzer.h:423
MonitorTrackSTAMuons_cfi.RecLayMin
RecLayMin
Definition: MonitorTrackSTAMuons_cfi.py:156
tadqm::TrackAnalyzer::doLumiAnalysis_
bool doLumiAnalysis_
Definition: TrackAnalyzer.h:125
etaerror
Definition: HIMultiTrackSelector.h:50
PVValHelper::phi
Definition: PVValidationHelpers.h:68
MonitorTrackSTAMuons_cfi.TrackPxMax
TrackPxMax
Definition: MonitorTrackSTAMuons_cfi.py:205
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
tadqm::TrackAnalyzer::NumberOfLostRecHitsPerTrack
MonitorElement * NumberOfLostRecHitsPerTrack
Definition: TrackAnalyzer.h:337
tadqm::TrackAnalyzer::stoppingSourceVSeta
MonitorElement * stoppingSourceVSeta
Definition: TrackAnalyzer.h:433
HLT_2018_cff.PtMin
PtMin
Definition: HLT_2018_cff.py:8573
tadqm::TrackAnalyzer::sipDxyToPV
MonitorElement * sipDxyToPV
Definition: TrackAnalyzer.h:459
LumiScalersCollection
std::vector< LumiScalers > LumiScalersCollection
Definition: LumiScalers.h:144
Folder
Definition: DQMStoreStats.h:134
edm::ConsumesCollector::mayConsume
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
Definition: ConsumesCollector.h:61
tadqm::TrackAnalyzer::forceSCAL_
const bool forceSCAL_
Definition: TrackAnalyzer.h:142
tadqm::TrackAnalyzer::TransDCASig
MonitorElement * TransDCASig
Definition: TrackAnalyzer.h:445
tadqm::TrackAnalyzer::NumberOfLostRecHitVsPtVsEtaPerTrack
MonitorElement * NumberOfLostRecHitVsPtVsEtaPerTrack
Definition: TrackAnalyzer.h:358
PV3DBase::eta
T eta() const
Definition: PV3DBase.h:73
electrons_cff.ip3d
ip3d
Definition: electrons_cff.py:363
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
reco::TransientTrack::impactPointState
TrajectoryStateOnSurface impactPointState() const
Definition: TransientTrack.h:98
tadqm::TrackAnalyzer::DeltaZToPVZoom
MonitorElement * DeltaZToPVZoom
Definition: TrackAnalyzer.h:411
createfilelist.int
int
Definition: createfilelist.py:10
MonitorTrackSTAMuons_cfi.phiErrMin
phiErrMin
Definition: MonitorTrackSTAMuons_cfi.py:266
MetAnalyzer.pv
def pv(vc)
Definition: MetAnalyzer.py:7
iEvent
int iEvent
Definition: GenABIO.cc:224
MonitorTrackSTAMuons_cfi.RecLayMax
RecLayMax
Definition: MonitorTrackSTAMuons_cfi.py:155
MonitorTrackSTAMuons_cfi.pxErrMin
pxErrMin
Definition: MonitorTrackSTAMuons_cfi.py:246
tadqm::TrackAnalyzer::doGeneralPropertiesPlots_
bool doGeneralPropertiesPlots_
Definition: TrackAnalyzer.h:104
tadqm::TrackAnalyzer::initHistos
void initHistos()
Definition: TrackAnalyzer.cc:109
dqm::impl::MonitorElement::setBinLabel
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)
Definition: MonitorElement.cc:771
tadqm::TrackAnalyzer::scal_lumi_
float scal_lumi_
Definition: TrackAnalyzer.h:505
tadqm::TrackAnalyzer::AbsDistanceOfClosestApproachToBS
MonitorElement * AbsDistanceOfClosestApproachToBS
Definition: TrackAnalyzer.h:407
topSingleLeptonDQM_PU_cfi.pattern
pattern
Definition: topSingleLeptonDQM_PU_cfi.py:39
tadqm::TrackAnalyzer::yPointOfClosestApproachToPV
MonitorElement * yPointOfClosestApproachToPV
Definition: TrackAnalyzer.h:424
TransientTrackBuilder
Definition: TransientTrackBuilder.h:16
beam_dqm_sourceclient-live_cfg.Chi2NDFMin
Chi2NDFMin
Definition: beam_dqm_sourceclient-live_cfg.py:185
tadqm::TrackAnalyzer::Chi2oNDF
MonitorElement * Chi2oNDF
Definition: TrackAnalyzer.h:387
tadqm::TrackAnalyzer::NumberOfMIRecHitVsPhiVsEtaPerTrack
MonitorElement * NumberOfMIRecHitVsPhiVsEtaPerTrack
Definition: TrackAnalyzer.h:364
MonitorTrackSTAMuons_cfi.PhiMin
PhiMin
Definition: MonitorTrackSTAMuons_cfi.py:231
tadqm::TrackAnalyzer::histname
std::string histname
Definition: TrackAnalyzer.h:509
tadqm::TrackAnalyzer::TESTDistanceOfClosestApproachToBS
MonitorElement * TESTDistanceOfClosestApproachToBS
Definition: TrackAnalyzer.h:436
MonitorTrackSTAMuons_cfi.pyErrBin
pyErrBin
Definition: MonitorTrackSTAMuons_cfi.py:249
MonitorTrackSTAMuons_cfi.VXMax
VXMax
Definition: MonitorTrackSTAMuons_cfi.py:270
tadqm::TrackAnalyzer::oriAlgo
MonitorElement * oriAlgo
Definition: TrackAnalyzer.h:431
beam_dqm_sourceclient-live_cfg.DxyBin
DxyBin
Definition: beam_dqm_sourceclient-live_cfg.py:182
tadqm::TrackAnalyzer::bookHistosForHitProperties
void bookHistosForHitProperties(DQMStore::IBooker &ibooker)
Definition: TrackAnalyzer.cc:315
tadqm::TrackAnalyzer::sipDxyToBS
MonitorElement * sipDxyToBS
Definition: TrackAnalyzer.h:455
reco::TransientTrack::outermostMeasurementState
TrajectoryStateOnSurface outermostMeasurementState() const
Definition: TransientTrack.h:86
GetLumi::rXSEC_PIXEL_CLUSTER
static constexpr double rXSEC_PIXEL_CLUSTER
Definition: GetLumi.h:40
tadqm::TrackAnalyzer::zPointOfClosestApproachVsPhi
MonitorElement * zPointOfClosestApproachVsPhi
Definition: TrackAnalyzer.h:430
MonitorTrackSTAMuons_cfi.phiErrBin
phiErrBin
Definition: MonitorTrackSTAMuons_cfi.py:264
MonitorTrackSTAMuons_cfi.Y0Max
Y0Max
Definition: MonitorTrackSTAMuons_cfi.py:290
beam_dqm_sourceclient-live_cfg.Chi2NDFMax
Chi2NDFMax
Definition: beam_dqm_sourceclient-live_cfg.py:184
tadqm::TrackAnalyzer::metaDataToken_
edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
Definition: TrackAnalyzer.h:88
MonitorTrackSTAMuons_cfi.TrackPxBin
TrackPxBin
Definition: MonitorTrackSTAMuons_cfi.py:204
tadqm::TrackAnalyzer::qualityString_
std::string qualityString_
Definition: TrackAnalyzer.h:146
HcalObjRepresent::Fill
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
Definition: HcalObjRepresent.h:1053
CartesianTrajectoryError::matrix
const AlgebraicSymMatrix66 & matrix() const
Definition: CartesianTrajectoryError.h:28
reco::HitPattern::TRACK_HITS
Definition: HitPattern.h:155
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:113
tadqm::TrackAnalyzer::Chi2oNDFVsPhi
MonitorElement * Chi2oNDFVsPhi
Definition: TrackAnalyzer.h:392
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
tadqm::TrackAnalyzer::bookHistosForLScertification
void bookHistosForLScertification(DQMStore::IBooker &ibooker)
Definition: TrackAnalyzer.cc:740
reco::TrackBase::qualityByName
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:126
PV3DBase::mag
T mag() const
Definition: PV3DBase.h:64
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
tadqm::TrackAnalyzer::good_vertices_
unsigned int good_vertices_
Definition: TrackAnalyzer.h:502
tadqm::TrackAnalyzer::doDCAwrtPVPlots_
bool doDCAwrtPVPlots_
Definition: TrackAnalyzer.h:122
MonitorTrackSTAMuons_cfi.VYBin
VYBin
Definition: MonitorTrackSTAMuons_cfi.py:274
multPhiCorr_741_25nsDY_cfi.px
px
Definition: multPhiCorr_741_25nsDY_cfi.py:10
MonitorTrackSTAMuons_cfi.Chi2Max
Chi2Max
Definition: MonitorTrackSTAMuons_cfi.py:65
tadqm::TrackAnalyzer::NumberOfValidRecHitVsPtVsEtaPerTrack
MonitorElement * NumberOfValidRecHitVsPtVsEtaPerTrack
Definition: TrackAnalyzer.h:351
reco::TrackBase::qualityNames
static const std::string qualityNames[]
Definition: TrackBase.h:163
TrajectoryStateOnSurface::globalMomentum
GlobalVector globalMomentum() const
Definition: TrajectoryStateOnSurface.h:66
edmNew::DetSetVector
Definition: DetSetNew.h:13
GetLumi::SECONDS_PER_LS
static constexpr double SECONDS_PER_LS
Definition: GetLumi.h:27
tadqm::TrackAnalyzer::doBSPlots_
bool doBSPlots_
Definition: TrackAnalyzer.h:101
MonitorTrackSTAMuons_cfi.TrackPzMin
TrackPzMin
Definition: MonitorTrackSTAMuons_cfi.py:214
tadqm::TrackAnalyzer::NumberOfRecHitsPerTrackVsEta
MonitorElement * NumberOfRecHitsPerTrackVsEta
Definition: TrackAnalyzer.h:343
tadqm::TrackAnalyzer::lumi_factor_per_bx_
float lumi_factor_per_bx_
Definition: TrackAnalyzer.h:93
reco::HitPattern::HitCategory
HitCategory
Definition: HitPattern.h:155
reco::TransientTrack
Definition: TransientTrack.h:19
tadqm::TrackAnalyzer::fillHistosForTrackerSpecific
void fillHistosForTrackerSpecific(const reco::Track &track)
Definition: TrackAnalyzer.cc:2359
StripSubdetector::TEC
static constexpr auto TEC
Definition: StripSubdetector.h:19
tadqm::TrackAnalyzer::VsSCALLUMI
Definition: TrackAnalyzer.h:506
singleTopDQM_cfi.monitoring
monitoring
Definition: singleTopDQM_cfi.py:46
tadqm::TrackAnalyzer::NumberOfValidRecHitsPerTrackVsPhi
MonitorElement * NumberOfValidRecHitsPerTrackVsPhi
Definition: TrackAnalyzer.h:346
MonitorTrackInnerTrackMuons_cff.EtaMin
EtaMin
Definition: MonitorTrackInnerTrackMuons_cff.py:64
MonitorTrackInnerTrackMuons_cff.EtaMax
EtaMax
Definition: MonitorTrackInnerTrackMuons_cff.py:64
reco::TrackBase::algoSize
Definition: TrackBase.h:141
StopReason::NOT_STOPPED
MonitorTrackSTAMuons_cfi.X0Max
X0Max
Definition: MonitorTrackSTAMuons_cfi.py:285
MonitorTrackSTAMuons_cfi.RecHitBin
RecHitBin
Definition: MonitorTrackSTAMuons_cfi.py:109
TrackingMonitor_cfi.LongDCABins
LongDCABins
Definition: TrackingMonitor_cfi.py:429
MonitorTrackSTAMuons_cfi.pErrMin
pErrMin
Definition: MonitorTrackSTAMuons_cfi.py:236
tadqm::TrackAnalyzer::lumiscalersToken_
edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
Definition: TrackAnalyzer.h:87
tadqm::TrackAnalyzer::doDCAwrt000Plots_
bool doDCAwrt000Plots_
Definition: TrackAnalyzer.h:123
MonitorTrackSTAMuons_cfi.ThetaMax
ThetaMax
Definition: MonitorTrackSTAMuons_cfi.py:220
edmNew::DetSetVector::end
const_iterator end(bool update=false) const
Definition: DetSetVectorNew.h:577
edm::Transition::BeginRun
MonitorTrackInnerTrackMuons_cff.Phi2DBin
Phi2DBin
Definition: MonitorTrackInnerTrackMuons_cff.py:59
tadqm::TrackAnalyzer::fillHistosForState
void fillHistosForState(const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
Definition: TrackAnalyzer.cc:1942
dqm::impl::MonitorElement::getNbinsX
virtual int getNbinsX() const
get # of bins in X-axis
Definition: MonitorElement.cc:574
TrajectoryStateOnSurface::curvilinearError
const CurvilinearTrajectoryError & curvilinearError() const
Definition: TrajectoryStateOnSurface.h:72
reco::HitPattern::MISSING_INNER_HITS
Definition: HitPattern.h:155
MonitorTrackSTAMuons_cfi.pyErrMax
pyErrMax
Definition: MonitorTrackSTAMuons_cfi.py:250
tadqm::TrackAnalyzer::NhitVsEta_HighPurity
MonitorElement * NhitVsEta_HighPurity
Definition: TrackAnalyzer.h:449
findQualityFiles.jj
string jj
Definition: findQualityFiles.py:188
TrackingMonitor_cfi.TransDCAMin
TransDCAMin
Definition: TrackingMonitor_cfi.py:426
tadqm::TrackAnalyzer::monName
std::string monName[monQuantity::END]
Definition: TrackAnalyzer.h:507
tadqm::TrackAnalyzer::pixelClustersToken_
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
Definition: TrackAnalyzer.h:86
detailsBasic3DVector::y
float float y
Definition: extBasic3DVector.h:14
StripSubdetector::TOB
static constexpr auto TOB
Definition: StripSubdetector.h:18
tadqm::TrackAnalyzer::DistanceOfClosestApproachErrorVsPhi
MonitorElement * DistanceOfClosestApproachErrorVsPhi
Definition: TrackAnalyzer.h:403
tadqm::TrackAnalyzer::NumberOfMORecHitsPerTrack
MonitorElement * NumberOfMORecHitsPerTrack
Definition: TrackAnalyzer.h:339
OnlineLuminosityRecord::instLumi
float instLumi() const
Return the luminosity for the current nibble.
Definition: OnlineLuminosityRecord.h:33
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
MonitorTrackSTAMuons_cfi.ptErrBin
ptErrBin
Definition: MonitorTrackSTAMuons_cfi.py:239
TrackingMonitor_cfi.VZMaxProf
VZMaxProf
Definition: TrackingMonitor_cfi.py:321
tadqm::TrackAnalyzer::doRecHitsPerTrackProfile_
bool doRecHitsPerTrackProfile_
Definition: TrackAnalyzer.h:115
tadqm::TrackAnalyzer::dNdPhi_HighPurity
MonitorElement * dNdPhi_HighPurity
Definition: TrackAnalyzer.h:446
MonitorTrackSTAMuons_cfi.PhiBin
PhiBin
Definition: MonitorTrackSTAMuons_cfi.py:229
tadqm::TrackAnalyzer::algorithm
MonitorElement * algorithm
Definition: TrackAnalyzer.h:431
tadqm::TrackAnalyzer::doHitPropertiesPlots_
bool doHitPropertiesPlots_
Definition: TrackAnalyzer.h:106
TransientTrackBuilder::build
reco::TransientTrack build(const reco::Track *p) const
Definition: TransientTrackBuilder.cc:20
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:30
tadqm::TrackAnalyzer::Chi2oNDF_lumiFlag
MonitorElement * Chi2oNDF_lumiFlag
Definition: TrackAnalyzer.h:440
tadqm::TrackAnalyzer::NumberOfMIRecHitVsPtVsEtaPerTrack
MonitorElement * NumberOfMIRecHitVsPtVsEtaPerTrack
Definition: TrackAnalyzer.h:365
MonitorTrackSTAMuons_cfi.pzErrMax
pzErrMax
Definition: MonitorTrackSTAMuons_cfi.py:255
MonitorTrackSTAMuons_cfi.pxErrMax
pxErrMax
Definition: MonitorTrackSTAMuons_cfi.py:245
TrackingMonitor_cfi.TransDCABins
TransDCABins
FOR HI PLOTS#####################.
Definition: TrackingMonitor_cfi.py:425
MonitorTrackSTAMuons_cfi.etaErrBin
etaErrBin
Definition: MonitorTrackSTAMuons_cfi.py:259
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
TrackingMonitor_cfi.LUMIBin
LUMIBin
Definition: TrackingMonitor_cfi.py:413
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
MonitorTrackSTAMuons_cfi.TrackPMin
TrackPMin
Definition: MonitorTrackSTAMuons_cfi.py:196
tadqm::TrackAnalyzer::minNumberOfPixelsPerCluster_
int minNumberOfPixelsPerCluster_
Definition: TrackAnalyzer.h:144
combine.missing
missing
Definition: combine.py:5
tadqm::TrackAnalyzer::conf_
edm::ParameterSet const * conf_
Definition: TrackAnalyzer.h:95
tadqm::TrackAnalyzer::zPointOfClosestApproachToPV
MonitorElement * zPointOfClosestApproachToPV
Definition: TrackAnalyzer.h:429
tadqm::TrackAnalyzer::DistanceOfClosestApproachVsTheta
MonitorElement * DistanceOfClosestApproachVsTheta
Definition: TrackAnalyzer.h:412
tadqm::TrackAnalyzer::sip3dToPV
MonitorElement * sip3dToPV
Definition: TrackAnalyzer.h:457
tadqm::TrackAnalyzer::pvToken_
edm::EDGetTokenT< reco::VertexCollection > pvToken_
Definition: TrackAnalyzer.h:85
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
tadqm::TrackAnalyzer::DistanceOfClosestApproachVsPhi
MonitorElement * DistanceOfClosestApproachVsPhi
Definition: TrackAnalyzer.h:413
TrackingMonitor_cfi.VZMinProf
VZMinProf
Definition: TrackingMonitor_cfi.py:322
tadqm::TrackAnalyzer::TrackAnalyzer
TrackAnalyzer(const edm::ParameterSet &)
Definition: TrackAnalyzer.cc:40
tadqm::TrackAnalyzer::doHIPlots_
bool doHIPlots_
Definition: TrackAnalyzer.h:131
tadqm::TrackAnalyzer::DistanceOfClosestApproachVsEta
MonitorElement * DistanceOfClosestApproachVsEta
Definition: TrackAnalyzer.h:417
MonitorTrackSTAMuons_cfi.Chi2ProbMax
Chi2ProbMax
Definition: MonitorTrackSTAMuons_cfi.py:75
tadqm::TrackAnalyzer::doPVPlots_
bool doPVPlots_
Definition: TrackAnalyzer.h:102
reco::TrackBase::algoNames
static const std::string algoNames[]
Definition: TrackBase.h:147
A
dqm::impl::MonitorElement::setAxisTitle
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:800
PV3DBase::perp
T perp() const
Definition: PV3DBase.h:69
TSOS
TrajectoryStateOnSurface TSOS
Definition: TestHits.cc:19
cuy.ii
ii
Definition: cuy.py:590
MonitorTrackSTAMuons_cfi.RecLayBin
RecLayBin
Definition: MonitorTrackSTAMuons_cfi.py:154
edm::InputTag
Definition: InputTag.h:15
MonitorTrackSTAMuons_cfi.pyErrMin
pyErrMin
Definition: MonitorTrackSTAMuons_cfi.py:251
PV3DBase::phi
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
OnlineLuminosityRecord
Class to contain the online luminosity from soft FED 1022.
Definition: OnlineLuminosityRecord.h:17
tadqm::TrackAnalyzer::stateName_
std::string stateName_
Definition: TrackAnalyzer.h:97
MonitorTrackSTAMuons_cfi.pxErrBin
pxErrBin
Definition: MonitorTrackSTAMuons_cfi.py:244
CurvilinearTrajectoryError::matrix
const AlgebraicSymMatrix55 & matrix() const
Definition: CurvilinearTrajectoryError.h:61
reco::Vertex
Definition: Vertex.h:35
tadqm::TrackAnalyzer::doSIPPlots_
bool doSIPPlots_
Definition: TrackAnalyzer.h:134
StripSubdetector::TID
static constexpr auto TID
Definition: StripSubdetector.h:17
MonitorTrackSTAMuons_cfi.pErrBin
pErrBin
Definition: MonitorTrackSTAMuons_cfi.py:234
MonitorTrackInnerTrackMuons_cff.PVMax
PVMax
Definition: MonitorTrackInnerTrackMuons_cff.py:50
beam_dqm_sourceclient-live_cfg.VZMin
VZMin
Definition: beam_dqm_sourceclient-live_cfg.py:189
MonitorTrackSTAMuons_cfi.X0Bin
X0Bin
Definition: MonitorTrackSTAMuons_cfi.py:284
TrackingMonitor_cfi.LUMIMin
LUMIMin
Definition: TrackingMonitor_cfi.py:414
hit
Definition: SiStripHitEffFromCalibTree.cc:88
tadqm::TrackAnalyzer::DistanceOfClosestApproachErrorVsEta
MonitorElement * DistanceOfClosestApproachErrorVsEta
Definition: TrackAnalyzer.h:402
beam_dqm_sourceclient-live_cfg.VZBin
VZBin
Definition: beam_dqm_sourceclient-live_cfg.py:188
MonitorTrackSTAMuons_cfi.Z0Max
Z0Max
Definition: MonitorTrackSTAMuons_cfi.py:295
tadqm::TrackAnalyzer::doEffFromHitPatternVsLUMI_
bool doEffFromHitPatternVsLUMI_
Definition: TrackAnalyzer.h:140
tadqm::TrackAnalyzer::NumberOfRecHitsPerTrack
MonitorElement * NumberOfRecHitsPerTrack
Definition: TrackAnalyzer.h:335
MonitorTrackSTAMuons_cfi.ThetaBin
ThetaBin
Definition: MonitorTrackSTAMuons_cfi.py:219
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
MonitorTrackSTAMuons_cfi.TrackPyMax
TrackPyMax
Definition: MonitorTrackSTAMuons_cfi.py:210
tadqm::TrackAnalyzer::NumberOfRecHitsPerTrackVsTheta
MonitorElement * NumberOfRecHitsPerTrackVsTheta
Definition: TrackAnalyzer.h:342
reco::TransientTrack::innermostMeasurementState
TrajectoryStateOnSurface innermostMeasurementState() const
Definition: TransientTrack.h:88
TrackerGeometry
Definition: TrackerGeometry.h:14
tadqm::TrackAnalyzer::doMeasurementStatePlots_
bool doMeasurementStatePlots_
Definition: TrackAnalyzer.h:105
edmNew::DetSet::const_iterator
const data_type * const_iterator
Definition: DetSetNew.h:31
MonitorTrackSTAMuons_cfi.VXMin
VXMin
Definition: MonitorTrackSTAMuons_cfi.py:271
reco::TrackBase::highPurity
Definition: TrackBase.h:154
tadqm::TrackAnalyzer::xPointOfClosestApproachToPV
MonitorElement * xPointOfClosestApproachToPV
Definition: TrackAnalyzer.h:419
beam_dqm_sourceclient-live_cfg.VZMax
VZMax
Definition: beam_dqm_sourceclient-live_cfg.py:190