CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
L1CaloRegion Class Reference

A calorimeter trigger region (sum of 4x4 trigger towers) More...

#include <L1CaloRegion.h>

Inheritance diagram for L1CaloRegion:
L1GctRegion

Public Member Functions

int16_t bx () const
 get bunch-crossing index More...
 
unsigned capBlock () const
 which capture block did this come from More...
 
unsigned capIndex () const
 what index within capture block More...
 
bool empty () const
 is there any information in the candidate More...
 
unsigned et () const
 get Et More...
 
unsigned etFullScale () const
 get Et for internal GCT use More...
 
bool fineGrain () const
 get fine grain bit More...
 
unsigned gctEta () const
 get GCT eta index More...
 
unsigned gctPhi () const
 get GCT phi index More...
 
L1CaloRegionDetId id () const
 get global region ID More...
 
bool isHbHe () const
 
bool isHf () const
 forward or central region More...
 
 L1CaloRegion ()
 default constructor More...
 
 L1CaloRegion (uint16_t data, unsigned ieta, unsigned iphi, int16_t bx)
 constructor from raw data and GCT indices for unpacking - to be removed! More...
 
 L1CaloRegion (unsigned et, bool fineGrain, unsigned crate, unsigned rgn)
 constructor for RCT emulator (HF regions) - to be removed! More...
 
 L1CaloRegion (unsigned et, bool overFlow, bool fineGrain, bool mip, bool quiet, unsigned ieta, unsigned iphi)
 construct with GCT eta,phi indices, for testing GCT emulator - note argument ordering! - to be removed! More...
 
 L1CaloRegion (unsigned et, bool overFlow, bool tauVeto, bool mip, bool quiet, unsigned crate, unsigned card, unsigned rgn)
 constructor for RCT emulator (HB/HE regions) - to be removed! More...
 
bool mip () const
 get MIP bit More...
 
int operator!= (const L1CaloRegion &c) const
 inequality operator More...
 
int operator== (const L1CaloRegion &c) const
 equality operator, including rank, feature bits, and position More...
 
bool overFlow () const
 get overflow More...
 
bool quiet () const
 get quiet bit More...
 
uint16_t raw () const
 get raw data More...
 
unsigned rctCard () const
 get RCT reciever card ID (valid output for HB/HE) More...
 
unsigned rctCrate () const
 get RCT crate ID More...
 
unsigned rctEta () const
 get local eta index (within RCT crate) More...
 
unsigned rctPhi () const
 get local phi index (within RCT crate) More...
 
unsigned rctRegionIndex () const
 get RCT region index More...
 
void reset ()
 reset the data content (not position id!) More...
 
void setBx (int16_t bx)
 set bx More...
 
void setCaptureBlock (uint16_t capBlock)
 set cap block More...
 
void setCaptureIndex (uint16_t capIndex)
 set cap index More...
 
void setMip (bool mip)
 set MIP bit (required for GCT emulator standalone operation) More...
 
void setQuiet (bool quiet)
 set quiet bit (required for GCT emulator standalone operation) More...
 
void setRawData (uint32_t data)
 set data More...
 
bool tauVeto () const
 get tau veto bit More...
 
 ~L1CaloRegion ()
 destructor More...
 

Static Public Member Functions

static L1CaloRegion makeGctJetRegion (const unsigned et, const bool overFlow, const bool fineGrain, const unsigned ieta, const unsigned iphi, const int16_t bx)
 construct region for use in GCT internal jet-finding More...
 
static L1CaloRegion makeHBHERegion (const unsigned et, const bool overFlow, const bool tauVeto, const bool mip, const bool quiet, const unsigned crate, const unsigned card, const unsigned rgn)
 constructor HB/HE region from components More...
 
static L1CaloRegion makeHFRegion (const unsigned et, const bool fineGrain, const unsigned crate, const unsigned rgn)
 construct HF region from components More...
 
static L1CaloRegion makeRegionFromGctIndices (const unsigned et, const bool overFlow, const bool fineGrain, const bool mip, const bool quiet, const unsigned ieta, const unsigned iphi)
 construct region from GCT indices More...
 
static L1CaloRegion makeRegionFromUnpacker (const uint16_t data, const unsigned ieta, const unsigned iphi, const uint16_t block, const uint16_t index, const int16_t bx)
 constructor from raw data and GCT indices for unpacking More...
 

Private Member Functions

void pack (unsigned et, bool overFlow, bool fineGrain, bool mip, bool quiet)
 pack the raw data from arguments (used in constructors) More...
 
