17 : regionId_(rgn), capBlock_(capBlock), capIndex_(capIndex), bx_(
bx), type_(null), data_(0) {
46 d.setRawData(
data & 0x1fffffff);
91 d.setData((
data >> 10) & 0
x1, 0, 0, (
data >> 6) & 0xf, (
data >> 11) & 0x1f, 0,
data & 0x3f);
101 uint8_t sgnEta, uint8_t oflow, uint16_t
et, uint8_t
eta, uint8_t
phi, uint8_t tauVeto, uint8_t rank) {
121 s <<
"L1GctInternJetData :";
126 s <<
" type=jet_cluster";
127 s <<
" oflow=" <<
c.oflow();
128 s <<
" et=" <<
c.et();
129 s <<
" eta=" <<
c.eta();
130 s <<
" phi=" <<
c.phi();
131 s <<
" tauVeto=" <<
c.tauVeto();
132 s <<
" rank=" <<
c.rank();
134 s <<
" type=jet_precluster";
135 s <<
" oflow=" <<
c.oflow();
136 s <<
" et=" <<
c.et();
137 s <<
" eta=" <<
c.eta();
138 s <<
" tauVeto=" <<
c.tauVeto();
140 s <<
" type=jet_cluster_minimal";
141 s <<
" oflow=" <<
c.oflow();
142 s <<
" eta=" <<
c.eta();
143 s <<
" phi=" <<
c.phi();
144 s <<
" tauVeto=" <<
c.tauVeto();
145 s <<
" rank=" <<
c.rank();
147 s <<
" type=gct_trig_object";
148 s <<
" eta=" <<
c.eta();
149 s <<
" phi=" <<
c.phi();
150 s <<
" rank=" <<
c.rank();
152 s <<
" cap block=" << std::hex <<
c.capBlock();
154 s <<
" BX=" <<
c.bx();
static L1GctInternJetData fromJetPreCluster(L1CaloRegionDetId rgn, uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)
construct from "jet_precluster"
L1GctInternJetData()
default constructor (for vector initialisation etc.)
L1 GCT internal jet candidate.
static L1GctInternJetData fromJetClusterMinimal(L1CaloRegionDetId rgn, uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)
construct from "jet_cluster_minimal"
uint16_t eta() const
get eta
uint16_t capBlock() const
get capture block
uint16_t sgnEta() const
get sign of eta
L1CaloRegionDetId regionId_
uint16_t tauVeto() const
get tau veto
uint16_t capIndex() const
get index within capture block
uint16_t rank() const
get rank bits
int16_t bx() const
get BX number
uint16_t phi() const
get phi
static L1GctInternJetData fromEmulator(L1CaloRegionDetId rgn, int16_t bx, uint16_t et, bool overFlow, bool tauVeto, uint8_t eta, uint8_t phi, uint16_t rank)
virtual ~L1GctInternJetData()
destructor (virtual to prevent compiler warnings)
uint16_t oflow() const
get oflow
bool operator==(const L1GctInternJetData &c) const
equality operator
static L1GctInternJetData fromJetCluster(L1CaloRegionDetId rgn, uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)
construct from "jet_cluster"
static L1GctInternJetData fromGctTrigObject(L1CaloRegionDetId rgn, uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)
construct from "gct_trig_object"
std::ostream & operator<<(std::ostream &s, const L1GctInternJetData &c)
pretty print
char data[epos_bytes_allocation]
uint16_t et() const
get et
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