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 | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () 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 67 of file TracksToTrajectories.cc.
References Exception, and edm::ParameterSet::getParameter().
|
override |
|
static |
Definition at line 96 of file TracksToTrajectories.cc.
References constexpr, LogTrace, metname, tracksToTrajectories::Count::theNFailures, and tracksToTrajectories::Count::theNTracks.
|
inlinestatic |
Definition at line 50 of file TracksToTrajectories.cc.
|
override |
Convert a reco::TrackCollection into std::vector<Trajectory>
Convert Tracks into Trajectories.
Definition at line 111 of file TracksToTrajectories.cc.
References constexpr, DEFINE_FWK_MODULE, LogTrace, metname, eostools::move(), and PDWG_EXOHSCP_cff::tracks.
|
private |
Definition at line 59 of file TracksToTrajectories.cc.
|
private |
Definition at line 60 of file TracksToTrajectories.cc.