void pack12BitsEt (unsigned et, bool overFlow, bool fineGrain, bool mip, bool quiet)
 pack the raw data from arguments (used in constructors) More...
 
void setRegionId (L1CaloRegionDetId id)
 set region ID More...
 

Private Attributes

int16_t m_bx
 
uint16_t m_captureBlock
 
uint8_t m_captureIndex
 
uint16_t m_data
 region data : et, overflow, fine grain/tau veto, mip and quiet bits More...
 
L1CaloRegionDetId m_id
 region id More...
 

Friends

std::ostream & operator<< (std::ostream &os, const L1CaloRegion &reg)
 print to stream More...
 

Detailed Description

A calorimeter trigger region (sum of 4x4 trigger towers)

Author
Jim Brooke
Date
May 2006

Definition at line 21 of file L1CaloRegion.h.

Constructor & Destructor Documentation

◆ L1CaloRegion() [1/5]

L1CaloRegion::L1CaloRegion ( )

default constructor

Definition at line 11 of file L1CaloRegion.cc.

11 : m_id(), m_data(0), m_bx(0) {}

◆ L1CaloRegion() [2/5]

L1CaloRegion::L1CaloRegion ( unsigned  et,
bool  overFlow,
bool  tauVeto,
bool  mip,
bool  quiet,
unsigned  crate,
unsigned  card,
unsigned  rgn 
)

constructor for RCT emulator (HB/HE regions) - to be removed!

Definition at line 14 of file L1CaloRegion.cc.

16  : m_id(crate, card, rgn),
17  m_data(0), // over-ridden below
18  m_bx(0) {
20 }

References et(), mip(), overFlow(), pack(), quiet(), and tauVeto().

◆ L1CaloRegion() [3/5]

L1CaloRegion::L1CaloRegion ( unsigned  et,
bool  fineGrain,
unsigned  crate,
unsigned  rgn 
)

constructor for RCT emulator (HF regions) - to be removed!

Definition at line 23 of file L1CaloRegion.cc.

24  : m_id(crate, 999, rgn),
25  m_data(0), // over-ridden below
26  m_bx(0) {
27  pack((et & 0xff), (et >= 0xff), fineGrain, false, false);
28 }

References et(), fineGrain(), and pack().

◆ L1CaloRegion() [4/5]

L1CaloRegion::L1CaloRegion ( unsigned  et,
bool  overFlow,
bool  fineGrain,
bool  mip,
bool  quiet,
unsigned  ieta,
unsigned  iphi 
)

construct with GCT eta,phi indices, for testing GCT emulator - note argument ordering! - to be removed!

Definition at line 31 of file L1CaloRegion.cc.

33  : m_id(ieta, iphi),
34  m_data(0), // over-ridden below
35  m_bx(0) {
37 }

References et(), fineGrain(), mip(), overFlow(), pack(), and quiet().

◆ L1CaloRegion() [5/5]

L1CaloRegion::L1CaloRegion ( uint16_t  data,
unsigned  ieta,
unsigned  iphi,
int16_t  bx 
)

constructor from raw data and GCT indices for unpacking - to be removed!

Definition at line 40 of file L1CaloRegion.cc.

41  : m_id(ieta, iphi), m_data(data), m_bx(bx) {}

◆ ~L1CaloRegion()

L1CaloRegion::~L1CaloRegion ( )

destructor

Definition at line 44 of file L1CaloRegion.cc.

44 {}

Member Function Documentation

◆ bx()

int16_t L1CaloRegion::bx ( ) const
inline

◆ capBlock()

unsigned L1CaloRegion::capBlock ( ) const
inline

which capture block did this come from

Definition at line 159 of file L1CaloRegion.h.

159 { return m_captureBlock; }

References m_captureBlock.

Referenced by operator<<(), and setCaptureBlock().

◆ capIndex()

unsigned L1CaloRegion::capIndex ( ) const
inline

what index within capture block

Definition at line 162 of file L1CaloRegion.h.

162 { return m_captureIndex; }

References m_captureIndex.

Referenced by operator<<(), and setCaptureIndex().

◆ empty()

bool L1CaloRegion::empty ( ) const
inline

is there any information in the candidate

Definition at line 176 of file L1CaloRegion.h.

176 { return (m_data == 0); }

References m_data.

Referenced by operator==(), and L1GctRegion::rctEta().

◆ et()

unsigned L1CaloRegion::et ( ) const
inline

