ATLAS Offline Software
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5  //***************************************************************************
6  // JEMEtSums.h - description
7  // -------------------
8  // begin : 25 05 2006
9  // email : Alan.Watson@cern.ch
10  // ***************************************************************************/
11 
12 
13  #ifndef JEMEtSums_H
14  #define JEMEtSums_H
15 
16  #include "AthenaKernel/CLASS_DEF.h"
17 
18 
19  #include <iostream>
20  #ifndef TRIGGERSPACE
22  #else
23  #include "Coordinate.h"
24  #endif
25  namespace LVL1 {
26 
27  class JEMEtSums {
28  public:
29 
30  JEMEtSums();
31  JEMEtSums(int crate, int module);
32  JEMEtSums(int crate, int module,
33  const std::vector<unsigned int>& Et,
34  const std::vector<unsigned int>& Ex,
35  const std::vector<unsigned int>& Ey,
36  int peak);
37 
38  virtual ~JEMEtSums();
39 
40  void setPeak(int peak);
41  void addEt(const std::vector<unsigned int>& Et);
42  void addEx(const std::vector<unsigned int>& Ex);
43  void addEy(const std::vector<unsigned int>& Ey);
44 
45  int crate() const;
46  int module() const;
47  unsigned int Et() const;
48  unsigned int Ex() const;
49  unsigned int Ey() const;
50  const std::vector<unsigned int>& EtVec() const;
51  const std::vector<unsigned int>& ExVec() const;
52  const std::vector<unsigned int>& EyVec() const;
53  int peak() const;
54  bool forward() const;
55 
57  private:
58  int m_crate;
59  int m_module;
60  int m_peak;
61  std::vector <unsigned int> m_Et;
62  std::vector <unsigned int> m_Ex;
63  std::vector <unsigned int> m_Ey;
64 
65  };
66  } // end of namespace
67 
68 #ifndef JEMEtSums_ClassDEF_H
70 #endif
71 
72 #endif
LVL1::JEMEtSums::m_Ey
std::vector< unsigned int > m_Ey
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:63
LVL1::JEMEtSums::JEMEtSums
JEMEtSums()
Definition: JEMEtSums.cxx:27
LVL1::JEMEtSums::~JEMEtSums
virtual ~JEMEtSums()
Definition: JEMEtSums.cxx:37
LVL1::JEMEtSums::EyVec
const std::vector< unsigned int > & EyVec() const
returns module Ey sum
Definition: JEMEtSums.cxx:103
LVL1::JEMEtSums::module
int module() const
returns module number
Definition: JEMEtSums.cxx:73
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::JEMEtSums::addEy
void addEy(const std::vector< unsigned int > &Ey)
Update Ey sum.
Definition: JEMEtSums.cxx:123
LVL1::JEMEtSums::forward
bool forward() const
Central or FCAL JEM?
Definition: JEMEtSums.cxx:108
LVL1::JEMEtSums::m_Et
std::vector< unsigned int > m_Et
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:61
LVL1::JEMEtSums::crate
int crate() const
returns crate number
Definition: JEMEtSums.cxx:68
LVL1::JEMEtSums::JEMEtSums
JEMEtSums(int crate, int module)
Coordinate.h
Coordinate policies.
LVL1::JEMEtSums::m_peak
int m_peak
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:60
LVL1::JEMEtSums::peak
int peak() const
returns peak slice number
Definition: JEMEtSums.cxx:133
Coordinate.h
JEMEtSums_ClassDEF.h
LVL1::JEMEtSums::ExVec
const std::vector< unsigned int > & ExVec() const
returns module Ex sum
Definition: JEMEtSums.cxx:98
LVL1::JEMEtSums::Et
unsigned int Et() const
returns module ET sum for peak sample
Definition: JEMEtSums.cxx:78
LVL1::JEMEtSums::Ey
unsigned int Ey() const
returns module Ey sum for peak sample
Definition: JEMEtSums.cxx:88
LVL1::JEMEtSums::m_module
int m_module
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:59
LVL1::JEMEtSums::addEt
void addEt(const std::vector< unsigned int > &Et)
Update ET sum.
Definition: JEMEtSums.cxx:113
LVL1::JEMEtSums
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:27
LVL1::JEMEtSums::setPeak
void setPeak(int peak)
Specify peak slice (Same for all vectors)
Definition: JEMEtSums.cxx:128
LVL1::JEMEtSums::m_crate
int m_crate
Internal data.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:58
LVL1::JEMEtSums::m_Ex
std::vector< unsigned int > m_Ex
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:62
LVL1::JEMEtSums::EtVec
const std::vector< unsigned int > & EtVec() const
returns module ET sum
Definition: JEMEtSums.cxx:93
LVL1::JEMEtSums::addEx
void addEx(const std::vector< unsigned int > &Ex)
Update Ex sum.
Definition: JEMEtSums.cxx:118
LVL1::JEMEtSums::JEMEtSums
JEMEtSums(int crate, int module, const std::vector< unsigned int > &Et, const std::vector< unsigned int > &Ex, const std::vector< unsigned int > &Ey, int peak)
CLASS_DEF.h
macros to associate a CLID to a type
LVL1::JEMEtSums::Ex
unsigned int Ex() const
returns module Ex sum for peak sample
Definition: JEMEtSums.cxx:83