RecoMuon
MuonIdentification
interface
MuonKinkFinder.h
Go to the documentation of this file.
1
#ifndef RecoMuon_MuonIdentification_MuonKinkFinder_h
2
#define RecoMuon_MuonIdentification_MuonKinkFinder_h
3
4
#include "
DataFormats/MuonReco/interface/MuonQuality.h
"
5
#include "
TrackingTools/TrackRefitter/interface/TrackTransformer.h
"
6
7
class
MuonKinkFinder
{
8
public
:
9
MuonKinkFinder
(
const
edm::ParameterSet
&iConfig);
10
~MuonKinkFinder
();
11
12
// set event setup
13
void
init
(
const
edm::EventSetup
&iSetup);
14
15
// fill data, return false if refit failed or too few hits
16
bool
fillTrkKink
(
reco::MuonQuality
&
quality
,
const
Trajectory
&trajectory)
const
;
17
18
// fill data, return false if refit failed or too few hits
19
bool
fillTrkKink
(
reco::MuonQuality
&
quality
,
const
reco::Track
&
track
)
const
;
20
21
private
:
23
bool
diagonalOnly_
;
25
bool
usePosition_
;
26
28
TrackTransformer
refitter_
;
29
30
// compute chi2 between track states
31
double
getChi2
(
const
TrajectoryStateOnSurface
&
start
,
const
TrajectoryStateOnSurface
&
other
)
const
;
32
33
// possibly crop matrix or set to zero off-diagonal elements, then invert
34
void
cropAndInvert
(
AlgebraicSymMatrix55
&cov)
const
;
35
};
36
#endif
MuonKinkFinder::diagonalOnly_
bool diagonalOnly_
use only on-diagonal terms of the covariance matrices
Definition:
MuonKinkFinder.h:23
MuonKinkFinder::cropAndInvert
void cropAndInvert(AlgebraicSymMatrix55 &cov) const
Definition:
MuonKinkFinder.cc:60
reco::MuonQuality
Definition:
MuonQuality.h:6
start
Definition:
start.py:1
MuonKinkFinder::init
void init(const edm::EventSetup &iSetup)
Definition:
MuonKinkFinder.cc:12
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
reco::Track
Definition:
Track.h:27
MuonKinkFinder::refitter_
TrackTransformer refitter_
Track Transformer.
Definition:
MuonKinkFinder.h:28
trackingPlots.other
other
Definition:
trackingPlots.py:1465
MuonKinkFinder
Definition:
MuonKinkFinder.h:7
MuonKinkFinder::fillTrkKink
bool fillTrkKink(reco::MuonQuality &quality, const Trajectory &trajectory) const
Definition:
MuonKinkFinder.cc:24
edm::ParameterSet
Definition:
ParameterSet.h:36
TrackTransformer.h
edm::EventSetup
Definition:
EventSetup.h:57
MuonQuality.h
qcdUeDQM_cfi.quality
quality
Definition:
qcdUeDQM_cfi.py:31
Trajectory
Definition:
Trajectory.h:38
MuonKinkFinder::MuonKinkFinder
MuonKinkFinder(const edm::ParameterSet &iConfig)
Definition:
MuonKinkFinder.cc:5
MuonKinkFinder::getChi2
double getChi2(const TrajectoryStateOnSurface &start, const TrajectoryStateOnSurface &other) const
Definition:
MuonKinkFinder.cc:47
MuonKinkFinder::~MuonKinkFinder
~MuonKinkFinder()
Definition:
MuonKinkFinder.cc:10
HLT_2018_cff.track
track
Definition:
HLT_2018_cff.py:10352
MuonKinkFinder::usePosition_
bool usePosition_
if true, use full 5x5 track state; if false, use only the track direction
Definition:
MuonKinkFinder.h:25
AlgebraicSymMatrix55
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
Definition:
AlgebraicROOTObjects.h:23
TrackTransformer
Definition:
TrackTransformer.h:44
Generated for CMSSW Reference Manual by
1.8.16