◆ etFullScale()

unsigned L1CaloRegion::etFullScale ( ) const
inline

get Et for internal GCT use

Definition at line 93 of file L1CaloRegion.h.

93 { return m_data & 0xfff; }

References m_data.

◆ fineGrain()

bool L1CaloRegion::fineGrain ( ) const
inline

◆ gctEta()

unsigned L1CaloRegion::gctEta ( ) const
inline

get GCT eta index

Definition at line 153 of file L1CaloRegion.h.

153 { return m_id.ieta(); }

References L1CaloRegionDetId::ieta(), and m_id.

Referenced by L1GctRegion::makeJfInputRegion(), L1GctHardwareJetFinder::makeProtoJet(), and operator<<().

◆ gctPhi()

unsigned L1CaloRegion::gctPhi ( ) const
inline

get GCT phi index

Definition at line 156 of file L1CaloRegion.h.

156 { return m_id.iphi(); }

References L1CaloRegionDetId::iphi(), and m_id.

Referenced by L1GctRegion::makeJfInputRegion(), L1GctHardwareJetFinder::makeProtoJet(), and operator<<().

◆ id()

L1CaloRegionDetId L1CaloRegion::id ( ) const
inline

get global region ID

Definition at line 131 of file L1CaloRegion.h.

131 { return m_id; }

References m_id.

Referenced by setRegionId().

◆ isHbHe()

bool L1CaloRegion::isHbHe ( ) const
inline

Definition at line 135 of file L1CaloRegion.h.

135 { return !m_id.isHf(); }

References L1CaloRegionDetId::isHf(), and m_id.

Referenced by GctFormatTranslateMCLegacy::writeAllRctCaloRegionBlock().

◆ isHf()

bool L1CaloRegion::isHf ( ) const
inline

forward or central region

Definition at line 134 of file L1CaloRegion.h.

134 { return m_id.isHf(); }

References L1CaloRegionDetId::isHf(), and m_id.

Referenced by et(), L1GctRegion::makeJfInputRegion(), and tauVeto().

◆ makeGctJetRegion()

L1CaloRegion L1CaloRegion::makeGctJetRegion ( const unsigned  et,
const bool  overFlow,
const bool  fineGrain,
const unsigned  ieta,
const unsigned  iphi,
const int16_t  bx 
)
static

construct region for use in GCT internal jet-finding

Definition at line 89 of file L1CaloRegion.cc.

94  {
96  r.setRegionId(L1CaloRegionDetId(ieta, iphi));
97  r.setBx(bx);
98  r.pack12BitsEt(et, overFlow, fineGrain, false, false);
99  return r;
100 }

References bx(), et(), fineGrain(), LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, overFlow(), and alignCSCRings::r.

◆ makeHBHERegion()

L1CaloRegion L1CaloRegion::makeHBHERegion ( const unsigned  et,
const bool  overFlow,
const bool  tauVeto,
const bool  mip,
const bool  quiet,
const unsigned  crate,
const unsigned  card,
const unsigned  rgn 
)
static

constructor HB/HE region from components

Definition at line 49 of file L1CaloRegion.cc.

50  {
52  r.setRegionId(L1CaloRegionDetId(crate, card, rgn));
53  r.setBx(0);
54  r.pack(et, overFlow, tauVeto, mip, quiet);
55  return r;
56 }

References et(), mip(), overFlow(), quiet(), alignCSCRings::r, and tauVeto().

Referenced by SourceCardTextToRctDigi::produce().

◆ makeHFRegion()

L1CaloRegion L1CaloRegion::makeHFRegion ( const unsigned  et,
const bool  fineGrain,
const unsigned  crate,
const unsigned  rgn 
)
static

construct HF region from components

Definition at line 59 of file L1CaloRegion.cc.

59  {
61  r.setRegionId(L1CaloRegionDetId(crate, 999, rgn));
62  r.setBx(0);
63  r.pack((et & 0xff), (et >= 0xff), fineGrain, false, false);
64  return r;
65 }

References et(), fineGrain(), and alignCSCRings::r.

Referenced by SourceCardTextToRctDigi::produce().

◆ makeRegionFromGctIndices()

L1CaloRegion L1CaloRegion::makeRegionFromGctIndices ( const unsigned  et,
const bool  overFlow,
const bool  fineGrain,
const bool  mip,
const bool  quiet,
const unsigned  ieta,
const unsigned  iphi 
)
static

construct region from GCT indices

