![]() |
ATLAS Offline Software
|
Description of JetElement_v1. More...
#include <JetElement_v1.h>
Public Member Functions | |
| JetElement_v1 () | |
| 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 | |
Static Private Attributes | |
| static const int | m_saturationThreshold = 1023 |
| static const int | m_layerSaturationThreshold = 511 |
Description of JetElement_v1.
Definition at line 23 of file JetElement_v1.h.
| xAOD::JetElement_v1::JetElement_v1 | ( | ) |
Definition at line 18 of file JetElement_v1.cxx.
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
Definition at line 33 of file JetElement_v1.cxx.
| 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
Definition at line 78 of file JetElement_v1.cxx.
| int xAOD::JetElement_v1::emEnergy | ( | ) | const |
get emEnery for emEnergyVec[peak] - time slice that (hopefully) contains the collision
Definition at line 141 of file JetElement_v1.cxx.
get emEnergyVec - emEnergy for all time slices
| int xAOD::JetElement_v1::emError | ( | ) | const |
get emError for emErrorVec[peak] - time slice that (hopefully) contains the collision
Definition at line 216 of file JetElement_v1.cxx.
get emErrorVec - emError for all time slices
get emEnery for emEnergyVec[slice] - time slice for arbitary slice
Definition at line 168 of file JetElement_v1.cxx.
| int xAOD::JetElement_v1::energy | ( | ) | const |
get total energy. returns emEnergy() + hadEnergy()
Definition at line 157 of file JetElement_v1.cxx.
| float xAOD::JetElement_v1::eta | ( | ) | const |
get eta
| int xAOD::JetElement_v1::hadEnergy | ( | ) | const |
get hadEnery for hadEnergyVec[peak] - time slice that (hopefully) contains the collision
Definition at line 149 of file JetElement_v1.cxx.
get hadEnergyVec - hadEnergy for all time slices
| int xAOD::JetElement_v1::hadError | ( | ) | const |
get hadError for hadErrorVec[peak] - time slice that (hopefully) contains the collision
Definition at line 221 of file JetElement_v1.cxx.
get hadErrorVec - hadError for all time slices
get hadEnery for hadEnergyVec[slice] - time slice for arbitary slice
Definition at line 179 of file JetElement_v1.cxx.
| bool xAOD::JetElement_v1::isEmSaturated | ( | ) | const |
is EM component of JetElement saturated?
Definition at line 206 of file JetElement_v1.cxx.
| bool xAOD::JetElement_v1::isHadSaturated | ( | ) | const |
is Had component of JetElement saturated?
Definition at line 211 of file JetElement_v1.cxx.
| bool xAOD::JetElement_v1::isSaturated | ( | ) | const |
is JetElement saturated?
Definition at line 201 of file JetElement_v1.cxx.
| int xAOD::JetElement_v1::linkError | ( | ) | const |
get linkError for linkErrorVec[peak] - time slice that (hopefully) contains the collision
Definition at line 226 of file JetElement_v1.cxx.
get linkErrorVec - linkError for all time slices
| int xAOD::JetElement_v1::peak | ( | ) | const |
get peak
| float xAOD::JetElement_v1::phi | ( | ) | const |
get phi (note that for L1Calo phi runs from 0 to 2pi)
set emEnergyVec - emEnergy for all time slices
set emErrorVec - emError for all time slices
| void xAOD::JetElement_v1::setEta | ( | float | ) |
set eta
set hadEnergyVec - hadEnergy for all time slices
set hadErrorVec - hadError for all time slices
set linkErrorVec - linkError for all time slices
| void xAOD::JetElement_v1::setPeak | ( | int | ) |
set key
| void xAOD::JetElement_v1::setPhi | ( | float | ) |
set phi
get total energy. returns emSliceEnergy(slice) + hadSliceEnergy(slice)
Definition at line 190 of file JetElement_v1.cxx.
Definition at line 108 of file JetElement_v1.h.
Definition at line 107 of file JetElement_v1.h.