L1 GCT internal jet candidate. More...
#include <L1GctInternJetData.h>
Public Types | |
enum | L1GctInternJetType { null, emulator, jet_cluster, jet_cluster_minimal, jet_precluster, gct_trig_object } |
Public Member Functions | |
int16_t | bx () const |
get BX number More... | |
uint16_t | capBlock () const |
get capture block More... | |
uint16_t | capIndex () const |
get index within capture block More... | |
bool | empty () const |
was an object really found? More... | |
uint16_t | et () const |
get et More... | |
uint16_t | eta () const |
get eta More... | |
L1GctInternJetData () | |
default constructor (for vector initialisation etc.) More... | |
L1GctInternJetData (L1CaloRegionDetId rgn, uint16_t capBlock, uint16_t capIndex, int16_t bx, uint8_t sgnEta, uint8_t oflow, uint16_t et, uint8_t eta, uint8_t phi, uint8_t tauVeto, uint8_t rank) | |
construct from individual quantities More... | |
uint16_t | oflow () const |
get oflow More... | |
bool | operator!= (const L1GctInternJetData &c) const |
inequality operator More... | |
bool | operator== (const L1GctInternJetData &c) const |
equality operator More... | |
uint16_t | phi () const |
get phi More... | |
uint16_t | rank () const |
get rank bits More... | |
uint32_t | raw () const |
get the raw data More... | |
L1CaloRegionDetId | regionId () const |
region associated with the candidate More... | |
void | setBx (uint16_t bx) |
set bx More... | |
void | setCapBlock (uint16_t capBlock) |
set cap block More... | |
void | setCapIndex (uint16_t capIndex) |
set cap index More... | |
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 More... | |
void | setRawData (uint32_t data) |
set data More... | |
void | setRegionId (L1CaloRegionDetId rgn) |
set region More... | |
void | setType (L1GctInternJetType type) |
set type More... | |
uint16_t | sgnEta () const |
get sign of eta More... | |
uint16_t | tauVeto () const |
get tau veto More... | |
L1GctInternJetData::L1GctInternJetType | type () const |
'type' of object More... | |
virtual | ~L1GctInternJetData () |
destructor (virtual to prevent compiler warnings) More... | |
Static Public Member Functions | |
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" More... | |
static L1GctInternJetData | fromJetCluster (L1CaloRegionDetId rgn, uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data) |
construct from "jet_cluster" More... | |
static L1GctInternJetData | fromJetClusterMinimal (L1CaloRegionDetId rgn, uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data) |
construct from "jet_cluster_minimal" More... | |
static L1GctInternJetData | fromJetPreCluster (L1CaloRegionDetId rgn, uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data) |
construct from "jet_precluster" More... | |
Private Attributes | |
int16_t | bx_ |
uint16_t | capBlock_ |
uint16_t | capIndex_ |
uint32_t | data_ |
L1CaloRegionDetId | regionId_ |
L1GctInternJetType | type_ |
Enumerator | |
---|---|
null | |
emulator | |
jet_cluster | |
jet_cluster_minimal | |
jet_precluster | |
gct_trig_object |
Definition at line 16 of file L1GctInternJetData.h.
L1GctInternJetData::L1GctInternJetData | ( | ) |
L1GctInternJetData::L1GctInternJetData | ( | L1CaloRegionDetId | rgn, |
uint16_t | capBlock, | ||
uint16_t | capIndex, | ||
int16_t | bx, | ||
uint8_t | sgnEta, | ||
uint8_t | oflow, | ||
uint16_t | et, | ||
uint8_t | eta, | ||
uint8_t | phi, | ||
uint8_t | tauVeto, | ||
uint8_t | rank | ||
) |
|
virtual |
destructor (virtual to prevent compiler warnings)
Definition at line 97 of file L1GctInternJetData.cc.
|
inline |
get BX number
Definition at line 84 of file L1GctInternJetData.h.
References bx_.
Referenced by fromEmulator(), fromGctTrigObject(), fromJetCluster(), fromJetClusterMinimal(), fromJetPreCluster(), and setBx().
|
inline |
get capture block
Definition at line 78 of file L1GctInternJetData.h.
References capBlock_.
Referenced by fromGctTrigObject(), fromJetCluster(), fromJetClusterMinimal(), fromJetPreCluster(), and setCapBlock().
|
inline |
get index within capture block
Definition at line 81 of file L1GctInternJetData.h.
References capIndex_.
Referenced by fromGctTrigObject(), fromJetCluster(), fromJetClusterMinimal(), fromJetPreCluster(), and setCapIndex().
|
inline |
|
inline |
get et
Definition at line 102 of file L1GctInternJetData.h.
References data_.
Referenced by fromEmulator(), L1GctInternJetData(), and setData().
|
inline |
get eta
Definition at line 99 of file L1GctInternJetData.h.
References data_.
Referenced by Particle.Particle::__str__(), fromEmulator(), Jet.Jet::jetID(), L1GctInternJetData(), Jet.Jet::puJetId(), and setData().
|
static |
|
static |
construct from "gct_trig_object"
Definition at line 82 of file L1GctInternJetData.cc.
References bx(), capBlock(), capIndex(), ztail::d, data, gct_trig_object, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by GctFormatTranslateV35::blockToGctTrigObjects(), and GctFormatTranslateV38::blockToGctTrigObjects().
|
static |
construct from "jet_cluster"
Definition at line 37 of file L1GctInternJetData.cc.
References bx(), capBlock(), capIndex(), ztail::d, data, and jet_cluster.
Referenced by GctFormatTranslateV35::blockToGctInternEtSumsAndJetCluster(), and GctFormatTranslateV38::blockToGctInternEtSumsAndJetCluster().
|
static |
construct from "jet_cluster_minimal"
Definition at line 67 of file L1GctInternJetData.cc.
References bx(), capBlock(), capIndex(), ztail::d, data, jet_cluster_minimal, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by GctFormatTranslateV35::blockToGctJetClusterMinimal(), and GctFormatTranslateV38::blockToGctJetClusterMinimal().
|
static |
construct from "jet_precluster"
Definition at line 52 of file L1GctInternJetData.cc.
References bx(), capBlock(), capIndex(), ztail::d, data, jet_precluster, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by GctFormatTranslateV35::blockToGctJetPreCluster(), and GctFormatTranslateV38::blockToGctJetPreCluster().
|
inline |
get oflow
Definition at line 105 of file L1GctInternJetData.h.
References data_.
Referenced by fromEmulator(), L1GctInternJetData(), and setData().
|
inline |
bool L1GctInternJetData::operator== | ( | const L1GctInternJetData & | c | ) | const |
|
inline |
get phi
Definition at line 96 of file L1GctInternJetData.h.
References data_.
Referenced by Particle.Particle::__str__(), fromEmulator(), L1GctInternJetData(), ntupleDataFormat.Track::phiPull(), and setData().
|
inline |
get rank bits
Definition at line 90 of file L1GctInternJetData.h.
References data_.
Referenced by fromEmulator(), L1GctInternJetData(), and setData().
|
inline |
|
inline |
region associated with the candidate
Definition at line 72 of file L1GctInternJetData.h.
References regionId_.
|
inline |
|
inline |
set cap block
Definition at line 116 of file L1GctInternJetData.h.
References capBlock(), and capBlock_.
|
inline |
set cap index
Definition at line 119 of file L1GctInternJetData.h.
References capIndex(), and capIndex_.
void L1GctInternJetData::setData | ( | uint8_t | sgnEta, |
uint8_t | oflow, | ||
uint16_t | et, | ||
uint8_t | eta, | ||
uint8_t | phi, | ||
uint8_t | tauVeto, | ||
uint8_t | rank | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
get sign of eta
Definition at line 108 of file L1GctInternJetData.h.
References data_.
Referenced by L1GctInternJetData(), and setData().
|
inline |
get tau veto
Definition at line 93 of file L1GctInternJetData.h.
References data_.
Referenced by fromEmulator(), L1GctInternJetData(), and setData().
|
inline |
'type' of object
Definition at line 69 of file L1GctInternJetData.h.
References type_.
Referenced by setType().
|
private |
Definition at line 148 of file L1GctInternJetData.h.
Referenced by bx(), operator==(), and setBx().
|
private |
Definition at line 146 of file L1GctInternJetData.h.
Referenced by capBlock(), and setCapBlock().
|
private |
Definition at line 147 of file L1GctInternJetData.h.
Referenced by capIndex(), and setCapIndex().
|
private |
Definition at line 154 of file L1GctInternJetData.h.
Referenced by empty(), et(), eta(), oflow(), operator==(), phi(), rank(), raw(), setData(), setRawData(), sgnEta(), and tauVeto().
|
private |
Definition at line 143 of file L1GctInternJetData.h.
Referenced by operator==(), regionId(), and setRegionId().
|
private |
Definition at line 151 of file L1GctInternJetData.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), operator==(), setType(), and type().