DataFormats
MuonReco
interface
MuonRecHitCluster.h
Go to the documentation of this file.
1
#ifndef DataFormats_MuonReco_MuonRecHitCluster_h
2
#define DataFormats_MuonReco_MuonRecHitCluster_h
3
4
#include <vector>
5
#include "
DataFormats/Math/interface/Vector3D.h
"
6
7
namespace
reco
{
8
9
class
MuonRecHitCluster
{
10
public
:
11
//default constructor
12
MuonRecHitCluster
() =
default
;
13
14
MuonRecHitCluster
(
const
math::RhoEtaPhiVectorF
position
,
15
const
int
size
,
16
const
int
nStation
,
17
const
float
avgStation
,
18
const
float
time
,
19
const
float
timeSpread
,
20
const
int
nME11
,
21
const
int
nME12
,
22
const
int
nME41
,
23
const
int
nME42
,
24
const
int
nMB1
,
25
const
int
nMB2
);
26
27
//
28
~MuonRecHitCluster
() =
default
;
29
30
float
eta
()
const
{
return
position_
.Eta(); }
31
float
phi
()
const
{
return
position_
.Phi(); }
32
float
x
()
const
{
return
position_
.X(); }
33
float
y
()
const
{
return
position_
.Y(); }
34
float
z
()
const
{
return
position_
.Z(); }
35
float
r
()
const
{
return
position_
.Rho(); }
36
int
size
()
const
{
return
size_
; }
37
int
nStation
()
const
{
return
nStation_
; }
38
float
avgStation
()
const
{
return
avgStation_
; }
39
int
nMB1
()
const
{
return
nMB1_
; }
40
int
nMB2
()
const
{
return
nMB2_
; }
41
int
nME11
()
const
{
return
nME11_
; }
42
int
nME12
()
const
{
return
nME12_
; }
43
int
nME41
()
const
{
return
nME41_
; }
44
int
nME42
()
const
{
return
nME42_
; }
45
float
time
()
const
{
return
time_
; }
46
float
timeSpread
()
const
{
return
timeSpread_
; }
47
48
private
:
49
math::RhoEtaPhiVectorF
position_
;
50
int
size_
;
51
int
nStation_
;
52
float
avgStation_
;
53
float
time_
;
54
float
timeSpread_
;
55
int
nME11_
;
56
int
nME12_
;
57
int
nME41_
;
58
int
nME42_
;
59
int
nMB1_
;
60
int
nMB2_
;
61
};
62
63
typedef
std::vector<MuonRecHitCluster>
MuonRecHitClusterCollection
;
64
}
// namespace reco
65
#endif
reco::MuonRecHitCluster::x
float x() const
Definition:
MuonRecHitCluster.h:32
reco::MuonRecHitCluster::phi
float phi() const
Definition:
MuonRecHitCluster.h:31
reco::MuonRecHitCluster::nStation
int nStation() const
Definition:
MuonRecHitCluster.h:37
reco::MuonRecHitCluster::z
float z() const
Definition:
MuonRecHitCluster.h:34
reco::MuonRecHitCluster::nMB1_
int nMB1_
Definition:
MuonRecHitCluster.h:59
reco::MuonRecHitCluster::time_
float time_
Definition:
MuonRecHitCluster.h:53
reco::MuonRecHitCluster::nME42
int nME42() const
Definition:
MuonRecHitCluster.h:44
math::RhoEtaPhiVectorF
ROOT::Math::DisplacementVector3D< ROOT::Math::CylindricalEta3D< float > > RhoEtaPhiVectorF
spatial vector with cylindrical internal representation using pseudorapidity
Definition:
Vector3D.h:18
reco::MuonRecHitCluster::~MuonRecHitCluster
~MuonRecHitCluster()=default
reco::MuonRecHitCluster::eta
float eta() const
Definition:
MuonRecHitCluster.h:30
reco::MuonRecHitCluster::MuonRecHitCluster
MuonRecHitCluster()=default
reco::MuonRecHitCluster::nME11_
int nME11_
Definition:
MuonRecHitCluster.h:55
reco::MuonRecHitCluster::nME12_
int nME12_
Definition:
MuonRecHitCluster.h:56
reco::MuonRecHitClusterCollection
std::vector< MuonRecHitCluster > MuonRecHitClusterCollection
Definition:
MuonRecHitCluster.h:63
reco::MuonRecHitCluster::r
float r() const
Definition:
MuonRecHitCluster.h:35
reco::MuonRecHitCluster::nME41
int nME41() const
Definition:
MuonRecHitCluster.h:43
reco::MuonRecHitCluster::nME12
int nME12() const
Definition:
MuonRecHitCluster.h:42
reco::MuonRecHitCluster::avgStation
float avgStation() const
Definition:
MuonRecHitCluster.h:38
reco::MuonRecHitCluster::size
int size() const
Definition:
MuonRecHitCluster.h:36
reco::MuonRecHitCluster::nME11
int nME11() const
Definition:
MuonRecHitCluster.h:41
reco::MuonRecHitCluster::y
float y() const
Definition:
MuonRecHitCluster.h:33
reco::MuonRecHitCluster::nMB2_
int nMB2_
Definition:
MuonRecHitCluster.h:60
reco::MuonRecHitCluster::time
float time() const
Definition:
MuonRecHitCluster.h:45
reco::MuonRecHitCluster::nMB1
int nMB1() const
Definition:
MuonRecHitCluster.h:39
reco::MuonRecHitCluster::timeSpread
float timeSpread() const
Definition:
MuonRecHitCluster.h:46
reco::MuonRecHitCluster::nStation_
int nStation_
Definition:
MuonRecHitCluster.h:51
reco::MuonRecHitCluster::nME42_
int nME42_
Definition:
MuonRecHitCluster.h:58
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
reco::MuonRecHitCluster::nMB2
int nMB2() const
Definition:
MuonRecHitCluster.h:40
Vector3D.h
position
static int position[264][3]
Definition:
ReadPGInfo.cc:289
reco::MuonRecHitCluster::nME41_
int nME41_
Definition:
MuonRecHitCluster.h:57
reco::MuonRecHitCluster::size_
int size_
Definition:
MuonRecHitCluster.h:50
reco::MuonRecHitCluster::timeSpread_
float timeSpread_
Definition:
MuonRecHitCluster.h:54
reco::MuonRecHitCluster
Definition:
MuonRecHitCluster.h:9
reco::MuonRecHitCluster::position_
math::RhoEtaPhiVectorF position_
Definition:
MuonRecHitCluster.h:49
reco::MuonRecHitCluster::avgStation_
float avgStation_
Definition:
MuonRecHitCluster.h:52
Generated for CMSSW Reference Manual by
1.8.14