L1Trigger
RPCTechnicalTrigger
interface
RPCWheelMap.h
Go to the documentation of this file.
1
#ifndef RPCWHEELMAP_H
2
#define RPCWHEELMAP_H 1
3
4
// Include files
5
#include "
L1Trigger/RPCTechnicalTrigger/interface/TTUInput.h
"
6
#include <bitset>
7
14
class
RPCWheelMap
{
15
private
:
16
static
constexpr
int
m_maxBx
= 7;
17
static
constexpr
int
m_maxSectors
= 12;
18
static
constexpr
int
m_maxBxWindow
= 3;
//... considering that we have a bxing in the range [-3,+3]
19
20
public
:
21
RPCWheelMap
(
int
);
22
23
void
addHit
(
int
,
int
,
int
);
24
25
void
prepareData
();
26
27
int
wheelid
()
const
{
return
m_wheelid
; };
28
29
int
wheelIdx
()
const
{
return
(
m_wheelid
+ 2); };
30
31
std::array<TTUInput, m_maxBx>
m_ttuinVec
;
32
33
protected
:
34
private
:
35
int
m_bx
;
36
int
m_wheelid
;
37
38
std::array<std::bitset<6>,
m_maxSectors
>
m_wheelMap
;
39
std::array<std::bitset<6>,
m_maxSectors
*
m_maxBx
>
m_wheelMapBx
;
40
41
bool
m_debug
;
42
};
43
#endif // RPCWHEELMAP_H
TTUInput.h
RPCWheelMap
Definition:
RPCWheelMap.h:14
RPCWheelMap::prepareData
void prepareData()
Definition:
RPCWheelMap.cc:30
RPCWheelMap::m_debug
bool m_debug
Definition:
RPCWheelMap.h:41
RPCWheelMap::m_maxBx
static constexpr int m_maxBx
Definition:
RPCWheelMap.h:16
RPCWheelMap::wheelid
int wheelid() const
Definition:
RPCWheelMap.h:27
RPCWheelMap::m_wheelid
int m_wheelid
Definition:
RPCWheelMap.h:36
RPCWheelMap::RPCWheelMap
RPCWheelMap(int)
Definition:
RPCWheelMap.cc:16
RPCWheelMap::m_maxBxWindow
static constexpr int m_maxBxWindow
Definition:
RPCWheelMap.h:18
RPCWheelMap::m_wheelMap
std::array< std::bitset< 6 >, m_maxSectors > m_wheelMap
Definition:
RPCWheelMap.h:38
RPCWheelMap::m_wheelMapBx
std::array< std::bitset< 6 >, m_maxSectors *m_maxBx > m_wheelMapBx
Definition:
RPCWheelMap.h:39
RPCWheelMap::wheelIdx
int wheelIdx() const
Definition:
RPCWheelMap.h:29
RPCWheelMap::addHit
void addHit(int, int, int)
Definition:
RPCWheelMap.cc:22
RPCWheelMap::m_ttuinVec
std::array< TTUInput, m_maxBx > m_ttuinVec
Definition:
RPCWheelMap.h:29
RPCWheelMap::m_maxSectors
static constexpr int m_maxSectors
Definition:
RPCWheelMap.h:17
RPCWheelMap::m_bx
int m_bx
Definition:
RPCWheelMap.h:35
Generated for CMSSW Reference Manual by
1.8.16