src
SimDataFormats
GEMDigiSimLink
interface
GEMDigiSimLink.h
Go to the documentation of this file.
1
#ifndef GEMOBJECTS_GEMDIGISIMLINK_H
2
#define GEMOBJECTS_GEMDIGISIMLINK_H
3
4
#include <map>
5
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
6
#include "
DataFormats/GeometryVector/interface/LocalVector.h
"
7
#include "
SimDataFormats/EncodedEventId/interface/EncodedEventId.h
"
8
9
class
GEMDigiSimLink
{
10
public
:
11
GEMDigiSimLink
(uint16_t
strip
, int8_t
bx
, int16_t
particleType
, uint32_t trackId,
EncodedEventId
eventId) {
12
strip_
=
strip
;
13
bx_
=
bx
;
14
particleType_
=
particleType
;
15
trackId_
= trackId;
16
eventId_
= eventId;
17
}
18
19
GEMDigiSimLink
() {}
20
~GEMDigiSimLink
() {}
21
22
unsigned
int
getStrip
()
const
{
return
strip_
; }
23
int
getBx
()
const
{
return
bx_
; }
24
int
getParticleType
()
const
{
return
particleType_
; }
25
unsigned
int
getTrackId
()
const
{
return
trackId_
; }
26
EncodedEventId
getEventId
()
const
{
return
eventId_
; }
27
28
inline
bool
operator<
(
const
GEMDigiSimLink
&
other
)
const
{
return
getStrip
() <
other
.getStrip(); }
29
30
private
:
31
uint16_t
strip_
;
32
int8_t
bx_
;
33
int16_t
particleType_
;
34
uint32_t
trackId_
;
35
EncodedEventId
eventId_
;
36
};
37
#endif
LocalPoint.h
GEMDigiSimLink::operator<
bool operator<(const GEMDigiSimLink &other) const
Definition:
GEMDigiSimLink.h:28
nano_mu_digi_cff.strip
strip
Definition:
nano_mu_digi_cff.py:38
GEMDigiSimLink::strip_
uint16_t strip_
Definition:
GEMDigiSimLink.h:31
GEMDigiSimLink::particleType_
int16_t particleType_
Definition:
GEMDigiSimLink.h:33
GEMDigiSimLink::eventId_
EncodedEventId eventId_
Definition:
GEMDigiSimLink.h:35
GEMDigiSimLink::bx_
int8_t bx_
Definition:
GEMDigiSimLink.h:32
nano_mu_digi_cff.bx
bx
Definition:
nano_mu_digi_cff.py:39
GEMDigiSimLink::getParticleType
int getParticleType() const
Definition:
GEMDigiSimLink.h:24
GEMDigiSimLink::getStrip
unsigned int getStrip() const
Definition:
GEMDigiSimLink.h:22
trackingPlots.other
other
Definition:
trackingPlots.py:1467
GEMDigiSimLink::getEventId
EncodedEventId getEventId() const
Definition:
GEMDigiSimLink.h:26
GEMDigiSimLink::GEMDigiSimLink
GEMDigiSimLink(uint16_t strip, int8_t bx, int16_t particleType, uint32_t trackId, EncodedEventId eventId)
Definition:
GEMDigiSimLink.h:11
GEMDigiSimLink::~GEMDigiSimLink
~GEMDigiSimLink()
Definition:
GEMDigiSimLink.h:20
GEMDigiSimLink::GEMDigiSimLink
GEMDigiSimLink()
Definition:
GEMDigiSimLink.h:19
GEMDigiSimLink
Definition:
GEMDigiSimLink.h:9
PbPb_ZMuSkimMuonDPG_cff.particleType
particleType
Definition:
PbPb_ZMuSkimMuonDPG_cff.py:27
GEMDigiSimLink::getTrackId
unsigned int getTrackId() const
Definition:
GEMDigiSimLink.h:25
EncodedEventId
Definition:
EncodedEventId.h:11
EncodedEventId.h
GEMDigiSimLink::trackId_
uint32_t trackId_
Definition:
GEMDigiSimLink.h:34
LocalVector.h
GEMDigiSimLink::getBx
int getBx() const
Definition:
GEMDigiSimLink.h:23
Generated for CMSSW Reference Manual by
1.8.14