#include <JetElement_v2.h>
Public Member Functions | |
JetElement_v2 () | |
Default constructor. | |
virtual | ~JetElement_v2 () |
Default desturctor. | |
virtual void | initialize (const float eta, const float phi, const unsigned int key) |
initialize | |
virtual void | initialize (const float eta, const float phi, const unsigned int key, const std::vector< uint16_t > &emJetElementETVec, const std::vector< uint16_t > &hadJetElementETVec, const std::vector< uint32_t > &emJetElementErrorVec, const std::vector< uint32_t > &hadJetElementErrorVec, const std::vector< uint32_t > &linkErrorVec, const uint8_t peak) |
initialize | |
float | eta () const |
get eta | |
void | setEta (float) |
set eta | |
float | phi () const |
get phi (note that for L1Calo phi runs from 0 to 2pi) | |
void | setPhi (float) |
set phi | |
unsigned int | key () const |
get key | |
void | setKey (unsigned int) |
set key | |
uint8_t | peak () const |
get peak | |
void | setPeak (uint8_t) |
set key | |
const std::vector< uint16_t > & | emJetElementETVec () const |
get emJetElementETVec - emJetElementET for all time slices | |
void | setEmJetElementETVec (const std::vector< uint16_t > &) |
set emJetElementETVec - emJetElementET for all time slices | |
const std::vector< uint16_t > & | hadJetElementETVec () const |
get hadJetElementETVec - hadJetElementET for all time slices | |
void | setHadJetElementETVec (const std::vector< uint16_t > &) |
set hadJetElementETVec - hadJetElementET for all time slices | |
const std::vector< uint32_t > & | emJetElementErrorVec () const |
get emJetElementErrorVec - emJetElementError for all time slices | |
void | setEmJetElementErrorVec (const std::vector< uint32_t > &) |
set emJetElementErrorVec - emJetElementError for all time slices | |
const std::vector< uint32_t > & | hadJetElementErrorVec () const |
get hadJetElementErrorVec - hadJetElementError for all time slices | |
void | setHadJetElementErrorVec (const std::vector< uint32_t > &) |
set hadJetElementErrorVec - hadJetElementError for all time slices | |
const std::vector< uint32_t > & | linkErrorVec () const |
get linkErrorVec - linkError for all time slices | |
void | setLinkErrorVec (const std::vector< uint32_t > &) |
set linkErrorVec - linkError for all time slices | |
unsigned int | emJetElementET () const |
get emJetElementET for emJetElementETVec[peak] - time slice that (hopefully) contains the collision | |
unsigned int | hadJetElementET () const |
get hadJetElementET for hadJetElementETVec[peak] - time slice that (hopefully) contains the collision | |
unsigned int | et () const |
get total et. returns emJetElementET() + hadJetElementET() | |
unsigned int | emJetElementETSlice (unsigned int slice) const |
get emJetElementET for emJetElementETVec[slice] - time slice for arbitary slice | |
unsigned int | hadJetElementETSlice (unsigned int slice) const |
get hadJetElementET for hadJetElementETVec[slice] - time slice for arbitary slice | |
unsigned int | sliceET (unsigned int slice) const |
get total et. returns emJetElementETSlice(slice) + hadJetElementETSlice(slice) | |
bool | isSaturated () const |
is JetElement saturated? | |
bool | isEmSaturated () const |
is EM component of JetElement saturated? | |
bool | isHadSaturated () const |
is Had component of JetElement saturated? | |
uint32_t | emJetElementError () const |
get emJetElementError for emJetElementErrorVec[peak] - time slice that (hopefully) contains the collision | |
uint32_t | hadJetElementError () const |
get hadJetElementError for hadJetElementErrorVec[peak] - time slice that (hopefully) contains the collision | |
uint32_t | linkError () const |
get linkError for linkErrorVec[peak] - time slice that (hopefully) contains the collision |
Description of JetElement_v2