46 : confID_ ( iConfig.
id() )
49 , NumberOfMeanRecHitsPerTrack(
nullptr)
50 , NumberOfMeanLayersPerTrack(
nullptr)
53 , NumberOfTrackingRegions(
nullptr)
55 , NumberOfSeeds_lumiFlag(
nullptr)
56 , NumberOfTrackCandidates(
nullptr)
57 , FractionCandidatesOverSeeds(
nullptr)
62 , GoodTracksFractionVsLS(
nullptr)
67 , NumberOfGoodPVtxWO0VsLS(
nullptr)
70 , GoodTracksFractionVsBX(
nullptr)
71 , NumberOfRecHitsPerTrackVsBX(
nullptr)
73 , NumberOfGoodPVtxWO0VsBX(
nullptr)
74 , NumberOfTracksVsBXlumi(
nullptr)
75 , NumberOfTracksVsGoodPVtx(
nullptr)
76 , NumberOfTracksVsPUPVtx(
nullptr)
77 , NumberEventsOfVsGoodPVtx(
nullptr)
78 , GoodTracksFractionVsGoodPVtx(
nullptr)
79 , NumberOfRecHitsPerTrackVsGoodPVtx(
nullptr)
80 , NumberOfPVtxVsGoodPVtx(
nullptr)
81 , NumberOfPixelClustersVsGoodPVtx(
nullptr)
82 , NumberOfStripClustersVsGoodPVtx(
nullptr)
85 , GoodTracksFractionVsLUMI(
nullptr)
86 , NumberOfRecHitsPerTrackVsLUMI(
nullptr)
87 , NumberOfGoodPVtxVsLUMI(
nullptr)
88 , NumberOfGoodPVtxWO0VsLUMI(
nullptr)
89 , NumberOfPixelClustersVsLUMI(
nullptr)
90 , NumberOfStripClustersVsLUMI(
nullptr)
91 , NumberOfTracks_lumiFlag(
nullptr)
94 , builderName ( iConfig.getParameter<
std::
string>(
"TTRHBuilder"))
95 , doTrackerSpecific_ ( iConfig.getParameter<
bool>(
"doTrackerSpecific") )
96 , doLumiAnalysis ( iConfig.getParameter<
bool>(
"doLumiAnalysis"))
97 , doProfilesVsLS_ ( iConfig.getParameter<
bool>(
"doProfilesVsLS"))
98 , doAllPlots ( iConfig.getParameter<
bool>(
"doAllPlots"))
99 , doGeneralPropertiesPlots_( iConfig.getParameter<
bool>(
"doGeneralPropertiesPlots"))
100 , doHitPropertiesPlots_ ( iConfig.getParameter<
bool>(
"doHitPropertiesPlots"))
101 , doPUmonitoring_ ( iConfig.getParameter<
bool>(
"doPUmonitoring") )
103 , numSelection_ (iConfig.getParameter<
std::
string>(
"numCut"))
104 , denSelection_ (iConfig.getParameter<
std::
string>(
"denCut"))
105 , pvNDOF_ ( iConfig.getParameter<
int> (
"pvNDOF") )
123 allTrackToken_ = consumes<edm::View<reco::Track> >(alltrackProducer);
126 seedToken_ = consumes<edm::View<TrajectorySeed> >(seedProducer);
133 return std::make_tuple(consumes<MVACollection>(edm::InputTag(tag,
"MVAValues")),
134 consumes<QualityMaskCollection>(edm::InputTag(tag,
"QualityMasks")));
151 if (alltrackProducer.
label()==trackProducer.label()) doFractionPlot_ =
false;
158 if ( doPlotsVsBXlumi_ )
166 std::vector<edm::InputTag> primaryVertexInputTags = iConfig.
getParameter<std::vector<edm::InputTag> >(
"primaryVertexInputTags");
167 std::vector<edm::InputTag> selPrimaryVertexInputTags = iConfig.
getParameter<std::vector<edm::InputTag> >(
"selPrimaryVertexInputTags");
168 std::vector<std::string> pvLabels = iConfig.
getParameter<std::vector<std::string> > (
"pvLabels");
170 if (primaryVertexInputTags.size()==pvLabels.size() and primaryVertexInputTags.size()==selPrimaryVertexInputTags.size()) {
171 for (
size_t i=0;
i<primaryVertexInputTags.size();
i++) {
207 assert(conf !=
nullptr);
215 edm::LogWarning(
"TrackingMonitor") <<
"Qualty Name is invalid, using no quality criterea by default";
224 int TKNoBin = conf->getParameter<
int>(
"TkSizeBin");
225 double TKNoMin = conf->getParameter<
double>(
"TkSizeMin");
226 double TKNoMax = conf->getParameter<
double>(
"TkSizeMax");
228 int TCNoBin = conf->getParameter<
int>(
"TCSizeBin");
229 double TCNoMin = conf->getParameter<
double>(
"TCSizeMin");
230 double TCNoMax = conf->getParameter<
double>(
"TCSizeMax");
232 int TKNoSeedBin = conf->getParameter<
int>(
"TkSeedSizeBin");
233 double TKNoSeedMin = conf->getParameter<
double>(
"TkSeedSizeMin");
234 double TKNoSeedMax = conf->getParameter<
double>(
"TkSeedSizeMax");
236 int MeanHitBin = conf->getParameter<
int>(
"MeanHitBin");
237 double MeanHitMin = conf->getParameter<
double>(
"MeanHitMin");
238 double MeanHitMax = conf->getParameter<
double>(
"MeanHitMax");
240 int MeanLayBin = conf->getParameter<
int>(
"MeanLayBin");
241 double MeanLayMin = conf->getParameter<
double>(
"MeanLayMin");
242 double MeanLayMax = conf->getParameter<
double>(
"MeanLayMax");
244 int LSBin = conf->getParameter<
int>(
"LSBin");
245 int LSMin = conf->getParameter<
double>(
"LSMin");
246 int LSMax = conf->getParameter<
double>(
"LSMax");
250 StateName !=
"OuterSurface" &&
251 StateName !=
"InnerSurface" &&
252 StateName !=
"ImpactPoint" &&
253 StateName !=
"default" &&
257 edm::LogWarning(
"TrackingMonitor") <<
"State Name is invalid, using 'ImpactPoint' by default";
269 histname =
"NumberOfTracks_" + CategoryName;
275 histname =
"NumberOfMeanRecHitsPerTrack_" + CategoryName;
280 histname =
"NumberOfMeanLayersPerTrack_" + CategoryName;
286 histname =
"FractionOfGoodTracks_" + CategoryName;
297 histname =
"NumberOfTracks_lumiFlag_" + CategoryName;
312 histname =
"NumberOfTracksVsLS_"+ CategoryName;
318 histname =
"NumberOfRecHitsPerTrackVsLS_" + CategoryName;
324 histname =
"NumberEventsVsLS_" + CategoryName;
330 double GoodPVtxMin = conf->getParameter<
double>(
"GoodPVtxMin");
331 double GoodPVtxMax = conf->getParameter<
double>(
"GoodPVtxMax");
333 histname =
"NumberOfGoodPVtxVsLS_" + CategoryName;
339 histname =
"NumberOfGoodPVtxWO0VsLS_" + CategoryName;
346 histname =
"GoodTracksFractionVsLS_"+ CategoryName;
355 int BXBin = 3564;
double BXMin = 0.5;
double BXMax = 3564.5;
357 histname =
"NumberEventsVsBX_" + CategoryName;
363 histname =
"NumberOfTracksVsBX_"+ CategoryName;
369 histname =
"NumberOfRecHitsPerTrackVsBX_" + CategoryName;
375 histname =
"NumberOfGoodPVtxVsBX_" + CategoryName;
381 histname =
"NumberOfGoodPVtxWO0VsBX_" + CategoryName;
388 histname =
"GoodTracksFractionVsBX_"+ CategoryName;
410 int GoodPVtxBin = conf->getParameter<
int>(
"GoodPVtxBin");
411 double GoodPVtxMin = conf->getParameter<
double>(
"GoodPVtxMin");
412 double GoodPVtxMax = conf->getParameter<
double>(
"GoodPVtxMax");
414 histname =
"NumberOfTracksVsGoodPVtx";
420 histname =
"NumberOfTracksVsPUPVtx";
426 histname =
"NumberEventsVsGoodPVtx";
433 histname =
"GoodTracksFractionVsGoodPVtx";
440 histname =
"NumberOfRecHitsPerTrackVsGoodPVtx";
446 histname =
"NumberOfPVtxVsGoodPVtx";
452 double NClusPxMin = conf->getParameter<
double>(
"NClusPxMin");
453 double NClusPxMax = conf->getParameter<
double>(
"NClusPxMax");
454 histname =
"NumberOfPixelClustersVsGoodPVtx";
460 double NClusStrMin = conf->getParameter<
double>(
"NClusStrMin");
461 double NClusStrMax = conf->getParameter<
double>(
"NClusStrMax");
462 histname =
"NumberOfStripClustersVsGoodPVtx";
473 int LUMIBin = conf->getParameter<
int>(
"LUMIBin");
474 float LUMIMin = conf->getParameter<
double>(
"LUMIMin");
475 float LUMIMax = conf->getParameter<
double>(
"LUMIMax");
483 histname =
"NumberOfTracksVsLUMI";
490 histname =
"GoodTracksFractionVsLUMI";
497 histname =
"NumberOfRecHitsPerTrackVsLUMI";
503 double GoodPVtxMin = conf->getParameter<
double>(
"GoodPVtxMin");
504 double GoodPVtxMax = conf->getParameter<
double>(
"GoodPVtxMax");
506 histname =
"NumberOfGoodPVtxVsLUMI";
512 histname =
"NumberOfGoodPVtxWO0VsLUMI";
518 double NClusPxMin = conf->getParameter<
double>(
"NClusPxMin");
519 double NClusPxMax = conf->getParameter<
double>(
"NClusPxMax");
520 histname =
"NumberOfPixelClustersVsGoodPVtx";
526 double NClusStrMin = conf->getParameter<
double>(
"NClusStrMin");
527 double NClusStrMax = conf->getParameter<
double>(
"NClusStrMax");
528 histname =
"NumberOfStripClustersVsLUMI";
541 int BXlumiBin = BXlumiParameters.
getParameter<
int>(
"BXlumiBin");
542 double BXlumiMin = BXlumiParameters.
getParameter<
double>(
"BXlumiMin");
543 double BXlumiMax = BXlumiParameters.
getParameter<
double>(
"BXlumiMax");
545 histname =
"NumberOfTracksVsBXlumi_"+ CategoryName;
561 doAllSeedPlots = conf->getParameter<
bool>(
"doSeedParameterHistos");
567 runTrackBuildingAnalyzerForSeed=(
doAllSeedPlots || conf->getParameter<
bool>(
"doSeedPTHisto") ||conf->getParameter<
bool>(
"doSeedETAHisto") || conf->getParameter<
bool>(
"doSeedPHIHisto") || conf->getParameter<
bool>(
"doSeedPHIVsETAHisto") || conf->getParameter<
bool>(
"doSeedThetaHisto") || conf->getParameter<
bool>(
"doSeedQHisto") || conf->getParameter<
bool>(
"doSeedDxyHisto") || conf->getParameter<
bool>(
"doSeedDzHisto") || conf->getParameter<
bool>(
"doSeedNRecHitsHisto") || conf->getParameter<
bool>(
"doSeedNVsPhiProf")|| conf->getParameter<
bool>(
"doSeedNVsEtaProf"));
573 histname =
"NumberOfSeeds_"+ seedProducer.
label() +
"_"+ CategoryName;
578 if ( doSeedLumiAnalysis_ ) {
580 histname =
"NumberOfSeeds_lumiFlag_"+ seedProducer.
label() +
"_"+ CategoryName;
591 ClusterLabels= conf->getParameter<std::vector<std::string> >(
"ClusterLabels");
593 std::vector<double> histoMin,histoMax;
594 std::vector<int> histoBin;
596 int NClusPxBin = conf->getParameter<
int>(
"NClusPxBin");
597 double NClusPxMin = conf->getParameter<
double>(
"NClusPxMin");
598 double NClusPxMax = conf->getParameter<
double>(
"NClusPxMax");
600 int NClusStrBin = conf->getParameter<
int>(
"NClusStrBin");
601 double NClusStrMin = conf->getParameter<
double>(
"NClusStrMin");
602 double NClusStrMax = conf->getParameter<
double>(
"NClusStrMax");
604 setMaxMinBin(histoMin,histoMax,histoBin,NClusStrMin,NClusStrMax,NClusStrBin,NClusPxMin,NClusPxMax,NClusPxBin);
609 TKNoSeedBin, TKNoSeedMin, TKNoSeedMax)));
619 int regionBin = conf->getParameter<
int>(
"RegionSizeBin");
620 double regionMin = conf->getParameter<
double>(
"RegionSizeMin");
621 double regionMax = conf->getParameter<
double>(
"RegionSizeMax");
623 histname =
"NumberOfTrackingRegions_"+ seedProducer.
label() +
"_"+ CategoryName;
637 histname =
"NumberOfTrackCandidates_"+ tcProducer.
label() +
"_"+ CategoryName;
642 histname =
"FractionOfCandOverSeeds_"+ tcProducer.
label() +
"_"+ CategoryName;
658 if ( doSeedLumiAnalysis_ )
664 ClusterLabels= conf->getParameter<std::vector<std::string> >(
"ClusterLabels");
666 std::vector<double> histoMin,histoMax;
667 std::vector<int> histoBin;
669 int NClusStrBin = conf->getParameter<
int>(
"NClusStrBin");
670 double NClusStrMin = conf->getParameter<
double>(
"NClusStrMin");
671 double NClusStrMax = conf->getParameter<
double>(
"NClusStrMax");
673 int NClusPxBin = conf->getParameter<
int>(
"NClusPxBin");
674 double NClusPxMin = conf->getParameter<
double>(
"NClusPxMin");
675 double NClusPxMax = conf->getParameter<
double>(
"NClusPxMax");
677 int NTrk2DBin = conf->getParameter<
int>(
"NTrk2DBin");
678 double NTrk2DMin = conf->getParameter<
double>(
"NTrk2DMin");
679 double NTrk2DMax = conf->getParameter<
double>(
"NTrk2DMax");
682 NClusStrMin,NClusStrMax,NClusStrBin,
683 NClusPxMin, NClusPxMax, NClusPxBin);
692 histoBin[
i], histoMin[i], histoMax[i],
693 NTrk2DBin,NTrk2DMin,NTrk2DMax
697 title =
"# of Clusters in (Pixel+Strip) Detectors";
743 if ( lumiScalers.
isValid() && !lumiScalers->empty() ) {
744 LumiScalersCollection::const_iterator scalit = lumiScalers->begin();
745 lumi = scalit->instantLumi();
764 int numberOfTracks_den = 0;
767 if (allTrackHandle.
isValid()) {
772 numberOfTracks_den++;
780 pv0 = &pvHandle->front();
784 || pv0->
ndof() <
pvNDOF_ || pv0->
z() > 24.) pv0 =
nullptr;
790 int numberOfTracks = trackHandle->size();
791 int numberOfTracks_num = 0;
792 int numberOfTracks_pv0 = 0;
796 int totalRecHits = 0, totalLayers = 0;
807 numberOfTracks_num++;
817 totalRecHits +=
track->numberOfValidHits();
818 totalLayers +=
track->hitPattern().trackerLayersWithMeasurement();
826 if (numberOfTracks_den > 0) frac =
static_cast<double>(numberOfTracks_num)/static_cast<double>(numberOfTracks_den);
844 if( numberOfTracks > 0 ) {
845 double meanRecHits =
static_cast<double>(totalRecHits) / static_cast<double>(numberOfTracks);
846 double meanLayers =
static_cast<double>(totalLayers) / static_cast<double>(numberOfTracks);
898 for( TrackCandidateCollection::const_iterator
cand = theTCCollection.begin();
cand != theTCCollection.end(); ++
cand) {
903 edm::LogWarning(
"TrackingMonitor") <<
"No Track Candidates in the event. Not filling associated histograms";
908 std::vector<const MVACollection *> mvaCollections;
909 std::vector<const QualityMaskCollection *> qualityMaskCollections;
917 iEvent.
getByToken(std::get<0>(tokenTpl), hmva);
918 iEvent.
getByToken(std::get<1>(tokenTpl), hqual);
920 mvaCollections.push_back(hmva.
product());
921 qualityMaskCollections.push_back(hqual.
product());
937 const auto& seedCollection = *seedHandle;
947 std::vector<int> NClus;
957 const auto& seedStopInfo = *stopHandle;
959 if(seedStopInfo.size() == seedCollection.size()) {
971 for(
size_t i=0;
i < seedCollection.size(); ++
i) {
976 edm::LogWarning(
"TrackingMonitor") <<
"Seed collection size (" << seedCollection.size()
977 <<
") differs from seed stop info collection size (" << seedStopInfo.size()
978 <<
"). This is a sign of inconsistency in the configuration. Not filling associated histograms.";
983 edm::LogWarning(
"TrackingMonitor") <<
"No Trajectory seeds in the event. Not filling associated histograms";
1001 std::vector<int> NClus;
1016 size_t totalNumGoodPV = 0;
1019 for (reco::VertexCollection::const_iterator
pv = pvHandle->begin();
1020 pv != pvHandle->end(); ++
pv) {
1023 if (
pv->isFake() ||
pv->tracksSize()==0)
continue;
1026 if (
pv->ndof() <
pvNDOF_ ||
pv->z() > 24.)
continue;
1032 if (totalNumGoodPV>1)
NumberOfTracksVsPUPVtx->
Fill( totalNumGoodPV-1,
double(numberOfTracks-numberOfTracks_pv0)/
double(totalNumGoodPV-1) );
1053 std::vector<int> NClus;
1084 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)
1092 if (
ClusterLabels[
i]==
"Pix" ) {arrayMin[
i]=pmin; arrayMax[
i]=pmax; arrayBin[
i]=pbin;}
1093 else if(
ClusterLabels[
i]==
"Strip") {arrayMin[
i]=smin; arrayMax[
i]=smax; arrayBin[
i]=sbin;}
1094 else if(
ClusterLabels[
i]==
"Tot" ) {arrayMin[
i]=smin; arrayMax[
i]=smax+pmax; arrayBin[
i]=sbin;}
1096 arrayMin[
i]=smin; arrayMax[
i]=smax; arrayBin[
i]=sbin;}
1105 int ncluster_pix=-1;
1106 int ncluster_strip=-1;
1114 ncluster_pix = (*pixel_clusters).dataSize();
1115 ncluster_strip = (*strip_clusters).dataSize();
1123 else if(
ClusterLabels[
i]==
"Tot" ) arrayNclus[
i]=ncluster_pix+ncluster_strip;
1125 arrayNclus[
i]=ncluster_strip ;}
edm::EDGetTokenT< std::vector< SeedStopInfo > > seedStopInfoToken_
edm::EDGetTokenT< edm::View< reco::Track > > trackToken_
T getParameter(std::string const &) const
edm::EDGetTokenT< edm::OwnVector< TrackingRegion > > regionToken_
edm::EDGetTokenT< edm::View< TrajectorySeed > > seedToken_
std::vector< MonitorElement * > NumberOfTrkVsClusters
MonitorElement * FractionOfGoodTracks
virtual void setMaxMinBin(std::vector< double > &, std::vector< double > &, std::vector< int > &, double, double, int, double, double, int)
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrajectorySeed &seed, const SeedStopInfo &stopInfo, const reco::BeamSpot &bs, const edm::ESHandle< MagneticField > &theMF, const edm::ESHandle< TransientTrackingRecHitBuilder > &theTTRHBuilder)
MonitorElement * NumberOfTracksVsBX
MonitorElement * NumberOfRecHitsPerTrackVsBX
MonitorElement * NumberOfRecHitsPerTrackVsLUMI
virtual void setNclus(const edm::Event &, std::vector< int > &)
~TrackingMonitor() override
MonitorElement * bookProfile(Args &&...args)
MonitorElement * NumberEventsOfVsGoodPVtx
GetLumi * theLumiDetails_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
void initHisto(DQMStore::IBooker &ibooker, const edm::EventSetup &, const edm::ParameterSet &)
std::vector< TrackCandidate > TrackCandidateCollection
MonitorElement * FractionCandidatesOverSeeds
int bunchCrossing() const
MonitorElement * GoodTracksFractionVsLUMI
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
MonitorElement * NumberOfPVtxVsGoodPVtx
MonitorElement * NumberOfMeanRecHitsPerTrack
MonitorElement * NumberOfTracksVsGoodPVtx
void initHisto(DQMStore::IBooker &ibooker, const edm::ParameterSet &)
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 >
LuminosityBlockNumber_t luminosityBlock() const
const Point & position() const
position
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * NumberOfStripClustersVsLUMI
MonitorElement * GoodTracksFractionVsLS
edm::EDGetTokenT< edm::View< reco::Track > > mvaTrackToken_
double getValue(const edm::Event &)
MonitorElement * NumberOfGoodPVtxWO0VsLUMI
MonitorElement * NumberOfSeeds
const_iterator begin() const
MonitorElement * NumberOfTrackingRegions
void setBX(const edm::Event &)
MonitorElement * NumberOfGoodPVtxVsLS
edm::EDGetTokenT< edm::View< reco::Track > > allTrackToken_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * NumberOfGoodPVtxVsLUMI
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
bool accept(const edm::Event &event, const edm::EventSetup &setup)
To be called from analyze/filter() methods.
MonitorElement * book1D(Args &&...args)
void endRun(const edm::Run &, const edm::EventSetup &) override
MonitorElement * NumberOfTracksVsLS
Abs< T >::type abs(const T &t)
MonitorElement * NumberOfGoodPVtxWO0VsLS
double z() const
z coordinate
bool getMapped(key_type const &k, value_type &result) const
MonitorElement * NumberOfTracksVsPUPVtx
edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
MonitorElement * NumberEventsOfVsBX
bool runTrackBuildingAnalyzerForSeed
MonitorElement * NumberOfStripClustersVsGoodPVtx
std::vector< MonitorElement * > SeedsVsClusters
MonitorElement * NumberOfPixelClustersVsGoodPVtx
dqm::TrackAnalyzer * theTrackAnalyzer
MonitorElement * NumberOfRecHitsPerTrackVsLS
MonitorElement * GoodTracksFractionVsGoodPVtx
MonitorElement * NumberOfRecHitsPerTrackVsGoodPVtx
edm::ParameterSetID confID_
MonitorElement * NumberOfPixelClustersVsLUMI
void setNumberOfGoodVertices(const edm::Event &)
std::vector< VertexMonitor * > theVertexMonitor
MonitorElement * NumberOfTracksVsBXlumi
edm::InputTag stripClusterInputTag_
bool doGeneralPropertiesPlots_
TrackBuildingAnalyzer * theTrackBuildingAnalyzer
void setCurrentFolder(const std::string &fullpath)
T const * product() const
MonitorElement * book2D(Args &&...args)
edm::EDGetTokenT< TrackCandidateCollection > trackCandidateToken_
MonitorElement * NumberOfMeanLayersPerTrack
StringCutObjectSelector< reco::Track, true > denSelection_
StringCutObjectSelector< reco::Track, true > numSelection_
GenericTriggerEventFlag * genTriggerEventFlag_
edm::EDGetTokenT< reco::CandidateView > regionCandidateToken_
MonitorElement * GoodTracksFractionVsBX
edm::InputTag pixelClusterInputTag_
MonitorElement * NumberOfSeeds_lumiFlag
void beginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &eSetup) override
TrackingMonitor(const edm::ParameterSet &)
edm::ESHandle< TransientTrackingRecHitBuilder > theTTRHBuilder
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
virtual void beginJob(void)
MonitorElement * NumberOfTrackCandidates
const_iterator end() const
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersToken_
void Reset(std::vector< TH2F > &depth)
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > stripClustersToken_
void initRun(const edm::Run &run, const edm::EventSetup &setup)
To be called from beginRun() methods.
MonitorElement * NumberOfGoodPVtxVsBX
void setLumiFlag(void)
this ME is meant to be stored for each luminosity section
MonitorElement * NumberEventsOfVsLUMI
std::vector< std::tuple< edm::EDGetTokenT< MVACollection >, edm::EDGetTokenT< QualityMaskCollection > > > mvaQualityTokens_
MonitorElement * NumberOfTracks_lumiFlag
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)
void Reset(void)
reset ME (ie. contents, errors, etc)
edm::EDGetTokenT< reco::BeamSpot > bsSrcToken_
MonitorElement * NumberOfTracks
size_t tracksSize() const
number of tracks
static Registry * instance()
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::Track &track)
edm::EDGetTokenT< reco::VertexCollection > pvSrcToken_
MonitorElement * NumberEventsOfVsLS
MonitorElement * NumberOfTracksVsLUMI
std::vector< std::string > ClusterLabels
MonitorElement * NumberOfGoodPVtxWO0VsBX