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 "
FWCore/Framework/interface/FrameworkfwdMostUsed.h
"
6
#include "
TrackingTools/TrackRefitter/interface/TrackTransformer.h
"
7
8
class
MuonKinkFinder
{
9
public
:
10
MuonKinkFinder
(
const
edm::ParameterSet
&iConfig,
edm::ConsumesCollector
&iC);
11
~MuonKinkFinder
();
12
13
// set event setup
14
void
init
(
const
edm::EventSetup
&iSetup);
15
16
// fill data, return false if refit failed or too few hits
17
bool
fillTrkKink
(
reco::MuonQuality
&
quality
,
const
Trajectory
&trajectory)
const
;
18
19
// fill data, return false if refit failed or too few hits
20
bool
fillTrkKink
(
reco::MuonQuality
&
quality
,
const
reco::Track
&
track
)
const
;
21
22
private
:
24
bool
diagonalOnly_
;
26
bool
usePosition_
;
27
29
TrackTransformer
refitter_
;
30
31
// compute chi2 between track states
32
double
getChi2
(
const
TrajectoryStateOnSurface
&
start
,
const
TrajectoryStateOnSurface
&
other
)
const
;
33
34
// possibly crop matrix or set to zero off-diagonal elements, then invert
35
void
cropAndInvert
(
AlgebraicSymMatrix55
&cov)
const
;
36
};
37
#endif
MuonKinkFinder::diagonalOnly_
bool diagonalOnly_
use only on-diagonal terms of the covariance matrices
Definition:
MuonKinkFinder.h:24
MuonKinkFinder::cropAndInvert
void cropAndInvert(AlgebraicSymMatrix55 &cov) const
Definition:
MuonKinkFinder.cc:60
reco::MuonQuality
Definition:
MuonQuality.h:6
start
Definition:
start.py:1
HLT_FULL_cff.track
track
Definition:
HLT_FULL_cff.py:11776
MuonKinkFinder::init
void init(const edm::EventSetup &iSetup)
Definition:
MuonKinkFinder.cc:12
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
MuonKinkFinder::MuonKinkFinder
MuonKinkFinder(const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC)
Definition:
MuonKinkFinder.cc:5
reco::Track
Definition:
Track.h:27
MuonKinkFinder::refitter_
TrackTransformer refitter_
Track Transformer.
Definition:
MuonKinkFinder.h:29
trackingPlots.other
other
Definition:
trackingPlots.py:1467
MuonKinkFinder
Definition:
MuonKinkFinder.h:8
MuonKinkFinder::fillTrkKink
bool fillTrkKink(reco::MuonQuality &quality, const Trajectory &trajectory) const
Definition:
MuonKinkFinder.cc:24
edm::ParameterSet
Definition:
ParameterSet.h:47
FrameworkfwdMostUsed.h
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::getChi2
double getChi2(const TrajectoryStateOnSurface &start, const TrajectoryStateOnSurface &other) const
Definition:
MuonKinkFinder.cc:47
MuonKinkFinder::~MuonKinkFinder
~MuonKinkFinder()
Definition:
MuonKinkFinder.cc:10
MuonKinkFinder::usePosition_
bool usePosition_
if true, use full 5x5 track state; if false, use only the track direction
Definition:
MuonKinkFinder.h:26
AlgebraicSymMatrix55
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
Definition:
AlgebraicROOTObjects.h:23
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
TrackTransformer
Definition:
TrackTransformer.h:46
Generated for CMSSW Reference Manual by
1.8.16