#include <DualByL2TSG.h>
Public Member Functions | |
DualByL2TSG (const edm::ParameterSet &pset, edm::ConsumesCollector &iC) | |
unsigned int | selectTSG (const TrackCand &, const TrackingRegion &) |
decide the TSG depending on the existence of a L3 track seeded from the L2. Return value is 0 or 1. More... | |
Public Member Functions inherited from SeparatingTSG | |
SeparatingTSG (const edm::ParameterSet &pset, edm::ConsumesCollector &IC) | |
void | trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) |
provides the seeds from the TSGs: must be overloaded More... | |
virtual | ~SeparatingTSG () |
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::Event * | getEvent () const |
TrackerSeedGenerator () | |
virtual | ~TrackerSeedGenerator () |
destructor More... | |
Private Attributes | |
edm::Handle < reco::TrackCollection > | l3muonH |
edm::EDGetTokenT < reco::TrackCollection > | l3muonToken |
std::string | theCategory |
edm::InputTag | theL3CollectionLabelA |
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 MuonServiceProxy * | theProxyService |
std::vector < TrackerSeedGenerator * > | theTSGs |
Protected Attributes inherited from TrackerSeedGenerator | |
const edm::Event * | theEvent |
const MuonServiceProxy * | theProxyService |
Description: SeparatingTSG (TrackerSeedGenerator) which makes a check to see if a previous seed lead to a L3 track
Definition at line 18 of file DualByL2TSG.h.
DualByL2TSG::DualByL2TSG | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 12 of file DualByL2TSG.cc.
References edm::ConsumesCollector::consumes(), edm::ParameterSet::getParameter(), l3muonToken, CompositeTSG::nTSGs(), theCategory, and theL3CollectionLabelA.
|
virtual |
decide the TSG depending on the existence of a L3 track seeded from the L2. Return value is 0 or 1.
Implements SeparatingTSG.
Definition at line 20 of file DualByL2TSG.cc.
References edm::HandleBase::failedToGet(), edm::Event::getByToken(), TrackerSeedGenerator::getEvent(), i, l3muonH, l3muonToken, LogDebug, findQualityFiles::maxI, and theCategory.
|
private |
Definition at line 29 of file DualByL2TSG.h.
Referenced by selectTSG().
|
private |
Definition at line 30 of file DualByL2TSG.h.
Referenced by DualByL2TSG(), and selectTSG().
|
private |
Definition at line 27 of file DualByL2TSG.h.
Referenced by DualByL2TSG(), and selectTSG().
|
private |
Definition at line 28 of file DualByL2TSG.h.
Referenced by DualByL2TSG().