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 | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
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 > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | 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 42 of file TracksToTrajectories.cc.
TracksToTrajectories::TracksToTrajectories | ( | const edm::ParameterSet & | parameterSet, |
const Count * | |||
) |
Constructor.
Definition at line 72 of file TracksToTrajectories.cc.
References Exception, and edm::ParameterSet::getParameter().
|
override |
|
static |
Definition at line 100 of file TracksToTrajectories.cc.
References constexpr, 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 116 of file TracksToTrajectories.cc.
References constexpr, DEFINE_FWK_MODULE, LogTrace, metname, eostools::move(), and l1t::tracks.
|
private |
Definition at line 63 of file TracksToTrajectories.cc.
|
private |
Definition at line 64 of file TracksToTrajectories.cc.