#include <VertexHistogramMaker.h>
Public Member Functions | |
void | beginRun (const edm::Run &iRun) |
void | book (const std::string dirname="") |
void | fill (const edm::Event &iEvent, const reco::VertexCollection &vertices, const double weight=1.) |
VertexHistogramMaker (edm::ConsumesCollector &&iC) | |
VertexHistogramMaker (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
~VertexHistogramMaker () | |
Private Member Functions | |
void | fill (const unsigned int orbit, const int bx, const float bxlumi, const reco::VertexCollection &vertices, const double weight=1.) |
Definition at line 23 of file VertexHistogramMaker.h.
VertexHistogramMaker::VertexHistogramMaker | ( | edm::ConsumesCollector && | iC | ) |
Definition at line 16 of file VertexHistogramMaker.cc.
VertexHistogramMaker::VertexHistogramMaker | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 24 of file VertexHistogramMaker.cc.
VertexHistogramMaker::~VertexHistogramMaker | ( | ) |
void VertexHistogramMaker::beginRun | ( | const edm::Run & | iRun | ) |
Definition at line 201 of file VertexHistogramMaker.cc.
References RunHistogramManager::beginRun(), m_currdir, m_fhm, m_rhm, m_runHisto, m_runHisto2D, m_runHistoBXProfile, m_runHistoBXProfile2D, m_runHistoProfile, and TFileService::tFileDirectory().
Referenced by AnotherPrimaryVertexAnalyzer::beginRun().
void VertexHistogramMaker::book | ( | const std::string | dirname = "" | ) |
Definition at line 48 of file VertexHistogramMaker.cc.
References HILowLumiHLTOfflineSource_cfi::dirname, edm::ParameterSet::getUntrackedParameter(), m_currdir, m_fhm, m_haveweight, m_haveweightvsvtxz, m_haveweightvsvtxzchk, m_histoParameters, m_hndof, m_hndofvstracks, m_hndofvsvtxz, m_hnheavytracks, m_hntracks, m_hntracksvsvtxz, m_hntruevtx, m_hntruevtxvslumi, m_hntruevtxvslumi2D, m_hnvtx, m_hnvtxvsbxrun, m_hnvtxvsbxvslumirun, m_hnvtxvsbxvsorbrun, m_hnvtxvsorbrun, m_hnvtxvsorbrun2D, m_hsqsumptsq, m_hsqsumptsqheavy, m_hvtxx, m_hvtxxrun, m_hvtxxvsbx2drun, m_hvtxxvsbxrun, m_hvtxxvsorbrun, m_hvtxy, m_hvtxyrun, m_hvtxyvsbx2drun, m_hvtxyvsbxrun, m_hvtxyvsorbrun, m_hvtxz, m_hvtxzrun, m_hvtxzvsbx2drun, m_hvtxzvsbxrun, m_hvtxzvsorbrun, m_hweights, m_maxLS, m_rhm, m_runHisto, m_runHisto2D, m_runHistoBXProfile, m_runHistoBXProfile2D, m_runHistoProfile, m_weightThreshold, TFileDirectory::make(), RunHistogramManager::makeTH1F(), RunHistogramManager::makeTH2F(), RunHistogramManager::makeTProfile(), RunHistogramManager::makeTProfile2D(), TFileService::mkdir(), and TFileService::tFileDirectory().
Referenced by AnotherPrimaryVertexAnalyzer::AnotherPrimaryVertexAnalyzer().
void VertexHistogramMaker::fill | ( | const edm::Event & | iEvent, |
const reco::VertexCollection & | vertices, | ||
const double | weight = 1. |
||
) |
Definition at line 356 of file VertexHistogramMaker.cc.
References edm::EventBase::bunchCrossing(), edm::LuminosityBlock::getByToken(), edm::Event::getLuminosityBlock(), edm::HandleBase::isValid(), LumiDetails::kOCC1, m_lumiDetailsToken, edm::EventBase::orbitNumber(), HLT_25ns10e33_v2_cff::vertices, and histoStyle::weight.
Referenced by AnotherPrimaryVertexAnalyzer::analyze().
|
private |
Definition at line 253 of file VertexHistogramMaker.cc.
References m_bsConstrained, m_haveweight, m_haveweightvsvtxz, m_haveweightvsvtxzchk, m_hndof, m_hndofvstracks, m_hndofvsvtxz, m_hnheavytracks, m_hntracks, m_hntracksvsvtxz, m_hntruevtx, m_hntruevtxvslumi, m_hntruevtxvslumi2D, m_hnvtx, m_hnvtxvsbxrun, m_hnvtxvsbxvslumirun, m_hnvtxvsbxvsorbrun, m_hnvtxvsorbrun, m_hnvtxvsorbrun2D, m_hsqsumptsq, m_hsqsumptsqheavy, m_hvtxx, m_hvtxxrun, m_hvtxxvsbx2drun, m_hvtxxvsbxrun, m_hvtxxvsorbrun, m_hvtxy, m_hvtxyrun, m_hvtxyvsbx2drun, m_hvtxyvsbxrun, m_hvtxyvsorbrun, m_hvtxz, m_hvtxzrun, m_hvtxzvsbx2drun, m_hvtxzvsbxrun, m_hvtxzvsorbrun, m_hweights, m_runHisto, m_runHisto2D, m_runHistoBXProfile, m_runHistoBXProfile2D, m_runHistoProfile, m_trueOnly, m_weightThreshold, mathSSE::sqrt(), and histoStyle::weight.
|
private |
Definition at line 48 of file VertexHistogramMaker.h.
Referenced by fill().
|
private |
Definition at line 39 of file VertexHistogramMaker.h.
Referenced by beginRun(), book(), and ~VertexHistogramMaker().
|
private |
Definition at line 53 of file VertexHistogramMaker.h.
Referenced by beginRun(), and book().
|
private |
Definition at line 63 of file VertexHistogramMaker.h.
|
private |
Definition at line 67 of file VertexHistogramMaker.h.
|
private |
Definition at line 68 of file VertexHistogramMaker.h.
|
private |
Definition at line 49 of file VertexHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 62 of file VertexHistogramMaker.h.
|
private |
Definition at line 64 of file VertexHistogramMaker.h.
|
private |
Definition at line 65 of file VertexHistogramMaker.h.
|
private |
Definition at line 61 of file VertexHistogramMaker.h.
|
private |
Definition at line 58 of file VertexHistogramMaker.h.
|
private |
Definition at line 66 of file VertexHistogramMaker.h.
|
private |
Definition at line 55 of file VertexHistogramMaker.h.
|
private |
Definition at line 56 of file VertexHistogramMaker.h.
|
private |
Definition at line 57 of file VertexHistogramMaker.h.
|
private |
Definition at line 54 of file VertexHistogramMaker.h.
|
private |
Definition at line 86 of file VertexHistogramMaker.h.
|
private |
Definition at line 88 of file VertexHistogramMaker.h.
|
private |
Definition at line 80 of file VertexHistogramMaker.h.
|
private |
Definition at line 79 of file VertexHistogramMaker.h.
|
private |
Definition at line 81 of file VertexHistogramMaker.h.
|
private |
Definition at line 59 of file VertexHistogramMaker.h.
|
private |
Definition at line 60 of file VertexHistogramMaker.h.
|
private |
Definition at line 70 of file VertexHistogramMaker.h.
|
private |
Definition at line 73 of file VertexHistogramMaker.h.
|
private |
Definition at line 90 of file VertexHistogramMaker.h.
|
private |
Definition at line 83 of file VertexHistogramMaker.h.
|
private |
Definition at line 76 of file VertexHistogramMaker.h.
|
private |
Definition at line 71 of file VertexHistogramMaker.h.
|
private |
Definition at line 74 of file VertexHistogramMaker.h.
|
private |
Definition at line 91 of file VertexHistogramMaker.h.
|
private |
Definition at line 84 of file VertexHistogramMaker.h.
|
private |
Definition at line 77 of file VertexHistogramMaker.h.
|
private |
Definition at line 72 of file VertexHistogramMaker.h.
|
private |
Definition at line 75 of file VertexHistogramMaker.h.
|
private |
Definition at line 92 of file VertexHistogramMaker.h.
|
private |
Definition at line 85 of file VertexHistogramMaker.h.
|
private |
Definition at line 78 of file VertexHistogramMaker.h.
|
private |
Definition at line 69 of file VertexHistogramMaker.h.
|
private |
Definition at line 50 of file VertexHistogramMaker.h.
Referenced by fill().
|
private |
Definition at line 40 of file VertexHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 52 of file VertexHistogramMaker.h.
Referenced by beginRun(), and book().
|
private |
Definition at line 43 of file VertexHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 47 of file VertexHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 45 of file VertexHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 46 of file VertexHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 44 of file VertexHistogramMaker.h.
Referenced by beginRun(), book(), and fill().
|
private |
Definition at line 42 of file VertexHistogramMaker.h.
Referenced by fill().
|
private |
Definition at line 41 of file VertexHistogramMaker.h.