Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
MuonReco
interface
MuonChamberMatch.h
Go to the documentation of this file.
1
#ifndef MuonReco_MuonChamberMatch_h
2
#define MuonReco_MuonChamberMatch_h
3
4
#include "
DataFormats/DetId/interface/DetId.h
"
5
#include "
DataFormats/MuonReco/interface/MuonSegmentMatch.h
"
6
#include <vector>
7
8
namespace
reco
{
9
class
MuonChamberMatch
{
10
public
:
11
std::vector<reco::MuonSegmentMatch>
segmentMatches
;
// segments matching propagated track trajectory
12
std::vector<reco::MuonSegmentMatch>
truthMatches
;
// SimHit projection matching propagated track trajectory
13
float
edgeX
;
// distance to closest edge in X (negative - inside, positive - outside)
14
float
edgeY
;
// distance to closest edge in Y (negative - inside, positive - outside)
15
float
x
;
// X position of the track
16
float
y
;
// Y position of the track
17
float
xErr
;
// propagation uncertainty in X
18
float
yErr
;
// propagation uncertainty in Y
19
float
dXdZ
;
// dX/dZ of the track
20
float
dYdZ
;
// dY/dZ of the track
21
float
dXdZErr
;
// propagation uncertainty in dX/dZ
22
float
dYdZErr
;
// propagation uncertainty in dY/dZ
23
DetId
id
;
// chamber ID
24
25
int
detector
()
const
{
return
id
.subdetId(); }
26
int
station
()
const
;
27
28
std::pair<float,float>
getDistancePair
(
float
edgeX
,
float
edgeY
,
float
xErr
,
float
yErr
)
const
;
29
float
dist
()
const
{
return
getDistancePair
(
edgeX
,
edgeY
,
xErr
,
yErr
).first; }
// distance to absolute closest edge
30
float
distErr
()
const
{
return
getDistancePair
(
edgeX
,
edgeY
,
xErr
,
yErr
).second; }
// propagation uncertainty in above distance
31
};
32
}
33
34
#endif
reco::MuonChamberMatch::detector
int detector() const
Definition:
MuonChamberMatch.h:25
reco::MuonChamberMatch::yErr
float yErr
Definition:
MuonChamberMatch.h:18
reco::MuonChamberMatch::dXdZ
float dXdZ
Definition:
MuonChamberMatch.h:19
reco::MuonChamberMatch::edgeY
float edgeY
Definition:
MuonChamberMatch.h:14
reco::MuonChamberMatch::x
float x
Definition:
MuonChamberMatch.h:15
reco::MuonChamberMatch::truthMatches
std::vector< reco::MuonSegmentMatch > truthMatches
Definition:
MuonChamberMatch.h:12
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:101
reco::MuonChamberMatch::y
float y
Definition:
MuonChamberMatch.h:16
reco::MuonChamberMatch::dYdZErr
float dYdZErr
Definition:
MuonChamberMatch.h:22
reco::MuonChamberMatch::station
int station() const
Definition:
MuonChamberMatch.cc:9
reco::MuonChamberMatch::distErr
float distErr() const
Definition:
MuonChamberMatch.h:30
reco::MuonChamberMatch::xErr
float xErr
Definition:
MuonChamberMatch.h:17
reco::MuonChamberMatch::edgeX
float edgeX
Definition:
MuonChamberMatch.h:13
reco::MuonChamberMatch::dXdZErr
float dXdZErr
Definition:
MuonChamberMatch.h:21
reco::MuonChamberMatch
Definition:
MuonChamberMatch.h:9
DetId
Definition:
DetId.h:20
MuonSegmentMatch.h
reco::MuonChamberMatch::segmentMatches
std::vector< reco::MuonSegmentMatch > segmentMatches
Definition:
MuonChamberMatch.h:11
reco::MuonChamberMatch::id
DetId id
Definition:
MuonChamberMatch.h:23
reco::MuonChamberMatch::dist
float dist() const
Definition:
MuonChamberMatch.h:29
reco::MuonChamberMatch::getDistancePair
std::pair< float, float > getDistancePair(float edgeX, float edgeY, float xErr, float yErr) const
Definition:
MuonChamberMatch.cc:26
DetId.h
reco::MuonChamberMatch::dYdZ
float dYdZ
Definition:
MuonChamberMatch.h:20
Generated for CMSSW Reference Manual by
1.8.5