26 , doTrackerSpecific_ ( conf_.getParameter<bool>(
"doTrackerSpecific") )
27 , doAllPlots_ ( conf_.getParameter<bool>(
"doAllPlots") )
28 , doBSPlots_ ( conf_.getParameter<bool>(
"doBeamSpotPlots") )
29 , doPVPlots_ ( conf_.getParameter<bool>(
"doPrimaryVertexPlots") )
30 , doDCAPlots_ ( conf_.getParameter<bool>(
"doDCAPlots") )
31 , doGeneralPropertiesPlots_ ( conf_.getParameter<bool>(
"doGeneralPropertiesPlots") )
32 , doMeasurementStatePlots_ ( conf_.getParameter<bool>(
"doMeasurementStatePlots") )
33 , doHitPropertiesPlots_ ( conf_.getParameter<bool>(
"doHitPropertiesPlots") )
34 , doRecHitVsPhiVsEtaPerTrack_ ( conf_.getParameter<bool>(
"doRecHitVsPhiVsEtaPerTrack") )
35 , doRecHitVsPtVsEtaPerTrack_ ( conf_.getParameter<bool>(
"doRecHitVsPtVsEtaPerTrack") )
36 , doLayersVsPhiVsEtaPerTrack_ ( conf_.getParameter<bool>(
"doLayersVsPhiVsEtaPerTrack") )
37 , doRecHitsPerTrackProfile_ ( conf_.getParameter<bool>(
"doRecHitsPerTrackProfile") )
38 , doThetaPlots_ ( conf_.getParameter<bool>(
"doThetaPlots") )
39 , doTrackPxPyPlots_ ( conf_.getParameter<bool>(
"doTrackPxPyPlots") )
40 , doDCAwrtPVPlots_ ( conf_.getParameter<bool>(
"doDCAwrtPVPlots") )
41 , doDCAwrt000Plots_ ( conf_.getParameter<bool>(
"doDCAwrt000Plots") )
42 , doLumiAnalysis_ ( conf_.getParameter<bool>(
"doLumiAnalysis") )
43 , doTestPlots_ ( conf_.getParameter<bool>(
"doTestPlots") )
44 , doHIPlots_ ( conf_.getParameter<bool>(
"doHIPlots") )
45 , doSIPPlots_ ( conf_.getParameter<bool>(
"doSIPPlots") )
46 , doEffFromHitPatternVsPU_ ( conf_.getParameter<bool>(
"doEffFromHitPatternVsPU") )
47 , doEffFromHitPatternVsBX_ ( conf_.getParameter<bool>(
"doEffFromHitPatternVsBX") )
48 , doEffFromHitPatternVsLUMI_ ( conf_.getParameter<bool>(
"doEffFromHitPatternVsLUMI") )
49 , pvNDOF_ ( conf_.getParameter<
int> (
"pvNDOF") )
50 , useBPixLayer1_ ( conf_.getParameter<bool>(
"useBPixLayer1") )
51 , minNumberOfPixelsPerCluster_ ( conf_.getParameter<
int>(
"minNumberOfPixelsPerCluster") )
52 , minPixelClusterCharge_ ( conf_.getParameter<double>(
"minPixelClusterCharge") )
53 , qualityString_ ( conf_.getParameter<
std::
string>(
"qualityString"))
184 if (StateName ==
"All") {
189 StateName !=
"OuterSurface" &&
190 StateName !=
"InnerSurface" &&
191 StateName !=
"ImpactPoint" &&
192 StateName !=
"default" 216 float MIN[] = { 0.5, 0.5, 0., LUMIMin };
218 std::string NAME[] = {
"",
"VsBX",
"VsLUMI",
"VsLUMI" };
225 for (
int i=0;
i<monQuantity::END;
i++) {
240 const char * dets[] = {
"None",
"PXB",
"PXF",
"TIB",
"TID",
"TOB",
"TEC"};
246 const char * hit_category[] = {
"valid",
"missing",
"inactive",
"bad",
"total"};
250 for (
unsigned int det = 1; det <
sizeof(dets)/
sizeof(
char*); ++det ) {
251 for (
unsigned int sub_det = 1;
253 for (
unsigned int cat = 0;
254 cat <
sizeof(hit_category)/
sizeof(
char *); ++
cat) {
255 memset(title, 0,
sizeof(title));
256 snprintf(title,
sizeof(title),
"Hits%s_%s_%s_Subdet%d", name.c_str(), hit_category[
cat], dets[det], sub_det);
260 Key(det, sub_det, mon),
261 ibooker.
book1D(title, title, nbins, min, max)));
265 Key(det, sub_det, mon),
266 ibooker.
book1D(title, title, nbins, min, max)));
270 Key(det, sub_det, mon),
271 ibooker.
book1D(title, title, nbins, min, max)));
275 Key(det, sub_det, mon),
276 ibooker.
book1D(title, title, nbins, min, max)));
280 Key(det, sub_det, mon),
281 ibooker.
book1D(title, title, nbins, min, max)));
284 LogDebug(
"TrackAnalyzer") <<
"Invalid hit category used " <<
cat <<
" ignored\n";
300 std::string CategoryName = QualName !=
"" ? AlgoName +
"_" + QualName : AlgoName;
349 histname =
"NumberOfRecHitsPerTrack_";
354 histname =
"NumberOfValidRecHitsPerTrack_";
359 histname =
"NumberOfLostRecHitsPerTrack_";
364 histname =
"NumberOfMissingInnerRecHitsPerTrack_";
369 histname =
"NumberOfMissingOuterRecHitsPerTrack_";
374 histname =
"ValidFractionPerTrack_";
383 histname =
"NumberOfValidRecHitVsPhiVsEtaPerTrack_";
385 EtaBin, EtaMin, EtaMax, PhiBin, PhiMin, PhiMax, 0, 40.,
"");
389 histname =
"NumberOfLostRecHitVsPhiVsEtaPerTrack_";
391 EtaBin, EtaMin, EtaMax, PhiBin, PhiMin, PhiMax, 0, 5.,
"");
396 histname =
"NumberMIRecHitVsPhiVsEtaPerTrack_";
398 EtaBin, EtaMin, EtaMax, PhiBin, PhiMin, PhiMax, 0, 15.,
"");
402 histname =
"NumberMORecHitVsPhiVsEtaPerTrack_";
404 EtaBin, EtaMin, EtaMax, PhiBin, PhiMin, PhiMax, 0, 15.,
"");
408 histname =
"ValidFractionVsPhiVsEtaPerTrack_";
410 EtaBin, EtaMin, EtaMax, PhiBin, PhiMin, PhiMax, 0, 2.,
"");
418 histname =
"NumberOfValidRecHitVsPtVsEtaPerTrack_";
420 EtaBin, EtaMin, EtaMax, PtBin, PtMin, PtMax, 0, 40.,
"");
424 histname =
"NumberOfLostRecHitVsPtVsEtaPerTrack_";
426 EtaBin, EtaMin, EtaMax, PtBin, PtMin, PtMax, 0, 5.,
"");
431 histname =
"NumberMIRecHitVsPtVsEtaPerTrack_";
433 EtaBin, EtaMin, EtaMax, PtBin, PtMin, PtMax, 0, 15.,
"");
437 histname =
"NumberMORecHitVsPtVsEtaPerTrack_";
439 EtaBin, EtaMin, EtaMax, PtBin, PtMin, PtMax, 0, 15.,
"");
445 histname =
"NumberOfValidRecHitsPerTrackVsPt_";
450 histname =
"NumberOfLostRecHitsPerTrackVsPt_";
456 histname =
"NumberMIRecHitsPerTrackVsPt_";
461 histname =
"NumberMORecHitsPerTrackVsPt_";
466 std::string layerTypeName[4] = {
"",
"Off",
"3D",
"Missing"};
467 for (
int i=0;
i<4; ++
i) {
468 histname =
"NumberOf"+ layerTypeName[
i] +
"LayersPerTrack_";
474 for (
int i=0;
i<4; ++
i) {
475 histname =
"NumberOf"+ layerTypeName[
i] +
"LayersVsPhiVsEtaPerTrack_";
477 EtaBin, EtaMin, EtaMax, PhiBin, PhiMin, PhiMax, 0, 40.,
"");
516 Chi2->setAxisTitle(
"Track #chi^{2}" ,1);
517 Chi2->setAxisTitle(
"Number of Tracks",2);
580 histname =
"xPointOfClosestApproach_";
585 histname =
"yPointOfClosestApproach_";
590 histname =
"zPointOfClosestApproach_";
595 histname =
"xPointOfClosestApproachToPV_";
600 histname =
"yPointOfClosestApproachToPV_";
605 histname =
"zPointOfClosestApproachToPV_";
631 <<
" but StopReasonName's only for " 632 << StopReasonNameSize
633 <<
". Please update DataFormats/TrackReco/interface/TrajectoryStopReasons.h.";
651 for (
size_t ibin=0; ibin<StopReasonNameSize; ibin++) {
668 std::string CategoryName = QualName !=
"" ? AlgoName +
"_" + QualName : AlgoName;
687 histname =
"NumberOfRecHitsPerTrack_lumiFlag_";
707 std::string CategoryName = QualName !=
"" ? AlgoName +
"_" + QualName : AlgoName;
745 histname =
"DistanceOfClosestApproachToBS_";
750 histname =
"AbsDistanceOfClosestApproachToBS_";
755 histname =
"DistanceOfClosestApproachToBSVsPhi_";
761 histname =
"xPointOfClosestApproachVsZ0wrt000_";
766 histname =
"yPointOfClosestApproachVsZ0wrt000_";
771 histname =
"xPointOfClosestApproachVsZ0wrtBS_";
776 histname =
"yPointOfClosestApproachVsZ0wrtBS_";
781 histname =
"zPointOfClosestApproachVsPhi_";
811 histname =
"DistanceOfClosestApproachToPV_";
821 histname =
"DistanceOfClosestApproachToPVVsPhi_";
827 histname =
"xPointOfClosestApproachVsZ0wrtPV_";
832 histname =
"yPointOfClosestApproachVsZ0wrtPV_";
850 histname =
"TESTDistanceOfClosestApproachToBS_";
855 histname =
"TESTDistanceOfClosestApproachToBSVsPhi_";
889 histname =
"DistanceOfClosestApproachVsTheta_";
895 histname =
"DistanceOfClosestApproachVsEta_";
901 histname =
"DistanceOfClosestApproach_";
906 histname =
"DistanceOfClosestApproachVsPhi_";
916 const double sipBins = 200;
917 const double sipMin = -20;
918 const double sipMax = 20;
964 if (recoPrimaryVerticesHandle.
isValid())
965 if (recoPrimaryVerticesHandle->size() > 0)
966 for (
auto v : *recoPrimaryVerticesHandle)
981 if ( lumiScalers.
isValid() && lumiScalers->size() ) {
982 LumiScalersCollection::const_iterator scalit = lumiScalers->begin();
989 if ( pixelClusters.
isValid() ) {
997 size_t numClusters = 0;
1001 for ( ; pixCluDet!=pixelClusters->end(); ++pixCluDet) {
1003 DetId detid = pixCluDet->detId();
1004 size_t subdetid = detid.
subdetId();
1007 if ( tTopo->
layer(detid)==1 )
1011 for ( ; pixClu != pixCluDet->
end(); ++pixClu ) {
1027 auto pt = track.
pt();
1042 auto chi2prob = TMath::Prob(track.
chi2(),(
int)track.
ndof());
1121 double stop = track.
stopReason() > max ? double(max-1) :
static_cast<double>(track.
stopReason());
1160 if (recoPrimaryVerticesHandle.
isValid() && recoPrimaryVerticesHandle->size() > 0) {
1170 double longDCAsig = 0, transDCAsig = 0;
1173 if(zerr2 > 0) longDCAsig = track.
dz(pv.
position())/zerr2;
1174 if(xyerr2 > 0) transDCAsig = track.
dxy(pv.
position())/xyerr2;
1212 if(ip3d.first)
sip3dToPV->
Fill(ip3d.second.value() / ip3d.second.error());
1213 if(ip2d.first)
sip2dToPV->
Fill(ip2d.second.value() / ip2d.second.error());
1238 if (StateName ==
"All") {
1243 StateName !=
"OuterSurface" &&
1244 StateName !=
"InnerSurface" &&
1245 StateName !=
"ImpactPoint" &&
1246 StateName !=
"default" 1262 for (
int i=0;
i<monQuantity::END;
i++) {
1267 if (track.
pt() > 1.0 && track.
dxy() < 0.1 and monitoring > -9.) {
1276 bool valid =
hp.validHitFilter(
pattern);
1277 bool missing =
hp.missingHitFilter(
pattern);
1278 bool inactive =
hp.inactiveHitFilter(
pattern);
1280 hit_type = valid ? 0 :
1282 ( inactive ? 2 : 3));
1284 LogDebug(
"TrackAnalyzer") <<
"Invalid combination of detector and subdetector: (" 1286 <<
hp.getSubSubStructure(
pattern) <<
", " 1288 <<
"): ignoring it.\n";
1307 LogDebug(
"TrackAnalyzer") <<
"Invalid hit category used " << hit_type <<
" ignored\n";
1325 std::string CategoryName = QualName !=
"" ? AlgoName +
"_" + QualName : AlgoName;
1412 std::string histTag = (sname ==
"default") ? CategoryName : sname +
"_" + CategoryName;
1420 histname =
"Chi2oNDFVsTheta_" + histTag;
1425 histname =
"Chi2oNDFVsPhi_" + histTag;
1430 histname =
"Chi2ProbVsPhi_" + histTag;
1435 histname =
"Chi2ProbVsEta_" + histTag;
1446 histname =
"Chi2oNDFVsEta_" + histTag;
1451 histname =
"Chi2oNDFVsPt_" + histTag;
1456 histname =
"Chi2oNDFVsNHits_" + histTag;
1497 histname =
"TrackEtaPhi_" + histTag;
1502 histname =
"TrackEtaPhiInner_" + histTag;
1507 histname =
"TrackEtaPhiOuter_" + histTag;
1515 histname =
"TrackTheta_" + histTag;
1525 histname =
"TrackPErrOverP_" + histTag;
1530 histname =
"TrackPtErrOverPt_" + histTag;
1535 histname =
"TrackPtErrOverPtVsEta_" + histTag;
1541 histname =
"TrackPxErrOverPx_" + histTag;
1546 histname =
"TrackPyErrOverPy_" + histTag;
1551 histname =
"TrackPzErrOverPz_" + histTag;
1556 histname =
"TrackPhiErr_" + histTag;
1561 histname =
"TrackEtaErr_" + histTag;
1568 histname =
"NumberOfRecHitsPerTrackVsPhi_" + histTag;
1574 histname =
"NumberOfRecHitsPerTrackVsTheta_" + histTag;
1579 histname =
"NumberOfRecHitsPerTrackVsEta_" + histTag;
1584 histname =
"NumberOfValidRecHitsPerTrackVsPhi_" + histTag;
1589 histname =
"NumberOfValidRecHitsPerTrackVsEta_" + histTag;
1594 histname =
"NumberOfValidRecHitsPerTrackVsPt_" + histTag;
1600 histname =
"NumberOfLayersPerTrackVsPhi_" + histTag;
1606 histname =
"NumberOfLayersPerTrackVsTheta_" + histTag;
1611 histname =
"NumberOfLayersPerTrackVsEta_" + histTag;
1617 histname =
"Chi2oNDFVsTheta_" + histTag;
1623 histname =
"Chi2oNDFVsPhi_" + histTag;
1628 histname =
"Chi2oNDFVsEta_" + histTag;
1633 histname =
"Chi2ProbVsPhi_" + histTag;
1638 histname =
"Chi2ProbVsEta_" + histTag;
1656 double pxerror, pyerror, pzerror, pterror, perror, phierror,
etaerror;
1664 if (sname ==
"default") {
1672 theta = track.
theta();
1719 std::map<std::string, TkParameterMEs>::iterator iPos =
TkParameterMEMap.find(sname);
1778 double chi2prob = TMath::Prob(track.
chi2(),(
int)track.
ndof());
1809 std::string CategoryName = QualName !=
"" ? AlgoName +
"_" + QualName : AlgoName;
1832 for (
auto det : subdetectors ) {
1847 if ( det ==
"Pixel" ) detID = 0;
1848 if ( det ==
"Strip" ) detID = 7;
1852 histname =
"NumberOfRecHitsPerTrack_" + det +
"_" + CategoryName;
1857 histname =
"NumberOfRecHitsPerTrackVsPhi_" + det +
"_" + CategoryName;
1862 histname =
"NumberOfRecHitsPerTrackVsEta_" + det +
"_" + CategoryName;
1867 histname =
"NumberOfRecHitsPerTrackVsPt_" + det +
"_" + CategoryName;
1872 histname =
"NumberOfLayersPerTrack_" + det +
"_" + CategoryName;
1877 histname =
"NumberOfLayersPerTrackVsPhi_" + det +
"_" + CategoryName;
1882 histname =
"NumberOfLayersPerTrackVsEta_" + det +
"_" + CategoryName;
1887 histname =
"NumberOfLayersPerTrackVsPt_" + det +
"_" + CategoryName;
1904 double phi = track.
phi();
1905 double eta = track.
eta();
1906 double pt = track.
pt();
1911 int nValidLayers = 0;
1912 int nValidRecHits = 0;
1913 int substr = it->second.detectorId;
1960 it->second.NumberOfRecHitsPerTrack ->
Fill(nValidRecHits);
1961 it->second.NumberOfRecHitsPerTrackVsPhi ->
Fill(phi, nValidRecHits);
1962 it->second.NumberOfRecHitsPerTrackVsEta ->
Fill(eta, nValidRecHits);
1963 it->second.NumberOfRecHitsPerTrackVsPt ->
Fill(pt, nValidRecHits);
1965 it->second.NumberOfLayersPerTrack ->
Fill(nValidLayers);
1966 it->second.NumberOfLayersPerTrackVsPhi ->
Fill(phi, nValidLayers);
1967 it->second.NumberOfLayersPerTrackVsEta ->
Fill(eta, nValidLayers);
1968 it->second.NumberOfLayersPerTrackVsPt ->
Fill(pt, nValidLayers);
MonitorElement * NumberOfRecHitsPerTrackVsPhi
MonitorElement * stoppingSourceVSphi
MonitorElement * NumberOfValidRecHitsPerTrackVsPhi
MonitorElement * Chi2ProbVsPhi
double p() const
momentum vector magnitude
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
MonitorElement * NumberOfLayersPerTrackVsPhi
int stripTOBLayersWithMeasurement() const
T getParameter(std::string const &) const
MonitorElement * TrackEtaPhi
MonitorElement * DistanceOfClosestApproachToPVVsPhi
MonitorElement * Chi2oNDFVsPt
const Point & referencePoint() const
Reference point on the track.
MonitorElement * NumberOfRecHitVsPhiVsEtaPerTrack
MonitorElement * ValidFractionVsPhiVsEtaPerTrack
MonitorElement * TrackPErr
double d0Error() const
error on d0
MonitorElement * dNhitdPt_HighPurity
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
void fillHistosForTrackerSpecific(const reco::Track &track)
const_iterator end(bool update=false) const
MonitorElement * NumberOfRecHitsPerTrackVsEta
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_valid_
void bookHistosForLScertification(DQMStore::IBooker &ibooker)
MonitorElement * stoppingSourceVSeta
TrackCharge charge() const
double validFraction() const
fraction of valid hits on the track
double d0() const
dxy parameter in perigee convention (d0 = -dxy)
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_bad_
MonitorElement * NumberOfValidRecHitsPerTrack
int stripTIBLayersWithMeasurement() const
double normalizedChi2() const
chi-squared divided by n.d.o.f. (or chi-squared * 1e6 if n.d.o.f. is zero)
MonitorElement * bookProfile(Args &&...args)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
double zError() const
error on z
MonitorElement * Chi2oNDF_lumiFlag
double theta() const
polar angle
double dxyError() const
error on dxy
MonitorElement * xPointOfClosestApproachToPV
const CurvilinearTrajectoryError & curvilinearError() const
MonitorElement * TrackEta
MonitorElement * TrackPtErr
MonitorElement * sip3dToPV
Sin< T >::type sin(const T &t)
MonitorElement * NumberOfLostRecHitsPerTrack
MonitorElement * TrackPyErr
uint8_t stopReason() const
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
Geom::Phi< T > phi() const
const CartesianTrajectoryError cartesianError() const
Geom::Theta< T > theta() const
reco::TransientTrack build(const reco::Track *p) const
bool doGeneralPropertiesPlots_
double etaError() const
error on eta
MonitorElement * Chi2oNDFVsPhi
int bunchCrossing() const
MonitorElement * Chi2ProbVsPhi
MonitorElement * NumberOfMORecHitsPerTrackVsPt
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 * DistanceOfClosestApproachVsPhi
double phi() const
azimuthal angle of momentum vector
unsigned short numberOfLostHits() const
number of cases where track crossed a layer without getting a hit.
std::vector< Vertex > VertexCollection
collection of Vertex objects
bool doEffFromHitPatternVsBX_
MonitorElement * sipDzToBS
std::map< std::string, TkParameterMEs > TkParameterMEMap
MonitorElement * NumberOfLayersPerTrack[4]
MonitorElement * NhitVsPhi_HighPurity
MonitorElement * NumberOfRecHitsPerTrackVsTheta
data_type const * const_iterator
MonitorElement * algorithm
const double EtaMax[kNumberCalorimeter]
double px() const
x coordinate of momentum vector
static const std::string StopReasonName[]
int pixelLayersWithMeasurement() const
bool doHitPropertiesPlots_
MonitorElement * DistanceOfClosestApproach
const math::XYZPoint & outerPosition() const
position of the outermost hit
bool doRecHitVsPhiVsEtaPerTrack_
MonitorElement * NumberOfLayersPerTrackVsTheta
bool doRecHitVsPtVsEtaPerTrack_
MonitorElement * NumberOfRecHitsPerTrack_lumiFlag
std::map< std::string, TkRecHitsPerSubDetMEs > TkRecHitsPerSubDetMEMap
int trackerLayersWithMeasurement() const
const Point & position() const
position
MonitorElement * NumberOfValidRecHitVsPhiVsEtaPerTrack
int pixelEndcapLayersWithMeasurement() const
int numberOfValidStripTOBHits() const
bool doMeasurementStatePlots_
MonitorElement * DeltaZToPV
TrajectoryStateOnSurface innermostMeasurementState() const
MonitorElement * NumberOfRecHitsPerTrack
static double XSEC_PIXEL_CLUSTER
MonitorElement * Ptdist_HighPurity
unsigned int numberOfLayers(int subdet) const
void setLumi(const edm::Event &, const edm::EventSetup &iSetup)
int numberOfLostTrackerHits(HitCategory category) const
Geom::Theta< T > theta() const
const math::XYZPoint & innerPosition() const
position of the innermost hit
MonitorElement * NumberOfLayersVsPhiVsEtaPerTrack[4]
TrackAlgorithm algo() const
void disableSoftReset(MonitorElement *me)
MonitorElement * TESTDistanceOfClosestApproachToBSVsPhi
void fillHistosForEfficiencyFromHitPatter(const reco::Track &track, const std::string suffix, const float monitoring)
static const unsigned int lastBunchCrossing
MonitorElement * NumberOfValidRecHitsPerTrackVsEta
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_total_
MonitorElement * Chi2oNDFVsEta
MonitorElement * TransDCASig
MonitorElement * NumberOfMIRecHitVsPhiVsEtaPerTrack
MonitorElement * NumberOfRecHitsPerTrackVsPhi
MonitorElement * xPointOfClosestApproachVsZ0wrt000
double eta() const
pseudorapidity of momentum vector
int numberOfValidStripLayersWithMonoAndStereo(uint16_t stripdet, uint16_t layer) const
std::string qualityString_
int trackerLayersTotallyOffOrBad() const
int numberOfValidPixelBarrelHits() const
bool doEffFromHitPatternVsPU_
MonitorElement * NumberOfRecHitsPerTrackVsTheta
MonitorElement * NumberOfLostRecHitVsPhiVsEtaPerTrack
MonitorElement * NumberOfMIRecHitsPerTrackVsPt
MonitorElement * xPointOfClosestApproach
MonitorElement * Chi2oNDFVsTheta
double chi2() const
chi-squared of the fit
MonitorElement * NumberOfMIRecHitsPerTrack
MonitorElement * NumberOfLayersPerTrackVsPt
MonitorElement * bookProfile2D(Args &&...args)
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
double ndof() const
number of degrees of freedom of the fit
int stripTIDLayersWithMeasurement() const
MonitorElement * NumberOfValidRecHitsPerTrackVsEta
MonitorElement * NumberOfRecHitsPerTrackVsPhi
MonitorElement * NumberOfRecHitsPerTrackVsPt
double pt() const
track transverse momentum
MonitorElement * dNdPt_HighPurity
void setBX(const edm::Event &)
double ptError() const
error on Pt (set to 1000 TeV if charge==0 for safety)
MonitorElement * xPointOfClosestApproachVsZ0wrtBS
double phiError() const
error on phi
MonitorElement * NumberOfValidRecHitsPerTrackVsPhi
MonitorElement * dNdPhi_HighPurity
MonitorElement * book1D(Args &&...args)
Abs< T >::type abs(const T &t)
int numberOfValidStripTIDHits() const
MonitorElement * yPointOfClosestApproachToPV
const double EtaMin[kNumberCalorimeter]
MonitorElement * NumberOfRecHitsPerTrackVsEta
unsigned short numberOfValidHits() const
number of valid hits found
int numberOfValidStripTECHits() const
static double CM2_TO_NANOBARN
MonitorElement * NumberOfLostRecHitsPerTrackVsPt
MonitorElement * sip2dToPV
void softReset(MonitorElement *me)
MonitorElement * Chi2oNDFVsTheta
TrajectoryStateOnSurface outermostMeasurementState() const
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_inactive_
MonitorElement * sipDzToPV
MonitorElement * sipDxyToBS
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
MonitorElement * NumberOfValidRecHitsPerTrackVsPt
MonitorElement * TrackEtaErr
void bookHistosForHitProperties(DQMStore::IBooker &ibooker)
MonitorElement * TrackPxErr
MonitorElement * DistanceOfClosestApproachVsEta
MonitorElement * zPointOfClosestApproachVsPhi
const AlgebraicSymMatrix66 & matrix() const
double pz() const
z coordinate of momentum vector
MonitorElement * TrackPzErr
double dz() const
dz parameter (= dsz/cos(lambda)). This is the track z0 w.r.t (0,0,0) only if the refPoint is close to...
MonitorElement * NumberOfLayersPerTrackVsEta
double dzError() const
error on dz
MonitorElement * dNdEta_HighPurity
MonitorElement * NumberOfRecHitsPerTrack
MonitorElement * TrackPhiErr
double vz() const
z coordinate of the reference point on track
void bookHistosForTrackerSpecific(DQMStore::IBooker &ibooker)
MonitorElement * stoppingSource
void fillHistosForState(const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
TrackAlgorithm originalAlgo() const
TrajectoryStateOnSurface TSOS
static TrackQuality qualityByName(const std::string &name)
double xError() const
error on x
MonitorElement * NumberOfLayersPerTrackVsEta
void setCurrentFolder(const std::string &fullpath)
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
MonitorElement * sipDxyToPV
MonitorElement * book2D(Args &&...args)
virtual void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::Track &track)
bool doEffFromHitPatternVsLUMI_
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
MonitorElement * xPointOfClosestApproachVsZ0wrtPV
MonitorElement * yPointOfClosestApproachVsZ0wrtBS
MonitorElement * NumberOfMIRecHitVsPtVsEtaPerTrack
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_missing_
int minNumberOfPixelsPerCluster_
int pixelBarrelLayersWithMeasurement() const
MonitorElement * DistanceOfClosestApproachVsTheta
void bookHistosForBeamSpot(DQMStore::IBooker &ibooker)
static double rXSEC_PIXEL_CLUSTER
MonitorElement * Chi2ProbVsEta
int numberOfValidStripTIBHits() const
MonitorElement * TrackPhi
MonitorElement * NumberOfMORecHitVsPtVsEtaPerTrack
static const std::string algoNames[]
bool quality(const TrackQuality) const
Track quality.
unsigned int layer(const DetId &id) const
int numberOfValidPixelEndcapHits() const
MonitorElement * zPointOfClosestApproachToPV
int trackerLayersWithoutMeasurement(HitCategory category) const
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
MonitorElement * DistanceOfClosestApproachToPV
double vy() const
y coordinate of the reference point on track
MonitorElement * NumberOfValidRecHitsPerTrackVsPt
const AlgebraicSymMatrix55 & matrix() const
GlobalVector globalMomentum() const
MonitorElement * NumberOfLayersPerTrack
MonitorElement * DistanceOfClosestApproachToBSVsPhi
bool doLayersVsPhiVsEtaPerTrack_
MonitorElement * ValidFractionPerTrack
MonitorElement * NhitVsEta_HighPurity
void doSoftReset(DQMStore *dqmStore_)
int getNbinsX(void) const
get # of bins in X-axis
int stripTECLayersWithMeasurement() const
MonitorElement * yPointOfClosestApproachVsZ0wrt000
unsigned int good_vertices_
MonitorElement * TrackPtErrVsEta
MonitorElement * TESTDistanceOfClosestApproachToBS
std::vector< LumiScalers > LumiScalersCollection
virtual void initHisto(DQMStore::IBooker &ibooker, const edm::EventSetup &)
MonitorElement * NumberOfRecHitsPerTrackVsEta
int charge() const
track electric charge
const Point & position() const
position
TrajectoryStateOnSurface impactPointState() const
void bookHistosForState(std::string sname, DQMStore::IBooker &ibooker)
MonitorElement * yPointOfClosestApproach
void Reset(std::vector< TH2F > &depth)
float minPixelClusterCharge_
MonitorElement * Chi2oNDFVsNHits
MonitorElement * Chi2Prob
edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
MonitorElement * TrackEtaPhiOuter
MonitorElement * yPointOfClosestApproachVsZ0wrtPV
void setNumberOfGoodVertices(const edm::Event &)
void bookHistosForEfficiencyFromHitPatter(DQMStore::IBooker &ibooker, const edm::EventSetup &iSetup, const std::string suffix)
MonitorElement * AbsDistanceOfClosestApproachToBS
double dxy() const
dxy parameter. (This is the transverse impact parameter w.r.t. to (0,0,0) ONLY if refPoint is close t...
MonitorElement * TrackTheta
MonitorElement * zPointOfClosestApproach
TrackAnalyzer(const edm::ParameterSet &)
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
float lumi_factor_per_bx_
MonitorElement * Chi2ProbVsEta
MonitorElement * NumberOfLostRecHitVsPtVsEtaPerTrack
T const * product() const
MonitorElement * TrackEtaPhiInner
MonitorElement * DistanceOfClosestApproachToBS
std::string monName[monQuantity::END]
Power< A, B >::type pow(const A &a, const B &b)
MonitorElement * Chi2oNDF
double yError() const
error on y
const_iterator begin(bool update=false) const
MonitorElement * Chi2oNDFVsEta
double py() const
y coordinate of momentum vector
MonitorElement * NumberOfValidRecHitVsPtVsEtaPerTrack
double vx() const
x coordinate of the reference point on track
void undoSoftReset(DQMStore *dqmStore_)
int numberOfHits(HitCategory category) const
MonitorElement * NumberOfMORecHitVsPhiVsEtaPerTrack
static double SECONDS_PER_LS
MonitorElement * NumberOfMORecHitsPerTrack
MonitorElement * NumberOfLayersPerTrackVsPhi
MonitorElement * LongDCASig
edm::EDGetTokenT< reco::VertexCollection > pvToken_
MonitorElement * Chi2oNDFVsPhi