#include <DigiPileupCorrHistogramMaker.h>
Public Member Functions | |
void | beginRun (const unsigned int nrun) |
void | book (const std::string dirname, const std::map< unsigned int, std::string > &labels) |
void | book (const std::string dirname) |
DigiPileupCorrHistogramMaker (edm::ConsumesCollector &&iC) | |
DigiPileupCorrHistogramMaker (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
void | fill (const edm::Event &iEvent, const std::map< unsigned int, int > &ndigi) |
~DigiPileupCorrHistogramMaker () | |
Private Attributes | |
const bool | m_2dhisto |
std::map< unsigned int, int > | m_binmax |
std::string | m_hitname |
std::map< unsigned int, std::string > | m_labels |
const int | m_nbins |
std::map< unsigned int, TH2F * > | m_nmultvsmclumi |
std::map< unsigned int, TProfile * > | m_nmultvsmclumiprof |
std::map< unsigned int, TH2F * > | m_nmultvsmcnvtx |
std::map< unsigned int, TProfile * > | m_nmultvsmcnvtxprof |
std::map< unsigned int, TProfile2D * > | m_nmultvsmcnvtxprof2d |
const int | m_ootBX |
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > | m_pileupcollectionToken |
const int | m_scalefact |
std::map< unsigned int, TFileDirectory * > | m_subdirs |
bool | m_useVisibleVertices |
Definition at line 19 of file DigiPileupCorrHistogramMaker.h.
DigiPileupCorrHistogramMaker::DigiPileupCorrHistogramMaker | ( | edm::ConsumesCollector && | iC | ) |
Definition at line 15 of file DigiPileupCorrHistogramMaker.cc.
DigiPileupCorrHistogramMaker::DigiPileupCorrHistogramMaker | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 32 of file DigiPileupCorrHistogramMaker.cc.
References edm::ParameterSet::getUntrackedParameter(), m_binmax, m_labels, and AlCaHLTBitMon_QueryRunRegistry::string.
DigiPileupCorrHistogramMaker::~DigiPileupCorrHistogramMaker | ( | ) |
Definition at line 58 of file DigiPileupCorrHistogramMaker.cc.
References mps_fire::i, m_labels, m_subdirs, and AlCaHLTBitMon_QueryRunRegistry::string.
void DigiPileupCorrHistogramMaker::beginRun | ( | const unsigned int | nrun | ) |
Definition at line 137 of file DigiPileupCorrHistogramMaker.cc.
void DigiPileupCorrHistogramMaker::book | ( | const std::string | dirname, |
const std::map< unsigned int, std::string > & | labels | ||
) |
Definition at line 67 of file DigiPileupCorrHistogramMaker.cc.
References BTVHLTOfflineSource_cfi::dirname, SummaryClient_cfi::labels, and m_labels.
Referenced by MultiplicityInvestigator::MultiplicityInvestigator().
void DigiPileupCorrHistogramMaker::book | ( | const std::string | dirname | ) |
Definition at line 72 of file DigiPileupCorrHistogramMaker.cc.
References BTVHLTOfflineSource_cfi::dirname, mps_fire::i, m_2dhisto, m_binmax, m_hitname, m_labels, m_nbins, m_nmultvsmclumi, m_nmultvsmclumiprof, m_nmultvsmcnvtx, m_nmultvsmcnvtxprof, m_nmultvsmcnvtxprof2d, m_scalefact, m_subdirs, TFileDirectory::mkdir(), TFileService::mkdir(), Skims_PA_cff::name, SiStripTKNumbers::nstrips(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
void DigiPileupCorrHistogramMaker::fill | ( | const edm::Event & | iEvent, |
const std::map< unsigned int, int > & | ndigi | ||
) |
Definition at line 139 of file DigiPileupCorrHistogramMaker.cc.
References mps_fire::i, iEvent, m_2dhisto, m_labels, m_nmultvsmclumi, m_nmultvsmclumiprof, m_nmultvsmcnvtx, m_nmultvsmcnvtxprof, m_nmultvsmcnvtxprof2d, m_ootBX, m_pileupcollectionToken, and m_useVisibleVertices.
Referenced by MultiplicityInvestigator::analyze().
|
private |
Definition at line 47 of file DigiPileupCorrHistogramMaker.h.
|
private |
Definition at line 37 of file DigiPileupCorrHistogramMaker.h.
Referenced by book(), and DigiPileupCorrHistogramMaker().
|
private |
Definition at line 34 of file DigiPileupCorrHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 38 of file DigiPileupCorrHistogramMaker.h.
Referenced by book(), DigiPileupCorrHistogramMaker(), fill(), and ~DigiPileupCorrHistogramMaker().
|
private |
Definition at line 35 of file DigiPileupCorrHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 40 of file DigiPileupCorrHistogramMaker.h.
|
private |
Definition at line 41 of file DigiPileupCorrHistogramMaker.h.
|
private |
Definition at line 42 of file DigiPileupCorrHistogramMaker.h.
|
private |
Definition at line 43 of file DigiPileupCorrHistogramMaker.h.
|
private |
Definition at line 44 of file DigiPileupCorrHistogramMaker.h.
|
private |
Definition at line 48 of file DigiPileupCorrHistogramMaker.h.
Referenced by fill().
|
private |
Definition at line 32 of file DigiPileupCorrHistogramMaker.h.
Referenced by fill().
|
private |
Definition at line 36 of file DigiPileupCorrHistogramMaker.h.
Referenced by book().
|
private |
Definition at line 45 of file DigiPileupCorrHistogramMaker.h.
Referenced by book(), and ~DigiPileupCorrHistogramMaker().
|
private |
Definition at line 33 of file DigiPileupCorrHistogramMaker.h.
Referenced by fill().