ATLAS Offline Software
Loading...
Searching...
No Matches
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
9FPGATrackSimTowerInputHeader::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
28std::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
std::ostream & operator<<(std::ostream &s, const FPGATrackSimTowerInputHeader &r)
std::vector< FPGATrackSimHit > m_Hits
int r
Definition globals.cxx:22