Definition at line 68 of file L1CaloRegion.cc.

69  {
71  r.setRegionId(L1CaloRegionDetId(ieta, iphi));
72  r.setBx(0);
73  r.pack(et, overFlow, fineGrain, mip, quiet);
74  return r;
75 }

References et(), fineGrain(), LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, mip(), overFlow(), quiet(), and alignCSCRings::r.

◆ makeRegionFromUnpacker()

L1CaloRegion L1CaloRegion::makeRegionFromUnpacker ( const uint16_t  data,
const unsigned  ieta,
const unsigned  iphi,
const uint16_t  block,
const uint16_t  index,
const int16_t  bx 
)
static

constructor from raw data and GCT indices for unpacking

Definition at line 78 of file L1CaloRegion.cc.

79  {
81  r.setRegionId(L1CaloRegionDetId(ieta, iphi));
82  r.setRawData(data);
83  r.setCaptureBlock(block);
84  r.setCaptureIndex(index);
85  r.setBx(bx);
86  return r;
87 }

References groupFilesInBlocks::block, bx(), data, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, and alignCSCRings::r.

Referenced by GctFormatTranslateV35::blockToRctCaloRegions(), and GctFormatTranslateV38::blockToRctCaloRegions().

◆ mip()

bool L1CaloRegion::mip ( ) const
inline

◆ operator!=()

int L1CaloRegion::operator!= ( const L1CaloRegion c) const
inline

inequality operator

Definition at line 173 of file L1CaloRegion.h.

173 { return !(*this == c); }

References HltBtagPostValidation_cff::c.

◆ operator==()

int L1CaloRegion::operator== ( const L1CaloRegion c) const
inline

equality operator, including rank, feature bits, and position

Definition at line 168 of file L1CaloRegion.h.

168  {
169  return ((m_data == c.raw() && m_id == c.id()) || (this->empty() && c.empty()));
170  }

References HltBtagPostValidation_cff::c, empty(), m_data, and m_id.

◆ overFlow()

bool L1CaloRegion::overFlow ( ) const
inline

◆ pack()

void L1CaloRegion::pack ( unsigned  et,
bool  overFlow,
bool  fineGrain,
bool  mip,
bool  quiet 
)
private

pack the raw data from arguments (used in constructors)

Definition at line 123 of file L1CaloRegion.cc.

123  {
124  bool checkOvF = overFlow || (et >= 0x400);
125  m_data = (et & 0x3ff) | ((checkOvF) ? 0x400 : 0x0) | ((fineGrain) ? 0x800 : 0x0) | ((mip) ? 0x1000 : 0x0) |
126  ((quiet) ? 0x2000 : 0x0);
127 }

References et(), fineGrain(), m_data, mip(), overFlow(), and quiet().

Referenced by L1CaloRegion().

◆ pack12BitsEt()

void L1CaloRegion::pack12BitsEt ( unsigned  et,
bool  overFlow,
bool  fineGrain,
bool  mip,
bool  quiet 
)
private

pack the raw data from arguments (used in constructors)

Definition at line 129 of file L1CaloRegion.cc.

129  {
130  bool checkOvF = overFlow || (et >= 0x400);
131  m_data = (et & 0xfff) | ((checkOvF) ? 0x400 : 0x0) | ((fineGrain) ? 0x800 : 0x0) | ((mip) ? 0x1000 : 0x0) |
132  ((quiet) ? 0x2000 : 0x0);
133 }

References et(), fineGrain(), m_data, mip(), overFlow(), and quiet().

◆ quiet()

bool L1CaloRegion::quiet ( ) const
inline

◆ raw()

uint16_t L1CaloRegion::raw ( ) const
inline

get raw data

Definition at line 87 of file L1CaloRegion.h.

87 { return m_data; }

References m_data.

Referenced by L1GctRegion::et(), L1GctRegion::featureBit0(), L1GctRegion::featureBit1(), and L1GctRegion::setBit().

◆ rctCard()

unsigned L1CaloRegion::rctCard ( ) const
inline

get RCT reciever card ID (valid output for HB/HE)

Definition at line 141 of file L1CaloRegion.h.

141 { return m_id.rctCard(); }

References m_id, and L1CaloRegionDetId::rctCard().

Referenced by operator<<(), and GctFormatTranslateMCLegacy::writeAllRctCaloRegionBlock().

◆ rctCrate()

unsigned L1CaloRegion::rctCrate ( ) const
inline

get RCT crate ID

