Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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::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::getStrip
unsigned int getStrip() const
Definition:
GEMDigiSimLink.h:22
GEMDigiSimLink::getBx
int getBx() const
Definition:
GEMDigiSimLink.h:23
GEMDigiSimLink::getTrackId
unsigned int getTrackId() const
Definition:
GEMDigiSimLink.h:25
GEMDigiSimLink::bx_
int8_t bx_
Definition:
GEMDigiSimLink.h:32
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::operator<
bool operator<(const GEMDigiSimLink &other) const
Definition:
GEMDigiSimLink.h:28
GEMDigiSimLink::GEMDigiSimLink
GEMDigiSimLink()
Definition:
GEMDigiSimLink.h:19
GEMDigiSimLink
Definition:
GEMDigiSimLink.h:9
digitizers_cfi.strip
strip
Definition:
digitizers_cfi.py:45
EncodedEventId
Definition:
EncodedEventId.h:11
makePileupJSON.bx
tuple bx
Definition:
makePileupJSON.py:40
EncodedEventId.h
GEMDigiSimLink::trackId_
uint32_t trackId_
Definition:
GEMDigiSimLink.h:34
GEMDigiSimLink::getParticleType
int getParticleType() const
Definition:
GEMDigiSimLink.h:24
HLT_FULL_cff.particleType
tuple particleType
Definition:
HLT_FULL_cff.py:10543
LocalVector.h
Generated for CMSSW Reference Manual by
1.8.5