ATLAS Offline Software
Functions
FPGATrackSimLogicalEventInputHeader.cxx File Reference
#include "FPGATrackSimObjects/FPGATrackSimLogicalEventInputHeader.h"
Include dependency graph for FPGATrackSimLogicalEventInputHeader.cxx:

Go to the source code of this file.

Functions

 ClassImp (FPGATrackSimLogicalEventInputHeader) void FPGATrackSimLogicalEventInputHeader
 
std::ostream & operator<< (std::ostream &s, const FPGATrackSimLogicalEventInputHeader &h)
 

Function Documentation

◆ ClassImp()

Definition at line 8 of file FPGATrackSimLogicalEventInputHeader.cxx.

12 {
13  m_event.reset();
14  m_optional.reset();
15  m_towers.clear();
16 }

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const FPGATrackSimLogicalEventInputHeader h 
)

Definition at line 19 of file FPGATrackSimLogicalEventInputHeader.cxx.

20 {
21  s << "Event: " << h.event() << "\t"
22  << "Optional: " << h.optional() << "\t"
23  << "NTowers: " << h.nTowers() << "\n";
24 
25  const std::vector<FPGATrackSimTowerInputHeader>& towers = h.towers();
26  for (int j = 0; j < h.nTowers(); j++)
27  {
28  s << " " << j << " " << towers[j] << "\n";
29  }
30  s << std::endl;
31 
32  return s;
33 }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
h
RunTileMonitoring.towers
towers
Definition: RunTileMonitoring.py:133