26 declareInterface<IL1EtTools>(
this);
49 return StatusCode::SUCCESS;
58 return StatusCode::SUCCESS;
73 for( it = jetelements->
begin(); it < jetelements->end(); ++it ){
74 double jetElementPhi=(*it)->phi();
75 double jetElementEta=(*it)->eta();
76 int key = testKey.
jeKey(jetElementPhi,jetElementEta);
77 xAOD::JetElementMap_t::iterator test=jeContainer->find( key );
78 if (test == jeContainer->end()){
80 jeContainer->insert(xAOD::JetElementMap_t::value_type(key,*it));
83 ATH_MSG_ERROR(
"JetElement already in map (shouldn't happen!) ");
101 for (
int crate = 0; crate < 2; ++crate) {
102 for (
int module = 0;
module < 16; ++module) {
120 for (
int crate = 0; crate < 2; ++crate) {
121 for (
int module = 0;
module < 16; ++module) {
134 for (
int crate = 0; crate < 2; ++crate) {
147 for (
int crate = 0; crate < 2; ++crate) {
178 for (
int crate = 0; crate < 2; ++crate) {
200 for (
int crate = 0; crate < 2; ++crate) {
216 crateSums(jetelements, crates, slice, maskXE, maskTE, restricted);
233 crateSums(jemap, crates, slice, maskXE, maskTE, restricted);
#define ATH_CHECK
Evaluate an expression and check for errors.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
DataModel_detail::const_iterator< DataVector > const_iterator
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
void clear()
Erase all the elements in the collection.
CrateEnergy class declaration Simulates behaviour of the Crate-CMM System CMM logic is done in Energy...
virtual unsigned int jeKey(const xAOD::TriggerTower &tower)
returns key of passed tower
The JetElementKey object provides the key for each JetElement depending on its eta,...
This is an internal class, used in the Energy trigger.
SystemEnergy class declaration Simulates behaviour of the Crate-CMM System CMM logic is done in Energ...
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
JetElementContainer_v2 JetElementContainer
Define the latest version of the JetElement container.
std::map< int, const JetElement * > JetElementMap_t