Go to the documentation of this file. 1 #ifndef L1GCTINTERNJETDATA_H
2 #define L1GCTINTERNJETDATA_H
84 int16_t
bx()
const {
return bx_; }
96 uint16_t
phi()
const {
return (
data_ >> 7) & 0x1f; }
99 uint16_t
eta()
const {
return (
data_ >> 12) & 0xf; }
102 uint16_t
et()
const {
return (
data_ >> 16) & 0xfff; }
static L1GctInternJetData fromJetClusterMinimal(L1CaloRegionDetId rgn, uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)
construct from "jet_cluster_minimal"
L1GctInternJetData::L1GctInternJetType type() const
'type' of object
uint32_t raw() const
get the raw data
uint16_t sgnEta() const
get sign of eta
uint16_t eta() const
get eta
void setData(uint8_t sgnEta, uint8_t oflow, uint16_t et, uint8_t eta, uint8_t phi, uint8_t tauVeto, uint8_t rank)
construct data word from components
L1GctInternJetData()
default constructor (for vector initialisation etc.)
static L1GctInternJetData fromJetPreCluster(L1CaloRegionDetId rgn, uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)
construct from "jet_precluster"
uint16_t et() const
get et
static L1GctInternJetData fromEmulator(L1CaloRegionDetId rgn, int16_t bx, uint16_t et, bool overFlow, bool tauVeto, uint8_t eta, uint8_t phi, uint16_t rank)
static L1GctInternJetData fromGctTrigObject(L1CaloRegionDetId rgn, uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)
construct from "gct_trig_object"
static L1GctInternJetData fromJetCluster(L1CaloRegionDetId rgn, uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)
construct from "jet_cluster"
void setRegionId(L1CaloRegionDetId rgn)
set region
bool empty() const
was an object really found?
bool operator!=(const L1GctInternJetData &c) const
inequality operator
virtual ~L1GctInternJetData()
destructor (virtual to prevent compiler warnings)
uint16_t phi() const
get phi
int16_t bx() const
get BX number
void setRawData(uint32_t data)
set data
uint16_t capIndex() const
get index within capture block
void setCapBlock(uint16_t capBlock)
set cap block
L1CaloRegionDetId regionId_
uint16_t capBlock() const
get capture block
L1CaloRegionDetId regionId() const
region associated with the candidate
uint16_t rank() const
get rank bits
uint16_t oflow() const
get oflow
void setCapIndex(uint16_t capIndex)
set cap index
char data[epos_bytes_allocation]
std::ostream & operator<<(std::ostream &s, const L1GctInternJetData &cand)
pretty print
bool operator==(const L1GctInternJetData &c) const
equality operator
void setBx(uint16_t bx)
set bx
uint16_t tauVeto() const
get tau veto
void setType(L1GctInternJetType type)
set type
L1 GCT internal jet candidate.