Definition at line 138 of file L1CaloRegion.h.

138 { return m_id.rctCrate(); }

References m_id, and L1CaloRegionDetId::rctCrate().

Referenced by operator<<(), and GctFormatTranslateMCLegacy::writeAllRctCaloRegionBlock().

◆ rctEta()

unsigned L1CaloRegion::rctEta ( ) const
inline

get local eta index (within RCT crate)

Definition at line 147 of file L1CaloRegion.h.

147 { return m_id.rctEta(); }

References m_id, and L1CaloRegionDetId::rctEta().

Referenced by operator<<().

◆ rctPhi()

unsigned L1CaloRegion::rctPhi ( ) const
inline

get local phi index (within RCT crate)

Definition at line 150 of file L1CaloRegion.h.

150 { return m_id.rctPhi(); }

References m_id, and L1CaloRegionDetId::rctPhi().

Referenced by L1GctHardwareJetFinder::makeProtoJet(), and operator<<().

◆ rctRegionIndex()

unsigned L1CaloRegion::rctRegionIndex ( ) const
inline

get RCT region index

Definition at line 144 of file L1CaloRegion.h.

144 { return m_id.rctRegion(); }

References m_id, and L1CaloRegionDetId::rctRegion().

Referenced by operator<<(), and GctFormatTranslateMCLegacy::writeAllRctCaloRegionBlock().

◆ reset()

void L1CaloRegion::reset ( void  )
inline

reset the data content (not position id!)

Definition at line 84 of file L1CaloRegion.h.

84 { m_data = 0; }

References m_data.

◆ setBx()

void L1CaloRegion::setBx ( int16_t  bx)

set bx

Definition at line 103 of file L1CaloRegion.cc.

103 { m_bx = bx; }

References bx(), and m_bx.

Referenced by L1GctJetFinderBase::setupObjects(), l1t::stage1::unpack_region(), and RctRawToDigi::unpackCTP7().

◆ setCaptureBlock()

void L1CaloRegion::setCaptureBlock ( uint16_t  capBlock)
inline

set cap block

Definition at line 111 of file L1CaloRegion.h.

References capBlock(), and m_captureBlock.

◆ setCaptureIndex()

void L1CaloRegion::setCaptureIndex ( uint16_t  capIndex)
inline

set cap index

Definition at line 114 of file L1CaloRegion.h.

References capIndex(), and m_captureIndex.

◆ setMip()

void L1CaloRegion::setMip ( bool  mip)

set MIP bit (required for GCT emulator standalone operation)

Definition at line 106 of file L1CaloRegion.cc.

106  {
107  if (mip) {
108  m_data |= 0x1000;
109  } else {
110  m_data &= 0xefff;
111  }
112 }

References m_data, and mip().

◆ setQuiet()

void L1CaloRegion::setQuiet ( bool  quiet)

set quiet bit (required for GCT emulator standalone operation)

Definition at line 115 of file L1CaloRegion.cc.

115  {
116  if (quiet) {
117  m_data |= 0x2000;
118  } else {
119  m_data &= 0xdfff;
120  }
121 }

References m_data, and quiet().

◆ setRawData()

void L1CaloRegion::setRawData ( uint32_t  data)
inline

set data

Definition at line 120 of file L1CaloRegion.h.

120 { m_data = data; }

References data, and m_data.

Referenced by L1GctRegion::setBit().

◆ setRegionId()

void L1CaloRegion::setRegionId ( L1CaloRegionDetId  id)
inlineprivate

set region ID

Definition at line 183 of file L1CaloRegion.h.

183 { m_id = id; }

References id(), and m_id.

◆ tauVeto()

bool L1CaloRegion::tauVeto ( ) const
inline

get tau veto bit

Definition at line 99 of file L1CaloRegion.h.

99 { return (isHf() ? false : fineGrain()); }

References fineGrain(), and isHf().

Referenced by L1CaloRegion(), makeHBHERegion(), and operator<<().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const L1CaloRegion reg 
)
friend

print to stream

Member Data Documentation

◆ m_bx

int16_t L1CaloRegion::m_bx
private

Definition at line 198 of file L1CaloRegion.h.

Referenced by bx(), and setBx().

◆ m_captureBlock

uint16_t L1CaloRegion::m_captureBlock
private

Definition at line 196 of file L1CaloRegion.h.

Referenced by capBlock(), and setCaptureBlock().

◆ m_captureIndex

uint8_t L1CaloRegion::m_captureIndex
private

