#include <DigiVtxPosCorrHistogramMaker.h>
Public Member Functions | |
void | beginRun (const unsigned int nrun) |
void | book (const std::string dirname) |
void | book (const std::string dirname, const std::map< unsigned int, std::string > &labels) |
DigiVtxPosCorrHistogramMaker (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
DigiVtxPosCorrHistogramMaker (edm::ConsumesCollector &&iC) | |
void | fill (const edm::Event &iEvent, const std::map< unsigned int, int > &ndigi) |
~DigiVtxPosCorrHistogramMaker () | |
Private Attributes | |
std::map< unsigned int, int > | m_binmax |
std::string | m_hitname |
std::map< unsigned int, std::string > | m_labels |
edm::EDGetTokenT< edm::HepMCProduct > | m_mcvtxcollectionToken |
const int | m_nbins |
std::map< unsigned int, TH2F * > | m_nmultvsvtxpos |
std::map< unsigned int, TProfile * > | m_nmultvsvtxposprof |
const int | m_scalefact |
std::map< unsigned int, TFileDirectory * > | m_subdirs |
Definition at line 18 of file DigiVtxPosCorrHistogramMaker.h.
DigiVtxPosCorrHistogramMaker::DigiVtxPosCorrHistogramMaker | ( | edm::ConsumesCollector && | iC | ) |
Definition at line 15 of file DigiVtxPosCorrHistogramMaker.cc.
DigiVtxPosCorrHistogramMaker::DigiVtxPosCorrHistogramMaker | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 26 of file DigiVtxPosCorrHistogramMaker.cc.
References edm::ParameterSet::getUntrackedParameter(), m_binmax, m_labels, and AlCaHLTBitMon_QueryRunRegistry::string.
DigiVtxPosCorrHistogramMaker::~DigiVtxPosCorrHistogramMaker | ( | ) |
Definition at line 45 of file DigiVtxPosCorrHistogramMaker.cc.
References mps_fire::i, m_labels, m_subdirs, and AlCaHLTBitMon_QueryRunRegistry::string.
void DigiVtxPosCorrHistogramMaker::beginRun | ( | const unsigned int | nrun | ) |
Definition at line 106 of file DigiVtxPosCorrHistogramMaker.cc.
void DigiVtxPosCorrHistogramMaker::book | ( | const std::string | dirname | ) |
Definition at line 59 of file DigiVtxPosCorrHistogramMaker.cc.
References BTVHLTOfflineSource_cfi::dirname, mps_fire::i, m_binmax, m_hitname, m_labels, m_nbins, m_nmultvsvtxpos, m_nmultvsvtxposprof, m_scalefact, m_subdirs, TFileDirectory::mkdir(), TFileService::mkdir(), Skims_PA_cff::name, SiStripTKNumbers::nstrips(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
void DigiVtxPosCorrHistogramMaker::book | ( | const std::string | dirname, |
const std::map< unsigned int, std::string > & | labels | ||
) |
Definition at line 54 of file DigiVtxPosCorrHistogramMaker.cc.
References BTVHLTOfflineSource_cfi::dirname, SummaryClient_cfi::labels, and m_labels.
Referenced by MultiplicityInvestigator::MultiplicityInvestigator().
void DigiVtxPosCorrHistogramMaker::fill | ( | const edm::Event & | iEvent, |
const std::map< unsigned int, int > & | ndigi | ||
) |
Definition at line 108 of file DigiVtxPosCorrHistogramMaker.cc.
References edm::HepMCProduct::GetEvent(), mps_fire::i, iEvent, edm::HandleBase::isValid(), m_labels, m_mcvtxcollectionToken, m_nmultvsvtxpos, and m_nmultvsvtxposprof.
Referenced by MultiplicityInvestigator::analyze().
|
private |
Definition at line 35 of file DigiVtxPosCorrHistogramMaker.h.
Referenced by book(), and DigiVtxPosCorrHistogramMaker().
|
private |
Definition at line 32 of file DigiVtxPosCorrHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 36 of file DigiVtxPosCorrHistogramMaker.h.
Referenced by book(), DigiVtxPosCorrHistogramMaker(), fill(), and ~DigiVtxPosCorrHistogramMaker().
|
private |
Definition at line 31 of file DigiVtxPosCorrHistogramMaker.h.
Referenced by fill().
|
private |
Definition at line 33 of file DigiVtxPosCorrHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 38 of file DigiVtxPosCorrHistogramMaker.h.
|
private |
Definition at line 39 of file DigiVtxPosCorrHistogramMaker.h.
|
private |
Definition at line 34 of file DigiVtxPosCorrHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 40 of file DigiVtxPosCorrHistogramMaker.h.
Referenced by book(), and ~DigiVtxPosCorrHistogramMaker().