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;
345 histname =
"GoodTracksFractionVsLS_"+ CategoryName;
354 int BXBin = 3564;
double BXMin = 0.5;
double BXMax = 3564.5;
356 histname =
"NumberEventsVsBX_" + CategoryName;
361 histname =
"NumberOfTracksVsBX_"+ CategoryName;
366 histname =
"NumberOfRecHitsPerTrackVsBX_" + CategoryName;
371 histname =
"NumberOfGoodPVtxVsBX_" + CategoryName;
376 histname =
"NumberOfGoodPVtxWO0VsBX_" + CategoryName;
382 histname =
"GoodTracksFractionVsBX_"+ CategoryName;
403 int PVBin = conf->getParameter<
int> (
"PVBin");
404 float PVMin = conf->getParameter<
double>(
"PVMin");
405 float PVMax = conf->getParameter<
double>(
"PVMax");
407 histname =
"NumberOfTracksVsGoodPVtx";
412 histname =
"NumberOfTracksVsPUPVtx";
417 histname =
"NumberEventsVsGoodPVtx";
423 histname =
"GoodTracksFractionVsGoodPVtx";
429 histname =
"NumberOfRecHitsPerTrackVsGoodPVtx";
434 histname =
"NumberOfPVtxVsGoodPVtx";
439 double NClusPxMin = conf->getParameter<
double>(
"NClusPxMin");
440 double NClusPxMax = conf->getParameter<
double>(
"NClusPxMax");
441 histname =
"NumberOfPixelClustersVsGoodPVtx";
446 double NClusStrMin = conf->getParameter<
double>(
"NClusStrMin");
447 double NClusStrMax = conf->getParameter<
double>(
"NClusStrMax");
448 histname =
"NumberOfStripClustersVsGoodPVtx";
458 int LUMIBin = conf->getParameter<
int>(
"LUMIBin");
459 float LUMIMin = conf->getParameter<
double>(
"LUMIMin");
460 float LUMIMax = conf->getParameter<
double>(
"LUMIMax");
467 histname =
"NumberOfTracksVsLUMI";
473 histname =
"GoodTracksFractionVsLUMI";
479 histname =
"NumberOfRecHitsPerTrackVsLUMI";
484 double PVMin = conf->getParameter<
double>(
"PVMin");
485 double PVMax = conf->getParameter<
double>(
"PVMax");
487 histname =
"NumberOfGoodPVtxVsLUMI";
492 histname =
"NumberOfGoodPVtxWO0VsLUMI";
497 double NClusPxMin = conf->getParameter<
double>(
"NClusPxMin");
498 double NClusPxMax = conf->getParameter<
double>(
"NClusPxMax");
499 histname =
"NumberOfPixelClustersVsGoodPVtx";
504 double NClusStrMin = conf->getParameter<
double>(
"NClusStrMin");
505 double NClusStrMax = conf->getParameter<
double>(
"NClusStrMax");
506 histname =
"NumberOfStripClustersVsLUMI";
518 int BXlumiBin = BXlumiParameters.
getParameter<
int>(
"BXlumiBin");
519 double BXlumiMin = BXlumiParameters.
getParameter<
double>(
"BXlumiMin");
520 double BXlumiMax = BXlumiParameters.
getParameter<
double>(
"BXlumiMax");
522 histname =
"NumberOfTracksVsBXlumi_"+ CategoryName;
537 doAllSeedPlots = conf->getParameter<
bool>(
"doSeedParameterHistos");
543 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"));
549 histname =
"NumberOfSeeds_"+ seedProducer.
label() +
"_"+ CategoryName;
554 if ( doSeedLumiAnalysis_ ) {
556 histname =
"NumberOfSeeds_lumiFlag_"+ seedProducer.
label() +
"_"+ CategoryName;
567 ClusterLabels= conf->getParameter<std::vector<std::string> >(
"ClusterLabels");
569 std::vector<double> histoMin,histoMax;
570 std::vector<int> histoBin;
572 int NClusPxBin = conf->getParameter<
int>(
"NClusPxBin");
573 double NClusPxMin = conf->getParameter<
double>(
"NClusPxMin");
574 double NClusPxMax = conf->getParameter<
double>(
"NClusPxMax");
576 int NClusStrBin = conf->getParameter<
int>(
"NClusStrBin");
577 double NClusStrMin = conf->getParameter<
double>(
"NClusStrMin");
578 double NClusStrMax = conf->getParameter<
double>(
"NClusStrMax");
580 setMaxMinBin(histoMin,histoMax,histoBin,NClusStrMin,NClusStrMax,NClusStrBin,NClusPxMin,NClusPxMax,NClusPxBin);
585 TKNoSeedBin, TKNoSeedMin, TKNoSeedMax)));
595 int regionBin = conf->getParameter<
int>(
"RegionSizeBin");
596 double regionMin = conf->getParameter<
double>(
"RegionSizeMin");
597 double regionMax = conf->getParameter<
double>(
"RegionSizeMax");
599 histname =
"NumberOfTrackingRegions_"+ seedProducer.
label() +
"_"+ CategoryName;
613 histname =
"NumberOfTrackCandidates_"+ tcProducer.
label() +
"_"+ CategoryName;
618 histname =
"FractionOfCandOverSeeds_"+ tcProducer.
label() +
"_"+ CategoryName;
634 if ( doSeedLumiAnalysis_ )
640 ClusterLabels= conf->getParameter<std::vector<std::string> >(
"ClusterLabels");
642 std::vector<double> histoMin,histoMax;
643 std::vector<int> histoBin;
645 int NClusStrBin = conf->getParameter<
int>(
"NClusStrBin");
646 double NClusStrMin = conf->getParameter<
double>(
"NClusStrMin");
647 double NClusStrMax = conf->getParameter<
double>(
"NClusStrMax");
649 int NClusPxBin = conf->getParameter<
int>(
"NClusPxBin");
650 double NClusPxMin = conf->getParameter<
double>(
"NClusPxMin");
651 double NClusPxMax = conf->getParameter<
double>(
"NClusPxMax");
653 int NTrk2DBin = conf->getParameter<
int>(
"NTrk2DBin");
654 double NTrk2DMin = conf->getParameter<
double>(
"NTrk2DMin");
655 double NTrk2DMax = conf->getParameter<
double>(
"NTrk2DMax");
658 NClusStrMin,NClusStrMax,NClusStrBin,
659 NClusPxMin, NClusPxMax, NClusPxBin);
668 histoBin[
i], histoMin[i], histoMax[i],
669 NTrk2DBin,NTrk2DMin,NTrk2DMax
673 title =
"# of Clusters in (Pixel+Strip) Detectors";
719 if ( lumiScalers.
isValid() && !lumiScalers->empty() ) {
720 LumiScalersCollection::const_iterator scalit = lumiScalers->begin();
721 lumi = scalit->instantLumi();
740 int numberOfTracks_den = 0;
743 if (allTrackHandle.
isValid()) {
748 numberOfTracks_den++;
756 pv0 = &pvHandle->front();
760 || pv0->
ndof() <
pvNDOF_ || pv0->
z() > 24.) pv0 =
nullptr;
766 int numberOfTracks = trackHandle->size();
767 int numberOfTracks_num = 0;
768 int numberOfTracks_pv0 = 0;
772 int totalRecHits = 0, totalLayers = 0;
783 numberOfTracks_num++;
793 totalRecHits +=
track->numberOfValidHits();
794 totalLayers +=
track->hitPattern().trackerLayersWithMeasurement();
802 if (numberOfTracks_den > 0) frac =
static_cast<double>(numberOfTracks_num)/static_cast<double>(numberOfTracks_den);
820 if( numberOfTracks > 0 ) {
821 double meanRecHits =
static_cast<double>(totalRecHits) / static_cast<double>(numberOfTracks);
822 double meanLayers =
static_cast<double>(totalLayers) / static_cast<double>(numberOfTracks);
874 for( TrackCandidateCollection::const_iterator
cand = theTCCollection.begin();
cand != theTCCollection.end(); ++
cand) {
879 edm::LogWarning(
"TrackingMonitor") <<
"No Track Candidates in the event. Not filling associated histograms";
884 std::vector<const MVACollection *> mvaCollections;
885 std::vector<const QualityMaskCollection *> qualityMaskCollections;
893 iEvent.
getByToken(std::get<0>(tokenTpl), hmva);
894 iEvent.
getByToken(std::get<1>(tokenTpl), hqual);
896 mvaCollections.push_back(hmva.
product());
897 qualityMaskCollections.push_back(hqual.
product());
913 const auto& seedCollection = *seedHandle;
923 std::vector<int> NClus;
933 const auto& seedStopInfo = *stopHandle;
935 if(seedStopInfo.size() == seedCollection.size()) {
947 for(
size_t i=0;
i < seedCollection.size(); ++
i) {
952 edm::LogWarning(
"TrackingMonitor") <<
"Seed collection size (" << seedCollection.size()
953 <<
") differs from seed stop info collection size (" << seedStopInfo.size()
954 <<
"). This is a sign of inconsistency in the configuration. Not filling associated histograms.";
959 edm::LogWarning(
"TrackingMonitor") <<
"No Trajectory seeds in the event. Not filling associated histograms";
977 std::vector<int> NClus;
992 size_t totalNumGoodPV = 0;
995 for (reco::VertexCollection::const_iterator
pv = pvHandle->begin();
996 pv != pvHandle->end(); ++
pv) {
999 if (
pv->isFake() ||
pv->tracksSize()==0)
continue;
1002 if (
pv->ndof() <
pvNDOF_ ||
pv->z() > 24.)
continue;
1008 if (totalNumGoodPV>1)
NumberOfTracksVsPUPVtx->
Fill( totalNumGoodPV-1,
double(numberOfTracks-numberOfTracks_pv0)/
double(totalNumGoodPV-1) );
1029 std::vector<int> NClus;
1060 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)
1068 if (
ClusterLabels[
i]==
"Pix" ) {arrayMin[
i]=pmin; arrayMax[
i]=pmax; arrayBin[
i]=pbin;}
1069 else if(
ClusterLabels[
i]==
"Strip") {arrayMin[
i]=smin; arrayMax[
i]=smax; arrayBin[
i]=sbin;}
1070 else if(
ClusterLabels[
i]==
"Tot" ) {arrayMin[
i]=smin; arrayMax[
i]=smax+pmax; arrayBin[
i]=sbin;}
1072 arrayMin[
i]=smin; arrayMax[
i]=smax; arrayBin[
i]=sbin;}
1081 int ncluster_pix=-1;
1082 int ncluster_strip=-1;
1090 ncluster_pix = (*pixel_clusters).dataSize();
1091 ncluster_strip = (*strip_clusters).dataSize();
1099 else if(
ClusterLabels[
i]==
"Tot" ) arrayNclus[
i]=ncluster_pix+ncluster_strip;
1101 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