|
|
Go to the documentation of this file.
24 template <
typename T,
size_t N>
26 const double minLog10 = std::log10(
min);
27 const double maxLog10 = std::log10(
max);
28 const double width = (maxLog10 - minLog10) /
N;
29 std::array<T, N + 1>
ret;
32 for (
size_t i = 1;
i <=
N; ++
i) {
39 using namespace tadqm;
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")),
253 std::string NAME[] = {
"",
"VsBX",
"VsLUMI",
"VsLUMI"};
263 for (
int i = 0;
i < monQuantity::END;
i++) {
268 mon += monQuantity::END;
280 const char* dets[] = {
"None",
"PXB",
"PXF",
"TIB",
"TID",
"TOB",
"TEC"};
286 const char* hit_category[] = {
"valid",
"missing",
"inactive",
"bad",
"total"};
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) {
294 snprintf(
title,
sizeof(
title),
"Hits%s_%s_%s_Subdet%d",
name.c_str(), hit_category[
cat], dets[det], sub_det);
307 LogDebug(
"TrackAnalyzer") <<
"Invalid hit category used " <<
cat <<
" ignored\n";
374 histname =
"NumberOfRecHitsPerTrack_";
380 histname =
"NumberOfValidRecHitsPerTrack_";
387 histname =
"NumberOfLostRecHitsPerTrack_";
393 histname =
"NumberOfMissingInnerRecHitsPerTrack_";
398 histname =
"NumberOfMissingOuterRecHitsPerTrack_";
403 histname =
"ValidFractionPerTrack_";
409 histname =
"NumberOfValidRecHitVsPhiVsEtaPerTrack_";
424 histname =
"NumberOfLostRecHitVsPhiVsEtaPerTrack_";
439 histname =
"NumberMIRecHitVsPhiVsEtaPerTrack_";
454 histname =
"NumberMORecHitVsPhiVsEtaPerTrack_";
469 histname =
"ValidFractionVsPhiVsEtaPerTrack_";
486 histname =
"NumberOfValidRecHitVsPtVsEtaPerTrack_";
488 histname + CategoryName,
histname + CategoryName,
Eta2DBin,
EtaMin,
EtaMax, Pt2DBin,
PtMin,
PtMax, 0, 40.,
"");
492 histname =
"NumberOfLostRecHitVsPtVsEtaPerTrack_";
494 histname + CategoryName,
histname + CategoryName,
Eta2DBin,
EtaMin,
EtaMax, Pt2DBin,
PtMin,
PtMax, 0, 5.,
"");
498 histname =
"NumberMIRecHitVsPtVsEtaPerTrack_";
500 histname + CategoryName,
histname + CategoryName,
Eta2DBin,
EtaMin,
EtaMax, Pt2DBin,
PtMin,
PtMax, 0, 15.,
"");
504 histname =
"NumberMORecHitVsPtVsEtaPerTrack_";
506 histname + CategoryName,
histname + CategoryName,
Eta2DBin,
EtaMin,
EtaMax, Pt2DBin,
PtMin,
PtMax, 0, 15.,
"");
511 histname =
"NumberOfValidRecHitsPerTrackVsPt_";
517 histname =
"NumberOfLostRecHitsPerTrackVsPt_";
523 histname =
"NumberMIRecHitsPerTrackVsPt_";
529 histname =
"NumberMORecHitsPerTrackVsPt_";
535 std::string layerTypeName[5] = {
"",
"Off",
"3D",
"Missing",
"Pixel"};
536 for (
int i = 0;
i < 4; ++
i) {
537 histname =
"NumberOf" + layerTypeName[
i] +
"LayersPerTrack_";
544 for (
int i = 0;
i < 5; ++
i) {
545 histname =
"NumberOf" + layerTypeName[
i] +
"LayersVsPhiVsEtaPerTrack_";
592 Chi2->setAxisTitle(
"Track #chi^{2}", 1);
593 Chi2->setAxisTitle(
"Number of Tracks", 2);
656 histname =
"xPointOfClosestApproach_";
661 histname =
"yPointOfClosestApproach_";
666 histname =
"zPointOfClosestApproach_";
671 histname =
"xPointOfClosestApproachToPV_";
677 histname =
"yPointOfClosestApproachToPV_";
683 histname =
"zPointOfClosestApproachToPV_";
718 histname + CategoryName,
histname + CategoryName, StopReasonNameSize, 0.,
double(StopReasonNameSize));
734 for (
size_t ibin = 0; ibin < StopReasonNameSize; ibin++) {
763 histname =
"NumberOfRecHitsPerTrack_lumiFlag_";
831 histname =
"DistanceOfClosestApproachError_";
837 histname =
"DistanceOfClosestApproachErrorVsPt_";
843 histname =
"DistanceOfClosestApproachErrorVsEta_";
849 histname =
"DistanceOfClosestApproachErrorVsPhi_";
855 histname =
"DistanceOfClosestApproachErrorVsDxy_";
861 histname =
"DistanceOfClosestApproachToBS_";
868 histname =
"DistanceOfClosestApproachToBSdz_";
874 histname =
"DistanceOfClosestApproachToBSVsEta_";
881 histname =
"AbsDistanceOfClosestApproachToBS_";
887 histname =
"DistanceOfClosestApproachToBSVsPhi_";
893 histname =
"xPointOfClosestApproachVsZ0wrt000_";
899 histname =
"yPointOfClosestApproachVsZ0wrt000_";
905 histname =
"xPointOfClosestApproachVsZ0wrtBS_";
911 histname =
"yPointOfClosestApproachVsZ0wrtBS_";
917 histname =
"zPointOfClosestApproachVsPhi_";
947 histname =
"DistanceOfClosestApproachToPV_";
953 histname =
"DistanceOfClosestApproachToPVZoom_";
969 histname =
"DistanceOfClosestApproachToPVVsPhi_";
975 histname =
"xPointOfClosestApproachVsZ0wrtPV_";
981 histname =
"yPointOfClosestApproachVsZ0wrtPV_";
998 histname =
"TESTDistanceOfClosestApproachToBS_";
1004 histname =
"TESTDistanceOfClosestApproachToBSVsPhi_";
1034 histname =
"DistanceOfClosestApproachVsTheta_";
1041 histname =
"DistanceOfClosestApproachVsEta_";
1048 histname =
"DistanceOfClosestApproach_";
1054 histname =
"DistanceOfClosestApproachVsPhi_";
1063 const double sipBins = 200;
1064 const double sipMin = -20;
1065 const double sipMax = 20;
1110 if (recoPrimaryVerticesHandle.
isValid())
1111 if (!recoPrimaryVerticesHandle->empty())
1112 for (
auto v : *recoPrimaryVerticesHandle)
1126 LumiScalersCollection::const_iterator scalit =
lumiScalers->begin();
1146 size_t numClusters = 0;
1151 DetId detid = pixCluDet->detId();
1152 size_t subdetid = detid.
subdetId();
1155 if (tTopo.
layer(detid) == 1)
1159 for (; pixClu != pixCluDet->
end(); ++pixClu) {
1173 auto phi =
track.phi();
1175 auto phiIn =
track.innerPosition().phi();
1176 auto etaIn =
track.innerPosition().eta();
1177 auto phiOut =
track.outerPosition().phi();
1178 auto etaOut =
track.outerPosition().eta();
1181 int nValidRecHits =
track.numberOfValidHits();
1182 int nLostRecHits =
track.numberOfLostHits();
1187 auto chi2prob = TMath::Prob(
track.chi2(), (
int)
track.ndof());
1188 auto chi2oNDF =
track.normalizedChi2();
1220 int nLayers[5] = {
track.hitPattern().trackerLayersWithMeasurement(),
1221 track.hitPattern().trackerLayersTotallyOffOrBad(),
1222 track.hitPattern().numberOfValidStripLayersWithMonoAndStereo() +
1223 track.hitPattern().pixelLayersWithMeasurement(),
1225 track.hitPattern().pixelLayersWithMeasurement()};
1228 for (
int i = 0;
i < 4; ++
i)
1233 for (
int i = 0;
i < 5; ++
i)
1275 double stop =
track.stopReason() >
max ? double(
max - 1) : static_cast<double>(
track.stopReason());
1326 if (recoPrimaryVerticesHandle.
isValid() && !recoPrimaryVerticesHandle->empty()) {
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();
1338 longDCAsig =
track.dz(
pv.position()) / zerr2;
1340 transDCAsig =
track.dxy(
pv.position()) / xyerr2;
1418 for (
int i = 0;
i < monQuantity::END;
i++) {
1423 mon += monQuantity::END;
1437 bool inactive =
hp.inactiveHitFilter(
pattern);
1439 hit_type =
valid ? 0 : (
missing ? 1 : (inactive ? 2 : 3));
1442 LogDebug(
"TrackAnalyzer") <<
"Invalid combination of detector and subdetector: ("
1444 <<
mon <<
"): ignoring it.\n";
1460 LogDebug(
"TrackAnalyzer") <<
"Invalid hit category used " << hit_type <<
" ignored\n";
1564 std::string histTag = (sname ==
"default") ? CategoryName : sname +
"_" + CategoryName;
1571 histname =
"Chi2oNDFVsTheta_" + histTag;
1577 histname =
"Chi2oNDFVsPhi_" + histTag;
1582 histname =
"Chi2ProbVsPhi_" + histTag;
1588 histname =
"Chi2ProbVsEta_" + histTag;
1598 histname =
"Chi2oNDFVsEta_" + histTag;
1603 histname =
"Chi2oNDFVsPt_" + histTag;
1609 histname =
"Chi2oNDFVsNHits_" + histTag;
1651 histname =
"TrackPtHighPurity_" + histTag;
1656 histname =
"TrackPtTight_" + histTag;
1661 histname =
"TrackPtLoose_" + histTag;
1671 for (
size_t ibin = 0; ibin < 3; ibin++) {
1675 histname =
"TrackPt_NegEta_Phi_btw_neg16_neg32_" + histTag;
1680 histname =
"TrackPt_NegEta_Phi_btw_0_neg16_" + histTag;
1685 histname =
"TrackPt_NegEta_Phi_btw_16_0_" + histTag;
1690 histname =
"TrackPt_NegEta_Phi_btw_32_16_" + histTag;
1695 histname =
"TrackPt_PosEta_Phi_btw_neg16_neg32_" + histTag;
1700 histname =
"TrackPt_PosEta_Phi_btw_0_neg16_" + histTag;
1705 histname =
"TrackPt_PosEta_Phi_btw_16_0_" + histTag;
1710 histname =
"TrackPt_PosEta_Phi_btw_32_16_" + histTag;
1715 histname =
"Ratio_byFolding_" + histTag;
1719 histname =
"Ratio_byFolding2_" + histTag;
1723 histname =
"TrackEtaHighpurity_" + histTag;
1728 histname =
"TrackEtaTight_" + histTag;
1733 histname =
"TrackEtaLoose_" + histTag;
1738 histname =
"TrackEtaPhiInverted_" + histTag;
1743 histname =
"TrackEtaPhiInvertedoutofphase_" + histTag;
1749 histname =
"TkEtaPhi_Ratio_byFoldingmap_" + histTag;
1755 histname =
"TkEtaPhi_Ratio_byFoldingmap_op_" + histTag;
1761 histname =
"TkEtaPhi_RelativeDifference_byFoldingmap_" + histTag;
1767 histname =
"TkEtaPhi_RelativeDifference_byFoldingmap_op_" + histTag;
1773 histname =
"TrackQoverP_" + histTag;
1779 histname =
"TrackEtaPhi_" + histTag;
1784 histname =
"TrackEtaPhiInner_" + histTag;
1789 histname =
"TrackEtaPhiOuter_" + histTag;
1795 histname =
"TrackTheta_" + histTag;
1805 histname =
"TrackPErrOverP_" + histTag;
1810 histname =
"TrackPtErrOverPt_" + histTag;
1815 histname =
"TrackPtErrOverPtVsEta_" + histTag;
1821 histname =
"TrackPxErrOverPx_" + histTag;
1826 histname =
"TrackPyErrOverPy_" + histTag;
1831 histname =
"TrackPzErrOverPz_" + histTag;
1836 histname =
"TrackPhiErr_" + histTag;
1841 histname =
"TrackEtaErr_" + histTag;
1848 histname =
"NumberOfRecHitsPerTrackVsPhi_" + histTag;
1855 histname =
"NumberOfRecHitsPerTrackVsTheta_" + histTag;
1861 histname =
"NumberOfRecHitsPerTrackVsEta_" + histTag;
1867 histname =
"NumberOfValidRecHitsPerTrackVsPhi_" + histTag;
1873 histname =
"NumberOfValidRecHitsPerTrackVsEta_" + histTag;
1879 histname =
"NumberOfValidRecHitsPerTrackVsPt_" + histTag;
1886 histname =
"NumberOfLayersPerTrackVsPhi_" + histTag;
1893 histname =
"NumberOfLayersPerTrackVsTheta_" + histTag;
1899 histname =
"NumberOfLayersPerTrackVsEta_" + histTag;
1906 histname =
"Chi2oNDFVsTheta_" + histTag;
1913 histname =
"Chi2oNDFVsPhi_" + histTag;
1918 histname =
"Chi2oNDFVsEta_" + histTag;
1923 histname =
"Chi2ProbVsPhi_" + histTag;
1929 histname =
"Chi2ProbVsEta_" + histTag;
1945 double pxerror, pyerror, pzerror, pterror, perror, phierror,
etaerror;
1949 auto phiIn =
track.innerPosition().phi();
1950 auto etaIn =
track.innerPosition().eta();
1951 auto phiOut =
track.outerPosition().phi();
1952 auto etaOut =
track.outerPosition().eta();
1954 if (sname ==
"default") {
1965 pterror = (
pt) ?
track.ptError() / (
pt *
pt) : 0.0;
1970 phierror =
track.phiError();
1979 if (sname ==
"OuterSurface")
1981 else if (sname ==
"InnerSurface")
1983 else if (sname ==
"ImpactPoint")
1998 double partialPterror =
2009 std::map<std::string, TkParameterMEs>::iterator iPos =
TkParameterMEMap.find(sname);
2039 for (
int ii = 1;
ii <= nx;
ii++) {
2040 for (
int jj = 1;
jj <= ny;
jj++) {
2049 if (Sum1 == 0 || Sum2 == 0) {
2053 double ratio1 = Sub1 / Sum1;
2054 double ratio2 = Sub2 / Sum2;
2063 if (
eta < 0. && phi < -1.6) {
2066 if (
eta < 0. && phi < 0 && phi >= -1.6) {
2069 if (
eta < 0. && phi < 1.6 && phi >= 0) {
2072 if (eta < 0. && phi >= 1.6) {
2075 if (
eta >= 0. && phi < -1.6) {
2078 if (
eta >= 0. && phi < 0 && phi >= -1.6) {
2081 if (
eta >= 0. && phi < 1.6 && phi >= 0) {
2084 if (
eta >= 0. && phi >= 1.6) {
2101 for (
int w = 1;
w < 8;
w++) {
2209 int nValidRecHits =
track.numberOfValidHits();
2220 int nLayers =
track.hitPattern().trackerLayersWithMeasurement();
2228 double chi2prob = TMath::Prob(
track.chi2(), (
int)
track.ndof());
2229 double chi2oNDF =
track.normalizedChi2();
2290 if (det ==
"PixBarrel")
2292 if (det ==
"PixEndcap")
2301 histname =
"NumberOfRecHitsPerTrack_" + det +
"_" + CategoryName;
2307 histname =
"NumberOfRecHitsPerTrackVsPhi_" + det +
"_" + CategoryName;
2314 histname =
"NumberOfRecHitsPerTrackVsEta_" + det +
"_" + CategoryName;
2321 histname =
"NumberOfRecHitsPerTrackVsPt_" + det +
"_" + CategoryName;
2328 histname =
"NumberOfLayersPerTrack_" + det +
"_" + CategoryName;
2334 histname =
"NumberOfLayersPerTrackVsPhi_" + det +
"_" + CategoryName;
2341 histname =
"NumberOfLayersPerTrackVsEta_" + det +
"_" + CategoryName;
2348 histname =
"NumberOfLayersPerTrackVsPt_" + det +
"_" + CategoryName;
2360 double phi =
track.phi();
2367 int nValidLayers = 0;
2368 int nValidRecHits = 0;
2369 int substr = it->second.detectorId;
2372 nValidLayers =
track.hitPattern().pixelBarrelLayersWithMeasurement() +
2373 track.hitPattern().pixelEndcapLayersWithMeasurement();
2374 nValidRecHits =
track.hitPattern().numberOfValidPixelBarrelHits() +
2375 track.hitPattern().numberOfValidPixelEndcapHits();
2378 nValidLayers =
track.hitPattern().stripTIBLayersWithMeasurement();
2379 nValidRecHits =
track.hitPattern().numberOfValidStripTIBHits();
2382 nValidLayers =
track.hitPattern().stripTIDLayersWithMeasurement();
2383 nValidRecHits =
track.hitPattern().numberOfValidStripTIDHits();
2386 nValidLayers =
track.hitPattern().stripTOBLayersWithMeasurement();
2387 nValidRecHits =
track.hitPattern().numberOfValidStripTOBHits();
2390 nValidLayers =
track.hitPattern().stripTECLayersWithMeasurement();
2391 nValidRecHits =
track.hitPattern().numberOfValidStripTECHits();
2394 nValidLayers =
track.hitPattern().pixelBarrelLayersWithMeasurement();
2395 nValidRecHits =
track.hitPattern().numberOfValidPixelBarrelHits();
2398 nValidLayers =
track.hitPattern().pixelEndcapLayersWithMeasurement();
2399 nValidRecHits =
track.hitPattern().numberOfValidPixelEndcapHits();
2402 nValidLayers =
track.hitPattern().stripTIBLayersWithMeasurement()
2403 +
track.hitPattern().stripTIDLayersWithMeasurement() +
2404 track.hitPattern().stripTOBLayersWithMeasurement() +
2405 track.hitPattern().stripTECLayersWithMeasurement();
2406 nValidRecHits =
track.hitPattern().numberOfValidStripTIBHits()
2407 +
track.hitPattern().numberOfValidStripTIDHits() +
2408 track.hitPattern().numberOfValidStripTOBHits() +
track.hitPattern().numberOfValidStripTECHits();
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);
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);
MonitorElement * DistanceOfClosestApproachErrorVsPt
ret
prodAgent to be discontinued
MonitorElement * xPointOfClosestApproachVsZ0wrtPV
MonitorElement * Chi2oNDFVsNHits
MonitorElement * NumberOfRecHitsPerTrackVsTheta
virtual void divide(const MonitorElement *, const MonitorElement *, double, double, const char *)
Replace entries with results of dividing num by denom.
MonitorElement * TrackPzErr
MonitorElement * NumberOfValidRecHitVsPhiVsEtaPerTrack
MonitorElement * Chi2oNDFVsPhi
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > transientTrackBuilderToken_
MonitorElement * TkEtaPhi_RelativeDifference_byFoldingmap
MonitorElement * yPointOfClosestApproachVsZ0wrt000
MonitorElement * DistanceOfClosestApproachToPVVsPhi
MonitorElement * TrackEtaPhiInvertedoutofphase
MonitorElement * NumberOfValidRecHitsPerTrack
MonitorElement * TkEtaPhi_Ratio_byFoldingmap_op
MonitorElement * TrackPtErr
MonitorElement * xPointOfClosestApproach
void fillHistosForEfficiencyFromHitPatter(const reco::Track &track, const std::string suffix, const float monitoring, bool useInac)
MonitorElement * stoppingSourceVSphi
MonitorElement * NhitVsPhi_HighPurity
MonitorElement * DistanceOfClosestApproachToBSdz
MonitorElement * xPointOfClosestApproachVsZ0wrtBS
MonitorElement * TrackPtTight
std::map< std::string, TkRecHitsPerSubDetMEs > TkRecHitsPerSubDetMEMap
MonitorElement * NumberOfRecHitsPerTrack_lumiFlag
MonitorElement * NumberOfMIRecHitsPerTrack
MonitorElement * TrackEtaPhiOuter
float minPixelClusterCharge_
MonitorElement * DistanceOfClosestApproachError
MonitorElement * sipDzToPV
MonitorElement * TkEtaPhi_Ratio_byFoldingmap
const CartesianTrajectoryError cartesianError() const
MonitorElement * Ptdist_HighPurity
MonitorElement * Chi2oNDFVsTheta
MonitorElement * Chi2Prob
bool doLayersVsPhiVsEtaPerTrack_
MonitorElement * NumberOfMORecHitsPerTrackVsPt
MonitorElement * TrackPt_PosEta_Phi_btw_32_16
MonitorElement * NumberOfValidRecHitsPerTrackVsEta
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopologyToken_
static constexpr double CM2_TO_NANOBARN
MonitorElement * TrackEtaPhi
MonitorElement * TrackEtaTight
MonitorElement * bookProfile2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, double lowZ, double highZ, char const *option="s", FUNC onbooking=NOOP())
Geom::Theta< T > theta() const
void initHisto(DQMStore::IBooker &ibooker, const edm::EventSetup &, const edm::ParameterSet &)
std::vector< Vertex > VertexCollection
collection of Vertex objects
static const std::string StopReasonName[]
MonitorElement * TrackEtaHighPurity
MonitorElement * TrackPtLoose
MonitorElement * NumberOfMORecHitVsPtVsEtaPerTrack
virtual double integral() const
get integral of bins
virtual void setCurrentFolder(std::string const &fullpath)
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
TrackCharge charge() const
void bookHistosForEfficiencyFromHitPatter(DQMStore::IBooker &ibooker, const edm::EventSetup &iSetup, const std::string suffix, bool useInac)
MonitorElement * Chi2oNDFVsTheta
MonitorElement * TrackPt_NegEta_Phi_btw_16_0
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
unsigned int layer(const DetId &id) const
MonitorElement * dNhitdPt_HighPurity
MonitorElement * TrackPhi
void bookHistosForState(std::string sname, DQMStore::IBooker &ibooker)
MonitorElement * Ratio_byFolding
const_iterator begin(bool update=false) const
MonitorElement * dNdEta_HighPurity
static constexpr double XSEC_PIXEL_CLUSTER
MonitorElement * TrackQoverP
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeometryToken_
MonitorElement * NumberOfLayersPerTrack[4]
MonitorElement * TrackPxErr
MonitorElement * TrackEta
MonitorElement * ValidFractionVsPhiVsEtaPerTrack
MonitorElement * TrackEtaPhiInverted
MonitorElement * dNdPt_HighPurity
MonitorElement * NumberOfLayersVsPhiVsEtaPerTrack[5]
MonitorElement * NumberOfMIRecHitsPerTrackVsPt
MonitorElement * NumberOfRecHitsPerTrackVsPhi
MonitorElement * NumberOfLayersPerTrackVsPhi
MonitorElement * Chi2ProbVsEta
MonitorElement * TkEtaPhi_RelativeDifference_byFoldingmap_op
void setLumi(const edm::Event &, const edm::EventSetup &iSetup)
MonitorElement * TrackPyErr
MonitorElement * NumberOfValidRecHitsPerTrackVsEta
MonitorElement * Chi2oNDFVsEta
MonitorElement * DistanceOfClosestApproachErrorVsDxy
MonitorElement * Chi2ProbVsPhi
Sin< T >::type sin(const T &t)
MonitorElement * Chi2ProbVsEta
MonitorElement * TrackEtaPhiInner
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_valid_
MonitorElement * DistanceOfClosestApproachToBSVsPhi
bool doRecHitVsPtVsEtaPerTrack_
MonitorElement * DistanceOfClosestApproachToBS
MonitorElement * NumberOfRecHitVsPhiVsEtaPerTrack
MonitorElement * xPointOfClosestApproachVsZ0wrt000
MonitorElement * yPointOfClosestApproachVsZ0wrtPV
MonitorElement * NumberOfValidRecHitsPerTrackVsPt
MonitorElement * NumberOfLayersPerTrackVsEta
MonitorElement * sipDzToBS
MonitorElement * NumberOfMORecHitVsPhiVsEtaPerTrack
MonitorElement * TrackPtHighPurity
DxyErrBin
it might need to be adjust if CMS asks to have lumi levelling at lower values
void setBX(const edm::Event &)
MonitorElement * DistanceOfClosestApproachToBSVsEta
std::array< T, N+1 > makeLogBins(const T &min, const T &max)
bool doEffFromHitPatternVsBX_
void bookHistosForBeamSpot(DQMStore::IBooker &ibooker)
MonitorElement * DistanceOfClosestApproach
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
MonitorElement * NumberOfRecHitsPerTrackVsEta
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
std::map< std::string, TkParameterMEs > TkParameterMEMap
MonitorElement * ValidFractionPerTrack
static constexpr double FREQ_ORBIT
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
MonitorElement * TrackTheta
Geom::Theta< T > theta() const
static constexpr auto TIB
MonitorElement * yPointOfClosestApproachVsZ0wrtBS
MonitorElement * NumberOfRecHitsPerTrackVsPhi
MonitorElement * NumberOfLayersPerTrackVsPhi
void bookHistosForTrackerSpecific(DQMStore::IBooker &ibooker)
MonitorElement * DeltaZToPV
MonitorElement * LongDCASig
MonitorElement * zPointOfClosestApproach
MonitorElement * NumberOfLostRecHitVsPhiVsEtaPerTrack
bool doRecHitVsPhiVsEtaPerTrack_
MonitorElement * NumberOfLayersPerTrackVsTheta
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_total_
MonitorElement * DistanceOfClosestApproachToPV
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
MonitorElement * DistanceOfClosestApproachToPVZoom
MonitorElement * TrackPhiErr
MonitorElement * TESTDistanceOfClosestApproachToBSVsPhi
static const unsigned int lastBunchCrossing
MonitorElement * NumberOfLostRecHitsPerTrackVsPt
MonitorElement * stoppingSource
bool doEffFromHitPatternVsPU_
MonitorElement * sip2dToPV
MonitorElement * NumberOfLayersPerTrack
virtual int getNbinsY() const
get # of bins in Y-axis
MonitorElement * yPointOfClosestApproach
MonitorElement * NumberOfLostRecHitsPerTrack
MonitorElement * NumberOfLayersPerTrackVsEta
MonitorElement * stoppingSourceVSeta
MonitorElement * sipDxyToPV
std::vector< LumiScalers > LumiScalersCollection
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
MonitorElement * TransDCASig
MonitorElement * NumberOfLostRecHitVsPtVsEtaPerTrack
TrajectoryStateOnSurface impactPointState() const
MonitorElement * DeltaZToPVZoom
bool doGeneralPropertiesPlots_
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
MonitorElement * AbsDistanceOfClosestApproachToBS
MonitorElement * yPointOfClosestApproachToPV
MonitorElement * TrackPt_PosEta_Phi_btw_16_0
MonitorElement * Chi2oNDF
MonitorElement * NumberOfMIRecHitVsPhiVsEtaPerTrack
MonitorElement * TESTDistanceOfClosestApproachToBS
MonitorElement * NumberOfRecHitsPerTrackVsPhi
void bookHistosForHitProperties(DQMStore::IBooker &ibooker)
MonitorElement * sipDxyToBS
TrajectoryStateOnSurface outermostMeasurementState() const
static constexpr double rXSEC_PIXEL_CLUSTER
MonitorElement * zPointOfClosestApproachVsPhi
MonitorElement * Chi2oNDFVsEta
MonitorElement * NumberOfValidRecHitsPerTrackVsPt
edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
std::string qualityString_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
const AlgebraicSymMatrix66 & matrix() const
MonitorElement * TrackEtaLoose
MonitorElement * NumberOfValidRecHitsPerTrackVsPhi
bool getData(T &iHolder) const
MonitorElement * Chi2oNDFVsPhi
void bookHistosForLScertification(DQMStore::IBooker &ibooker)
static TrackQuality qualityByName(const std::string &name)
T getParameter(std::string const &) const
unsigned int good_vertices_
MonitorElement * TrackPtErrVsEta
MonitorElement * NumberOfValidRecHitVsPtVsEtaPerTrack
static const std::string qualityNames[]
GlobalVector globalMomentum() const
MonitorElement * TrackEtaErr
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
static constexpr double SECONDS_PER_LS
MonitorElement * NumberOfRecHitsPerTrackVsEta
float lumi_factor_per_bx_
void fillHistosForTrackerSpecific(const reco::Track &track)
static constexpr auto TEC
MonitorElement * TrackPt_NegEta_Phi_btw_neg16_neg32
MonitorElement * NumberOfValidRecHitsPerTrackVsPhi
edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
const_iterator end(bool update=false) const
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
void fillHistosForState(const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
virtual int getNbinsX() const
get # of bins in X-axis
const CurvilinearTrajectoryError & curvilinearError() const
MonitorElement * NhitVsEta_HighPurity
std::string monName[monQuantity::END]
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
static constexpr auto TOB
MonitorElement * DistanceOfClosestApproachErrorVsPhi
MonitorElement * NumberOfMORecHitsPerTrack
float instLumi() const
Return the luminosity for the current nibble.
MonitorElement * dNdPhi_HighPurity
void setNumberOfGoodVertices(const edm::Event &)
MonitorElement * NumberOfRecHitsPerTrackVsEta
MonitorElement * algorithm
bool doHitPropertiesPlots_
MonitorElement * TrackPt_PosEta_Phi_btw_neg16_neg32
reco::TransientTrack build(const reco::Track *p) const
Power< A, B >::type pow(const A &a, const B &b)
MonitorElement * Chi2oNDF_lumiFlag
MonitorElement * NumberOfMIRecHitVsPtVsEtaPerTrack
TransDCABins
FOR HI PLOTS#####################.
MonitorElement * TrackPt_NegEta_Phi_btw_0_neg16
MonitorElement * Chi2ProbVsPhi
Abs< T >::type abs(const T &t)
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::Track &track)
int minNumberOfPixelsPerCluster_
edm::ParameterSet const * conf_
MonitorElement * zPointOfClosestApproachToPV
MonitorElement * sip3dToPV
MonitorElement * DistanceOfClosestApproachVsTheta
edm::EDGetTokenT< reco::VertexCollection > pvToken_
MonitorElement * DistanceOfClosestApproachVsPhi
MonitorElement * NumberOfRecHitsPerTrack
MonitorElement * Chi2oNDFVsPt
MonitorElement * NumberOfLayersPerTrackVsPt
TrackAnalyzer(const edm::ParameterSet &)
MonitorElement * DistanceOfClosestApproachVsEta
static const std::string algoNames[]
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
virtual double getBinContent(int binx) const
get content of bin (1-D)
TrajectoryStateOnSurface TSOS
Geom::Phi< T > phi() const
Class to contain the online luminosity from soft FED 1022.
const AlgebraicSymMatrix55 & matrix() const
static constexpr auto TID
MonitorElement * TrackPt_PosEta_Phi_btw_0_neg16
MonitorElement * DistanceOfClosestApproachErrorVsEta
MonitorElement * TrackPt_NegEta_Phi_btw_32_16
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
bool doEffFromHitPatternVsLUMI_
MonitorElement * TrackPErr
MonitorElement * Ratio_byFolding2
MonitorElement * NumberOfRecHitsPerTrack
MonitorElement * NumberOfRecHitsPerTrackVsTheta
TrajectoryStateOnSurface innermostMeasurementState() const
bool doMeasurementStatePlots_
MonitorElement * NumberOfRecHitsPerTrackVsPt
const data_type * const_iterator
MonitorElement * xPointOfClosestApproachToPV