#include <TrackingPFG/PileUp/src/MCVerticesAnalyzer.cc>
Public Member Functions | |
MCVerticesAnalyzer (const edm::ParameterSet &) | |
~MCVerticesAnalyzer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
virtual void | endJob () |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
Private Attributes | |
TH1F * | m_hlumi |
TH1F * | m_hmainvtxx |
TH1F * | m_hmainvtxy |
TH1F * | m_hmainvtxz |
TH1F * | m_hnvtx |
TH2F * | m_hnvtxvslumi |
TH1F * | m_hnvtxweight |
TProfile * | m_hnvtxweightprof |
TH1F * | m_hpileupvtxz |
edm::InputTag | m_mctruthcollection |
edm::InputTag | m_pileupcollection |
const bool | m_useweight |
edm::InputTag | m_weight |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 58 of file MCVerticesAnalyzer.cc.
|
explicit |
Definition at line 102 of file MCVerticesAnalyzer.cc.
References m_hlumi, m_hmainvtxx, m_hmainvtxy, m_hmainvtxz, m_hnvtx, m_hnvtxvslumi, m_hnvtxweight, m_hnvtxweightprof, m_hpileupvtxz, m_useweight, and TFileDirectory::make().
MCVerticesAnalyzer::~MCVerticesAnalyzer | ( | ) |
Definition at line 144 of file MCVerticesAnalyzer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 159 of file MCVerticesAnalyzer.cc.
References edm::Event::getByLabel(), m_hlumi, m_hmainvtxx, m_hmainvtxy, m_hmainvtxz, m_hnvtx, m_hnvtxvslumi, m_hnvtxweight, m_hnvtxweightprof, m_hpileupvtxz, m_mctruthcollection, m_pileupcollection, m_useweight, m_weight, and histoStyle::weight.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 248 of file MCVerticesAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 235 of file MCVerticesAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 254 of file MCVerticesAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 240 of file MCVerticesAnalyzer.cc.
|
private |
Definition at line 80 of file MCVerticesAnalyzer.cc.
Referenced by analyze(), and MCVerticesAnalyzer().
|
private |
Definition at line 84 of file MCVerticesAnalyzer.cc.
Referenced by analyze(), and MCVerticesAnalyzer().
|
private |
Definition at line 85 of file MCVerticesAnalyzer.cc.
Referenced by analyze(), and MCVerticesAnalyzer().
|
private |
Definition at line 86 of file MCVerticesAnalyzer.cc.
Referenced by analyze(), and MCVerticesAnalyzer().
|
private |
Definition at line 79 of file MCVerticesAnalyzer.cc.
Referenced by analyze(), and MCVerticesAnalyzer().
|
private |
Definition at line 81 of file MCVerticesAnalyzer.cc.
Referenced by analyze(), and MCVerticesAnalyzer().
|
private |
Definition at line 82 of file MCVerticesAnalyzer.cc.
Referenced by analyze(), and MCVerticesAnalyzer().
|
private |
Definition at line 83 of file MCVerticesAnalyzer.cc.
Referenced by analyze(), and MCVerticesAnalyzer().
|
private |
Definition at line 87 of file MCVerticesAnalyzer.cc.
Referenced by analyze(), and MCVerticesAnalyzer().
|
private |
Definition at line 75 of file MCVerticesAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 74 of file MCVerticesAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 76 of file MCVerticesAnalyzer.cc.
Referenced by analyze(), and MCVerticesAnalyzer().
|
private |
Definition at line 77 of file MCVerticesAnalyzer.cc.
Referenced by analyze().