CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
CombinedTSG Class Reference

#include <CombinedTSG.h>

Inheritance diagram for CombinedTSG:
CompositeTSG TrackerSeedGenerator

Public Member Functions

 CombinedTSG (const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
 
void trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &)
 provide the seeds from the TSGs: must be overloaded More...
 
 ~CombinedTSG ()
 
- Public Member Functions inherited from CompositeTSG
 CompositeTSG (const edm::ParameterSet &pset, edm::ConsumesCollector &IC)
 
void init (const MuonServiceProxy *service)
 initialized the TSGs More...
 
void setEvent (const edm::Event &event)
 set the event to the TSGs More...
 
virtual ~CompositeTSG ()
 
- Public Member Functions inherited from TrackerSeedGenerator
const edm::EventgetEvent () const
 
 TrackerSeedGenerator ()
 
virtual ~TrackerSeedGenerator ()
 destructor More...
 

Private Attributes

std::string theCategory
 

Additional Inherited Members

- Public Types inherited from CompositeTSG
typedef std::vector
< TrajectorySeed
BTSeedCollection
 
typedef std::pair< const
Trajectory *, reco::TrackRef
TrackCand
 
- Public Types inherited from TrackerSeedGenerator
typedef std::vector
< TrajectorySeed
BTSeedCollection
 
typedef std::pair< const
Trajectory *, reco::TrackRef
TrackCand
 
- Protected Member Functions inherited from CompositeTSG
unsigned int nTSGs ()
 
- Protected Attributes inherited from CompositeTSG
std::string theCategory
 
std::vector< std::string > theNames
 
const MuonServiceProxytheProxyService
 
std::vector
< TrackerSeedGenerator * > 
theTSGs
 
- Protected Attributes inherited from TrackerSeedGenerator
const edm::EventtheEvent
 
const MuonServiceProxytheProxyService
 

Detailed Description

Description: CompositeTSG (TrackerSeedGenerator) which combines (with configurable duplicate removal) the output of different TSG.

Author
Jean-Roch Vlimant, Alessandro Grelli

Definition at line 16 of file CombinedTSG.h.

Constructor & Destructor Documentation

CombinedTSG::CombinedTSG ( const edm::ParameterSet pset,
edm::ConsumesCollector iC 
)

Definition at line 9 of file CombinedTSG.cc.

References theCategory.

9  : CompositeTSG(par,iC) {
10  theCategory = "CombinedTSG";
11 }
CompositeTSG(const edm::ParameterSet &pset, edm::ConsumesCollector &IC)
Definition: CompositeTSG.cc:7
std::string theCategory
Definition: CombinedTSG.h:25
CombinedTSG::~CombinedTSG ( )

Definition at line 14 of file CombinedTSG.cc.

14  {
15  //
16 }

Member Function Documentation

void CombinedTSG::trackerSeeds ( const TrackCand ,
const TrackingRegion ,
const TrackerTopology ,
BTSeedCollection  
)
virtual

provide the seeds from the TSGs: must be overloaded

Implements CompositeTSG.

Definition at line 18 of file CombinedTSG.cc.

References CompositeTSG::theTSGs.

19  {
20  //run all the seed generators registered
21 
22  for (unsigned int iTSG=0; iTSG!=theTSGs.size();iTSG++){
23  if(theTSGs[iTSG]) {
24  std::vector<TrajectorySeed> tmpResult;
25  theTSGs[iTSG]->trackerSeeds(muonTrackCand,region,tTopo,tmpResult);
26  //vector of seeds
27  result.insert(result.end(),tmpResult.begin(),tmpResult.end());
28  }
29  }
30 }
tuple result
Definition: mps_fire.py:95
std::vector< TrackerSeedGenerator * > theTSGs
Definition: CompositeTSG.h:41

Member Data Documentation

std::string CombinedTSG::theCategory
private

Definition at line 25 of file CombinedTSG.h.

Referenced by CombinedTSG().