ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloEvent
TrigT1CaloEvent
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//***************************************************************************
6
// CPMHits.h - description
7
// -------------------
8
// begin : 25 05 2006
9
// email : Alan.Watson@cern.ch
10
// ***************************************************************************/
11
12
13
#ifndef CPMHits_H
14
#define CPMHits_H
15
16
#include "
AthenaKernel/CLASS_DEF.h
"
17
18
19
#ifndef TRIGGERSPACE
20
#include "
TrigT1Interfaces/Coordinate.h
"
21
#else
22
#include "
Coordinate.h
"
23
#endif
24
namespace
LVL1
{
25
33
34
class
CPMHits
{
35
public
:
36
38
CPMHits
() =
default
;
39
CPMHits
(
int
crate
,
int
module
);
40
CPMHits
(
int
crate
,
int
module
,
const
std::vector<unsigned int>& EMTauHits0,
41
const
std::vector<unsigned int>& EMTauHits1,
int
peak
);
42
43
44
46
void
setPeak
(
int
peak
);
48
void
addHits
(
const
std::vector<unsigned int>& hits0,
49
const
std::vector<unsigned int>& hits1);
50
52
int
crate
()
const
;
53
int
module
()
const
;
54
unsigned
int
HitWord0
()
const
;
55
unsigned
int
HitWord1
()
const
;
56
58
const
std::vector<unsigned int>&
HitsVec0
()
const
;
59
const
std::vector<unsigned int>&
HitsVec1
()
const
;
60
int
peak
()
const
;
61
63
private
:
64
int
m_crate
{};
65
int
m_module
{};
66
int
m_peak
{};
67
std::vector <unsigned int>
m_Hits0
{0};
68
std::vector <unsigned int>
m_Hits1
{0};
69
70
};
71
72
typedef
std::map<int, const CPMHits*>
CPMHitsMap_t
;
73
}
// end of namespace
74
75
#ifndef CPMHits_ClassDEF_H
76
#include "
TrigT1CaloEvent/CPMHits_ClassDEF.h
"
77
#endif
78
79
#endif
CPMHits_ClassDEF.h
CLASS_DEF.h
macros to associate a CLID to a type
Coordinate.h
Coordinate.h
Coordinate policies.
LVL1::CPMHits::CPMHits
CPMHits()=default
Constructors.
LVL1::CPMHits::crate
int crate() const
Data accessors.
Definition
CPMHits.cxx:45
LVL1::CPMHits::module
int module() const
returns module number
Definition
CPMHits.cxx:50
LVL1::CPMHits::m_Hits0
std::vector< unsigned int > m_Hits0
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h:67
LVL1::CPMHits::peak
int peak() const
returns peak slice number
Definition
CPMHits.cxx:83
LVL1::CPMHits::HitsVec0
const std::vector< unsigned int > & HitsVec0() const
Multi-slice accessors.
Definition
CPMHits.cxx:63
LVL1::CPMHits::addHits
void addHits(const std::vector< unsigned int > &hits0, const std::vector< unsigned int > &hits1)
Add hits to existing object.
Definition
CPMHits.cxx:71
LVL1::CPMHits::HitsVec1
const std::vector< unsigned int > & HitsVec1() const
Definition
CPMHits.cxx:66
LVL1::CPMHits::m_module
int m_module
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h:65
LVL1::CPMHits::HitWord0
unsigned int HitWord0() const
returns hits for peak sample
Definition
CPMHits.cxx:55
LVL1::CPMHits::m_Hits1
std::vector< unsigned int > m_Hits1
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h:68
LVL1::CPMHits::HitWord1
unsigned int HitWord1() const
Definition
CPMHits.cxx:58
LVL1::CPMHits::CPMHits
CPMHits(int crate, int module)
LVL1::CPMHits::CPMHits
CPMHits(int crate, int module, const std::vector< unsigned int > &EMTauHits0, const std::vector< unsigned int > &EMTauHits1, int peak)
LVL1::CPMHits::m_crate
int m_crate
Internal data.
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h:64
LVL1::CPMHits::m_peak
int m_peak
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h:66
LVL1::CPMHits::setPeak
void setPeak(int peak)
In multi-slice readout, need to specify which is peak slice.
Definition
CPMHits.cxx:78
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
LVL1::CPMHitsMap_t
std::map< int, const CPMHits * > CPMHitsMap_t
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h:72
Generated on
for ATLAS Offline Software by
1.17.0