RecoMuon
TrackerSeedGenerator
plugins
CompositeTSG.h
Go to the documentation of this file.
1
#ifndef RecoMuon_TrackerSeedGenerator_CompositeTSG_H
2
#define RecoMuon_TrackerSeedGenerator_CompositeTSG_H
3
12
#include "
RecoMuon/TrackerSeedGenerator/interface/TrackerSeedGenerator.h
"
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeed.h
"
15
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
16
17
class
TrackingRegion
;
18
class
MuonServiceProxy
;
19
class
TrackerTopology
;
20
21
class
CompositeTSG
:
public
TrackerSeedGenerator
{
22
public
:
23
typedef
std::vector<TrajectorySeed>
BTSeedCollection
;
24
typedef
std::pair<const Trajectory *, reco::TrackRef>
TrackCand
;
25
26
CompositeTSG
(
const
edm::ParameterSet
&
pset
,
edm::ConsumesCollector
&IC);
27
~CompositeTSG
()
override
;
28
30
void
init
(
const
MuonServiceProxy
*
service
)
override
;
32
void
setEvent
(
const
edm::Event
&
event
)
override
;
33
35
void
trackerSeeds
(
const
TrackCand
&,
const
TrackingRegion
&,
const
TrackerTopology
*,
BTSeedCollection
&)
override
= 0;
36
37
protected
:
38
unsigned
int
nTSGs
() {
return
theTSGs
.size(); }
39
std::vector<std::unique_ptr<TrackerSeedGenerator>>
theTSGs
;
40
std::vector<std::string>
theNames
;
41
std::string
theCategory
;
42
43
const
MuonServiceProxy
*
theProxyService
;
44
};
45
46
#endif
TrackerSeedGenerator::TrackCand
std::pair< const Trajectory *, reco::TrackRef > TrackCand
Definition:
TrackerSeedGenerator.h:30
service
Definition:
service.py:1
CompositeTSG::trackerSeeds
void trackerSeeds(const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) override=0
provides the seeds from the TSGs: must be overloaded
TrackerTopology
Definition:
TrackerTopology.h:16
TrackerSeedGenerator.h
CompositeTSG::BTSeedCollection
std::vector< TrajectorySeed > BTSeedCollection
Definition:
CompositeTSG.h:23
CompositeTSG::TrackCand
std::pair< const Trajectory *, reco::TrackRef > TrackCand
Definition:
CompositeTSG.h:24
TrackerSeedGenerator::BTSeedCollection
std::vector< TrajectorySeed > BTSeedCollection
Definition:
TrackerSeedGenerator.h:26
CompositeTSG::setEvent
void setEvent(const edm::Event &event) override
set the event to the TSGs
Definition:
CompositeTSG.cc:36
CompositeTSG::theNames
std::vector< std::string > theNames
Definition:
CompositeTSG.h:40
TrajectorySeed.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerSeedGenerator
Definition:
TrackerSeedGenerator.h:24
edm::ParameterSet
Definition:
ParameterSet.h:36
CompositeTSG::theTSGs
std::vector< std::unique_ptr< TrackerSeedGenerator > > theTSGs
Definition:
CompositeTSG.h:39
CompositeTSG::init
void init(const MuonServiceProxy *service) override
initialized the TSGs
Definition:
CompositeTSG.cc:28
CompositeTSG
Definition:
CompositeTSG.h:21
CompositeTSG::~CompositeTSG
~CompositeTSG() override
TrackingRegion
Definition:
TrackingRegion.h:38
CompositeTSG::nTSGs
unsigned int nTSGs()
Definition:
CompositeTSG.h:38
ConsumesCollector.h
ParameterSet.h
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
CompositeTSG::theCategory
std::string theCategory
Definition:
CompositeTSG.h:41
event
Definition:
event.py:1
CompositeTSG::CompositeTSG
CompositeTSG(const edm::ParameterSet &pset, edm::ConsumesCollector &IC)
Definition:
CompositeTSG.cc:7
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
CompositeTSG::theProxyService
const MuonServiceProxy * theProxyService
Definition:
CompositeTSG.h:43
Generated for CMSSW Reference Manual by
1.8.16