ATLAS Offline Software
Loading...
Searching...
No Matches
JEMJetAlgorithm.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4/***************************************************************************
5 JEMJetAlgorithm.h - description
6 -------------------
7 begin : Thurs Mar 13 2014
8 email : Alan.Watson@cern.ch
9 ***************************************************************************/
10
11
12#ifndef JETALGORITHM_H
13#define JETALGORITHM_H
14
15#include <map>
16#include <vector>
17
18#include "GaudiKernel/ServiceHandle.h"
19
22
23#include "TrigConfData/L1Menu.h"
24
28namespace LVL1 {
29
39
41public:
42
43 JEMJetAlgorithm( double eta, double phi, const std::map<int, JetInput *>* jiContainer,
44 const TrigConf::L1Menu * l1menu);
45
47
49 double eta();
50 double phi();
51 int Core();
52 int ET4x4();
53 int ET6x6();
54 int ET8x8();
55 int ETLarge();
56 int ETSmall();
57 bool isEtMax();
58 bool isRoI();
59
64
65private: //atribs
66 double m_refEta;
67 double m_refPhi;
68 const TrigConf::L1Menu * m_l1menu{nullptr};
69
71 double m_eta;
72 double m_phi;
78 bool m_EtMax;
79
80 //bool m_debug;
81
83 static const int m_satLarge;
84 static const int m_satSmall;
85
86private: // methods
87 void setRoICoord(double eta, double phi);
88 void testEtMax(const std::vector<int>& cores);
89 void passesTrigger();
90
91};
92
93}
94#endif
95
bool isEtMax()
Does this window pass the local ET maximum condition.
const TrigConf::L1Menu * m_l1menu
int ET4x4()
Returns 4x4 TT cluster ET.
double m_eta
Algorithm results.
int Core()
Returns RoI Core ET.
int ETSmall()
Returns Small cluster ET.
double eta()
Accessors.
static const int m_satSmall
bool isRoI()
Does this window pass the local ET maximum condition.
double phi()
Returns phi coordinate of RoI, using standard ATLAS convention.
int ETLarge()
Returns Large cluster ET.
JEMJetAlgorithm(double eta, double phi, const std::map< int, JetInput * > *jiContainer, const TrigConf::L1Menu *l1menu)
void passesTrigger()
Check trigger condition and set ET values if TOB created.
xAOD::JEMTobRoI * jemTobRoI()
Create JEMTobRoI and return pointers to it.
static const int m_satLarge
Algorithm parameters.
void setRoICoord(double eta, double phi)
Compute RoI coordinate.
void testEtMax(const std::vector< int > &cores)
Form all 2x2 clusters within window and test centre is a local ET maximum.
int ET8x8()
Returns 8x8 TT cluster ET.
int ET6x6()
Returns 6x6 TT cluster ET.
L1 menu configuration.
Definition L1Menu.h:28
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
JEMTobRoI_v1 JEMTobRoI
Define the latest version of the JEMTobRoI class.