CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

TSGFromOrderedHits Class Reference

#include <TSGFromOrderedHits.h>

Inheritance diagram for TSGFromOrderedHits:
TrackerSeedGenerator

List of all members.

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 &region)

Private Attributes

edm::ParameterSet theConfig
SeedGeneratorFromRegionHitstheGenerator

Detailed Description

Definition at line 11 of file TSGFromOrderedHits.h.


Constructor & Destructor Documentation

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; 
}

Member Function Documentation

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);
}

Member Data Documentation

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().