ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
EFTracking
FPGATrackSim
FPGATrackSimObjects
src
FPGATrackSimTowerInputHeader.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
FPGATrackSimObjects/FPGATrackSimTowerInputHeader.h
"
6
#include <iostream>
7
8
9
FPGATrackSimTowerInputHeader::FPGATrackSimTowerInputHeader
(
int
id
,
double
e,
double
p,
double
de,
double
dp) :
10
m_id
(
id
),
11
m_Eta
(e),
m_Phi
(p),
12
m_DeltaEta
(de),
m_DeltaPhi
(dp)
13
{
14
m_Hits
.clear();
15
}
16
17
void
FPGATrackSimTowerInputHeader::reset
()
18
{
19
m_id
= 0;
20
m_Eta
= 0.0;
21
m_Phi
= 0.0;
22
m_DeltaEta
= 0.0;
23
m_DeltaPhi
= 0.0;
24
m_Hits
.clear();
25
}
26
27
28
std::ostream&
operator<<
(std::ostream& s,
const
FPGATrackSimTowerInputHeader
&
r
)
29
{
30
31
s <<
"Tower: id="
<<
r
.id() <<
"\t eta="
<<
r
.eta() <<
"\t phi="
<<
r
.phi()
32
<<
"\t Nhits="
<<
r
.nHits();
33
34
return
s;
35
}
36
operator<<
std::ostream & operator<<(std::ostream &s, const FPGATrackSimTowerInputHeader &r)
Definition
FPGATrackSimTowerInputHeader.cxx:28
FPGATrackSimTowerInputHeader.h
FPGATrackSimTowerInputHeader
Definition
FPGATrackSimTowerInputHeader.h:18
FPGATrackSimTowerInputHeader::m_DeltaEta
double m_DeltaEta
Definition
FPGATrackSimTowerInputHeader.h:59
FPGATrackSimTowerInputHeader::m_Phi
double m_Phi
Definition
FPGATrackSimTowerInputHeader.h:57
FPGATrackSimTowerInputHeader::m_id
int m_id
Definition
FPGATrackSimTowerInputHeader.h:54
FPGATrackSimTowerInputHeader::id
int id() const
Definition
FPGATrackSimTowerInputHeader.h:37
FPGATrackSimTowerInputHeader::FPGATrackSimTowerInputHeader
FPGATrackSimTowerInputHeader()
Definition
FPGATrackSimTowerInputHeader.h:21
FPGATrackSimTowerInputHeader::reset
void reset()
Definition
FPGATrackSimTowerInputHeader.cxx:17
FPGATrackSimTowerInputHeader::m_DeltaPhi
double m_DeltaPhi
Definition
FPGATrackSimTowerInputHeader.h:60
FPGATrackSimTowerInputHeader::m_Eta
double m_Eta
Definition
FPGATrackSimTowerInputHeader.h:56
FPGATrackSimTowerInputHeader::m_Hits
std::vector< FPGATrackSimHit > m_Hits
Definition
FPGATrackSimTowerInputHeader.h:62
r
int r
Definition
globals.cxx:22
Generated on
for ATLAS Offline Software by
1.14.0