Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Convert a reco::TrackCollection into std::vector<Trajectory> More... | |
TracksToTrajectories (const edm::ParameterSet &, const Count *) | |
Constructor. More... | |
~TracksToTrajectories () override | |
Destructor. More... | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< Count > > | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | globalEndJob (Count const *iCount) |
static std::unique_ptr< Count > | initializeGlobalCache (edm::ParameterSet const &) |
Private Attributes | |
edm::EDGetTokenT< reco::TrackCollection > | theTracksToken |
std::unique_ptr< TrackTransformerBase > | theTrackTransformer |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< Count > > | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
This class, which is a EDProducer, takes a reco::TrackCollection from the Event and refits the rechits strored in the reco::Tracks. The final result is a std::vector of Trajectories (objs of the type "Trajectory"), which is loaded into the Event in a transient way
Definition at line 43 of file TracksToTrajectories.cc.
TracksToTrajectories::TracksToTrajectories | ( | const edm::ParameterSet & | parameterSet, |
const Count * | |||
) |
Constructor.
Definition at line 68 of file TracksToTrajectories.cc.
References Exception, edm::ParameterSet::getParameter(), and edm::parameterSet().
|
override |
|
static |
Definition at line 98 of file TracksToTrajectories.cc.
References LogTrace, metname, tracksToTrajectories::Count::theNFailures, and tracksToTrajectories::Count::theNTracks.
|
inlinestatic |
Definition at line 51 of file TracksToTrajectories.cc.
|
override |
Convert a reco::TrackCollection into std::vector<Trajectory>
Convert Tracks into Trajectories.
Definition at line 113 of file TracksToTrajectories.cc.
References LogTrace, metname, eostools::move(), singleTopDQM_cfi::setup, and tracks.
|
private |
Definition at line 60 of file TracksToTrajectories.cc.
|
private |
Definition at line 61 of file TracksToTrajectories.cc.