#include <SeparatingTSG.h>
Public Member Functions | |
virtual unsigned int | selectTSG (const TrackCand &, const TrackingRegion &)=0 |
SeparatingTSG (const edm::ParameterSet &pset) | |
void | trackerSeeds (const TrackCand &, const TrackingRegion &, BTSeedCollection &) |
provides the seeds from the TSGs: must be overloaded | |
virtual | ~SeparatingTSG () |
Private Attributes | |
std::string | theCategory |
Description: composite TrackerSeedGenerator, which uses different TSG in different phase space of the track provided concrete class must be implelemented (DualByEta ,...) to provide the TSG selection.
Definition at line 14 of file SeparatingTSG.h.
SeparatingTSG::SeparatingTSG | ( | const edm::ParameterSet & | pset | ) |
Definition at line 4 of file SeparatingTSG.cc.
:CompositeTSG(pset){}
SeparatingTSG::~SeparatingTSG | ( | ) | [virtual] |
Definition at line 6 of file SeparatingTSG.cc.
{}
virtual unsigned int SeparatingTSG::selectTSG | ( | const TrackCand & | , |
const TrackingRegion & | |||
) | [pure virtual] |
Implemented in DualByEtaTSG, and DualByL2TSG.
Referenced by trackerSeeds().
void SeparatingTSG::trackerSeeds | ( | const TrackCand & | , |
const TrackingRegion & | , | ||
BTSeedCollection & | |||
) | [virtual] |
provides the seeds from the TSGs: must be overloaded
Implements CompositeTSG.
Definition at line 8 of file SeparatingTSG.cc.
References LogDebug, EgammaValidation_Wenu_cff::sel, selectTSG(), theCategory, CompositeTSG::theNames, and CompositeTSG::theTSGs.
{ unsigned int sel = selectTSG(muonTrackCand,region); LogDebug(theCategory)<<"choosing: "<<theNames[sel]<<", at index ["<<sel<<"]"; if(theTSGs[sel]) { std::vector<TrajectorySeed> tmpResult; theTSGs[sel]->trackerSeeds(muonTrackCand,region,tmpResult); result.insert(result.end(),tmpResult.begin(),tmpResult.end()); } }
std::string SeparatingTSG::theCategory [private] |
Reimplemented from CompositeTSG.
Reimplemented in DualByEtaTSG, and DualByL2TSG.
Definition at line 23 of file SeparatingTSG.h.
Referenced by trackerSeeds().