#include <JetElement_v1.h>
Public Member Functions | |
float | phi () const |
get phi (note that for L1Calo phi runs from 0 to 2pi) | |
void | setPhi (float) |
set phi | |
float | eta () const |
get eta | |
void | setEta (float) |
set eta | |
unsigned int | key () const |
get key | |
void | setKey (unsigned int) |
set key | |
int | peak () const |
get peak | |
void | setPeak (int) |
set key | |
const std::vector< int > & | emEnergyVec () const |
get emEnergyVec - emEnergy for all time slices | |
void | setEmEnergyVec (const std::vector< int > &) |
set emEnergyVec - emEnergy for all time slices | |
const std::vector< int > & | hadEnergyVec () const |
get hadEnergyVec - hadEnergy for all time slices | |
void | setHadEnergyVec (const std::vector< int > &) |
set hadEnergyVec - hadEnergy for all time slices | |
const std::vector< int > & | emErrorVec () const |
get emErrorVec - emError for all time slices | |
void | setEmErrorVec (const std::vector< int > &) |
set emErrorVec - emError for all time slices | |
const std::vector< int > & | hadErrorVec () const |
get hadErrorVec - hadError for all time slices | |
void | setHadErrorVec (const std::vector< int > &) |
set hadErrorVec - hadError for all time slices | |
const std::vector< int > & | linkErrorVec () const |
get linkErrorVec - linkError for all time slices | |
void | setLinkErrorVec (const std::vector< int > &) |
set linkErrorVec - linkError for all time slices | |
void | addEnergy (int emEnergy, int hadEnergy) |
Add ET to triggered time slice. | |
void | addSlice (int slice, int emEnergy, int hadEnergy, int emError, int hadError, int linkError) |
Add ET values to specified slice. | |
int | emEnergy () const |
get emEnery for emEnergyVec[peak] - time slice that (hopefully) contains the collision | |
int | hadEnergy () const |
get hadEnery for hadEnergyVec[peak] - time slice that (hopefully) contains the collision | |
int | energy () const |
get total energy. returns emEnergy() + hadEnergy() | |
int | emSliceEnergy (int slice) const |
get emEnery for emEnergyVec[slice] - time slice for arbitary slice | |
int | hadSliceEnergy (int slice) const |
get hadEnery for hadEnergyVec[slice] - time slice for arbitary slice | |
int | sliceEnergy (int slice) const |
get total energy. returns emSliceEnergy(slice) + hadSliceEnergy(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? | |
int | emError () const |
get emError for emErrorVec[peak] - time slice that (hopefully) contains the collision | |
int | hadError () const |
get hadError for hadErrorVec[peak] - time slice that (hopefully) contains the collision | |
int | linkError () const |
get linkError for linkErrorVec[peak] - time slice that (hopefully) contains the collision |
Description of JetElement_v1
void xAOD::JetElement_v1::addEnergy | ( | int | emEnergy, | |
int | hadEnergy | |||
) |
Add ET to triggered time slice.
EM Section
Calclate the modified energy if it is above saturation threshold, set it to the saturation threshold
Had Section
Calclate the modified energy if it is above saturation threshold, set it to the saturation threshold
void xAOD::JetElement_v1::addSlice | ( | int | slice, | |
int | emEnergy, | |||
int | hadEnergy, | |||
int | emError, | |||
int | hadError, | |||
int | linkError | |||
) |
Add ET values to specified slice.
This functions works just like addEnergy, it's just got more in it