ATLAS Offline Software
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.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 // CMMJetHits.h - description
6 // -------------------
7 // begin : 25 05 2006
8 // email : Alan.Watson@cern.ch
9 // ***************************************************************************/
10 
11 
12  #ifndef CMMJetHits_H
13  #define CMMJetHits_H
14 
15  #include "AthenaKernel/CLASS_DEF.h"
16 
17 
18  #include <iostream>
19  #ifndef TRIGGERSPACE
21  #else
22  #include "Coordinate.h"
23  #endif
24  namespace LVL1 {
25 
32  class CMMJetHits {
33  public:
34 
38 
40  CMMJetHits();
41  CMMJetHits(int crate, int dataID);
42  CMMJetHits(int crate, int dataID,
43  const std::vector<unsigned int>& hits,
44  const std::vector<int>& errors, int peak);
45 
47  virtual ~CMMJetHits();
48 
51  void setPeak(int peak);
53  void addHits(const std::vector<unsigned int>& hits,
54  const std::vector<int>& errors);
55 
57  int crate() const;
58  int dataID() const;
59  unsigned int Hits() const;
60  int Error() const;
62  const std::vector<unsigned int>& HitsVec() const;
63  const std::vector<int>& ErrorVec() const;
64  int peak() const;
65 
67  private:
68  int m_crate;
69  int m_dataID;
70  int m_peak;
71  std::vector<unsigned int> m_hits;
72  std::vector<int> m_errors;
73 
74  };
75  } // end of namespace
76 
77 #ifndef CMMJetHits_ClassDEF_H
79 #endif
80 
81 #endif
LVL1::CMMJetHits::LOCAL_FORWARD
@ LOCAL_FORWARD
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:36
LVL1::CMMJetHits::Error
int Error() const
returns error for peak sample
Definition: CMMJetHits.cxx:78
LVL1::CMMJetHits::peak
int peak() const
returns peak slice number
Definition: CMMJetHits.cxx:105
LVL1::CMMJetHits::setPeak
void setPeak(int peak)
In multi-slice readout, need to specify which slice corresponds to the triggered bunch-crossing.
Definition: CMMJetHits.cxx:100
LVL1::CMMJetHits::crate
int crate() const
Data accessors.
Definition: CMMJetHits.cxx:63
LVL1::CMMJetHits::m_hits
std::vector< unsigned int > m_hits
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:71
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::CMMJetHits::TOTAL_MAIN
@ TOTAL_MAIN
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:35
LVL1::CMMJetHits::REMOTE_FORWARD
@ REMOTE_FORWARD
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:36
LVL1::CMMJetHits::CMMJetHits
CMMJetHits()
Constructors.
Definition: CMMJetHits.cxx:27
CMMJetHits_ClassDEF.h
LVL1::CMMJetHits::DataIDs
DataIDs
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:35
LVL1::CMMJetHits::m_peak
int m_peak
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:70
LVL1::CMMJetHits::m_dataID
int m_dataID
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:69
LArG4ShowerLibProcessing.hits
hits
Definition: LArG4ShowerLibProcessing.py:136
LVL1::CMMJetHits::MAXID
@ MAXID
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:37
LVL1::CMMJetHits::m_errors
std::vector< int > m_errors
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:72
LVL1::CMMJetHits::REMOTE_MAIN
@ REMOTE_MAIN
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:35
LVL1::CMMJetHits::dataID
int dataID() const
returns data ID of data
Definition: CMMJetHits.cxx:68
Coordinate.h
Coordinate policies.
LVL1::CMMJetHits::Hits
unsigned int Hits() const
returns hits for peak sample
Definition: CMMJetHits.cxx:73
Coordinate.h
LVL1::CMMJetHits::ET_MAP
@ ET_MAP
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:37
LVL1::CMMJetHits::LOCAL_MAIN
@ LOCAL_MAIN
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:35
mergePhysValFiles.errors
list errors
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:43
LVL1::CMMJetHits::m_crate
int m_crate
Internal data.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:68
LVL1::CMMJetHits::addHits
void addHits(const std::vector< unsigned int > &hits, const std::vector< int > &errors)
Add hits to existing object.
Definition: CMMJetHits.cxx:93
LVL1::CMMJetHits::TOTAL_FORWARD
@ TOTAL_FORWARD
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:36
LVL1::CMMJetHits
CMMJetHits class stores Jet hit multiplicities received by and read out from the Jet CMMs.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:32
CLASS_DEF.h
macros to associate a CLID to a type
LVL1::CMMJetHits::~CMMJetHits
virtual ~CMMJetHits()
Destructor.
Definition: CMMJetHits.cxx:36
LVL1::CMMJetHits::HitsVec
const std::vector< unsigned int > & HitsVec() const
Multi-slice accessors.
Definition: CMMJetHits.cxx:83
LVL1::CMMJetHits::ErrorVec
const std::vector< int > & ErrorVec() const
returns errors
Definition: CMMJetHits.cxx:88