|
|
#include <DQM/TrackerMonitorTrack/src/TrackingMonitor.cc>
|
void | analyze (const edm::Event &, const edm::EventSetup &) override |
|
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
|
virtual void | setMaxMinBin (std::vector< double > &, std::vector< double > &, std::vector< int > &, double, double, int, double, double, int) |
|
virtual void | setNclus (const edm::Event &, std::vector< int > &) |
|
| TrackingMonitor (const edm::ParameterSet &) |
|
| ~TrackingMonitor () override |
|
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) final |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
void | beginStream (edm::StreamID id) final |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
| DQMEDAnalyzer () |
|
void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
|
void | endRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
virtual bool | getCanSaveByLumi () |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
const EDProducer & | operator= (const EDProducer &)=delete |
|
Monitoring source for general quantities related to tracks.
Definition at line 63 of file TrackingMonitor.h.
◆ MVACollection
◆ QualityMaskCollection
◆ TrackingMonitor()
Definition at line 47 of file TrackingMonitor.cc.
133 allTrackToken_ = consumes<edm::View<reco::Track> >(alltrackProducer);
136 seedToken_ = consumes<edm::View<TrajectorySeed> >(seedProducer);
143 return std::make_tuple(consumes<MVACollection>(edm::InputTag(tag,
"MVAValues")),
144 consumes<QualityMaskCollection>(edm::InputTag(tag,
"QualityMasks")));
157 if (!regionLayersTag.label().empty()) {
160 <<
"Only one of 'RegionProducer' and 'RegionSeedingLayersProducer' can be non-empty, now both are.";
164 throw cms::Exception(
"Configuration") <<
"With doRegionPlots=True either 'RegionProducer' or "
165 "'RegionSeedingLayersProducer' must be non-empty, now both are empty.";
209 iConfig.
getParameter<std::vector<edm::InputTag> >(
"primaryVertexInputTags");
211 iConfig.
getParameter<std::vector<edm::InputTag> >(
"selPrimaryVertexInputTags");
212 std::vector<std::string>
pvLabels = iConfig.
getParameter<std::vector<std::string> >(
"pvLabels");
References AlgoName_, allTrackToken_, bsSrc_, bsSrcToken_, builderName, c, doAllSeedPlots, doFractionPlot_, doMVAPlots, doPlotsVsBX_, doPlotsVsBXlumi_, doPlotsVsGoodPVtx_, doPlotsVsLUMI_, doPUmonitoring_, doRegionCandidatePlots, doRegionPlots, doTkCandPlots, Exception, edm::ParameterSet::getParameter(), mps_fire::i, edm::EDGetTokenT< T >::isUninitialized(), edm::InputTag::label(), lumiscalersToken_, magneticFieldToken_, metaDataToken_, mvaQualityTokens_, mvaTrackToken_, pixelClusterInputTag_, pixelClustersToken_, TrackerCollisionTrackingMonitor_cfi::primaryVertexInputTags, TrackerCollisionTrackingMonitor_cfi::pvLabels, pvSrc_, pvSrcToken_, Quality_, regionCandidateToken_, regionLayerSetsToken_, ValL1Emulator_cff::regionTag, regionToken_, runTrackBuildingAnalyzerForSeed, seedStopInfoToken_, seedToken_, TrackerCollisionTrackingMonitor_cfi::selPrimaryVertexInputTags, AlCaHLTBitMon_QueryRunRegistry::string, stripClusterInputTag_, stripClustersToken_, makeGlobalPositionRcd_cfg::tag, theLumiDetails_, theTrackAnalyzer, theVertexMonitor, trackCandidateToken_, L1TCSCTF_cfi::trackProducer, trackToken_, transientTrackingRecHitBuilderToken_, and edm::vector_transform().
◆ ~TrackingMonitor()
TrackingMonitor::~TrackingMonitor |
( |
| ) |
|
|
override |
◆ analyze()
Reimplemented from DQMEDAnalyzer.
Definition at line 741 of file TrackingMonitor.cc.
752 LumiScalersCollection::const_iterator scalit =
lumiScalers->begin();
753 lumi = scalit->instantLumi();
775 int numberOfTracks_den = 0;
777 if (allTrackHandle.
isValid()) {
781 numberOfTracks_den++;
788 pv0 = &pvHandle->front();
798 int numberOfTracks = trackHandle->size();
799 int numberOfTracks_num = 0;
800 int numberOfTracks_pv0 = 0;
804 int totalRecHits = 0, totalLayers = 0;
814 numberOfTracks_num++;
816 ++numberOfTracks_pv0;
821 track->numberOfValidHits());
826 totalRecHits +=
track->numberOfValidHits();
827 totalLayers +=
track->hitPattern().trackerLayersWithMeasurement();
835 if (numberOfTracks_den > 0)
836 frac = static_cast<double>(numberOfTracks_num) / static_cast<double>(numberOfTracks_den);
862 if (numberOfTracks > 0) {
863 double meanRecHits = static_cast<double>(totalRecHits) / static_cast<double>(numberOfTracks);
864 double meanLayers = static_cast<double>(totalLayers) / static_cast<double>(numberOfTracks);
871 float nLS = static_cast<double>(
iEvent.id().luminosityBlock());
909 for (TrackCandidateCollection::const_iterator
cand = theTCCollection.begin();
cand != theTCCollection.end();
914 edm::LogWarning(
"TrackingMonitor") <<
"No Track Candidates in the event. Not filling associated histograms";
919 std::vector<const MVACollection*> mvaCollections;
920 std::vector<const QualityMaskCollection*> qualityMaskCollections;
927 hmva =
iEvent.getHandle(std::get<0>(tokenTpl));
928 hqual =
iEvent.getHandle(std::get<1>(tokenTpl));
929 mvaCollections.push_back(hmva.
product());
930 qualityMaskCollections.push_back(hqual.
product());
953 std::vector<int> NClus;
962 const auto& seedStopInfo = *stopHandle;
981 <<
") differs from seed stop info collection size (" << seedStopInfo.size()
982 <<
"). This is a sign of inconsistency in the configuration. Not filling associated histograms.";
987 edm::LogWarning(
"TrackingMonitor") <<
"No Trajectory seeds in the event. Not filling associated histograms";
995 const auto&
regions = *hregions;
1001 const auto&
regions = *hregions;
1014 std::vector<int> NClus;
1027 size_t totalNumGoodPV = 0;
1029 for (reco::VertexCollection::const_iterator
pv = pvHandle->begin();
pv != pvHandle->end(); ++
pv) {
1031 if (
pv->isFake() ||
pv->tracksSize() == 0)
1042 if (totalNumGoodPV > 1)
1044 double(numberOfTracks - numberOfTracks_pv0) /
double(totalNumGoodPV - 1));
1064 std::vector<int> NClus;
1066 std::ostringstream
ss;
1067 ss <<
"VI stat " << totalNumGoodPV <<
' ' << numberOfTracks;
1069 ss <<
' ' << NClus[
i];
1088 if (totalNumGoodPV != 0)
1091 if (totalNumGoodPV != 0)
1094 if (totalNumGoodPV != 0)
References funct::abs(), GenericTriggerEventFlag::accept(), allTrackToken_, TrackBuildingAnalyzer::analyze(), tadqm::TrackAnalyzer::analyze(), cms::cuda::bs, bsSrcToken_, l1GtPatternGenerator_cfi::bx, ClusterLabels, confID_, COUT, denSelection_, doAllPlots, doAllSeedPlots, doFractionPlot_, doGeneralPropertiesPlots_, doLumiAnalysis, doMVAPlots, doPlotsVsBX_, doPlotsVsBXlumi_, doPlotsVsGoodPVtx_, doPlotsVsLUMI_, doProfilesVsLS_, doPUmonitoring_, doRegionCandidatePlots, doRegionPlots, doSeedLumiAnalysis_, doSeedNumberPlot, doSeedVsClusterPlot, doTkCandPlots, doTrackerSpecific_, dqm::impl::MonitorElement::Fill(), forceSCAL_, DivergingColor::frac, FractionCandidatesOverSeeds, FractionOfGoodTracks, genTriggerEventFlag_, edm::EventSetup::getData(), edm::pset::Registry::getMapped(), GetLumi::getValue(), GoodTracksFractionVsBX, GoodTracksFractionVsGoodPVtx, GoodTracksFractionVsLS, GoodTracksFractionVsLUMI, mps_fire::i, iEvent, edm::pset::Registry::instance(), OnlineLuminosityRecord::instLumi(), reco::Vertex::isFake(), edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), V0Monitor_cfi::lumiScalers, lumiscalersToken_, magneticFieldToken_, MEFolderName, metaDataToken_, mvaQualityTokens_, mvaTrackToken_, reco::Vertex::ndof(), NumberEventsOfVsBX, NumberEventsOfVsGoodPVtx, NumberEventsOfVsLS, NumberEventsOfVsLUMI, NumberOfGoodPVtxVsBX, NumberOfGoodPVtxVsLS, NumberOfGoodPVtxVsLUMI, NumberOfGoodPVtxWO0VsBX, NumberOfGoodPVtxWO0VsLS, NumberOfGoodPVtxWO0VsLUMI, NumberOfMeanLayersPerTrack, NumberOfMeanRecHitsPerTrack, NumberOfPixelClustersVsGoodPVtx, NumberOfPixelClustersVsLUMI, NumberOfPVtxVsGoodPVtx, NumberOfRecHitsPerTrackVsBX, NumberOfRecHitsPerTrackVsGoodPVtx, NumberOfRecHitsPerTrackVsLS, NumberOfRecHitsPerTrackVsLUMI, NumberOfSeeds, NumberOfSeeds_lumiFlag, NumberOfStripClustersVsGoodPVtx, NumberOfStripClustersVsLUMI, NumberOfTrackCandidates, NumberOfTrackingRegions, NumberOfTracks, NumberofTracks_Hardvtx, NumberofTracks_Hardvtx_PUvtx, NumberOfTracks_lumiFlag, NumberOfTracks_PUvtx, NumberOfTracksVsBX, NumberOfTracksVsBXlumi, NumberOfTracksVsGoodPVtx, NumberOfTracksVsLS, NumberOfTracksVsLUMI, NumberOfTracksVsPUPVtx, NumberOfTrkVsClusters, numSelection_, GenericTriggerEventFlag::on(), reco::Vertex::position(), edm::Handle< T >::product(), MetAnalyzer::pv(), pvNDOF_, pvSrcToken_, regionCandidateToken_, regionLayerSetsToken_, regionToken_, runTrackBuildingAnalyzerForSeed, ElectronSeedTrackRefFix_cfi::seedCollection, seedStopInfoToken_, SeedsVsClusters, seedToken_, tadqm::TrackAnalyzer::setBX(), tadqm::TrackAnalyzer::setLumi(), setNclus(), tadqm::TrackAnalyzer::setNumberOfGoodVertices(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, theLumiDetails_, theTrackAnalyzer, theTrackBuildingAnalyzer, theVertexMonitor, HLT_FULL_cff::track, trackCandidateToken_, duplicaterechits_cfi::trackCollection, reco::Vertex::tracksSize(), trackToken_, transientTrackingRecHitBuilderToken_, parallelization::uint, and reco::Vertex::z().
◆ bookHistograms()
Implements DQMEDAnalyzer.
Definition at line 240 of file TrackingMonitor.cc.
252 edm::LogWarning(
"TrackingMonitor") <<
"Qualty Name is invalid, using no quality criterea by default";
261 int TKNoBin = conf->getParameter<
int>(
"TkSizeBin");
262 double TKNoMin = conf->getParameter<
double>(
"TkSizeMin");
263 double TKNoMax = conf->getParameter<
double>(
"TkSizeMax");
265 int TCNoBin = conf->getParameter<
int>(
"TCSizeBin");
266 double TCNoMin = conf->getParameter<
double>(
"TCSizeMin");
267 double TCNoMax = conf->getParameter<
double>(
"TCSizeMax");
269 int TKNoSeedBin = conf->getParameter<
int>(
"TkSeedSizeBin");
270 double TKNoSeedMin = conf->getParameter<
double>(
"TkSeedSizeMin");
271 double TKNoSeedMax = conf->getParameter<
double>(
"TkSeedSizeMax");
274 double RecHitMin = conf->getParameter<
double>(
"RecHitMin");
275 double RecHitMax = conf->getParameter<
double>(
"RecHitMax");
277 int MeanHitBin = conf->getParameter<
int>(
"MeanHitBin");
278 double MeanHitMin = conf->getParameter<
double>(
"MeanHitMin");
279 double MeanHitMax = conf->getParameter<
double>(
"MeanHitMax");
281 int MeanLayBin = conf->getParameter<
int>(
"MeanLayBin");
282 double MeanLayMin = conf->getParameter<
double>(
"MeanLayMin");
283 double MeanLayMax = conf->getParameter<
double>(
"MeanLayMax");
285 int LSBin = conf->getParameter<
int>(
"LSBin");
286 int LSMin = conf->getParameter<
double>(
"LSMin");
287 int LSMax = conf->getParameter<
double>(
"LSMax");
290 if (StateName !=
"OuterSurface" && StateName !=
"InnerSurface" && StateName !=
"ImpactPoint" &&
291 StateName !=
"default" && StateName !=
"All") {
293 edm::LogWarning(
"TrackingMonitor") <<
"State Name is invalid, using 'ImpactPoint' by default";
304 histname =
"NumberOfTracks_" + CategoryName;
311 histname =
"NumberOfTracks_PUvtx_" + CategoryName;
316 histname =
"NumberofTracks_Hardvtx_" + CategoryName;
322 histname =
"NumberofTracks_Hardvtx_PUvtx_" + CategoryName;
330 histname =
"NumberOfMeanRecHitsPerTrack_" + CategoryName;
335 histname =
"NumberOfMeanLayersPerTrack_" + CategoryName;
341 histname =
"FractionOfGoodTracks_" + CategoryName;
353 histname =
"NumberOfTracks_lumiFlag_" + CategoryName;
365 histname =
"NumberOfTracksVsLS_" + CategoryName;
371 histname =
"NumberOfRecHitsPerTrackVsLS_" + CategoryName;
378 histname =
"NumberEventsVsLS_" + CategoryName;
389 histname =
"NumberOfGoodPVtxVsLS_" + CategoryName;
396 histname =
"NumberOfGoodPVtxWO0VsLS_" + CategoryName;
403 histname =
"GoodTracksFractionVsLS_" + CategoryName;
414 double BXMax = 3564.5;
416 histname =
"NumberEventsVsBX_" + CategoryName;
421 histname =
"NumberOfTracksVsBX_" + CategoryName;
426 histname =
"NumberOfRecHitsPerTrackVsBX_" + CategoryName;
432 histname =
"NumberOfGoodPVtxVsBX_" + CategoryName;
438 histname =
"NumberOfGoodPVtxWO0VsBX_" + CategoryName;
445 histname =
"GoodTracksFractionVsBX_" + CategoryName;
464 int PVBin = conf->getParameter<
int>(
"PVBin");
465 float PVMin = conf->getParameter<
double>(
"PVMin");
466 float PVMax = conf->getParameter<
double>(
"PVMax");
468 histname =
"NumberOfTracksVsGoodPVtx";
473 histname =
"NumberOfTracksVsPUPVtx";
478 histname =
"NumberEventsVsGoodPVtx";
484 histname =
"GoodTracksFractionVsGoodPVtx";
490 histname =
"NumberOfRecHitsPerTrackVsGoodPVtx";
495 histname =
"NumberOfPVtxVsGoodPVtx";
500 double NClusPxMin = conf->getParameter<
double>(
"NClusPxMin");
501 double NClusPxMax = conf->getParameter<
double>(
"NClusPxMax");
502 histname =
"NumberOfPixelClustersVsGoodPVtx";
508 double NClusStrMin = conf->getParameter<
double>(
"NClusStrMin");
509 double NClusStrMax = conf->getParameter<
double>(
"NClusStrMax");
510 histname =
"NumberOfStripClustersVsGoodPVtx";
519 int LUMIBin = conf->getParameter<
int>(
"LUMIBin");
520 float LUMIMin = conf->getParameter<
double>(
"LUMIMin");
521 float LUMIMax = conf->getParameter<
double>(
"LUMIMax");
534 histname =
"GoodTracksFractionVsLUMI";
540 histname =
"NumberOfRecHitsPerTrackVsLUMI";
546 double PVMin = conf->getParameter<
double>(
"PVMin");
547 double PVMax = conf->getParameter<
double>(
"PVMax");
549 histname =
"NumberOfGoodPVtxVsLUMI";
554 histname =
"NumberOfGoodPVtxWO0VsLUMI";
560 double NClusPxMin = conf->getParameter<
double>(
"NClusPxMin");
561 double NClusPxMax = conf->getParameter<
double>(
"NClusPxMax");
562 histname =
"NumberOfPixelClustersVsGoodPVtx";
568 double NClusStrMin = conf->getParameter<
double>(
"NClusStrMin");
569 double NClusStrMax = conf->getParameter<
double>(
"NClusStrMax");
570 histname =
"NumberOfStripClustersVsLUMI";
585 histname =
"NumberOfTracksVsBXlumi_" + CategoryName;
612 histname =
"NumberOfSeeds_" + seedProducer.label() +
"_" + CategoryName;
620 histname =
"NumberOfSeeds_lumiFlag_" + seedProducer.label() +
"_" + CategoryName;
630 ClusterLabels = conf->getParameter<std::vector<std::string> >(
"ClusterLabels");
632 std::vector<double> histoMin, histoMax;
633 std::vector<int> histoBin;
635 int NClusPxBin = conf->getParameter<
int>(
"NClusPxBin");
636 double NClusPxMin = conf->getParameter<
double>(
"NClusPxMin");
637 double NClusPxMax = conf->getParameter<
double>(
"NClusPxMax");
639 int NClusStrBin = conf->getParameter<
int>(
"NClusStrBin");
640 double NClusStrMin = conf->getParameter<
double>(
"NClusStrMin");
641 double NClusStrMax = conf->getParameter<
double>(
"NClusStrMax");
649 histname,
histname, histoBin[
i], histoMin[
i], histoMax[
i], TKNoSeedBin, TKNoSeedMin, TKNoSeedMax)));
659 int regionBin = conf->getParameter<
int>(
"RegionSizeBin");
660 double regionMin = conf->getParameter<
double>(
"RegionSizeMin");
661 double regionMax = conf->getParameter<
double>(
"RegionSizeMax");
663 histname =
"TrackingRegionsNumberOf_" + seedProducer.label() +
"_" + CategoryName;
674 histname =
"NumberOfTrackCandidates_" + tcProducer.
label() +
"_" + CategoryName;
679 histname =
"FractionOfCandOverSeeds_" + tcProducer.
label() +
"_" + CategoryName;
688 ClusterLabels = conf->getParameter<std::vector<std::string> >(
"ClusterLabels");
690 std::vector<double> histoMin, histoMax;
691 std::vector<int> histoBin;
693 int NClusStrBin = conf->getParameter<
int>(
"NClusStrBin");
694 double NClusStrMin = conf->getParameter<
double>(
"NClusStrMin");
695 double NClusStrMax = conf->getParameter<
double>(
"NClusStrMax");
697 int NClusPxBin = conf->getParameter<
int>(
"NClusPxBin");
698 double NClusPxMin = conf->getParameter<
double>(
"NClusPxMin");
699 double NClusPxMax = conf->getParameter<
double>(
"NClusPxMax");
702 int NTrk2DBin = ParametersNTrk2D.getParameter<
int>(
"NTrk2DBin");
703 double NTrk2DMin = ParametersNTrk2D.getParameter<
double>(
"NTrk2DMin");
704 double NTrk2DMax = ParametersNTrk2D.getParameter<
double>(
"NTrk2DMax");
718 title =
"# of Clusters in (Pixel+Strip) Detectors";
References HLTSiStripMonitoring_cff::AlgoName, AlgoName_, cms::cuda::assert(), dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), BXlumiParameters_cfi::BXlumiBin, BXlumiParameters_cfi::BXlumiMax, BXlumiParameters_cfi::BXlumiMin, ClusterLabels, confID_, doAllPlots, doAllSeedPlots, doFractionPlot_, doGeneralPropertiesPlots_, doLumiAnalysis, doPlotsVsBX_, doPlotsVsBXlumi_, doPlotsVsGoodPVtx_, doPlotsVsLUMI_, doProfilesVsLS_, doPUmonitoring_, doRegionPlots, doSeedLumiAnalysis_, doSeedNumberPlot, doSeedVsClusterPlot, doTkCandPlots, doTrackerSpecific_, FractionCandidatesOverSeeds, FractionOfGoodTracks, genTriggerEventFlag_, edm::pset::Registry::getMapped(), edm::ParameterSet::getParameter(), dqm::impl::MonitorElement::getTH1(), TrackerCollisionTrackingMonitor_cfi::GoodPVtxMax, TrackerCollisionTrackingMonitor_cfi::GoodPVtxMin, GoodTracksFractionVsBX, GoodTracksFractionVsGoodPVtx, GoodTracksFractionVsLS, GoodTracksFractionVsLUMI, histname, mps_fire::i, TrackBuildingAnalyzer::initHisto(), tadqm::TrackAnalyzer::initHisto(), GenericTriggerEventFlag::initRun(), edm::pset::Registry::instance(), edm::InputTag::label(), siStripFEDCheck_cfi::LSBin, siStripFEDCheck_cfi::LSMax, siStripFEDCheck_cfi::LSMin, TrackingMonitor_cfi::LUMIBin, TrackingMonitor_cfi::LUMIMax, TrackingMonitor_cfi::LUMIMin, MonitorTrackSTAMuons_cfi::MeanHitBin, MonitorTrackSTAMuons_cfi::MeanHitMax, MonitorTrackSTAMuons_cfi::MeanHitMin, MonitorTrackSTAMuons_cfi::MeanLayBin, MonitorTrackSTAMuons_cfi::MeanLayMax, MonitorTrackSTAMuons_cfi::MeanLayMin, MEFolderName, MonitorTrackSTAMuons_cfi::NClusPxBin, MonitorTrackSTAMuons_cfi::NClusPxMax, MonitorTrackSTAMuons_cfi::NClusPxMin, MonitorTrackSTAMuons_cfi::NClusStrBin, MonitorTrackSTAMuons_cfi::NClusStrMax, MonitorTrackSTAMuons_cfi::NClusStrMin, MonitorTrackSTAMuons_cfi::NTrk2DBin, MonitorTrackSTAMuons_cfi::NTrk2DMax, MonitorTrackSTAMuons_cfi::NTrk2DMin, NumberEventsOfVsBX, NumberEventsOfVsGoodPVtx, NumberEventsOfVsLS, NumberEventsOfVsLUMI, NumberOfGoodPVtxVsBX, NumberOfGoodPVtxVsLS, NumberOfGoodPVtxVsLUMI, NumberOfGoodPVtxWO0VsBX, NumberOfGoodPVtxWO0VsLS, NumberOfGoodPVtxWO0VsLUMI, NumberOfMeanLayersPerTrack, NumberOfMeanRecHitsPerTrack, NumberOfPixelClustersVsGoodPVtx, NumberOfPixelClustersVsLUMI, NumberOfPVtxVsGoodPVtx, NumberOfRecHitsPerTrackVsBX, NumberOfRecHitsPerTrackVsGoodPVtx, NumberOfRecHitsPerTrackVsLS, NumberOfRecHitsPerTrackVsLUMI, NumberOfSeeds, NumberOfSeeds_lumiFlag, NumberOfStripClustersVsGoodPVtx, NumberOfStripClustersVsLUMI, NumberOfTrackCandidates, NumberOfTrackingRegions, NumberOfTracks, NumberofTracks_Hardvtx, NumberofTracks_Hardvtx_PUvtx, NumberOfTracks_lumiFlag, NumberOfTracks_PUvtx, NumberOfTracksVsBX, NumberOfTracksVsBXlumi, NumberOfTracksVsGoodPVtx, NumberOfTracksVsLS, NumberOfTracksVsLUMI, NumberOfTracksVsPUPVtx, NumberOfTrkVsClusters, GenericTriggerEventFlag::on(), MonitorTrackInnerTrackMuons_cff::PVBin, MonitorTrackInnerTrackMuons_cff::PVMax, MonitorTrackInnerTrackMuons_cff::PVMin, Quality_, MonitorTrackSTAMuons_cfi::RecHitMax, MonitorTrackSTAMuons_cfi::RecHitMin, SeedsVsClusters, dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), setMaxMinBin(), AlCaHLTBitMon_QueryRunRegistry::string, theTrackAnalyzer, theTrackBuildingAnalyzer, theVertexMonitor, runGCPTkAlMap::title, and parallelization::uint.
◆ doProfileX() [1/2]
◆ doProfileX() [2/2]
◆ setMaxMinBin()
void TrackingMonitor::setMaxMinBin |
( |
std::vector< double > & |
arrayMin, |
|
|
std::vector< double > & |
arrayMax, |
|
|
std::vector< int > & |
arrayBin, |
|
|
double |
smin, |
|
|
double |
smax, |
|
|
int |
sbin, |
|
|
double |
pmin, |
|
|
double |
pmax, |
|
|
int |
pbin |
|
) |
| |
|
virtual |
◆ setNclus()
void TrackingMonitor::setNclus |
( |
const edm::Event & |
iEvent, |
|
|
std::vector< int > & |
arrayNclus |
|
) |
| |
|
virtual |
◆ AlgoName_
std::string TrackingMonitor::AlgoName_ |
|
private |
◆ allTrackToken_
◆ bsSrc_
◆ bsSrcToken_
◆ builderName
std::string TrackingMonitor::builderName |
|
private |
◆ ClusterLabels
std::vector<std::string> TrackingMonitor::ClusterLabels |
|
private |
◆ confID_
◆ denSelection_
◆ doAllPlots
bool TrackingMonitor::doAllPlots |
|
private |
◆ doAllSeedPlots
bool TrackingMonitor::doAllSeedPlots |
|
private |
◆ doDCAPlots_
bool TrackingMonitor::doDCAPlots_ |
|
private |
◆ doFractionPlot_
bool TrackingMonitor::doFractionPlot_ |
|
private |
◆ doGeneralPropertiesPlots_
bool TrackingMonitor::doGeneralPropertiesPlots_ |
|
private |
◆ doHitPropertiesPlots_
bool TrackingMonitor::doHitPropertiesPlots_ |
|
private |
◆ doLumiAnalysis
bool TrackingMonitor::doLumiAnalysis |
|
private |
◆ doMVAPlots
bool TrackingMonitor::doMVAPlots |
|
private |
◆ doPlotsVsBX_
bool TrackingMonitor::doPlotsVsBX_ |
|
private |
◆ doPlotsVsBXlumi_
bool TrackingMonitor::doPlotsVsBXlumi_ |
|
private |
◆ doPlotsVsGoodPVtx_
bool TrackingMonitor::doPlotsVsGoodPVtx_ |
|
private |
◆ doPlotsVsLUMI_
bool TrackingMonitor::doPlotsVsLUMI_ |
|
private |
◆ doProfilesVsLS_
bool TrackingMonitor::doProfilesVsLS_ |
|
private |
◆ doPUmonitoring_
bool TrackingMonitor::doPUmonitoring_ |
|
private |
◆ doRegionCandidatePlots
bool TrackingMonitor::doRegionCandidatePlots |
|
private |
◆ doRegionPlots
bool TrackingMonitor::doRegionPlots |
|
private |
◆ doSeedLumiAnalysis_
bool TrackingMonitor::doSeedLumiAnalysis_ |
|
private |
◆ doSeedNumberPlot
bool TrackingMonitor::doSeedNumberPlot |
|
private |
◆ doSeedVsClusterPlot
bool TrackingMonitor::doSeedVsClusterPlot |
|
private |
◆ doTkCandPlots
bool TrackingMonitor::doTkCandPlots |
|
private |
◆ doTrackerSpecific_
bool TrackingMonitor::doTrackerSpecific_ |
|
private |
◆ forceSCAL_
const bool TrackingMonitor::forceSCAL_ |
|
private |
◆ FractionCandidatesOverSeeds
◆ FractionOfGoodTracks
◆ genTriggerEventFlag_
◆ GoodTracksFractionVsBX
◆ GoodTracksFractionVsGoodPVtx
◆ GoodTracksFractionVsLS
◆ GoodTracksFractionVsLUMI
◆ histname
std::string TrackingMonitor::histname |
|
private |
◆ lumiscalersToken_
◆ magneticFieldToken_
◆ MEFolderName
std::string TrackingMonitor::MEFolderName |
|
private |
◆ metaDataToken_
◆ mvaQualityTokens_
◆ mvaTrackToken_
◆ NumberEventsOfVsBX
◆ NumberEventsOfVsGoodPVtx
◆ NumberEventsOfVsLS
◆ NumberEventsOfVsLUMI
◆ NumberOfGoodPVtxVsBX
◆ NumberOfGoodPVtxVsLS
◆ NumberOfGoodPVtxVsLUMI
◆ NumberOfGoodPVtxWO0VsBX
◆ NumberOfGoodPVtxWO0VsLS
◆ NumberOfGoodPVtxWO0VsLUMI
◆ NumberOfMeanLayersPerTrack
◆ NumberOfMeanRecHitsPerTrack
◆ NumberOfPixelClustersVsGoodPVtx
◆ NumberOfPixelClustersVsLUMI
◆ NumberOfPVtxVsGoodPVtx
◆ NumberOfRecHitsPerTrackVsBX
◆ NumberOfRecHitsPerTrackVsGoodPVtx
◆ NumberOfRecHitsPerTrackVsLS
◆ NumberOfRecHitsPerTrackVsLUMI
◆ NumberOfSeeds
◆ NumberOfSeeds_lumiFlag
◆ NumberOfStripClustersVsGoodPVtx
◆ NumberOfStripClustersVsLUMI
◆ NumberOfTrackCandidates
◆ NumberOfTrackingRegions
◆ NumberOfTracks
◆ NumberofTracks_Hardvtx
◆ NumberofTracks_Hardvtx_PUvtx
◆ NumberOfTracks_lumiFlag
◆ NumberOfTracks_PUvtx
◆ NumberOfTracksVsBX
◆ NumberOfTracksVsBXlumi
◆ NumberOfTracksVsGoodPVtx
◆ NumberOfTracksVsLS
◆ NumberOfTracksVsLUMI
◆ NumberOfTracksVsPUPVtx
◆ NumberOfTrkVsClus
◆ NumberOfTrkVsClusters
◆ NumberOfTrkVsPixelClus
◆ NumberOfTrkVsStripClus
◆ numSelection_
◆ pixelClusterInputTag_
◆ pixelClustersToken_
◆ pvNDOF_
int TrackingMonitor::pvNDOF_ |
|
private |
◆ pvSrc_
◆ pvSrcToken_
◆ Quality_
std::string TrackingMonitor::Quality_ |
|
private |
◆ regionCandidateToken_
◆ regionLayerSetsToken_
◆ regionToken_
◆ runTrackBuildingAnalyzerForSeed
bool TrackingMonitor::runTrackBuildingAnalyzerForSeed |
|
private |
◆ seedStopInfoToken_
◆ SeedsVsClusters
◆ seedToken_
◆ stripClusterInputTag_
◆ stripClustersToken_
◆ theLumiDetails_
GetLumi* TrackingMonitor::theLumiDetails_ |
|
private |
◆ theTrackAnalyzer
◆ theTrackBuildingAnalyzer
◆ theVertexMonitor
◆ trackCandidateToken_
◆ trackToken_
◆ transientTrackingRecHitBuilderToken_
static Registry * instance()
std::vector< MonitorElement * > NumberOfTrkVsClusters
MonitorElement * FractionOfGoodTracks
edm::EDGetTokenT< edm::OwnVector< TrackingRegion > > regionToken_
MonitorElement * GoodTracksFractionVsGoodPVtx
T const * product() const
MonitorElement * NumberOfRecHitsPerTrackVsBX
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > stripClustersToken_
MonitorElement * NumberofTracks_Hardvtx_PUvtx
trackProducer
Run2: False; Run1: True.
double z() const
z coordinate
MonitorElement * NumberEventsOfVsBX
void initHisto(DQMStore::IBooker &ibooker, const edm::EventSetup &, const edm::ParameterSet &)
edm::ParameterSetID confID_
MonitorElement * NumberEventsOfVsLS
virtual void setCurrentFolder(std::string const &fullpath)
bool doRegionCandidatePlots
edm::EDGetTokenT< reco::VertexCollection > pvSrcToken_
MonitorElement * NumberOfSeeds_lumiFlag
selPrimaryVertexInputTags
MonitorElement * NumberOfTrackCandidates
constexpr bool isUninitialized() const noexcept
MonitorElement * NumberOfGoodPVtxWO0VsBX
MonitorElement * NumberOfGoodPVtxVsLS
MonitorElement * NumberofTracks_Hardvtx
const Point & position() const
position
MonitorElement * NumberOfMeanRecHitsPerTrack
edm::EDGetTokenT< edm::View< TrajectorySeed > > seedToken_
ParameterSetID id() const
MonitorElement * NumberOfGoodPVtxVsLUMI
tadqm::TrackAnalyzer * theTrackAnalyzer
MonitorElement * NumberOfTracksVsGoodPVtx
Log< level::Warning, false > LogWarning
edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
void setLumi(const edm::Event &, const edm::EventSetup &iSetup)
bool doGeneralPropertiesPlots_
MonitorElement * NumberOfTracksVsBX
MonitorElement * NumberOfTracksVsLS
MonitorElement * NumberOfStripClustersVsGoodPVtx
MonitorElement * NumberOfGoodPVtxVsBX
MonitorElement * NumberOfTracks_lumiFlag
edm::EDGetTokenT< TrackingRegionsSeedingLayerSets > regionLayerSetsToken_
MonitorElement * NumberOfPixelClustersVsLUMI
void setBX(const edm::Event &)
MonitorElement * NumberOfTracksVsLUMI
edm::EDGetTokenT< reco::BeamSpot > bsSrcToken_
MonitorElement * FractionCandidatesOverSeeds
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())
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > transientTrackingRecHitBuilderToken_
size_t tracksSize() const
number of tracks
std::vector< MonitorElement * > SeedsVsClusters
edm::EDGetTokenT< edm::View< reco::Track > > allTrackToken_
MonitorElement * NumberOfMeanLayersPerTrack
auto vector_transform(std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
MonitorElement * NumberOfRecHitsPerTrackVsLUMI
bool accept(const edm::Event &event, const edm::EventSetup &setup)
To be called from analyze/filter() methods.
std::vector< TrackCandidate > TrackCandidateCollection
MonitorElement * NumberEventsOfVsGoodPVtx
edm::EDGetTokenT< edm::View< reco::Track > > mvaTrackToken_
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
edm::EDGetTokenT< std::vector< SeedStopInfo > > seedStopInfoToken_
MonitorElement * NumberOfRecHitsPerTrackVsLS
GetLumi * theLumiDetails_
MonitorElement * NumberOfSeeds
MonitorElement * NumberOfPixelClustersVsGoodPVtx
std::vector< VertexMonitor * > theVertexMonitor
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)
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
UseScope< MonitorElementData::Scope::LUMI > UseLumiScope
MonitorElement * NumberOfTrackingRegions
edm::EDGetTokenT< TrackCandidateCollection > trackCandidateToken_
bool doHitPropertiesPlots_
MonitorElement * GoodTracksFractionVsLS
double getValue(const edm::Event &)
std::vector< std::tuple< edm::EDGetTokenT< MVACollection >, edm::EDGetTokenT< QualityMaskCollection > > > mvaQualityTokens_
bool getData(T &iHolder) const
edm::EDGetTokenT< reco::CandidateView > regionCandidateToken_
StringCutObjectSelector< reco::Track, true > numSelection_
MonitorElement * NumberOfTracks
void analyze(const edm::Event &, const edm::EventSetup &) override
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrajectorySeed &seed, const SeedStopInfo &stopInfo, const reco::BeamSpot &bs, const MagneticField &theMF, const TransientTrackingRecHitBuilder &theTTRHBuilder)
edm::InputTag pixelClusterInputTag_
std::vector< std::string > ClusterLabels
MonitorElement * GoodTracksFractionVsBX
MonitorElement * NumberOfTracksVsPUPVtx
edm::EDGetTokenT< edm::View< reco::Track > > trackToken_
virtual void setNclus(const edm::Event &, std::vector< int > &)
MonitorElement * GoodTracksFractionVsLUMI
edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * NumberOfStripClustersVsLUMI
float instLumi() const
Return the luminosity for the current nibble.
virtual void setMaxMinBin(std::vector< double > &, std::vector< double > &, std::vector< int > &, double, double, int, double, double, int)
MonitorElement * NumberOfPVtxVsGoodPVtx
void initRun(const edm::Run &run, const edm::EventSetup &setup)
To be called from beginRun() methods.
T getParameter(std::string const &) const
MonitorElement * NumberOfRecHitsPerTrackVsGoodPVtx
void setNumberOfGoodVertices(const edm::Event &)
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
MonitorElement * NumberOfGoodPVtxWO0VsLS
edm::InputTag stripClusterInputTag_
MonitorElement * NumberOfTracksVsBXlumi
Abs< T >::type abs(const T &t)
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::Track &track)
TrackBuildingAnalyzer * theTrackBuildingAnalyzer
MonitorElement * NumberEventsOfVsLUMI
MonitorElement * NumberOfGoodPVtxWO0VsLUMI
MonitorElement * NumberOfTracks_PUvtx
bool getMapped(key_type const &k, value_type &result) const
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
GenericTriggerEventFlag * genTriggerEventFlag_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
StringCutObjectSelector< reco::Track, true > denSelection_
void initHisto(DQMStore::IBooker &ibooker, const edm::ParameterSet &)
bool runTrackBuildingAnalyzerForSeed