#include <DualByL2TSG.h>
Public Member Functions | |
DualByL2TSG (const edm::ParameterSet &pset, edm::ConsumesCollector &iC) | |
unsigned int | selectTSG (const TrackCand &, const TrackingRegion &) override |
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 &) override |
provides the seeds from the TSGs: must be overloaded More... | |
~SeparatingTSG () override | |
Public Member Functions inherited from CompositeTSG | |
CompositeTSG (const edm::ParameterSet &pset, edm::ConsumesCollector &IC) | |
void | init (const MuonServiceProxy *service) override |
initialized the TSGs More... | |
void | setEvent (const edm::Event &event) override |
set the event to the TSGs More... | |
~CompositeTSG () override | |
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< std::unique_ptr< 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.
|
overridevirtual |
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 22 of file DualByL2TSG.cc.
References edm::HandleBase::failedToGet(), edm::Event::getByToken(), TrackerSeedGenerator::getEvent(), mps_fire::i, l3muonH, l3muonToken, LogDebug, findQualityFiles::maxI, and theCategory.
|
private |
Definition at line 28 of file DualByL2TSG.h.
Referenced by selectTSG().
|
private |
Definition at line 29 of file DualByL2TSG.h.
Referenced by DualByL2TSG(), and selectTSG().
|
private |
Definition at line 26 of file DualByL2TSG.h.
Referenced by DualByL2TSG(), and selectTSG().
|
private |
Definition at line 27 of file DualByL2TSG.h.
Referenced by DualByL2TSG().