CMS 3D CMS Logo

Public Member Functions | Private Attributes

SeparatingTSG Class Reference

#include <SeparatingTSG.h>

Inheritance diagram for SeparatingTSG:
CompositeTSG TrackerSeedGenerator DualByEtaTSG DualByL2TSG

List of all members.

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

Detailed Description

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.

Author:
Jean-Roch Vlimant

Definition at line 14 of file SeparatingTSG.h.


Constructor & Destructor Documentation

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.

{}

Member Function Documentation

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

Member Data Documentation

std::string SeparatingTSG::theCategory [private]

Reimplemented from CompositeTSG.

Reimplemented in DualByEtaTSG, and DualByL2TSG.

Definition at line 23 of file SeparatingTSG.h.

Referenced by trackerSeeds().