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-2018 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
19 #include <iostream>
20 #ifndef TRIGGERSPACE
22 #else
23 #include "Coordinate.h"
24 #endif
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
34 virtual ~JEMHits();
35
36 void setPeak(int peak);
37 void addJetHits(const std::vector<unsigned int>& hits);
38
39 int crate() const;
40 int module() const;
41 unsigned int JetHits() const;
42 const std::vector<unsigned int>& JetHitsVec() const;
43 int peak() const;
44 bool forward() const;
45
47 private:
50 int m_peak;
51 std::vector <unsigned int> m_JetHits;
52
53 };
54 } // end of namespace
55
56#ifndef JEMHits_ClassDEF_H
58#endif
59
60#endif
macros to associate a CLID to a type
Coordinate policies.
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
virtual ~JEMHits()
Definition JEMHits.cxx:30
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...