Go to the source code of this file.
◆ operator<<()
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const GoldenPattern & |
aPattern |
|
) |
| |
Definition at line 89 of file GoldenPattern.cc.
90 out <<
"GoldenPattern " << aPattern.
theKey << std::endl;
91 out <<
"Number of reference layers: " << aPattern.
meanDistPhi[0].size()
92 <<
", number of measurement layers: " << aPattern.
pdfAllRef.size() << std::endl;
99 out <<
"Mean dist phi per layer:" << std::endl;
100 for (
unsigned int iRefLayer = 0; iRefLayer < aPattern.
meanDistPhi[0].size(); ++iRefLayer) {
101 out <<
"Ref layer: " << iRefLayer <<
" (";
102 for (
unsigned int iLayer = 0; iLayer < aPattern.
meanDistPhi.size(); ++iLayer) {
103 out << std::setw(3) << aPattern.
meanDistPhi[iLayer][iRefLayer] <<
"\t";
105 out <<
")" << std::endl;
109 out <<
"Counts number per layer:" << std::endl;
110 for (
unsigned int iRefLayer = 0; iRefLayer < aPattern.
meanDistPhi[0].size(); ++iRefLayer) {
111 out <<
"Ref layer: " << iRefLayer <<
" (";
112 for (
unsigned int iLayer = 0; iLayer < aPattern.
meanDistPhi.size(); ++iLayer) {
115 out <<
")" << std::endl;
119 unsigned int nPdfAddrBits = 7;
120 out <<
"PDF per layer:" << std::endl;
121 for (
unsigned int iRefLayer = 0; iRefLayer < aPattern.
pdfAllRef[0].size(); ++iRefLayer) {
122 out <<
"Ref layer: " << iRefLayer;
123 for (
unsigned int iLayer = 0; iLayer < aPattern.
pdfAllRef.size(); ++iLayer) {
124 out <<
", measurement layer: " << iLayer << std::endl;
125 for (
unsigned int iPdf = 0; iPdf < exp2(nPdfAddrBits); ++iPdf) {
126 out << std::setw(2) << aPattern.
pdfAllRef[iLayer][iRefLayer][iPdf] <<
" ";
References GoldenPattern::meanDistPhi, GoldenPattern::meanDistPhiCounts, MillePedeFileConverter_cfg::out, GoldenPattern::pdfAllRef, and GoldenPattern::theKey.