#include <RecoVertex/KineExample/src/KineExample.cc>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | endJob () override |
KineExample (const edm::ParameterSet &) | |
~KineExample () override | |
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 |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 |
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>="">
Definition at line 39 of file KineExample.h.
|
explicit |
Definition at line 37 of file KineExample.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), kvfPSet, outputFile_, AlCaHLTBitMon_QueryRunRegistry::string, token_tracks, and token_VertexTruth.
|
override |
Definition at line 51 of file KineExample.cc.
|
override |
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().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 55 of file KineExample.cc.
|
overridevirtual |
|
private |
Definition at line 290 of file KineExample.cc.
References DEFINE_FWK_MODULE, 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, mps_fire::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().