28 , stateName_ (iConfig.getParameter<
std::
string>(
"MeasurementState") )
29 , doTrackerSpecific_ ( iConfig.getParameter<bool>(
"doTrackerSpecific") )
30 , doAllPlots_ ( iConfig.getParameter<bool>(
"doAllPlots") )
31 , doBSPlots_ ( iConfig.getParameter<bool>(
"doBeamSpotPlots") )
32 , doPVPlots_ ( iConfig.getParameter<bool>(
"doPrimaryVertexPlots") )
33 , doDCAPlots_ ( iConfig.getParameter<bool>(
"doDCAPlots") )
34 , doGeneralPropertiesPlots_ ( iConfig.getParameter<bool>(
"doGeneralPropertiesPlots") )
35 , doMeasurementStatePlots_ ( iConfig.getParameter<bool>(
"doMeasurementStatePlots") )
36 , doHitPropertiesPlots_ ( iConfig.getParameter<bool>(
"doHitPropertiesPlots") )
37 , doRecHitVsPhiVsEtaPerTrack_ ( iConfig.getParameter<bool>(
"doRecHitVsPhiVsEtaPerTrack") )
38 , doRecHitVsPtVsEtaPerTrack_ ( iConfig.getParameter<bool>(
"doRecHitVsPtVsEtaPerTrack") )
39 , doLayersVsPhiVsEtaPerTrack_ ( iConfig.getParameter<bool>(
"doLayersVsPhiVsEtaPerTrack") )
40 , doRecHitsPerTrackProfile_ ( iConfig.getParameter<bool>(
"doRecHitsPerTrackProfile") )
41 , doThetaPlots_ ( iConfig.getParameter<bool>(
"doThetaPlots") )
42 , doTrackPxPyPlots_ ( iConfig.getParameter<bool>(
"doTrackPxPyPlots") )
43 , doDCAwrtPVPlots_ ( iConfig.getParameter<bool>(
"doDCAwrtPVPlots") )
44 , doDCAwrt000Plots_ ( iConfig.getParameter<bool>(
"doDCAwrt000Plots") )
45 , doLumiAnalysis_ ( iConfig.getParameter<bool>(
"doLumiAnalysis") )
46 , doTestPlots_ ( iConfig.getParameter<bool>(
"doTestPlots") )
47 , doHIPlots_ ( iConfig.getParameter<bool>(
"doHIPlots") )
48 , doSIPPlots_ ( iConfig.getParameter<bool>(
"doSIPPlots") )
49 , doEffFromHitPatternVsPU_ ( iConfig.getParameter<bool>(
"doEffFromHitPatternVsPU") )
50 , doEffFromHitPatternVsBX_ ( iConfig.getParameter<bool>(
"doEffFromHitPatternVsBX") )
51 , doEffFromHitPatternVsLUMI_ ( iConfig.getParameter<bool>(
"doEffFromHitPatternVsLUMI") )
52 , pvNDOF_ ( iConfig.getParameter<
int> (
"pvNDOF") )
53 , useBPixLayer1_ ( iConfig.getParameter<bool>(
"useBPixLayer1") )
54 , minNumberOfPixelsPerCluster_ ( iConfig.getParameter<
int>(
"minNumberOfPixelsPerCluster") )
55 , minPixelClusterCharge_ ( iConfig.getParameter<double>(
"minPixelClusterCharge") )
56 , qualityString_ ( iConfig.getParameter<
std::
string>(
"qualityString"))
218 float MIN[] = { 0.5, 0.5, 0., LUMIMin };
220 std::string NAME[] = {
"",
"VsBX",
"VsLUMI",
"VsLUMI" };
227 for (
int i=0;
i<monQuantity::END;
i++) {
242 const char * dets[] = {
"None",
"PXB",
"PXF",
"TIB",
"TID",
"TOB",
"TEC"};
248 const char * hit_category[] = {
"valid",
"missing",
"inactive",
"bad",
"total"};
252 for (
unsigned int det = 1; det <
sizeof(dets)/
sizeof(
char*); ++det ) {
253 for (
unsigned int sub_det = 1;
255 for (
unsigned int cat = 0;
256 cat <
sizeof(hit_category)/
sizeof(
char *); ++
cat) {
257 memset(title, 0,
sizeof(title));
258 snprintf(title,
sizeof(title),
"Hits%s_%s_%s_Subdet%d", name.c_str(), hit_category[
cat], dets[det], sub_det);
262 Key(det, sub_det, mon),
263 ibooker.
book1D(title, title, nbins, min, max)));
267 Key(det, sub_det, mon),
268 ibooker.
book1D(title, title, nbins, min, max)));
272 Key(det, sub_det, mon),
273 ibooker.
book1D(title, title, nbins, min, max)));
277 Key(det, sub_det, mon),
278 ibooker.
book1D(title, title, nbins, min, max)));
282 Key(det, sub_det, mon),
283 ibooker.
book1D(title, title, nbins, min, max)));
286 LogDebug(
"TrackAnalyzer") <<
"Invalid hit category used " <<
cat <<
" ignored\n";
302 std::string CategoryName = QualName !=
"" ? AlgoName +
"_" + QualName : AlgoName;
351 histname =
"NumberOfRecHitsPerTrack_";
356 histname =
"NumberOfValidRecHitsPerTrack_";
361 histname =
"NumberOfLostRecHitsPerTrack_";
366 histname =
"NumberOfMissingInnerRecHitsPerTrack_";
371 histname =
"NumberOfMissingOuterRecHitsPerTrack_";
376 histname =
"ValidFractionPerTrack_";
385 histname =
"NumberOfValidRecHitVsPhiVsEtaPerTrack_";
387 EtaBin, EtaMin, EtaMax, PhiBin, PhiMin, PhiMax, 0, 40.,
"");
391 histname =
"NumberOfLostRecHitVsPhiVsEtaPerTrack_";
393 EtaBin, EtaMin, EtaMax, PhiBin, PhiMin, PhiMax, 0, 5.,
"");
398 histname =
"NumberMIRecHitVsPhiVsEtaPerTrack_";
400 EtaBin, EtaMin, EtaMax, PhiBin, PhiMin, PhiMax, 0, 15.,
"");
404 histname =
"NumberMORecHitVsPhiVsEtaPerTrack_";
406 EtaBin, EtaMin, EtaMax, PhiBin, PhiMin, PhiMax, 0, 15.,
"");
410 histname =
"ValidFractionVsPhiVsEtaPerTrack_";
412 EtaBin, EtaMin, EtaMax, PhiBin, PhiMin, PhiMax, 0, 2.,
"");
420 histname =
"NumberOfValidRecHitVsPtVsEtaPerTrack_";
422 EtaBin, EtaMin, EtaMax, PtBin, PtMin, PtMax, 0, 40.,
"");
426 histname =
"NumberOfLostRecHitVsPtVsEtaPerTrack_";
428 EtaBin, EtaMin, EtaMax, PtBin, PtMin, PtMax, 0, 5.,
"");
433 histname =
"NumberMIRecHitVsPtVsEtaPerTrack_";
435 EtaBin, EtaMin, EtaMax, PtBin, PtMin, PtMax, 0, 15.,
"");
439 histname =
"NumberMORecHitVsPtVsEtaPerTrack_";
441 EtaBin, EtaMin, EtaMax, PtBin, PtMin, PtMax, 0, 15.,
"");
447 histname =
"NumberOfValidRecHitsPerTrackVsPt_";
452 histname =
"NumberOfLostRecHitsPerTrackVsPt_";
458 histname =
"NumberMIRecHitsPerTrackVsPt_";
463 histname =
"NumberMORecHitsPerTrackVsPt_";
468 std::string layerTypeName[4] = {
"",
"Off",
"3D",
"Missing"};
469 for (
int i=0;
i<4; ++
i) {
470 histname =
"NumberOf"+ layerTypeName[
i] +
"LayersPerTrack_";
476 for (
int i=0;
i<4; ++
i) {
477 histname =
"NumberOf"+ layerTypeName[
i] +
"LayersVsPhiVsEtaPerTrack_";
479 EtaBin, EtaMin, EtaMax, PhiBin, PhiMin, PhiMax, 0, 40.,
"");
518 Chi2->setAxisTitle(
"Track #chi^{2}" ,1);
519 Chi2->setAxisTitle(
"Number of Tracks",2);
582 histname =
"xPointOfClosestApproach_";
587 histname =
"yPointOfClosestApproach_";
592 histname =
"zPointOfClosestApproach_";
597 histname =
"xPointOfClosestApproachToPV_";
602 histname =
"yPointOfClosestApproachToPV_";
607 histname =
"zPointOfClosestApproachToPV_";
633 <<
" but StopReasonName's only for " 634 << StopReasonNameSize
635 <<
". Please update DataFormats/TrackReco/interface/TrajectoryStopReasons.h.";
653 for (
size_t ibin=0; ibin<StopReasonNameSize; ibin++) {
670 std::string CategoryName = QualName !=
"" ? AlgoName +
"_" + QualName : AlgoName;
689 histname =
"NumberOfRecHitsPerTrack_lumiFlag_";
709 std::string CategoryName = QualName !=
"" ? AlgoName +
"_" + QualName : AlgoName;
747 histname =
"DistanceOfClosestApproachToBS_";
752 histname =
"AbsDistanceOfClosestApproachToBS_";
757 histname =
"DistanceOfClosestApproachToBSVsPhi_";
763 histname =
"xPointOfClosestApproachVsZ0wrt000_";
768 histname =
"yPointOfClosestApproachVsZ0wrt000_";
773 histname =
"xPointOfClosestApproachVsZ0wrtBS_";
778 histname =
"yPointOfClosestApproachVsZ0wrtBS_";
783 histname =
"zPointOfClosestApproachVsPhi_";
813 histname =
"DistanceOfClosestApproachToPV_";
823 histname =
"DistanceOfClosestApproachToPVVsPhi_";
829 histname =
"xPointOfClosestApproachVsZ0wrtPV_";
834 histname =
"yPointOfClosestApproachVsZ0wrtPV_";
852 histname =
"TESTDistanceOfClosestApproachToBS_";
857 histname =
"TESTDistanceOfClosestApproachToBSVsPhi_";
891 histname =
"DistanceOfClosestApproachVsTheta_";
897 histname =
"DistanceOfClosestApproachVsEta_";
903 histname =
"DistanceOfClosestApproach_";
908 histname =
"DistanceOfClosestApproachVsPhi_";
918 const double sipBins = 200;
919 const double sipMin = -20;
920 const double sipMax = 20;
966 if (recoPrimaryVerticesHandle.
isValid())
967 if (recoPrimaryVerticesHandle->size() > 0)
968 for (
auto v : *recoPrimaryVerticesHandle)
983 if ( lumiScalers.
isValid() && lumiScalers->size() ) {
984 LumiScalersCollection::const_iterator scalit = lumiScalers->begin();
991 if ( pixelClusters.
isValid() ) {
999 size_t numClusters = 0;
1003 for ( ; pixCluDet!=pixelClusters->end(); ++pixCluDet) {
1005 DetId detid = pixCluDet->detId();
1006 size_t subdetid = detid.
subdetId();
1009 if ( tTopo->
layer(detid)==1 )
1013 for ( ; pixClu != pixCluDet->
end(); ++pixClu ) {
1029 auto pt = track.
pt();
1030 auto phi = track.
phi();
1044 auto chi2prob = TMath::Prob(track.
chi2(),(
int)track.
ndof());
1123 double stop = track.
stopReason() > max ? double(max-1) :
static_cast<double>(track.
stopReason());
1162 if (recoPrimaryVerticesHandle.
isValid() && recoPrimaryVerticesHandle->size() > 0) {
1172 double longDCAsig = 0, transDCAsig = 0;
1175 if(zerr2 > 0) longDCAsig = track.
dz(pv.
position())/zerr2;
1176 if(xyerr2 > 0) transDCAsig = track.
dxy(pv.
position())/xyerr2;
1214 if(ip3d.first)
sip3dToPV->
Fill(ip3d.second.value() / ip3d.second.error());
1215 if(ip2d.first)
sip2dToPV->
Fill(ip2d.second.value() / ip2d.second.error());
1263 for (
int i=0;
i<monQuantity::END;
i++) {
1268 if (track.
pt() > 1.0 && track.
dxy() < 0.1 and monitoring > -9.) {
1277 bool valid =
hp.validHitFilter(
pattern);
1278 bool missing =
hp.missingHitFilter(
pattern);
1279 bool inactive =
hp.inactiveHitFilter(
pattern);
1281 hit_type = valid ? 0 :
1283 ( inactive ? 2 : 3));
1285 LogDebug(
"TrackAnalyzer") <<
"Invalid combination of detector and subdetector: (" 1287 <<
hp.getSubSubStructure(
pattern) <<
", " 1289 <<
"): ignoring it.\n";
1308 LogDebug(
"TrackAnalyzer") <<
"Invalid hit category used " << hit_type <<
" ignored\n";
1326 std::string CategoryName = QualName !=
"" ? AlgoName +
"_" + QualName : AlgoName;
1413 std::string histTag = (sname ==
"default") ? CategoryName : sname +
"_" + CategoryName;
1421 histname =
"Chi2oNDFVsTheta_" + histTag;
1426 histname =
"Chi2oNDFVsPhi_" + histTag;
1431 histname =
"Chi2ProbVsPhi_" + histTag;
1436 histname =
"Chi2ProbVsEta_" + histTag;
1447 histname =
"Chi2oNDFVsEta_" + histTag;
1452 histname =
"Chi2oNDFVsPt_" + histTag;
1457 histname =
"Chi2oNDFVsNHits_" + histTag;
1498 histname =
"TrackEtaPhi_" + histTag;
1503 histname =
"TrackEtaPhiInner_" + histTag;
1508 histname =
"TrackEtaPhiOuter_" + histTag;
1516 histname =
"TrackTheta_" + histTag;
1526 histname =
"TrackPErrOverP_" + histTag;
1531 histname =
"TrackPtErrOverPt_" + histTag;
1536 histname =
"TrackPtErrOverPtVsEta_" + histTag;
1542 histname =
"TrackPxErrOverPx_" + histTag;
1547 histname =
"TrackPyErrOverPy_" + histTag;
1552 histname =
"TrackPzErrOverPz_" + histTag;
1557 histname =
"TrackPhiErr_" + histTag;
1562 histname =
"TrackEtaErr_" + histTag;
1569 histname =
"NumberOfRecHitsPerTrackVsPhi_" + histTag;
1575 histname =
"NumberOfRecHitsPerTrackVsTheta_" + histTag;
1580 histname =
"NumberOfRecHitsPerTrackVsEta_" + histTag;
1585 histname =
"NumberOfValidRecHitsPerTrackVsPhi_" + histTag;
1590 histname =
"NumberOfValidRecHitsPerTrackVsEta_" + histTag;
1595 histname =
"NumberOfValidRecHitsPerTrackVsPt_" + histTag;
1601 histname =
"NumberOfLayersPerTrackVsPhi_" + histTag;
1607 histname =
"NumberOfLayersPerTrackVsTheta_" + histTag;
1612 histname =
"NumberOfLayersPerTrackVsEta_" + histTag;
1618 histname =
"Chi2oNDFVsTheta_" + histTag;
1624 histname =
"Chi2oNDFVsPhi_" + histTag;
1629 histname =
"Chi2oNDFVsEta_" + histTag;
1634 histname =
"Chi2ProbVsPhi_" + histTag;
1639 histname =
"Chi2ProbVsEta_" + histTag;
1657 double pxerror, pyerror, pzerror, pterror, perror, phierror,
etaerror;
1665 if (sname ==
"default") {
1673 theta = track.
theta();
1720 std::map<std::string, TkParameterMEs>::iterator iPos =
TkParameterMEMap.find(sname);
1779 double chi2prob = TMath::Prob(track.
chi2(),(
int)track.
ndof());
1810 std::string CategoryName = QualName !=
"" ? AlgoName +
"_" + QualName : AlgoName;
1830 std::vector<std::string> subdetectors =
conf_->
getParameter<std::vector<std::string> >(
"subdetectors");
1833 for (
auto det : subdetectors ) {
1848 if ( det ==
"Pixel" ) detID = 0;
1849 if ( det ==
"Strip" ) detID = 7;
1853 histname =
"NumberOfRecHitsPerTrack_" + det +
"_" + CategoryName;
1858 histname =
"NumberOfRecHitsPerTrackVsPhi_" + det +
"_" + CategoryName;
1863 histname =
"NumberOfRecHitsPerTrackVsEta_" + det +
"_" + CategoryName;
1868 histname =
"NumberOfRecHitsPerTrackVsPt_" + det +
"_" + CategoryName;
1873 histname =
"NumberOfLayersPerTrack_" + det +
"_" + CategoryName;
1878 histname =
"NumberOfLayersPerTrackVsPhi_" + det +
"_" + CategoryName;
1883 histname =
"NumberOfLayersPerTrackVsEta_" + det +
"_" + CategoryName;
1888 histname =
"NumberOfLayersPerTrackVsPt_" + det +
"_" + CategoryName;
1905 double phi = track.
phi();
1906 double eta = track.
eta();
1907 double pt = track.
pt();
1912 int nValidLayers = 0;
1913 int nValidRecHits = 0;
1914 int substr = it->second.detectorId;
1961 it->second.NumberOfRecHitsPerTrack ->
Fill(nValidRecHits);
1962 it->second.NumberOfRecHitsPerTrackVsPhi ->
Fill(phi, nValidRecHits);
1963 it->second.NumberOfRecHitsPerTrackVsEta ->
Fill(eta, nValidRecHits);
1964 it->second.NumberOfRecHitsPerTrackVsPt ->
Fill(pt, nValidRecHits);
1966 it->second.NumberOfLayersPerTrack ->
Fill(nValidLayers);
1967 it->second.NumberOfLayersPerTrackVsPhi ->
Fill(phi, nValidLayers);
1968 it->second.NumberOfLayersPerTrackVsEta ->
Fill(eta, nValidLayers);
1969 it->second.NumberOfLayersPerTrackVsPt ->
Fill(pt, nValidLayers);
2003 dqmStore_->disableSoftReset(
Chi2oNDF);
MonitorElement * sipDzToPV
std::map< std::string, TkParameterMEs > TkParameterMEMap
MonitorElement * NumberOfValidRecHitsPerTrack
MonitorElement * Ptdist_HighPurity
MonitorElement * TrackPhi
double p() const
momentum vector magnitude
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
bool doEffFromHitPatternVsBX_
int stripTOBLayersWithMeasurement() const
T getParameter(std::string const &) const
MonitorElement * NumberOfValidRecHitsPerTrackVsPt
MonitorElement * TrackPtErr
MonitorElement * sip2dToPV
const Point & referencePoint() const
Reference point on the track.
MonitorElement * Chi2oNDFVsTheta
double d0Error() const
error on d0
bool doHitPropertiesPlots_
MonitorElement * xPointOfClosestApproachVsZ0wrtPV
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
MonitorElement * NumberOfRecHitsPerTrack
const_iterator end(bool update=false) const
MonitorElement * NumberOfLayersPerTrackVsPt
MonitorElement * NumberOfValidRecHitsPerTrackVsEta
MonitorElement * NumberOfValidRecHitsPerTrackVsPhi
MonitorElement * NumberOfLayersPerTrackVsEta
MonitorElement * dNdPt_HighPurity
TrackCharge charge() const
MonitorElement * sipDxyToPV
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)
MonitorElement * Chi2oNDFVsPhi
MonitorElement * NumberOfValidRecHitVsPhiVsEtaPerTrack
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)
MonitorElement * NumberOfValidRecHitsPerTrackVsPhi
MonitorElement * LongDCASig
bool getByToken(EDGetToken token, Handle< PROD > &result) const
double zError() const
error on z
MonitorElement * yPointOfClosestApproach
double theta() const
polar angle
double dxyError() const
error on dxy
MonitorElement * TrackEtaErr
void doSoftReset(DQMStore *dqmStore_)
MonitorElement * NumberOfMIRecHitsPerTrackVsPt
const CurvilinearTrajectoryError & curvilinearError() const
bool doEffFromHitPatternVsLUMI_
Sin< T >::type sin(const T &t)
MonitorElement * NumberOfValidRecHitsPerTrackVsPt
unsigned int good_vertices_
void initHisto(DQMStore::IBooker &ibooker, const edm::EventSetup &, const edm::ParameterSet &)
uint8_t stopReason() const
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
Geom::Phi< T > phi() const
MonitorElement * DistanceOfClosestApproachToBSVsPhi
const CartesianTrajectoryError cartesianError() const
MonitorElement * zPointOfClosestApproachToPV
Geom::Theta< T > theta() const
reco::TransientTrack build(const reco::Track *p) const
double etaError() const
error on eta
int bunchCrossing() const
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)
void fillHistosForEfficiencyFromHitPatter(const reco::Track &track, const std::string suffix, const float monitoring)
MonitorElement * NumberOfLostRecHitsPerTrackVsPt
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
data_type const * const_iterator
const double EtaMax[kNumberCalorimeter]
double px() const
x coordinate of momentum vector
static const std::string StopReasonName[]
int pixelLayersWithMeasurement() const
MonitorElement * yPointOfClosestApproachVsZ0wrtPV
const math::XYZPoint & outerPosition() const
position of the outermost hit
MonitorElement * NumberOfRecHitsPerTrackVsTheta
edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
int trackerLayersWithMeasurement() const
MonitorElement * sipDxyToBS
const Point & position() const
position
int pixelEndcapLayersWithMeasurement() const
MonitorElement * TrackPhiErr
int numberOfValidStripTOBHits() const
MonitorElement * algorithm
MonitorElement * NumberOfLayersPerTrackVsTheta
TrajectoryStateOnSurface innermostMeasurementState() const
static double XSEC_PIXEL_CLUSTER
unsigned int numberOfLayers(int subdet) const
int numberOfLostTrackerHits(HitCategory category) const
MonitorElement * NumberOfRecHitsPerTrackVsEta
Geom::Theta< T > theta() const
const math::XYZPoint & innerPosition() const
position of the innermost hit
TrackAlgorithm algo() const
void bookHistosForHitProperties(DQMStore::IBooker &ibooker)
MonitorElement * NumberOfMORecHitVsPtVsEtaPerTrack
MonitorElement * yPointOfClosestApproachToPV
void bookHistosForTrackerSpecific(DQMStore::IBooker &ibooker)
MonitorElement * xPointOfClosestApproach
MonitorElement * Chi2oNDF_lumiFlag
T x() const
Cartesian x coordinate.
MonitorElement * DistanceOfClosestApproach
MonitorElement * Chi2oNDF
MonitorElement * NumberOfRecHitsPerTrackVsPhi
static const unsigned int lastBunchCrossing
MonitorElement * ValidFractionPerTrack
bool doRecHitVsPtVsEtaPerTrack_
MonitorElement * NumberOfLostRecHitVsPhiVsEtaPerTrack
double eta() const
pseudorapidity of momentum vector
int numberOfValidStripLayersWithMonoAndStereo(uint16_t stripdet, uint16_t layer) const
int trackerLayersTotallyOffOrBad() const
int numberOfValidPixelBarrelHits() const
MonitorElement * TrackEtaPhi
void setBX(const edm::Event &)
double chi2() const
chi-squared of the fit
TrackAnalyzer(const edm::ParameterSet &)
MonitorElement * bookProfile2D(Args &&...args)
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * DistanceOfClosestApproachToPVVsPhi
MonitorElement * NumberOfLayersPerTrackVsEta
double ndof() const
number of degrees of freedom of the fit
MonitorElement * NumberOfMORecHitsPerTrackVsPt
int stripTIDLayersWithMeasurement() const
MonitorElement * NumberOfLayersPerTrackVsPhi
MonitorElement * NumberOfRecHitsPerTrackVsEta
MonitorElement * xPointOfClosestApproachVsZ0wrtBS
double pt() const
track transverse momentum
MonitorElement * Chi2ProbVsEta
MonitorElement * stoppingSourceVSeta
void bookHistosForLScertification(DQMStore::IBooker &ibooker)
MonitorElement * DistanceOfClosestApproachToBS
MonitorElement * yPointOfClosestApproachVsZ0wrtBS
double ptError() const
error on Pt (set to 1000 TeV if charge==0 for safety)
double phiError() const
error on phi
MonitorElement * book1D(Args &&...args)
void fillHistosForTrackerSpecific(const reco::Track &track)
Abs< T >::type abs(const T &t)
edm::ParameterSet const * conf_
int numberOfValidStripTIDHits() const
MonitorElement * TrackEta
MonitorElement * NumberOfRecHitsPerTrackVsPt
MonitorElement * NumberOfMIRecHitVsPtVsEtaPerTrack
const double EtaMin[kNumberCalorimeter]
unsigned short numberOfValidHits() const
number of valid hits found
MonitorElement * NumberOfLayersVsPhiVsEtaPerTrack[4]
int numberOfValidStripTECHits() const
static double CM2_TO_NANOBARN
MonitorElement * NumberOfLayersPerTrackVsPhi
MonitorElement * dNhitdPt_HighPurity
MonitorElement * sipDzToBS
MonitorElement * xPointOfClosestApproachVsZ0wrt000
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
TrajectoryStateOnSurface outermostMeasurementState() const
MonitorElement * DistanceOfClosestApproachVsPhi
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_valid_
MonitorElement * TESTDistanceOfClosestApproachToBS
void undoSoftReset(DQMStore *dqmStore_)
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::string monName[monQuantity::END]
float minPixelClusterCharge_
MonitorElement * NumberOfMIRecHitsPerTrack
edm::EDGetTokenT< reco::VertexCollection > pvToken_
const AlgebraicSymMatrix66 & matrix() const
MonitorElement * ValidFractionVsPhiVsEtaPerTrack
double pz() const
z coordinate of momentum vector
MonitorElement * NhitVsEta_HighPurity
MonitorElement * stoppingSourceVSphi
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...
void setNumberOfGoodVertices(const edm::Event &)
double dzError() const
error on dz
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_inactive_
void bookHistosForBeamSpot(DQMStore::IBooker &ibooker)
MonitorElement * Chi2oNDFVsPt
MonitorElement * NumberOfLostRecHitVsPtVsEtaPerTrack
MonitorElement * dNdPhi_HighPurity
double vz() const
z coordinate of the reference point on track
void fillHistosForState(const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
TrackAlgorithm originalAlgo() const
TrajectoryStateOnSurface TSOS
void bookHistosForState(std::string sname, DQMStore::IBooker &ibooker)
MonitorElement * TESTDistanceOfClosestApproachToBSVsPhi
bool doGeneralPropertiesPlots_
static TrackQuality qualityByName(const std::string &name)
double xError() const
error on x
void setCurrentFolder(const std::string &fullpath)
MonitorElement * NumberOfRecHitsPerTrack
MonitorElement * book2D(Args &&...args)
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
MonitorElement * NhitVsPhi_HighPurity
MonitorElement * TrackPErr
MonitorElement * yPointOfClosestApproachVsZ0wrt000
MonitorElement * TrackPxErr
MonitorElement * TrackTheta
bool doRecHitVsPhiVsEtaPerTrack_
float lumi_factor_per_bx_
int pixelBarrelLayersWithMeasurement() const
MonitorElement * TrackPtErrVsEta
MonitorElement * NumberOfMIRecHitVsPhiVsEtaPerTrack
MonitorElement * NumberOfRecHitsPerTrackVsEta
bool doMeasurementStatePlots_
static double rXSEC_PIXEL_CLUSTER
int numberOfValidStripTIBHits() const
static const std::string algoNames[]
bool quality(const TrackQuality) const
Track quality.
unsigned int layer(const DetId &id) const
MonitorElement * Chi2oNDFVsPhi
int numberOfValidPixelEndcapHits() const
std::map< std::string, TkRecHitsPerSubDetMEs > TkRecHitsPerSubDetMEMap
bool doEffFromHitPatternVsPU_
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_bad_
int trackerLayersWithoutMeasurement(HitCategory category) const
MonitorElement * xPointOfClosestApproachToPV
double vy() const
y coordinate of the reference point on track
const AlgebraicSymMatrix55 & matrix() const
GlobalVector globalMomentum() const
MonitorElement * NumberOfMORecHitVsPhiVsEtaPerTrack
MonitorElement * DistanceOfClosestApproachVsTheta
MonitorElement * NumberOfRecHitsPerTrackVsPhi
MonitorElement * dNdEta_HighPurity
int getNbinsX(void) const
get # of bins in X-axis
MonitorElement * TrackPyErr
int stripTECLayersWithMeasurement() const
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_missing_
MonitorElement * stoppingSource
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
MonitorElement * TrackEtaPhiOuter
std::vector< LumiScalers > LumiScalersCollection
int charge() const
track electric charge
const Point & position() const
position
TrajectoryStateOnSurface impactPointState() const
void bookHistosForEfficiencyFromHitPatter(DQMStore::IBooker &ibooker, const edm::EventSetup &iSetup, const std::string suffix)
MonitorElement * DeltaZToPV
MonitorElement * Chi2oNDFVsTheta
MonitorElement * TrackPzErr
MonitorElement * zPointOfClosestApproachVsPhi
MonitorElement * Chi2oNDFVsEta
void Reset(std::vector< TH2F > &depth)
MonitorElement * NumberOfValidRecHitsPerTrackVsEta
std::string qualityString_
MonitorElement * NumberOfMORecHitsPerTrack
MonitorElement * NumberOfLayersPerTrack
MonitorElement * Chi2oNDFVsNHits
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 * zPointOfClosestApproach
MonitorElement * Chi2ProbVsPhi
MonitorElement * AbsDistanceOfClosestApproachToBS
void setLumi(const edm::Event &, const edm::EventSetup &iSetup)
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
std::unordered_map< Key, MonitorElement *, KeyHasher > hits_total_
int minNumberOfPixelsPerCluster_
MonitorElement * DistanceOfClosestApproachVsEta
T const * product() const
MonitorElement * Chi2ProbVsPhi
MonitorElement * NumberOfRecHitsPerTrackVsTheta
MonitorElement * NumberOfValidRecHitVsPtVsEtaPerTrack
MonitorElement * sip3dToPV
MonitorElement * Chi2ProbVsEta
MonitorElement * NumberOfRecHitVsPhiVsEtaPerTrack
MonitorElement * Chi2Prob
MonitorElement * NumberOfRecHitsPerTrackVsPhi
Power< A, B >::type pow(const A &a, const B &b)
double yError() const
error on y
MonitorElement * DistanceOfClosestApproachToPV
const_iterator begin(bool update=false) const
MonitorElement * TransDCASig
double py() const
y coordinate of momentum vector
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::Track &track)
MonitorElement * TrackEtaPhiInner
double vx() const
x coordinate of the reference point on track
bool doLayersVsPhiVsEtaPerTrack_
int numberOfHits(HitCategory category) const
MonitorElement * NumberOfLostRecHitsPerTrack
MonitorElement * NumberOfRecHitsPerTrack_lumiFlag
static double SECONDS_PER_LS
MonitorElement * Chi2oNDFVsEta
MonitorElement * NumberOfLayersPerTrack[4]