ATLAS Offline Software
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 
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 
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 
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
beamspotman.r
def r
Definition: beamspotman.py:676
TileDCSDataPlotter.dp
dp
Definition: TileDCSDataPlotter.py:840
FPGATrackSimTowerInputHeader::FPGATrackSimTowerInputHeader
FPGATrackSimTowerInputHeader()
Definition: FPGATrackSimTowerInputHeader.h:21
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
FPGATrackSimTowerInputHeader.h
FPGATrackSimTowerInputHeader::m_id
int m_id
Definition: FPGATrackSimTowerInputHeader.h:54
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
FPGATrackSimTowerInputHeader::m_Hits
std::vector< FPGATrackSimHit > m_Hits
Definition: FPGATrackSimTowerInputHeader.h:62
FPGATrackSimTowerInputHeader::m_Eta
double m_Eta
Definition: FPGATrackSimTowerInputHeader.h:56
FPGATrackSimTowerInputHeader::m_DeltaEta
double m_DeltaEta
Definition: FPGATrackSimTowerInputHeader.h:59
FPGATrackSimTowerInputHeader::reset
void reset()
Definition: FPGATrackSimTowerInputHeader.cxx:17
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:220
FPGATrackSimTowerInputHeader::m_DeltaPhi
double m_DeltaPhi
Definition: FPGATrackSimTowerInputHeader.h:60
FPGATrackSimTowerInputHeader::m_Phi
double m_Phi
Definition: FPGATrackSimTowerInputHeader.h:57
FPGATrackSimTowerInputHeader
Definition: FPGATrackSimTowerInputHeader.h:18
operator<<
std::ostream & operator<<(std::ostream &s, const FPGATrackSimTowerInputHeader &r)
Definition: FPGATrackSimTowerInputHeader.cxx:28