#include <RecoVertex/KineExample/src/KineExample.cc>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
virtual void | endJob () |
KineExample (const edm::ParameterSet &) | |
~KineExample () | |
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 | |
TrackingVertex | getSimVertex (const edm::Event &iEvent) const |
void | printout (const RefCountedKinematicVertex &myVertex) const |
void | printout (const RefCountedKinematicParticle &myParticle) const |
void | printout (const RefCountedKinematicTree &myTree) const |
Private Attributes | |
edm::ParameterSet | kvfPSet |
std::string | outputFile_ |
edm::ParameterSet | theConfig |
edm::EDGetTokenT < reco::TrackCollection > | token_tracks |
edm::EDGetTokenT < TrackingVertexCollection > | token_VertexTruth |
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) |
This is a very simple test analyzer mean to test the KalmanVertexFitter
Description: steers tracker primary vertex reconstruction and storage
Implementation: <Notes on="" implementation>="">
Definition at line 39 of file KineExample.h.
|
explicit |
Definition at line 37 of file KineExample.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HLT_25ns14e33_v1_cff::InputTag, kvfPSet, outputFile_, AlCaHLTBitMon_QueryRunRegistry::string, token_tracks, and token_VertexTruth.
KineExample::~KineExample | ( | ) |
Definition at line 51 of file KineExample.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 71 of file KineExample.cc.
References gather_cfg::cout, cppFunctionSkipper::exception, KinematicConstrainedVertexFitter::fit(), KinematicParticleFitter::fit(), KinematicParticleVertexFitter::fit(), edm::EventSetup::get(), edm::Event::getByToken(), edm::EventBase::id(), edm::HandleBase::isValid(), TransientVertex::isValid(), jpsi, KinematicParticleFactoryFromTransientTrack::particle(), TransientVertex::position(), printout(), token_tracks, and KalmanVertexFitter::vertex().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 55 of file KineExample.cc.
|
virtual |
|
private |
Definition at line 290 of file KineExample.cc.
References edm::Event::getByToken(), edm::Handle< T >::product(), and token_VertexTruth.
|
private |
Definition at line 234 of file KineExample.cc.
References gather_cfg::cout.
Referenced by analyze(), and printout().
|
private |
Definition at line 241 of file KineExample.cc.
References gather_cfg::cout.
|
private |
Definition at line 253 of file KineExample.cc.
References gather_cfg::cout, i, and printout().
|
private |
Definition at line 58 of file KineExample.h.
Referenced by KineExample().
|
private |
Definition at line 62 of file KineExample.h.
Referenced by KineExample().
|
private |
Definition at line 57 of file KineExample.h.
|
private |
Definition at line 63 of file KineExample.h.
Referenced by analyze(), and KineExample().
|
private |
Definition at line 65 of file KineExample.h.
Referenced by getSimVertex(), and KineExample().