src
L1Trigger
L1TMuonEndCapPhase2
interface
DAQ
TPrimitives.h
Go to the documentation of this file.
1
#ifndef L1Trigger_L1TMuonEndCapPhase2_TPrimitives_h
2
#define L1Trigger_L1TMuonEndCapPhase2_TPrimitives_h
3
4
#include "
L1Trigger/L1TMuonEndCapPhase2/interface/EMTFfwd.h
"
5
#include "
L1Trigger/L1TMuonEndCapPhase2/interface/EMTFTypes.h
"
6
#include "
L1Trigger/L1TMuonEndCapPhase2/interface/Utils/CSCUtils.h
"
7
#include "
L1Trigger/L1TMuonEndCapPhase2/interface/Utils/RPCUtils.h
"
8
9
namespace
emtf::phase2
{
10
11
enum
TPSelection
{
kNative
,
kNeighbor
,
kNone
};
12
13
struct
TPInfo
{
14
// Id
15
int
hit_id
= -1;
16
int
segment_id
= -1;
17
18
// Selection
19
int
bx
= -999;
20
int
ilink
= -1;
21
TPSelection
selection
=
kNone
;
22
23
// Flags
24
bool
flag_substitute
=
false
;
25
26
// Detector
27
int
endcap
= 0;
28
int
endcap_pm
= 0;
29
int
sector
= 0;
30
int
subsector
= 0;
31
int
station
= 0;
32
int
ring
= 0;
33
int
roll
= 0;
34
int
layer
= 0;
35
int
chamber
= 0;
36
37
// CSC
38
int
csc_id
= -1;
39
csc::Facing
csc_facing
=
csc::Facing::kNone
;
40
int
csc_first_wire
= -1;
41
int
csc_second_wire
= -1;
42
43
// RPC
44
rpc::Type
rpc_type
=
rpc::kNone
;
45
};
46
47
class
TPEntry
{
48
public
:
49
TPEntry
(
const
TPEntry
&);
50
TPEntry
(
const
TriggerPrimitive
&);
51
TPEntry
(
const
TriggerPrimitive
&,
const
TPInfo
&);
52
TPEntry
(
const
CSCDetId
&,
const
CSCCorrelatedLCTDigi
&);
53
TPEntry
(
const
RPCDetId
&,
const
RPCRecHit
&);
54
TPEntry
(
const
GEMDetId
&,
const
GEMPadDigiCluster
&);
55
TPEntry
(
const
ME0DetId
&,
const
ME0TriggerDigi
&);
56
TPEntry
(
const
GEMDetId
&,
const
ME0TriggerDigi
&);
57
58
~TPEntry
();
59
60
TriggerPrimitive
tp_
;
61
TPInfo
info_
;
62
};
63
64
}
// namespace emtf::phase2
65
66
#endif // L1Trigger_L1TMuonEndCapPhase2_TPrimitives_h not defined
emtf::phase2::TPEntry
Definition:
TPrimitives.h:47
emtf::phase2::TPInfo::bx
int bx
Definition:
TPrimitives.h:19
GEMDetId
Definition:
GEMDetId.h:18
emtf::phase2::TPEntry::TPEntry
TPEntry(const TPEntry &)
Definition:
TPrimitives.cc:7
EMTFfwd.h
ME0DetId
Definition:
ME0DetId.h:16
emtf::phase2::TPInfo::endcap_pm
int endcap_pm
Definition:
TPrimitives.h:28
emtf::phase2::TPInfo::csc_id
int csc_id
Definition:
TPrimitives.h:38
CSCDetId
Definition:
CSCDetId.h:26
emtf::phase2::TPSelection
TPSelection
Definition:
TPrimitives.h:11
emtf::phase2::TPInfo::csc_facing
csc::Facing csc_facing
Definition:
TPrimitives.h:39
RPCRecHit
Definition:
RPCRecHit.h:14
emtf::phase2::csc::Facing
Facing
Definition:
CSCUtils.h:9
emtf::phase2::TPInfo::sector
int sector
Definition:
TPrimitives.h:29
emtf::phase2::kNative
Definition:
TPrimitives.h:11
emtf::phase2::TPInfo::endcap
int endcap
Definition:
TPrimitives.h:27
emtf::phase2::TPInfo::segment_id
int segment_id
Definition:
TPrimitives.h:16
emtf::phase2::TPInfo::csc_second_wire
int csc_second_wire
Definition:
TPrimitives.h:41
ME0TriggerDigi
Definition:
ME0TriggerDigi.h:28
emtf::phase2::TPInfo::ring
int ring
Definition:
TPrimitives.h:32
emtf::phase2
L1TMuon::TriggerPrimitive
Definition:
MuonTriggerPrimitive.h:57
emtf::phase2::TPInfo::hit_id
int hit_id
Definition:
TPrimitives.h:15
GEMPadDigiCluster
Definition:
GEMPadDigiCluster.h:19
emtf::phase2::TPInfo::selection
TPSelection selection
Definition:
TPrimitives.h:21
emtf::phase2::TPInfo::chamber
int chamber
Definition:
TPrimitives.h:35
emtf::phase2::TPEntry::tp_
TriggerPrimitive tp_
Definition:
TPrimitives.h:60
emtf::phase2::kNone
Definition:
TPrimitives.h:11
emtf::phase2::kNeighbor
Definition:
TPrimitives.h:11
RPCDetId
Definition:
RPCDetId.h:16
EMTFTypes.h
emtf::phase2::TPEntry::info_
TPInfo info_
Definition:
TPrimitives.h:61
emtf::phase2::TPEntry::~TPEntry
~TPEntry()
Definition:
TPrimitives.cc:39
RPCUtils.h
emtf::phase2::rpc::kNone
Definition:
RPCUtils.h:9
emtf::phase2::TPInfo::ilink
int ilink
Definition:
TPrimitives.h:20
emtf::phase2::TPInfo::csc_first_wire
int csc_first_wire
Definition:
TPrimitives.h:40
CSCUtils.h
emtf::phase2::TPInfo::station
int station
Definition:
TPrimitives.h:31
emtf::phase2::TPInfo::layer
int layer
Definition:
TPrimitives.h:34
emtf::phase2::TPInfo::roll
int roll
Definition:
TPrimitives.h:33
emtf::phase2::TPInfo
Definition:
TPrimitives.h:13
emtf::phase2::TPInfo::subsector
int subsector
Definition:
TPrimitives.h:30
emtf::phase2::rpc::Type
Type
Definition:
RPCUtils.h:9
CSCCorrelatedLCTDigi
Definition:
CSCCorrelatedLCTDigi.h:19
emtf::phase2::TPInfo::rpc_type
rpc::Type rpc_type
Definition:
TPrimitives.h:44
emtf::phase2::TPInfo::flag_substitute
bool flag_substitute
Definition:
TPrimitives.h:24
Generated for CMSSW Reference Manual by
1.8.14