|
|
Definition at line 47 of file PrimaryVertexResolution.cc.
◆ PrimaryVertexResolution()
PrimaryVertexResolution::PrimaryVertexResolution |
( |
const edm::ParameterSet & |
iConfig | ) |
|
◆ ~PrimaryVertexResolution()
PrimaryVertexResolution::~PrimaryVertexResolution |
( |
| ) |
|
|
override |
◆ analyze()
Reimplemented from DQMEDAnalyzer.
Definition at line 392 of file PrimaryVertexResolution.cc.
405 LumiScalersCollection::const_iterator scalit =
lumiScalers->begin();
406 lumi = scalit->instantLumi();
424 const auto nvertices =
vertices.size();
432 for (
auto endPV = cend(
vertices); iPV != endPV; ++iPV) {
433 if (iPV->tracksSize() >= 4) {
References beamspotSrc_, PrimaryVertexResolution::Plots::calculateAndFillResolution(), engine_, fitter_, forceSCAL_, edm::EventSetup::getData(), hOtherV_, hPV_, iEvent, OnlineLuminosityRecord::instLumi(), edm::HandleBase::isValid(), V0Monitor_cfi::lumiScalers, lumiScalersSrc_, metaDataSrc_, sortTracksByPt(), reco::Vertex::tracksSize(), ttbToken_, vertexSrc_, and AlignmentTracksFromVertexSelector_cfi::vertices.
◆ bookHistograms()
◆ fillDescriptions()
Definition at line 343 of file PrimaryVertexResolution.cc.
349 desc.addUntracked<
bool>(
"forceSCAL",
true);
351 desc.addUntracked<
std::string>(
"transientTrackBuilder",
"TransientTrackBuilder");
354 desc.addUntracked<
double>(
"maxResol", 0.02);
355 desc.addUntracked<
int>(
"binsResol", 100);
357 desc.addUntracked<
double>(
"maxPull", 5);
358 desc.addUntracked<
int>(
"binsPull", 100);
361 desc.addUntracked<
double>(
"minNtracks", -0.5);
362 desc.addUntracked<
double>(
"maxNtracks", 119.5);
363 desc.addUntracked<
int>(
"binsNtracks", 60);
365 desc.addUntracked<
double>(
"minNvertices", -0.5);
366 desc.addUntracked<
double>(
"maxNvertices", 199.5);
367 desc.addUntracked<
int>(
"binsNvertices", 100);
369 desc.addUntracked<
double>(
"maxXY", 0.15);
370 desc.addUntracked<
int>(
"binsXY", 100);
372 desc.addUntracked<
double>(
"maxZ", 30.);
373 desc.addUntracked<
int>(
"binsZ", 100);
375 desc.addUntracked<
double>(
"minPt", 1);
376 desc.addUntracked<
double>(
"maxPt", 1
e3);
378 desc.addUntracked<
double>(
"minLumi", 200.);
379 desc.addUntracked<
double>(
"maxLumi", 20000.);
381 descriptions.
add(
"primaryVertexResolution",
desc);
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, SiPixelPhase1Clusters_cfi::e3, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ sortTracksByPt()
◆ beamspotSrc_
◆ binningX_
BinningX PrimaryVertexResolution::binningX_ |
|
private |
◆ binningY_
BinningY PrimaryVertexResolution::binningY_ |
|
private |
◆ engine_
std::mt19937 PrimaryVertexResolution::engine_ |
|
private |
◆ fitter_
◆ forceSCAL_
const bool PrimaryVertexResolution::forceSCAL_ |
|
private |
◆ hOtherV_
Plots PrimaryVertexResolution::hOtherV_ |
|
private |
◆ hPV_
Plots PrimaryVertexResolution::hPV_ |
|
private |
◆ lumiScalersSrc_
◆ metaDataSrc_
◆ rootFolder_
std::string PrimaryVertexResolution::rootFolder_ |
|
private |
◆ ttbToken_
◆ vertexSrc_
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > ttbToken_
std::vector< Vertex > VertexCollection
collection of Vertex objects
void calculateAndFillResolution(const std::vector< reco::TransientTrack > &tracks, size_t nvertices, float lumi, std::mt19937 &engine, AdaptiveVertexFitter &fitter)
virtual void setCurrentFolder(std::string const &fullpath)
T getUntrackedParameter(std::string const &, T const &) const
trackRef_iterator tracks_end() const
last iterator over tracks
void book(DQMStore::IBooker &iBooker)
edm::EDGetTokenT< LumiScalersCollection > lumiScalersSrc_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< reco::VertexCollection > vertexSrc_
size_t tracksSize() const
number of tracks
trackRef_iterator tracks_begin() const
first iterator over tracks
std::vector< reco::TransientTrack > sortTracksByPt(const reco::Vertex &thePV, const TransientTrackBuilder &ttBuilder, const reco::BeamSpot &beamspot)
bool getData(T &iHolder) const
AdaptiveVertexFitter fitter_
edm::EDGetTokenT< reco::BeamSpot > beamspotSrc_
edm::EDGetTokenT< OnlineLuminosityRecord > metaDataSrc_
float instLumi() const
Return the luminosity for the current nibble.
reco::TransientTrack build(const reco::Track *p) const