ATLAS Offline Software
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 
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 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:
48  int m_crate;
49  int m_module;
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
LVL1::JEMHits::JEMHits
JEMHits()
Definition: JEMHits.cxx:27
LVL1::JEMHits::crate
int crate() const
returns crate number
Definition: JEMHits.cxx:60
TRTCalib_Extractor.hits
hits
Definition: TRTCalib_Extractor.py:35
LVL1::JEMHits::JEMHits
JEMHits(int crate, int module, const std::vector< unsigned int > &JetHits, int peak)
LVL1::JEMHits::m_peak
int m_peak
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMHits.h:50
LVL1::JEMHits::setPeak
void setPeak(int peak)
Specify peak slice
Definition: JEMHits.cxx:90
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::JEMHits::m_crate
int m_crate
Internal data.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMHits.h:48
LVL1::JEMHits::m_JetHits
std::vector< unsigned int > m_JetHits
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMHits.h:51
LVL1::JEMHits::JetHitsVec
const std::vector< unsigned int > & JetHitsVec() const
returns jet hits
Definition: JEMHits.cxx:75
LVL1::JEMHits::addJetHits
void addJetHits(const std::vector< unsigned int > &hits)
Set Jet hits.
Definition: JEMHits.cxx:85
LVL1::JEMHits::peak
int peak() const
returns peak slice number
Definition: JEMHits.cxx:95
Coordinate.h
Coordinate policies.
LVL1::JEMHits::module
int module() const
returns module number
Definition: JEMHits.cxx:65
Coordinate.h
LVL1::JEMHits::forward
bool forward() const
Central or FCAL JEM?
Definition: JEMHits.cxx:80
LVL1::JEMHits
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMHits.h:27
LVL1::JEMHits::JEMHits
JEMHits(int crate, int module)
LVL1::JEMHits::JetHits
unsigned int JetHits() const
returns jet hits for peak sample
Definition: JEMHits.cxx:70
JEMHits_ClassDEF.h
CLASS_DEF.h
macros to associate a CLID to a type
LVL1::JEMHits::m_module
int m_module
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMHits.h:49
LVL1::JEMHits::~JEMHits
virtual ~JEMHits()
Definition: JEMHits.cxx:35