#include <TrackingPFG/PileUp/src/MCvsRecoVerticesAnalyzer.cc>
Public Member Functions | |
MCvsRecoVerticesAnalyzer (const edm::ParameterSet &) | |
~MCvsRecoVerticesAnalyzer () | |
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_hclosestvtx |
TH2F * | m_hclosestvtxvsnpu |
TH1F * | m_hdeltazclose |
TH2F * | m_hdeltazclosevsnpu |
TH1F * | m_hdeltazfirst |
TH2F * | m_hdeltazfirstvsnpu |
const edm::ParameterSet | m_histoParameters |
TH2F * | m_hrecovsmclumi2d |
TProfile * | m_hrecovsmclumiprof |
TProfile * | m_hrecovsmclumiweightedprof |
TH2F * | m_hrecovsmcnvtx2d |
TProfile * | m_hrecovsmcnvtxprof |
TProfile * | m_hrecovsmcnvtxweightedprof |
edm::InputTag | m_mctruthcollection |
edm::InputTag | m_pileupcollection |
edm::InputTag | m_pvcollection |
const bool | m_useVisibleVertices |
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 60 of file MCvsRecoVerticesAnalyzer.cc.
|
explicit |
Definition at line 112 of file MCvsRecoVerticesAnalyzer.cc.
References edm::ParameterSet::getUntrackedParameter(), m_hclosestvtx, m_hclosestvtxvsnpu, m_hdeltazclose, m_hdeltazclosevsnpu, m_hdeltazfirst, m_hdeltazfirstvsnpu, m_histoParameters, m_hrecovsmclumi2d, m_hrecovsmclumiprof, m_hrecovsmclumiweightedprof, m_hrecovsmcnvtx2d, m_hrecovsmcnvtxprof, m_hrecovsmcnvtxweightedprof, m_useVisibleVertices, m_useweight, and TFileDirectory::make().
MCvsRecoVerticesAnalyzer::~MCvsRecoVerticesAnalyzer | ( | ) |
Definition at line 180 of file MCvsRecoVerticesAnalyzer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 195 of file MCvsRecoVerticesAnalyzer.cc.
References abs, edm::Event::getByLabel(), m_hclosestvtx, m_hclosestvtxvsnpu, m_hdeltazclose, m_hdeltazclosevsnpu, m_hdeltazfirst, m_hdeltazfirstvsnpu, m_hrecovsmclumi2d, m_hrecovsmclumiprof, m_hrecovsmclumiweightedprof, m_hrecovsmcnvtx2d, m_hrecovsmcnvtxprof, m_hrecovsmcnvtxweightedprof, m_mctruthcollection, m_pileupcollection, m_pvcollection, m_useVisibleVertices, m_useweight, m_weight, histoStyle::weight, and detailsBasic3DVector::z.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 309 of file MCvsRecoVerticesAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 296 of file MCvsRecoVerticesAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 315 of file MCvsRecoVerticesAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 301 of file MCvsRecoVerticesAnalyzer.cc.
|
private |
Definition at line 92 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 96 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 91 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 95 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 90 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 94 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 82 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 87 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 88 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 89 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 84 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 85 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 86 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 77 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 76 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 78 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 81 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 79 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 80 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze().