Public Member Functions | |
CombinedTrajectoryFactory * | clone () const override |
CombinedTrajectoryFactory (const edm::ParameterSet &config) | |
const ReferenceTrajectoryCollection | trajectories (const edm::EventSetup &setup, const ConstTrajTrackPairCollection &tracks, const ExternalPredictionCollection &external, const reco::BeamSpot &beamSpot) const override |
const ReferenceTrajectoryCollection | trajectories (const edm::EventSetup &setup, const ConstTrajTrackPairCollection &tracks, const reco::BeamSpot &beamSpot) const override |
~CombinedTrajectoryFactory () override | |
Public Member Functions inherited from TrajectoryFactoryBase | |
const edm::ParameterSet & | configuration () const |
MaterialEffects | materialEffects (void) const |
PropagationDirection | propagationDirection (void) const |
unsigned int | tracksPerTrajectory () const |
TrajectoryFactoryBase (const edm::ParameterSet &config) | |
TrajectoryFactoryBase (const edm::ParameterSet &config, unsigned int tracksPerTrajectory) | |
virtual | ~TrajectoryFactoryBase (void) |
Private Member Functions | |
CombinedTrajectoryFactory (const CombinedTrajectoryFactory &other) | |
Private Attributes | |
std::vector< std::unique_ptr< TrajectoryFactoryBase > > | theFactories |
bool | theUseAllFactories |
A factory that can combine the functionality of several 'trajectory factories'. At construction time, it is given an ordered list of what kinds factories it should use. When called, all the factories are called one after each other,
Example: Combine TwoBodyDecayTrajectoryFactory and ReferenceTrajectoryFactory with useAllFactories = false. In case the former can't produce a trajectory from two given tracks, the tracks can still be used for 'ordinary' reference trajectories (see also TrajectoryFactories.cff).
Definition at line 24 of file CombinedTrajectoryFactory.cc.
CombinedTrajectoryFactory::CombinedTrajectoryFactory | ( | const edm::ParameterSet & | config | ) |
Definition at line 59 of file CombinedTrajectoryFactory.cc.
References beamerCreator::create(), Exception, get, and theFactories.
Referenced by clone().
|
override |
Definition at line 75 of file CombinedTrajectoryFactory.cc.
|
inlineprivate |
|
inlineoverridevirtual |
Implements TrajectoryFactoryBase.
Definition at line 38 of file CombinedTrajectoryFactory.cc.
References CombinedTrajectoryFactory().
|
overridevirtual |
Implements TrajectoryFactoryBase.
Definition at line 93 of file CombinedTrajectoryFactory.cc.
References pwdgSkimBPark_cfi::beamSpot, singleTopDQM_cfi::setup, theFactories, theUseAllFactories, tracks, and trajectories().
|
overridevirtual |
Implements TrajectoryFactoryBase.
Definition at line 77 of file CombinedTrajectoryFactory.cc.
References pwdgSkimBPark_cfi::beamSpot, singleTopDQM_cfi::setup, theFactories, theUseAllFactories, and tracks.
Referenced by trajectories().
|
private |
Definition at line 49 of file CombinedTrajectoryFactory.cc.
Referenced by CombinedTrajectoryFactory(), and trajectories().
|
private |
Definition at line 50 of file CombinedTrajectoryFactory.cc.
Referenced by trajectories().