#include <TSGFromOrderedHits.h>
Public Member Functions | |
TSGFromOrderedHits (const edm::ParameterSet &pset) | |
virtual | ~TSGFromOrderedHits () |
Private Member Functions | |
virtual void | run (TrajectorySeedCollection &seeds, const edm::Event &ev, const edm::EventSetup &es, const TrackingRegion ®ion) |
Private Attributes | |
edm::ParameterSet | theConfig |
SeedGeneratorFromRegionHits * | theGenerator |
Definition at line 11 of file TSGFromOrderedHits.h.
TSGFromOrderedHits::TSGFromOrderedHits | ( | const edm::ParameterSet & | pset | ) |
Definition at line 9 of file TSGFromOrderedHits.cc.
References reco::get(), edm::ParameterSet::getParameter(), theConfig, and theGenerator.
: theConfig(pset), theGenerator(0) { edm::ParameterSet hitsfactoryPSet = theConfig.getParameter<edm::ParameterSet>("OrderedHitsFactoryPSet"); std::string hitsfactoryName = hitsfactoryPSet.getParameter<std::string>("ComponentName"); OrderedHitsGenerator* hitsGenerator = OrderedHitsGeneratorFactory::get()->create( hitsfactoryName, hitsfactoryPSet); theGenerator = new SeedGeneratorFromRegionHits( hitsGenerator, theConfig); }
TSGFromOrderedHits::~TSGFromOrderedHits | ( | ) | [virtual] |
Definition at line 23 of file TSGFromOrderedHits.cc.
References theGenerator.
{ delete theGenerator; }
void TSGFromOrderedHits::run | ( | TrajectorySeedCollection & | seeds, |
const edm::Event & | ev, | ||
const edm::EventSetup & | es, | ||
const TrackingRegion & | region | ||
) | [private, virtual] |
Reimplemented from TrackerSeedGenerator.
Definition at line 28 of file TSGFromOrderedHits.cc.
References SeedGeneratorFromRegionHits::run(), and theGenerator.
{ theGenerator->run( seeds, region, ev, es); }
Definition at line 23 of file TSGFromOrderedHits.h.
Referenced by TSGFromOrderedHits().
Definition at line 24 of file TSGFromOrderedHits.h.
Referenced by run(), TSGFromOrderedHits(), and ~TSGFromOrderedHits().