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;
1109 if (recoPrimaryVerticesHandle.
isValid())
1110 if (!recoPrimaryVerticesHandle->empty())
1111 for (
const auto&
v : *recoPrimaryVerticesHandle)
1124 LumiScalersCollection::const_iterator scalit =
lumiScalers->begin();
1142 size_t numClusters = 0;
1146 DetId detid = pixCluDet->detId();
1147 size_t subdetid = detid.
subdetId();
1150 if (tTopo.
layer(detid) == 1)
1154 for (; pixClu != pixCluDet->
end(); ++pixClu) {
1167 auto phi =
track.phi();
1169 auto phiIn =
track.innerPosition().phi();
1170 auto etaIn =
track.innerPosition().eta();
1171 auto phiOut =
track.outerPosition().phi();
1172 auto etaOut =
track.outerPosition().eta();
1175 int nValidRecHits =
track.numberOfValidHits();
1176 int nLostRecHits =
track.numberOfLostHits();
1181 auto chi2prob = TMath::Prob(
track.chi2(), (
int)
track.ndof());
1182 auto chi2oNDF =
track.normalizedChi2();
1214 int nLayers[5] = {
track.hitPattern().trackerLayersWithMeasurement(),
1215 track.hitPattern().trackerLayersTotallyOffOrBad(),
1216 track.hitPattern().numberOfValidStripLayersWithMonoAndStereo() +
1217 track.hitPattern().pixelLayersWithMeasurement(),
1219 track.hitPattern().pixelLayersWithMeasurement()};
1222 for (
int i = 0;
i < 4; ++
i)
1227 for (
int i = 0;
i < 5; ++
i)
1269 double stop =
track.stopReason() >
max ? double(
max - 1) :
static_cast<double>(
track.stopReason());
1318 if (recoPrimaryVerticesHandle.
isValid() && !recoPrimaryVerticesHandle->empty()) {
1326 double longDCAsig = 0, transDCAsig = 0;
1327 double zerr2 =
track.dzError() *
track.dzError() +
pv.zError() *
pv.zError();
1328 double xyerr2 =
track.d0Error() *
track.d0Error() +
pv.xError() *
pv.yError();
1330 longDCAsig =
track.dz(
pv.position()) / zerr2;
1332 transDCAsig =
track.dxy(
pv.position()) / xyerr2;
1410 for (
int i = 0;
i < monQuantity::END;
i++) {
1415 mon += monQuantity::END;
1429 bool inactive =
hp.inactiveHitFilter(
pattern);
1431 hit_type =
valid ? 0 : (
missing ? 1 : (inactive ? 2 : 3));
1434 LogDebug(
"TrackAnalyzer") <<
"Invalid combination of detector and subdetector: (" 1436 <<
mon <<
"): ignoring it.\n";
1452 LogDebug(
"TrackAnalyzer") <<
"Invalid hit category used " << hit_type <<
" ignored\n";
1556 std::string histTag = (sname ==
"default") ? CategoryName : sname +
"_" + CategoryName;
1563 histname =
"Chi2oNDFVsTheta_" + histTag;
1569 histname =
"Chi2oNDFVsPhi_" + histTag;
1574 histname =
"Chi2ProbVsPhi_" + histTag;
1580 histname =
"Chi2ProbVsEta_" + histTag;
1590 histname =
"Chi2oNDFVsEta_" + histTag;
1595 histname =
"Chi2oNDFVsPt_" + histTag;
1601 histname =
"Chi2oNDFVsNHits_" + histTag;
1643 histname =
"TrackPtHighPurity_" + histTag;
1648 histname =
"TrackPtTight_" + histTag;
1653 histname =
"TrackPtLoose_" + histTag;
1663 for (
size_t ibin = 0; ibin < 3; ibin++) {
1667 histname =
"TrackPt_NegEta_Phi_btw_neg16_neg32_" + histTag;
1672 histname =
"TrackPt_NegEta_Phi_btw_0_neg16_" + histTag;
1677 histname =
"TrackPt_NegEta_Phi_btw_16_0_" + histTag;
1682 histname =
"TrackPt_NegEta_Phi_btw_32_16_" + histTag;
1687 histname =
"TrackPt_PosEta_Phi_btw_neg16_neg32_" + histTag;
1692 histname =
"TrackPt_PosEta_Phi_btw_0_neg16_" + histTag;
1697 histname =
"TrackPt_PosEta_Phi_btw_16_0_" + histTag;
1702 histname =
"TrackPt_PosEta_Phi_btw_32_16_" + histTag;
1707 histname =
"Ratio_byFolding_" + histTag;
1711 histname =
"Ratio_byFolding2_" + histTag;
1715 histname =
"TrackEtaHighpurity_" + histTag;
1720 histname =
"TrackEtaTight_" + histTag;
1725 histname =
"TrackEtaLoose_" + histTag;
1730 histname =
"TrackEtaPhiInverted_" + histTag;
1735 histname =
"TrackEtaPhiInvertedoutofphase_" + histTag;
1741 histname =
"TrackQoverP_" + histTag;
1747 histname =
"TrackEtaPhi_" + histTag;
1752 histname =
"TrackEtaPhiInner_" + histTag;
1757 histname =
"TrackEtaPhiOuter_" + histTag;
1763 histname =
"TrackTheta_" + histTag;
1773 histname =
"TrackPErrOverP_" + histTag;
1778 histname =
"TrackPtErrOverPt_" + histTag;
1783 histname =
"TrackPtErrOverPtVsEta_" + histTag;
1789 histname =
"TrackPxErrOverPx_" + histTag;
1794 histname =
"TrackPyErrOverPy_" + histTag;
1799 histname =
"TrackPzErrOverPz_" + histTag;
1804 histname =
"TrackPhiErr_" + histTag;
1809 histname =
"TrackEtaErr_" + histTag;
1816 histname =
"NumberOfRecHitsPerTrackVsPhi_" + histTag;
1823 histname =
"NumberOfRecHitsPerTrackVsTheta_" + histTag;
1829 histname =
"NumberOfRecHitsPerTrackVsEta_" + histTag;
1835 histname =
"NumberOfValidRecHitsPerTrackVsPhi_" + histTag;
1841 histname =
"NumberOfValidRecHitsPerTrackVsEta_" + histTag;
1847 histname =
"NumberOfValidRecHitsPerTrackVsPt_" + histTag;
1854 histname =
"NumberOfLayersPerTrackVsPhi_" + histTag;
1861 histname =
"NumberOfLayersPerTrackVsTheta_" + histTag;
1867 histname =
"NumberOfLayersPerTrackVsEta_" + histTag;
1874 histname =
"Chi2oNDFVsTheta_" + histTag;
1881 histname =
"Chi2oNDFVsPhi_" + histTag;
1886 histname =
"Chi2oNDFVsEta_" + histTag;
1891 histname =
"Chi2ProbVsPhi_" + histTag;
1897 histname =
"Chi2ProbVsEta_" + histTag;
1913 double pxerror, pyerror, pzerror,
pterror, perror, phierror,
etaerror;
1917 auto phiIn =
track.innerPosition().phi();
1918 auto etaIn =
track.innerPosition().eta();
1919 auto phiOut =
track.outerPosition().phi();
1920 auto etaOut =
track.outerPosition().eta();
1922 if (sname ==
"default") {
1938 phierror =
track.phiError();
1947 if (sname ==
"OuterSurface")
1949 else if (sname ==
"InnerSurface")
1951 else if (sname ==
"ImpactPoint")
1966 double partialPterror =
1977 std::map<std::string, TkParameterMEs>::iterator iPos =
TkParameterMEMap.find(sname);
2001 if (
eta < 0. && phi < -1.6) {
2004 if (
eta < 0. && phi < 0 && phi >= -1.6) {
2007 if (
eta < 0. && phi < 1.6 && phi >= 0) {
2010 if (eta < 0. && phi >= 1.6) {
2013 if (
eta >= 0. && phi < -1.6) {
2016 if (
eta >= 0. && phi < 0 && phi >= -1.6) {
2019 if (
eta >= 0. && phi < 1.6 && phi >= 0) {
2022 if (
eta >= 0. && phi >= 1.6) {
2039 for (
int w = 1;
w < 8;
w++) {
2147 int nValidRecHits =
track.numberOfValidHits();
2158 int nLayers =
track.hitPattern().trackerLayersWithMeasurement();
2166 double chi2prob = TMath::Prob(
track.chi2(), (
int)
track.ndof());
2167 double chi2oNDF =
track.normalizedChi2();
2228 if (det ==
"PixBarrel")
2230 if (det ==
"PixEndcap")
2239 histname =
"NumberOfRecHitsPerTrack_" + det +
"_" + CategoryName;
2245 histname =
"NumberOfRecHitsPerTrackVsPhi_" + det +
"_" + CategoryName;
2252 histname =
"NumberOfRecHitsPerTrackVsEta_" + det +
"_" + CategoryName;
2259 histname =
"NumberOfRecHitsPerTrackVsPt_" + det +
"_" + CategoryName;
2266 histname =
"NumberOfLayersPerTrack_" + det +
"_" + CategoryName;
2272 histname =
"NumberOfLayersPerTrackVsPhi_" + det +
"_" + CategoryName;
2279 histname =
"NumberOfLayersPerTrackVsEta_" + det +
"_" + CategoryName;
2286 histname =
"NumberOfLayersPerTrackVsPt_" + det +
"_" + CategoryName;
2298 double phi =
track.phi();
2305 int nValidLayers = 0;
2306 int nValidRecHits = 0;
2307 int substr = it->second.detectorId;
2310 nValidLayers =
track.hitPattern().pixelBarrelLayersWithMeasurement() +
2311 track.hitPattern().pixelEndcapLayersWithMeasurement();
2312 nValidRecHits =
track.hitPattern().numberOfValidPixelBarrelHits() +
2313 track.hitPattern().numberOfValidPixelEndcapHits();
2316 nValidLayers =
track.hitPattern().stripTIBLayersWithMeasurement();
2317 nValidRecHits =
track.hitPattern().numberOfValidStripTIBHits();
2320 nValidLayers =
track.hitPattern().stripTIDLayersWithMeasurement();
2321 nValidRecHits =
track.hitPattern().numberOfValidStripTIDHits();
2324 nValidLayers =
track.hitPattern().stripTOBLayersWithMeasurement();
2325 nValidRecHits =
track.hitPattern().numberOfValidStripTOBHits();
2328 nValidLayers =
track.hitPattern().stripTECLayersWithMeasurement();
2329 nValidRecHits =
track.hitPattern().numberOfValidStripTECHits();
2332 nValidLayers =
track.hitPattern().pixelBarrelLayersWithMeasurement();
2333 nValidRecHits =
track.hitPattern().numberOfValidPixelBarrelHits();
2336 nValidLayers =
track.hitPattern().pixelEndcapLayersWithMeasurement();
2337 nValidRecHits =
track.hitPattern().numberOfValidPixelEndcapHits();
2340 nValidLayers =
track.hitPattern().stripTIBLayersWithMeasurement()
2341 +
track.hitPattern().stripTIDLayersWithMeasurement() +
2342 track.hitPattern().stripTOBLayersWithMeasurement() +
2343 track.hitPattern().stripTECLayersWithMeasurement();
2344 nValidRecHits =
track.hitPattern().numberOfValidStripTIBHits()
2345 +
track.hitPattern().numberOfValidStripTIDHits() +
2346 track.hitPattern().numberOfValidStripTOBHits() +
track.hitPattern().numberOfValidStripTECHits();
2353 it->second.NumberOfRecHitsPerTrack->Fill(nValidRecHits);
2354 it->second.NumberOfRecHitsPerTrackVsPhi->Fill(phi, nValidRecHits);
2355 it->second.NumberOfRecHitsPerTrackVsEta->Fill(
eta, nValidRecHits);
2356 it->second.NumberOfRecHitsPerTrackVsPt->Fill(
pt, nValidRecHits);
2358 it->second.NumberOfLayersPerTrack->Fill(nValidLayers);
2359 it->second.NumberOfLayersPerTrackVsPhi->Fill(phi, nValidLayers);
2360 it->second.NumberOfLayersPerTrackVsEta->Fill(
eta, nValidLayers);
2361 it->second.NumberOfLayersPerTrackVsPt->Fill(
pt, nValidLayers);
MonitorElement * dNdPhi_HighPurity
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
MonitorElement * NumberOfValidRecHitsPerTrackVsPt
static constexpr auto TEC
T getParameter(std::string const &) const
MonitorElement * TrackPtTight
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())
std::string monName[monQuantity::END]
MonitorElement * NumberOfRecHitsPerTrackVsPhi
MonitorElement * NumberOfLayersPerTrack[4]
MonitorElement * TrackQoverP
MonitorElement * ValidFractionVsPhiVsEtaPerTrack
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
MonitorElement * TrackEtaHighPurity
MonitorElement * LongDCASig
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_total_
MonitorElement * NumberOfRecHitsPerTrackVsEta
MonitorElement * algorithm
MonitorElement * TrackPt_NegEta_Phi_btw_32_16
MonitorElement * sipDxyToPV
MonitorElement * TrackEtaPhiInverted
virtual void setCurrentFolder(std::string const &fullpath)
bool doEffFromHitPatternVsLUMI_
virtual double integral() const
get integral of bins
MonitorElement * TrackPyErr
MonitorElement * TrackPErr
unsigned int numberOfLayers(int subdet) const
MonitorElement * Chi2ProbVsEta
MonitorElement * DistanceOfClosestApproach
MonitorElement * Ratio_byFolding
MonitorElement * Chi2oNDFVsTheta
std::string qualityString_
ret
prodAgent to be discontinued
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
Geom::Phi< T > phi() const
MonitorElement * TrackPzErr
bool doEffFromHitPatternVsPU_
MonitorElement * stoppingSource
MonitorElement * NumberOfLostRecHitsPerTrackVsPt
MonitorElement * NumberOfLayersPerTrack
Sin< T >::type sin(const T &t)
MonitorElement * TrackPtErr
MonitorElement * TrackEtaPhiInner
MonitorElement * TrackEta
DxyErrBin
it might need to be adjust if CMS asks to have lumi levelling at lower values
Class to contain the online luminosity from soft FED 1022.
void bookHistosForTrackerSpecific(DQMStore::IBooker &ibooker)
void bookHistosForHitProperties(DQMStore::IBooker &ibooker)
bool doRecHitVsPhiVsEtaPerTrack_
MonitorElement * TrackPtLoose
void setBX(const edm::Event &)
MonitorElement * DistanceOfClosestApproachToBSdz
MonitorElement * NumberOfMORecHitVsPhiVsEtaPerTrack
std::vector< Vertex > VertexCollection
collection of Vertex objects
MonitorElement * DistanceOfClosestApproachError
MonitorElement * Chi2oNDFVsPhi
MonitorElement * NumberOfLayersPerTrackVsPhi
int minNumberOfPixelsPerCluster_
MonitorElement * DeltaZToPVZoom
data_type const * const_iterator
MonitorElement * xPointOfClosestApproachVsZ0wrtPV
static const std::string StopReasonName[]
float instLumi() const
Return the luminosity for the current nibble.
MonitorElement * sip2dToPV
MonitorElement * TrackEtaTight
MonitorElement * Chi2oNDF
TrackAnalyzer(const edm::ParameterSet &)
MonitorElement * TrackPxErr
MonitorElement * DeltaZToPV
MonitorElement * NumberOfLostRecHitsPerTrack
float lumi_factor_per_bx_
bool doHitPropertiesPlots_
MonitorElement * yPointOfClosestApproach
MonitorElement * sipDxyToBS
void initHisto(DQMStore::IBooker &ibooker, const edm::EventSetup &, const edm::ParameterSet &)
MonitorElement * xPointOfClosestApproach
static constexpr double FREQ_ORBIT
MonitorElement * DistanceOfClosestApproachErrorVsEta
edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
MonitorElement * TrackEtaPhi
static std::string to_string(const XMLCh *ch)
const CartesianTrajectoryError cartesianError() const
unsigned int layer(const DetId &id) const
MonitorElement * TrackPt_NegEta_Phi_btw_16_0
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::Track &track)
const_iterator end(bool update=false) const
MonitorElement * NumberOfLayersPerTrackVsEta
MonitorElement * TransDCASig
MonitorElement * TrackPhiErr
void bookHistosForEfficiencyFromHitPatter(DQMStore::IBooker &ibooker, const edm::EventSetup &iSetup, const std::string suffix, bool useInac)
MonitorElement * DistanceOfClosestApproachVsPhi
reco::TransientTrack build(const reco::Track *p) const
MonitorElement * Chi2oNDFVsTheta
MonitorElement * TrackTheta
MonitorElement * TrackPhi
static const unsigned int lastBunchCrossing
MonitorElement * NumberOfMIRecHitVsPhiVsEtaPerTrack
MonitorElement * DistanceOfClosestApproachToPVVsPhi
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeometryToken_
MonitorElement * stoppingSourceVSeta
MonitorElement * dNdPt_HighPurity
edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
MonitorElement * Chi2oNDF_lumiFlag
MonitorElement * stoppingSourceVSphi
MonitorElement * NumberOfValidRecHitsPerTrackVsEta
static constexpr double SECONDS_PER_LS
static const std::string qualityNames[]
MonitorElement * NumberOfLayersPerTrackVsTheta
MonitorElement * DistanceOfClosestApproachErrorVsPt
MonitorElement * sip3dToPV
void fillHistosForState(const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
TrajectoryStateOnSurface outermostMeasurementState() const
MonitorElement * xPointOfClosestApproachToPV
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())
MonitorElement * NumberOfMORecHitsPerTrack
bool doGeneralPropertiesPlots_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * Chi2Prob
MonitorElement * dNhitdPt_HighPurity
unsigned int good_vertices_
MonitorElement * NumberOfValidRecHitVsPhiVsEtaPerTrack
MonitorElement * NumberOfRecHitsPerTrackVsPt
MonitorElement * Chi2ProbVsEta
MonitorElement * TrackPt_PosEta_Phi_btw_16_0
MonitorElement * NumberOfLayersPerTrackVsPhi
void fillHistosForTrackerSpecific(const reco::Track &track)
bool doRecHitVsPtVsEtaPerTrack_
Abs< T >::type abs(const T &t)
MonitorElement * yPointOfClosestApproachVsZ0wrtPV
bool doMeasurementStatePlots_
MonitorElement * zPointOfClosestApproachToPV
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
MonitorElement * NumberOfRecHitsPerTrackVsPhi
TrajectoryStateOnSurface innermostMeasurementState() const
TrackCharge charge() const
MonitorElement * NhitVsEta_HighPurity
MonitorElement * DistanceOfClosestApproachVsTheta
MonitorElement * TrackPtHighPurity
static constexpr auto TOB
MonitorElement * Chi2ProbVsPhi
MonitorElement * TrackEtaErr
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)
std::map< std::string, TkParameterMEs > TkParameterMEMap
MonitorElement * NumberOfLayersVsPhiVsEtaPerTrack[5]
MonitorElement * NumberOfRecHitsPerTrackVsPhi
MonitorElement * NumberOfMIRecHitVsPtVsEtaPerTrack
MonitorElement * zPointOfClosestApproach
edm::ParameterSet const * conf_
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
MonitorElement * sipDzToPV
MonitorElement * sipDzToBS
float minPixelClusterCharge_
MonitorElement * NumberOfValidRecHitsPerTrackVsPhi
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
TrajectoryStateOnSurface TSOS
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > transientTrackBuilderToken_
void bookHistosForState(std::string sname, DQMStore::IBooker &ibooker)
MonitorElement * DistanceOfClosestApproachErrorVsPhi
void setLumi(const edm::Event &, const edm::EventSetup &iSetup)
void bookHistosForBeamSpot(DQMStore::IBooker &ibooker)
static TrackQuality qualityByName(const std::string &name)
static constexpr auto TIB
const_iterator begin(bool update=false) const
MonitorElement * DistanceOfClosestApproachVsEta
MonitorElement * TrackPtErrVsEta
MonitorElement * NumberOfLayersPerTrackVsEta
void setNumberOfGoodVertices(const edm::Event &)
const CurvilinearTrajectoryError & curvilinearError() const
MonitorElement * TESTDistanceOfClosestApproachToBSVsPhi
MonitorElement * DistanceOfClosestApproachToBS
MonitorElement * NumberOfValidRecHitsPerTrackVsEta
const AlgebraicSymMatrix55 & matrix() const
MonitorElement * NumberOfMIRecHitsPerTrackVsPt
MonitorElement * NhitVsPhi_HighPurity
std::array< T, N+1 > makeLogBins(const T &min, const T &max)
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * NumberOfRecHitsPerTrack
MonitorElement * xPointOfClosestApproachVsZ0wrtBS
MonitorElement * NumberOfRecHitsPerTrack_lumiFlag
GlobalVector globalMomentum() const
edm::EDGetTokenT< reco::VertexCollection > pvToken_
MonitorElement * Ptdist_HighPurity
static const std::string algoNames[]
MonitorElement * DistanceOfClosestApproachToPVZoom
MonitorElement * DistanceOfClosestApproachToBSVsEta
MonitorElement * DistanceOfClosestApproachErrorVsDxy
MonitorElement * NumberOfValidRecHitsPerTrack
static constexpr double rXSEC_PIXEL_CLUSTER
void fillHistosForEfficiencyFromHitPatter(const reco::Track &track, const std::string suffix, const float monitoring, bool useInac)
MonitorElement * AbsDistanceOfClosestApproachToBS
MonitorElement * yPointOfClosestApproachVsZ0wrtBS
TransDCABins
FOR HI PLOTS#####################.
MonitorElement * TESTDistanceOfClosestApproachToBS
MonitorElement * yPointOfClosestApproachToPV
MonitorElement * NumberOfRecHitsPerTrack
static constexpr double CM2_TO_NANOBARN
MonitorElement * NumberOfRecHitsPerTrackVsTheta
MonitorElement * TrackPt_NegEta_Phi_btw_neg16_neg32
const AlgebraicSymMatrix66 & matrix() const
MonitorElement * NumberOfValidRecHitsPerTrackVsPt
MonitorElement * Chi2ProbVsPhi
MonitorElement * NumberOfLostRecHitVsPtVsEtaPerTrack
MonitorElement * Chi2oNDFVsEta
virtual int getNbinsX() const
get # of bins in X-axis
std::vector< LumiScalers > LumiScalersCollection
bool doLayersVsPhiVsEtaPerTrack_
bool doEffFromHitPatternVsBX_
MonitorElement * NumberOfLayersPerTrackVsPt
MonitorElement * TrackEtaLoose
MonitorElement * yPointOfClosestApproachVsZ0wrt000
MonitorElement * Chi2oNDFVsPhi
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_valid_
MonitorElement * NumberOfRecHitsPerTrackVsEta
MonitorElement * NumberOfMORecHitsPerTrackVsPt
MonitorElement * dNdEta_HighPurity
MonitorElement * NumberOfValidRecHitVsPtVsEtaPerTrack
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * xPointOfClosestApproachVsZ0wrt000
MonitorElement * Ratio_byFolding2
std::map< std::string, TkRecHitsPerSubDetMEs > TkRecHitsPerSubDetMEMap
MonitorElement * TrackPt_PosEta_Phi_btw_neg16_neg32
MonitorElement * TrackEtaPhiInvertedoutofphase
MonitorElement * NumberOfMIRecHitsPerTrack
static constexpr double XSEC_PIXEL_CLUSTER
MonitorElement * TrackEtaPhiOuter
MonitorElement * NumberOfValidRecHitsPerTrackVsPhi
MonitorElement * zPointOfClosestApproachVsPhi
MonitorElement * TrackPt_NegEta_Phi_btw_0_neg16
static constexpr auto TID
Geom::Theta< T > theta() const
MonitorElement * NumberOfLostRecHitVsPhiVsEtaPerTrack
MonitorElement * NumberOfMORecHitVsPtVsEtaPerTrack
MonitorElement * DistanceOfClosestApproachToPV
MonitorElement * Chi2oNDFVsNHits
MonitorElement * Chi2oNDFVsEta
MonitorElement * NumberOfRecHitsPerTrackVsTheta
TrajectoryStateOnSurface impactPointState() const
virtual void divide(const MonitorElement *, const MonitorElement *, double, double, const char *)
Replace entries with results of dividing num by denom.
MonitorElement * DistanceOfClosestApproachToBSVsPhi
Geom::Theta< T > theta() const
MonitorElement * NumberOfRecHitVsPhiVsEtaPerTrack
MonitorElement * Chi2oNDFVsPt
MonitorElement * NumberOfRecHitsPerTrackVsEta
MonitorElement * ValidFractionPerTrack
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopologyToken_
void bookHistosForLScertification(DQMStore::IBooker &ibooker)
MonitorElement * TrackPt_PosEta_Phi_btw_0_neg16
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * TrackPt_PosEta_Phi_btw_32_16