Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
RegionalCaloTrigger
interface
L1GctRegion.h
Go to the documentation of this file.
1
#ifndef L1GCTREGION_H_
2
#define L1GCTREGION_H_
3
4
#include <bitset>
5
6
/*
7
* A calorimeter trigger region
8
* as represented in the GCT
9
* author: Jim Brooke
10
* date: 20/2/2006
11
*
12
*/
13
14
15
typedef
unsigned
long
int
ULong
;
16
17
class
L1GctRegion
18
{
19
public
:
20
21
L1GctRegion
(
ULong
et
=0,
bool
mip
=
false
,
bool
quiet
=
false
);
22
~L1GctRegion
();
23
24
// Getters
25
ULong
getEt
()
const
{
return
myEt
.to_ulong(); }
26
bool
getMip
()
const
{
return
myMip
; }
27
bool
getQuiet
()
const
{
return
myQuiet
; }
28
29
// Setters
30
void
setEt
(
ULong
et
) {
myEt
=
et
; }
31
void
setMip
(
bool
mip
) {
myMip
=
mip
; }
32
void
setQuiet
(
bool
quiet
) {
myQuiet
=
quiet
; }
33
34
ostream&
operator <<
(ostream& os,
const
L1GctRegion
&
s
);
35
36
private
:
37
38
std::bitset<10>
myEt
;
39
bool
myMip
;
40
bool
myQuiet
;
41
42
};
43
44
#endif
/*L1GCTREGION_H_*/
L1GctRegion::L1GctRegion
L1GctRegion()
Definition:
L1GctRegion.cc:3
L1GctRegion
Gct version of a calorimeter region, used within GCT emulation.
Definition:
L1GctRegion.h:17
L1GctRegion::~L1GctRegion
~L1GctRegion()
Definition:
L1GctRegion.cc:5
L1GctRegion::myMip
bool myMip
Definition:
L1GctRegion.h:39
L1GctRegion::operator<<
ostream & operator<<(ostream &os, const L1GctRegion &s)
L1GctRegion::getMip
bool getMip() const
Definition:
L1GctRegion.h:26
L1CaloRegion::quiet
bool quiet() const
get quiet bit
Definition:
L1CaloRegion.h:134
L1GctRegion::getQuiet
bool getQuiet() const
Definition:
L1GctRegion.h:27
L1CaloRegion::mip
bool mip() const
get MIP bit
Definition:
L1CaloRegion.h:131
L1GctRegion::myEt
std::bitset< 10 > myEt
Definition:
L1GctRegion.h:38
L1GctRegion::setMip
void setMip(bool mip)
Definition:
L1GctRegion.h:31
L1GctRegion::setQuiet
void setQuiet(bool quiet)
Definition:
L1GctRegion.h:32
ULong
unsigned long int ULong
Definition:
L1GctRegion.h:15
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
L1GctRegion::setEt
void setEt(ULong et)
Definition:
L1GctRegion.h:30
L1GctRegion::et
unsigned et() const
Definition:
L1GctRegion.h:40
L1GctRegion::myQuiet
bool myQuiet
Definition:
L1GctRegion.h:40
L1GctRegion::getEt
ULong getEt() const
Definition:
L1GctRegion.h:25
Generated for CMSSW Reference Manual by
1.8.5