#include <CombinedTSG.h>
Public Member Functions | |
CombinedTSG (const edm::ParameterSet &pset) | |
void | trackerSeeds (const TrackCand &, const TrackingRegion &, BTSeedCollection &) |
provide the seeds from the TSGs: must be overloaded | |
~CombinedTSG () | |
Private Attributes | |
std::string | theCategory |
Description: CompositeTSG (TrackerSeedGenerator) which combines (with configurable duplicate removal) the output of different TSG.
Definition at line 13 of file CombinedTSG.h.
CombinedTSG::CombinedTSG | ( | const edm::ParameterSet & | pset | ) |
Definition at line 8 of file CombinedTSG.cc.
References theCategory.
: CompositeTSG(par) { theCategory = "CombinedTSG"; }
CombinedTSG::~CombinedTSG | ( | ) |
Definition at line 13 of file CombinedTSG.cc.
{
//
}
void CombinedTSG::trackerSeeds | ( | const TrackCand & | muonTrackCand, |
const TrackingRegion & | region, | ||
BTSeedCollection & | result | ||
) | [virtual] |
provide the seeds from the TSGs: must be overloaded
Implements CompositeTSG.
Definition at line 17 of file CombinedTSG.cc.
References CompositeTSG::theTSGs.
{ //run all the seed generators registered for (unsigned int iTSG=0; iTSG!=theTSGs.size();iTSG++){ if(theTSGs[iTSG]) { std::vector<TrajectorySeed> tmpResult; theTSGs[iTSG]->trackerSeeds(muonTrackCand,region,tmpResult); //vector of seeds result.insert(result.end(),tmpResult.begin(),tmpResult.end()); } } }
std::string CombinedTSG::theCategory [private] |
Reimplemented from CompositeTSG.
Definition at line 22 of file CombinedTSG.h.
Referenced by CombinedTSG().