Public Member Functions | |
virtual void | analyze (const edm::Event &event, const edm::EventSetup &es) override |
virtual void | beginJob () override |
PatVertexAnalyzer (const edm::ParameterSet ¶ms) | |
constructor and destructor More... | |
~PatVertexAnalyzer () | |
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 Attributes | |
edm::EDGetTokenT < reco::GenParticleCollection > | genParticlesToken_ |
TH1 * | nTracks_ |
TH1 * | nVertices_ |
edm::EDGetTokenT < reco::VertexCollection > | srcToken_ |
TH1 * | x_ |
TH1 * | xDelta_ |
TH1 * | xErr_ |
TH1 * | xPull_ |
TH1 * | y_ |
TH1 * | yDelta_ |
TH1 * | yErr_ |
TH1 * | yPull_ |
TH1 * | z_ |
TH1 * | zDelta_ |
TH1 * | zErr_ |
TH1 * | zPull_ |
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) |
Definition at line 26 of file PatVertexAnalyzer.cc.
PatVertexAnalyzer::PatVertexAnalyzer | ( | const edm::ParameterSet & | params | ) |
constructor and destructor
Definition at line 48 of file PatVertexAnalyzer.cc.
PatVertexAnalyzer::~PatVertexAnalyzer | ( | ) |
Definition at line 54 of file PatVertexAnalyzer.cc.
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 80 of file PatVertexAnalyzer.cc.
References genParticlesToken_, nTracks_, nVertices_, MetAnalyzer::pv(), srcToken_, reco::Vertex::tracksSize(), reco::Vertex::x(), x_, xDelta_, xErr_, reco::Vertex::xError(), xPull_, reco::Vertex::y(), y_, yDelta_, yErr_, reco::Vertex::yError(), yPull_, reco::Vertex::z(), z_, zDelta_, zErr_, reco::Vertex::zError(), and zPull_.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 58 of file PatVertexAnalyzer.cc.
References TFileService::make(), nTracks_, nVertices_, x_, xDelta_, xErr_, xPull_, y_, yDelta_, yErr_, yPull_, z_, zDelta_, zErr_, and zPull_.
|
private |
Definition at line 39 of file PatVertexAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 41 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 41 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 38 of file PatVertexAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 42 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 44 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 43 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 45 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 42 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 44 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 43 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 45 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 42 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 44 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 43 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 45 of file PatVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().