#include <TrackingPFG/PileUp/src/MCvsRecoVerticesAnalyzer.cc>
Public Member Functions | |
MCvsRecoVerticesAnalyzer (const edm::ParameterSet &) | |
~MCvsRecoVerticesAnalyzer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) 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 | |
edm::EDGetTokenT< double > | m_doubleToken |
TH1F * | m_hclosestvtx |
TH2F * | m_hclosestvtxvsnpu |
TH1F * | m_hdeltazclose |
TH2F * | m_hdeltazclosevsnpu |
TH1F * | m_hdeltazfirst |
TH2F * | m_hdeltazfirstvsnpu |
edm::EDGetTokenT < edm::HepMCProduct > | m_hepMCProductToken |
const edm::ParameterSet | m_histoParameters |
TH2F * | m_hrecovsmclumi2d |
TProfile * | m_hrecovsmclumiprof |
TProfile * | m_hrecovsmclumiweightedprof |
TH2F * | m_hrecovsmcnvtx2d |
TProfile * | m_hrecovsmcnvtxprof |
TProfile * | m_hrecovsmcnvtxweightedprof |
edm::EDGetTokenT < reco::VertexCollection > | m_recoVertexCollectionToken |
const bool | m_useVisibleVertices |
const bool | m_useweight |
edm::EDGetTokenT< std::vector < PileupSummaryInfo > > | m_vecPileupSummaryInfoToken |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
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::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 59 of file MCvsRecoVerticesAnalyzer.cc.
|
explicit |
Definition at line 111 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 TFileService::make().
MCvsRecoVerticesAnalyzer::~MCvsRecoVerticesAnalyzer | ( | ) |
Definition at line 179 of file MCvsRecoVerticesAnalyzer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 194 of file MCvsRecoVerticesAnalyzer.cc.
References funct::abs(), edm::Event::getByToken(), m_doubleToken, m_hclosestvtx, m_hclosestvtxvsnpu, m_hdeltazclose, m_hdeltazclosevsnpu, m_hdeltazfirst, m_hdeltazfirstvsnpu, m_hepMCProductToken, m_hrecovsmclumi2d, m_hrecovsmclumiprof, m_hrecovsmclumiweightedprof, m_hrecovsmcnvtx2d, m_hrecovsmcnvtxprof, m_hrecovsmcnvtxweightedprof, m_recoVertexCollectionToken, m_useVisibleVertices, m_useweight, m_vecPileupSummaryInfoToken, histoStyle::weight, and detailsBasic3DVector::z.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 307 of file MCvsRecoVerticesAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 294 of file MCvsRecoVerticesAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 313 of file MCvsRecoVerticesAnalyzer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 299 of file MCvsRecoVerticesAnalyzer.cc.
|
private |
Definition at line 78 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze().
|
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 89 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 93 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 81 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 77 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 86 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and 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 83 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 80 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 76 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 75 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze(), and MCvsRecoVerticesAnalyzer().
|
private |
Definition at line 79 of file MCvsRecoVerticesAnalyzer.cc.
Referenced by analyze().