#include <RecoVertex/KVFTest/src/KVFTest.cc>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
KVFTest (const edm::ParameterSet &) | |
~KVFTest () | |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 | |
TrackingVertex | getSimVertex (const edm::Event &iEvent) const |
Private Attributes | |
edm::ParameterSet | kvfPSet |
std::string | outputFile_ |
TFile * | rootFile_ |
edm::ParameterSet | theConfig |
edm::EDGetTokenT < reco::TrackToTrackingParticleAssociator > | token_associatorForParamAtPca |
edm::EDGetTokenT < reco::TrackCollection > | token_tracks |
edm::EDGetTokenT < TrackingParticleCollection > | token_TrackTruth |
edm::EDGetTokenT < TrackingVertexCollection > | token_VertexTruth |
std::unique_ptr< SimpleVertexTree > | tree |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
This is a very simple test analyzer mean to test the KalmanVertexFitter
Description: steers tracker primary vertex reconstruction and storage
Implementation: <Notes on="" implementation>="">
|
explicit |
Definition at line 25 of file KVFTest.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HLT_25ns10e33_v2_cff::InputTag, kvfPSet, outputFile_, rootFile_, AlCaHLTBitMon_QueryRunRegistry::string, token_associatorForParamAtPca, token_tracks, token_TrackTruth, and token_VertexTruth.
KVFTest::~KVFTest | ( | ) |
Definition at line 42 of file KVFTest.cc.
References rootFile_.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 58 of file KVFTest.cc.
References gather_cfg::cout, edm::EventSetup::get(), edm::Event::getByToken(), getSimVertex(), edm::EventBase::id(), edm::HandleBase::isValid(), TransientVertex::position(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), token_associatorForParamAtPca, token_tracks, token_TrackTruth, tree, and KalmanVertexFitter::vertex().
|
virtual |
|
virtual |
|
private |
Definition at line 126 of file KVFTest.cc.
References edm::Event::getByToken(), edm::Handle< T >::product(), and token_VertexTruth.
Referenced by analyze().
|
private |
|
private |
|
private |
Definition at line 54 of file KVFTest.h.
Referenced by KVFTest(), and ~KVFTest().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 59 of file KVFTest.h.
Referenced by getSimVertex(), and KVFTest().
|
private |
Definition at line 53 of file KVFTest.h.
Referenced by analyze(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::beginLoop(), MetTreeProducer.MetTreeProducer::declareVariables(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::process(), and MetTreeProducer.MetTreeProducer::process().