ATLAS Offline Software
Functions
FPGATrackSimDataFlowInfo.cxx File Reference
#include "FPGATrackSimObjects/FPGATrackSimDataFlowInfo.h"
#include <ostream>
Include dependency graph for FPGATrackSimDataFlowInfo.cxx:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, FPGATrackSimDataFlowInfo const &info)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
FPGATrackSimDataFlowInfo const info 
)

Definition at line 51 of file FPGATrackSimDataFlowInfo.cxx.

52 {
53  for (unsigned i = 0; i < info.nMappedHits_1st_layer.size(); i++) {
54  s << "nMappedHits_1st_L" << i << " = " << info.nMappedHits_1st_layer[i] << ", ";
55  }
56  s << "nMappedHits_1st_total = " << info.nMappedHits_1st_total << "\n";
57 
58  for (unsigned i = 0; i < info.nClusters_1st_layer.size(); i++) {
59  s << "nClusters_1st_L" << i << " = " << info.nClusters_1st_layer[i] << ", ";
60  }
61  s << "nClusters_1st_total = " << info.nClusters_1st_total << "\n";
62 
63  s << "nRoads_1st_total = " << info.nRoads_1st_total << ", "
64  << "nRoads_1st_7hits = " << info.nRoads_1st_7hits << ", "
65  << "nRoads_1st_7hits = " << info.nRoads_1st_8hits << "\n";
66 
67  s << "nTracks_1st_total = " << info.nTracks_1st_total << ", "
68  << "nTracks_1st_passChi2 = " << info.nTracks_1st_passChi2 << ", "
69  << "nTracks_1st_afterOR = " << info.nTracks_1st_afterOR << "\n";
70 
71  s << "nTracks_1st_per_patt_total = {";
72  for (unsigned i = 0; i < info.nTracks_1st_per_patt_total.size(); i++) {
73  s << "pattern #" << i << ": " << info.nTracks_1st_per_patt_total[i];
74  s << (i != info.nTracks_1st_per_patt_total.size() - 1 ? ", " : "}\n");
75  }
76 
77  s << "nTracks_1st_per_patt_passChi2 = {";
78  for (unsigned i = 0; i < info.nTracks_1st_per_patt_passChi2.size(); i++) {
79  s << "pattern #" << i << ": " << info.nTracks_1st_per_patt_passChi2[i];
80  s << (i != info.nTracks_1st_per_patt_passChi2.size() - 1 ? ", " : "}\n");
81  }
82 
83  s << "nTracks_1st_per_patt_afterOR = {";
84  for (unsigned i = 0; i < info.nTracks_1st_per_patt_afterOR.size(); i++) {
85  s << "pattern #" << i << ": " << info.nTracks_1st_per_patt_afterOR[i];
86  s << (i != info.nTracks_1st_per_patt_afterOR.size() - 1 ? ", " : "}\n");
87  }
88 
89  s << "nConstants_1st_fitter = " << info.nConstants_1st_fitter << ", "
90  << "nConstants_1st_passChi2 = " << info.nConstants_1st_passChi2 << ", "
91  << "nConstants_1st_afterOR = " << info.nConstants_1st_afterOR << "\n";
92 
93  s << "nRoads_2nd_total = " << info.nRoads_2nd_total << "\n";
94 
95  s << "nTracks_2nd_total = " << info.nTracks_2nd_total << ", "
96  << "nTracks_2nd_passChi2 = " << info.nTracks_2nd_passChi2 << ", "
97  << "nTracks_2nd_afterOR = " << info.nTracks_2nd_afterOR << "\n";
98 
99  s << "nConstants_2nd_extrapolate = " << info.nConstants_2nd_extrapolate << ", "
100  << "nConstants_2nd_fitter = " << info.nConstants_2nd_fitter << ", "
101  << "nConstants_2nd_passChi2 = " << info.nConstants_2nd_passChi2 << ", "
102  << "nConstants_2nd_afterOR = " << info.nConstants_2nd_afterOR << "\n";
103 
104  s << "nTruthTracks = " << info.nTruthTracks << ", "
105  << "nOfflineTracks = " << info.nOfflineTracks << "\n";
106 
107  s << "nTracks_1st_over_nOfflineTracks = " << info.nTracks_1st_over_nOfflineTracks << ", "
108  << "nTracks_2nd_over_nOfflineTracks = " << info.nTracks_2nd_over_nOfflineTracks;
109 
110  return s;
111 }
grepfile.info
info
Definition: grepfile.py:38
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
lumiFormat.i
int i
Definition: lumiFormat.py:85