#include <CosmicSeedCreator.h>
Public Member Functions | |
CosmicSeedCreator (const edm::ParameterSet &extra, edm::ConsumesCollector &&) | |
void | init (const TrackingRegion ®ion, const edm::EventSetup &es, const SeedComparitor *filter) override |
void | makeSeed (TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits) override |
~CosmicSeedCreator () override | |
Public Member Functions inherited from SeedCreator | |
virtual | ~SeedCreator () |
Private Attributes | |
const MagneticField * | bfield = nullptr |
const SeedComparitor * | filter = nullptr |
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | magneticFieldESToken_ |
unsigned int | maxseeds_ |
const TrackingRegion * | region = nullptr |
Definition at line 11 of file CosmicSeedCreator.h.
CosmicSeedCreator::CosmicSeedCreator | ( | const edm::ParameterSet & | extra, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 18 of file CosmicSeedCreator.cc.
|
inlineoverride |
Definition at line 15 of file CosmicSeedCreator.h.
|
overridevirtual |
Implements SeedCreator.
Definition at line 21 of file CosmicSeedCreator.cc.
References bfield, filter, edm::EventSetup::getData(), magneticFieldESToken_, and region.
|
overridevirtual |
Implements SeedCreator.
Definition at line 28 of file CosmicSeedCreator.cc.
References alongMomentum, cms::cuda::assert(), bfield, ALCARECOTkAlJpsiMuMu_cff::charge, TrackingRegion::direction(), hfClusterShapes_cfi::hits, trackerHitRTTI::isUndef(), LogDebug, maxseeds_, oppositeToMomentum, trajectoryStateTransform::persistentState(), edm::OwnVector< T, P >::push_back(), region, and ElectronSeedTrackRefFix_cfi::seedCollection.
|
private |
Definition at line 27 of file CosmicSeedCreator.h.
Referenced by init(), and makeSeed().
|
private |
Definition at line 26 of file CosmicSeedCreator.h.
Referenced by init().
|
private |
Definition at line 29 of file CosmicSeedCreator.h.
Referenced by init().
|
private |
Definition at line 31 of file CosmicSeedCreator.h.
Referenced by makeSeed().
|
private |
Definition at line 25 of file CosmicSeedCreator.h.
Referenced by init(), and makeSeed().