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 19 of file L1GctInternJetData.h.
L1GctInternJetData::L1GctInternJetData | ( | ) |
default constructor (for vector initialisation etc.)
Definition at line 3 of file L1GctInternJetData.cc.
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 | ||
) |
construct from individual quantities
Definition at line 14 of file L1GctInternJetData.cc.
References setData().
|
virtual |
destructor (virtual to prevent compiler warnings)
Definition at line 129 of file L1GctInternJetData.cc.
|
inline |
get BX number
Definition at line 102 of file L1GctInternJetData.h.
References bx_.
Referenced by operator<<(), operator==(), and setBx().
|
inline |
get capture block
Definition at line 96 of file L1GctInternJetData.h.
References capBlock_.
Referenced by operator<<(), and setCapBlock().
|
inline |
get index within capture block
Definition at line 99 of file L1GctInternJetData.h.
References capIndex_.
Referenced by operator<<(), and setCapIndex().
|
inline |
was an object really found?
Definition at line 93 of file L1GctInternJetData.h.
References data_.
Referenced by operator<<(), Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
get et
Definition at line 120 of file L1GctInternJetData.h.
References data_.
Referenced by operator<<().
|
inline |
get eta
Definition at line 117 of file L1GctInternJetData.h.
References data_.
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), operator<<(), and Jet.Jet::puJetId().
|
static |
Definition at line 38 of file L1GctInternJetData.cc.
References edmIntegrityCheck::d, emulator, setBx(), setData(), setRegionId(), and setType().
Referenced by L1GctJetFinderBase::getInternalJets().
|
static |
construct from "gct_trig_object"
Definition at line 111 of file L1GctInternJetData.cc.
References edmIntegrityCheck::d, gct_trig_object, setBx(), setCapBlock(), setCapIndex(), setData(), setRegionId(), and setType().
Referenced by GctFormatTranslateV35::blockToGctTrigObjects(), and GctFormatTranslateV38::blockToGctTrigObjects().
|
static |
construct from "jet_cluster"
Definition at line 57 of file L1GctInternJetData.cc.
References edmIntegrityCheck::d, jet_cluster, setBx(), setCapBlock(), setCapIndex(), setRawData(), setRegionId(), and setType().
Referenced by GctFormatTranslateV35::blockToGctInternEtSumsAndJetCluster(), and GctFormatTranslateV38::blockToGctInternEtSumsAndJetCluster().
|
static |
construct from "jet_cluster_minimal"
Definition at line 93 of file L1GctInternJetData.cc.
References edmIntegrityCheck::d, jet_cluster_minimal, setBx(), setCapBlock(), setCapIndex(), setData(), setRegionId(), and setType().
Referenced by GctFormatTranslateV35::blockToGctJetClusterMinimal(), and GctFormatTranslateV38::blockToGctJetClusterMinimal().
|
static |
construct from "jet_precluster"
Definition at line 75 of file L1GctInternJetData.cc.
References edmIntegrityCheck::d, jet_precluster, setBx(), setCapBlock(), setCapIndex(), setData(), setRegionId(), and setType().
Referenced by GctFormatTranslateV35::blockToGctJetPreCluster(), and GctFormatTranslateV38::blockToGctJetPreCluster().
|
inline |
get oflow
Definition at line 123 of file L1GctInternJetData.h.
References data_.
Referenced by operator<<().
|
inline |
inequality operator
Definition at line 165 of file L1GctInternJetData.h.
References EnergyCorrector::c.
bool L1GctInternJetData::operator== | ( | const L1GctInternJetData & | c | ) | const |
equality operator
operators
equality operator
Definition at line 156 of file L1GctInternJetData.cc.
References bx(), bx_, data_, raw(), regionId(), regionId_, type(), and type_.
Referenced by setRawData().
|
inline |
get phi
Definition at line 114 of file L1GctInternJetData.h.
References data_.
Referenced by Particle.Particle::__str__(), operator<<(), and ntupleDataFormat.Track::phiPull().
|
inline |
get rank bits
Definition at line 108 of file L1GctInternJetData.h.
References data_.
Referenced by operator<<().
|
inline |
get the raw data
Definition at line 105 of file L1GctInternJetData.h.
References data_.
Referenced by operator==().
|
inline |
region associated with the candidate
Definition at line 90 of file L1GctInternJetData.h.
References regionId_.
Referenced by operator==().
|
inline |
set bx
Definition at line 141 of file L1GctInternJetData.h.
Referenced by fromEmulator(), fromGctTrigObject(), fromJetCluster(), fromJetClusterMinimal(), and fromJetPreCluster().
|
inline |
set cap block
Definition at line 135 of file L1GctInternJetData.h.
References capBlock(), and capBlock_.
Referenced by fromGctTrigObject(), fromJetCluster(), fromJetClusterMinimal(), and fromJetPreCluster().
|
inline |
set cap index
Definition at line 138 of file L1GctInternJetData.h.
References capIndex(), and capIndex_.
Referenced by fromGctTrigObject(), fromJetCluster(), fromJetClusterMinimal(), and fromJetPreCluster().
void L1GctInternJetData::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
construct
Definition at line 135 of file L1GctInternJetData.cc.
References data_.
Referenced by fromEmulator(), fromGctTrigObject(), fromJetClusterMinimal(), fromJetPreCluster(), L1GctInternJetData(), and setRawData().
|
inline |
set data
Definition at line 147 of file L1GctInternJetData.h.
References EnergyCorrector::c, data, data_, operator==(), and setData().
Referenced by fromJetCluster().
|
inline |
set region
Definition at line 132 of file L1GctInternJetData.h.
References regionId_.
Referenced by fromEmulator(), fromGctTrigObject(), fromJetCluster(), fromJetClusterMinimal(), and fromJetPreCluster().
|
inline |
set type
Definition at line 144 of file L1GctInternJetData.h.
Referenced by fromEmulator(), fromGctTrigObject(), fromJetCluster(), fromJetClusterMinimal(), and fromJetPreCluster().
|
inline |
|
inline |
get tau veto
Definition at line 111 of file L1GctInternJetData.h.
References data_.
Referenced by operator<<().
|
inline |
'type' of object
Definition at line 87 of file L1GctInternJetData.h.
References type_.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), operator<<(), operator==(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and setType().
|
private |
Definition at line 176 of file L1GctInternJetData.h.
Referenced by bx(), operator==(), and setBx().
|
private |
Definition at line 174 of file L1GctInternJetData.h.
Referenced by capBlock(), and setCapBlock().
|
private |
Definition at line 175 of file L1GctInternJetData.h.
Referenced by capIndex(), and setCapIndex().
|
private |
Definition at line 182 of file L1GctInternJetData.h.
Referenced by empty(), et(), eta(), oflow(), operator==(), phi(), rank(), raw(), setData(), setRawData(), sgnEta(), and tauVeto().
|
private |
Definition at line 171 of file L1GctInternJetData.h.
Referenced by operator==(), regionId(), and setRegionId().
|
private |
Definition at line 179 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(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), operator==(), setType(), and type().