RecoMuon
TrackerSeedGenerator
interface
L1MuonSeedsMerger.h
Go to the documentation of this file.
1
#ifndef RecoMuon_TrackerSeedGenerator_L1MuonSeedsMerger_H
2
#define RecoMuon_TrackerSeedGenerator_L1MuonSeedsMerger_H
3
4
#include "
RecoTracker/TkSeedingLayers/interface/SeedingHitSet.h
"
5
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
6
#include <vector>
7
8
namespace
edm
{
9
class
ParameterSet
;
10
}
11
12
class
L1MuonSeedsMerger
{
13
public
:
14
typedef
std::pair<const reco::Track*, SeedingHitSet>
TrackAndHits
;
15
typedef
std::vector<TrackAndHits>
TracksAndHits
;
16
L1MuonSeedsMerger
(
const
edm::ParameterSet
&
cfg
);
17
virtual
~L1MuonSeedsMerger
() {}
18
virtual
void
resolve
(
TracksAndHits
&)
const
;
19
20
private
:
21
enum
Action
{
goAhead
,
killFirst
,
killSecond
,
mergeTwo
};
22
struct
Less
{
23
bool
operator()
(
const
TrackAndHits
&,
const
TrackAndHits
&)
const
;
24
};
25
const
TrackAndHits
*
merge
(
const
TrackAndHits
*,
const
TrackAndHits
*)
const
;
26
Action
compare
(
const
TrackAndHits
*,
const
TrackAndHits
*)
const
;
27
28
private
:
29
float
theDeltaEtaCut
;
30
float
theDiffRelPtCut
;
31
};
32
#endif
L1MuonSeedsMerger::mergeTwo
Definition:
L1MuonSeedsMerger.h:21
L1MuonSeedsMerger::~L1MuonSeedsMerger
virtual ~L1MuonSeedsMerger()
Definition:
L1MuonSeedsMerger.h:17
L1MuonSeedsMerger::theDiffRelPtCut
float theDiffRelPtCut
Definition:
L1MuonSeedsMerger.h:30
edm
HLT enums.
Definition:
AlignableModifier.h:19
L1MuonSeedsMerger::killFirst
Definition:
L1MuonSeedsMerger.h:21
L1MuonSeedsMerger::Action
Action
Definition:
L1MuonSeedsMerger.h:21
L1MuonSeedsMerger::Less::operator()
bool operator()(const TrackAndHits &, const TrackAndHits &) const
Definition:
L1MuonSeedsMerger.cc:46
L1MuonSeedsMerger
Definition:
L1MuonSeedsMerger.h:12
L1MuonSeedsMerger::Less
Definition:
L1MuonSeedsMerger.h:22
TrackFwd.h
L1MuonSeedsMerger::compare
Action compare(const TrackAndHits *, const TrackAndHits *) const
Definition:
L1MuonSeedsMerger.cc:61
L1MuonSeedsMerger::TracksAndHits
std::vector< TrackAndHits > TracksAndHits
Definition:
L1MuonSeedsMerger.h:15
SeedingHitSet.h
L1MuonSeedsMerger::L1MuonSeedsMerger
L1MuonSeedsMerger(const edm::ParameterSet &cfg)
Definition:
L1MuonSeedsMerger.cc:6
L1MuonSeedsMerger::resolve
virtual void resolve(TracksAndHits &) const
Definition:
L1MuonSeedsMerger.cc:11
edm::ParameterSet
Definition:
ParameterSet.h:36
L1MuonSeedsMerger::TrackAndHits
std::pair< const reco::Track *, SeedingHitSet > TrackAndHits
Definition:
L1MuonSeedsMerger.h:14
ParameterSet
Definition:
Functions.h:16
L1MuonSeedsMerger::merge
const TrackAndHits * merge(const TrackAndHits *, const TrackAndHits *) const
Definition:
L1MuonSeedsMerger.cc:50
L1MuonSeedsMerger::killSecond
Definition:
L1MuonSeedsMerger.h:21
looper.cfg
cfg
Definition:
looper.py:297
L1MuonSeedsMerger::goAhead
Definition:
L1MuonSeedsMerger.h:21
L1MuonSeedsMerger::theDeltaEtaCut
float theDeltaEtaCut
Definition:
L1MuonSeedsMerger.h:29
Generated for CMSSW Reference Manual by
1.8.16