ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMHits.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5 //***************************************************************************
6 // JEMHits.h - description
7 // -------------------
8 // begin : 25 05 2006
9 // email : Alan.Watson@cern.ch
10 // ***************************************************************************/
11
12
13 #ifndef JEMHits_H
14 #define JEMHits_H
15
17
18 #ifndef TRIGGERSPACE
20 #else
21 #include "Coordinate.h"
22 #endif
23
24 #include <vector>
25 namespace LVL1 {
26
27 class JEMHits {
28 public:
29
30 JEMHits();
31 JEMHits(int crate, int module);
32 JEMHits(int crate, int module, const std::vector<unsigned int>& JetHits, int peak);
33 JEMHits& operator=(JEMHits&&) noexcept = default;
34 JEMHits(JEMHits&&) noexcept = default;
35 virtual ~JEMHits();
36
37 void setPeak(int peak);
38 void addJetHits(const std::vector<unsigned int>& hits);
39
40 int crate() const;
41 int module() const;
42 unsigned int JetHits() const;
43 const std::vector<unsigned int>& JetHitsVec() const;
44 int peak() const;
45 bool forward() const;
46
48 private:
49 int m_crate{};
50 int m_module{};
51 int m_peak{};
52 std::vector <unsigned int> m_JetHits;
53
54 };
55 } // end of namespace
56
57#ifndef JEMHits_ClassDEF_H
59#endif
60
61#endif
macros to associate a CLID to a type
Coordinate policies.
JEMHits & operator=(JEMHits &&) noexcept=default
JEMHits(int crate, int module)
int crate() const
returns crate number
Definition JEMHits.cxx:55
int peak() const
returns peak slice number
Definition JEMHits.cxx:90
unsigned int JetHits() const
returns jet hits for peak sample
Definition JEMHits.cxx:65
int module() const
returns module number
Definition JEMHits.cxx:60
JEMHits(int crate, int module, const std::vector< unsigned int > &JetHits, int peak)
const std::vector< unsigned int > & JetHitsVec() const
returns jet hits
Definition JEMHits.cxx:70
bool forward() const
Central or FCAL JEM?
Definition JEMHits.cxx:75
void setPeak(int peak)
Specify peak slice.
Definition JEMHits.cxx:85
void addJetHits(const std::vector< unsigned int > &hits)
Set Jet hits.
Definition JEMHits.cxx:80
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
STL namespace.
#define private