Definition at line 197 of file L1CaloRegion.h.

Referenced by capIndex(), and setCaptureIndex().

◆ m_data

uint16_t L1CaloRegion::m_data
private

region data : et, overflow, fine grain/tau veto, mip and quiet bits

Definition at line 195 of file L1CaloRegion.h.

Referenced by empty(), et(), etFullScale(), fineGrain(), mip(), operator==(), overFlow(), pack(), pack12BitsEt(), quiet(), raw(), reset(), setMip(), setQuiet(), and setRawData().

◆ m_id

L1CaloRegionDetId L1CaloRegion::m_id
private
L1CaloRegion::fineGrain
bool fineGrain() const
get fine grain bit
Definition: L1CaloRegion.h:102
L1CaloRegion::capIndex
unsigned capIndex() const
what index within capture block
Definition: L1CaloRegion.h:162
L1CaloRegion::id
L1CaloRegionDetId id() const
get global region ID
Definition: L1CaloRegion.h:131
L1CaloRegionDetId::rctRegion
unsigned rctRegion() const
return RCT region index (0-1 for barrel, 0-7 for HF)
Definition: L1CaloRegionDetId.cc:77
L1CaloRegion
A calorimeter trigger region (sum of 4x4 trigger towers)
Definition: L1CaloRegion.h:21
L1CaloRegionDetId::rctEta
unsigned rctEta() const
return local RCT eta index (0-10)
Definition: L1CaloRegionDetId.h:55
L1CaloRegion::bx
int16_t bx() const
get bunch-crossing index
Definition: L1CaloRegion.h:165
L1CaloRegionDetId::ieta
unsigned ieta() const
global eta index (0-21)
Definition: L1CaloRegionDetId.h:37
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
L1CaloRegionDetId::isHf
bool isHf() const
return central or forward type
Definition: L1CaloRegionDetId.h:43
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
L1CaloRegion::m_captureBlock
uint16_t m_captureBlock
Definition: L1CaloRegion.h:196
L1CaloRegion::m_id
L1CaloRegionDetId m_id
region id
Definition: L1CaloRegion.h:192
L1CaloRegion::m_bx
int16_t m_bx
Definition: L1CaloRegion.h:198
L1CaloRegionDetId
Definition: L1CaloRegionDetId.h:18
L1CaloRegion::m_captureIndex
uint8_t m_captureIndex
Definition: L1CaloRegion.h:197
L1CaloRegion::mip
bool mip() const
get MIP bit
Definition: L1CaloRegion.h:105
L1CaloRegion::empty
bool empty() const
is there any information in the candidate
Definition: L1CaloRegion.h:176
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
L1CaloRegion::overFlow
bool overFlow() const
get overflow
Definition: L1CaloRegion.h:96
L1CaloRegion::et
unsigned et() const
get Et
Definition: L1CaloRegion.h:90
L1CaloRegion::m_data
uint16_t m_data
region data : et, overflow, fine grain/tau veto, mip and quiet bits
Definition: L1CaloRegion.h:195
L1CaloRegionDetId::iphi
unsigned iphi() const
global phi index (0-17)
Definition: L1CaloRegionDetId.h:40
groupFilesInBlocks.block
block
Definition: groupFilesInBlocks.py:150
L1CaloRegionDetId::rctPhi
unsigned rctPhi() const
return local RCT phi index (0-1)
Definition: L1CaloRegionDetId.h:58
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
L1CaloRegion::capBlock
unsigned capBlock() const
which capture block did this come from
Definition: L1CaloRegion.h:159
alignCSCRings.r
r
Definition: alignCSCRings.py:93
L1CaloRegion::pack
void pack(unsigned et, bool overFlow, bool fineGrain, bool mip, bool quiet)
pack the raw data from arguments (used in constructors)
Definition: L1CaloRegion.cc:123
L1CaloRegion::tauVeto
bool tauVeto() const
get tau veto bit
Definition: L1CaloRegion.h:99
L1CaloRegion::isHf
bool isHf() const
forward or central region
Definition: L1CaloRegion.h:134
L1CaloRegionDetId::rctCard
unsigned rctCard() const
return RCT card number (0-6)
Definition: L1CaloRegionDetId.cc:61
L1CaloRegion::quiet
bool quiet() const
get quiet bit
Definition: L1CaloRegion.h:108
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
L1CaloRegionDetId::rctCrate
unsigned rctCrate() const
return RCT crate number (0-17)
Definition: L1CaloRegionDetId.cc:55