RecoMuon
MuonSeedGenerator
src
MuonSeedFinder.h
Go to the documentation of this file.
1
#ifndef RecoMuon_MuonSeedGenerator_MuonSeedFinder_H
2
#define RecoMuon_MuonSeedGenerator_MuonSeedFinder_H
3
14
#include "
RecoMuon/MuonSeedGenerator/src/MuonSeedVFinder.h
"
15
#include "
RecoMuon/MuonSeedGenerator/src/MuonSeedPtExtractor.h
"
16
#include "
RecoMuon/MuonSeedGenerator/src/MuonCSCSeedFromRecHits.h
"
17
#include "
RecoMuon/MuonSeedGenerator/src/MuonDTSeedFromRecHits.h
"
18
#include "
RecoMuon/MuonSeedGenerator/src/MuonOverlapSeedFromRecHits.h
"
19
20
#include <vector>
21
22
class
MuonSeedFinder
:
public
MuonSeedVFinder
{
23
public
:
25
MuonSeedFinder
(
const
edm::ParameterSet
&
pset
);
26
28
~MuonSeedFinder
()
override
{
delete
thePtExtractor
; }
29
30
// Operations
31
32
void
setBField
(
const
MagneticField
*field)
override
;
33
34
void
seeds
(
const
MuonTransientTrackingRecHit::MuonRecHitContainer
&
hits
,
35
std::vector<TrajectorySeed> &
result
)
override
;
36
37
private
:
38
float
computePt
(
MuonTransientTrackingRecHit::ConstMuonRecHitPointer
muon
,
const
MagneticField
*field)
const
;
39
40
void
analyze
()
const
;
41
// put a parameterSet instead of
42
// static SimpleConfigurable<float> theMinMomentum;
43
float
theMinMomentum
;
44
const
MagneticField
*
theField
;
45
46
MuonDTSeedFromRecHits
theBarrel
;
47
MuonOverlapSeedFromRecHits
theOverlap
;
48
MuonCSCSeedFromRecHits
theEndcap
;
49
};
50
#endif
MuonSeedFinder::setBField
void setBField(const MagneticField *field) override
Definition:
MuonSeedFinder.cc:28
MuonCSCSeedFromRecHits.h
MuonSeedFinder::analyze
void analyze() const
MuonTransientTrackingRecHit::ConstMuonRecHitPointer
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
Definition:
MuonTransientTrackingRecHit.h:22
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
muon
Definition:
MuonCocktails.h:17
MuonOverlapSeedFromRecHits
Definition:
MuonOverlapSeedFromRecHits.h:6
MuonSeedFinder
Definition:
MuonSeedFinder.h:22
MuonSeedFinder::theMinMomentum
float theMinMomentum
Definition:
MuonSeedFinder.h:43
MuonTransientTrackingRecHit::MuonRecHitContainer
std::vector< MuonRecHitPointer > MuonRecHitContainer
Definition:
MuonTransientTrackingRecHit.h:26
MuonCSCSeedFromRecHits
Definition:
MuonCSCSeedFromRecHits.h:6
MuonSeedFinder::theEndcap
MuonCSCSeedFromRecHits theEndcap
Definition:
MuonSeedFinder.h:48
MuonDTSeedFromRecHits
Definition:
MuonDTSeedFromRecHits.h:19
MuonSeedFinder::computePt
float computePt(MuonTransientTrackingRecHit::ConstMuonRecHitPointer muon, const MagneticField *field) const
edm::ParameterSet
Definition:
ParameterSet.h:47
MuonSeedFinder::~MuonSeedFinder
~MuonSeedFinder() override
Destructor.
Definition:
MuonSeedFinder.h:28
MuonSeedVFinder
Definition:
MuonSeedVFinder.h:19
MuonSeedPtExtractor.h
MuonOverlapSeedFromRecHits.h
MuonSeedFinder::MuonSeedFinder
MuonSeedFinder(const edm::ParameterSet &pset)
Constructor.
Definition:
MuonSeedFinder.cc:18
MuonSeedFinder::theField
const MagneticField * theField
Definition:
MuonSeedFinder.h:44
MuonDTSeedFromRecHits.h
MuonSeedFinder::theBarrel
MuonDTSeedFromRecHits theBarrel
Definition:
MuonSeedFinder.h:46
MuonSeedVFinder.h
mps_fire.result
result
Definition:
mps_fire.py:311
MuonSeedVFinder::thePtExtractor
MuonSeedPtExtractor * thePtExtractor
Definition:
MuonSeedVFinder.h:30
MuonSeedFinder::seeds
void seeds(const MuonTransientTrackingRecHit::MuonRecHitContainer &hits, std::vector< TrajectorySeed > &result) override
Definition:
MuonSeedFinder.cc:35
MuonSeedFinder::theOverlap
MuonOverlapSeedFromRecHits theOverlap
Definition:
MuonSeedFinder.h:47
MagneticField
Definition:
MagneticField.h:19
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16