#include "L1Trigger/L1TMuonOverlapPhase1/interface/Omtf/GoldenPattern.h"
#include "boost/multi_array/multi_array_ref.hpp"
#include "boost/multi_array/subarray.hpp"
#include <cmath>
#include <iomanip>
Go to the source code of this file.
◆ operator<<()
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const GoldenPattern & |
aPattern |
|
) |
| |
Definition at line 28 of file GoldenPattern.cc.
References GoldenPattern::meanDistPhi, MillePedeFileConverter_cfg::out, GoldenPattern::pdfAllRef, and GoldenPattern::theKey.
29 out <<
"GoldenPattern " << aPattern.
theKey << std::endl;
30 out <<
"Number of reference layers: " << aPattern.
meanDistPhi[0].size()
31 <<
", number of measurement layers: " << aPattern.
pdfAllRef.size() << std::endl;
38 out <<
"Mean dist phi per layer:" << std::endl;
39 for (
unsigned int iRefLayer = 0; iRefLayer < aPattern.
meanDistPhi[0].size(); ++iRefLayer) {
40 out <<
"Ref layer: " << iRefLayer <<
" (";
41 for (
unsigned int iLayer = 0; iLayer < aPattern.
meanDistPhi.size(); ++iLayer) {
42 for (
unsigned int iPar = 0; iPar < aPattern.
meanDistPhi[iLayer][iRefLayer].size(); iPar++)
43 out << std::setw(3) << aPattern.
meanDistPhi[iLayer][iRefLayer][iPar] <<
"\t";
45 out <<
")" << std::endl;
59 unsigned int nPdfAddrBits = 7;
60 out <<
"PDF per layer:" << std::endl;
61 for (
unsigned int iRefLayer = 0; iRefLayer < aPattern.
pdfAllRef[0].size(); ++iRefLayer) {
62 out <<
"Ref layer: " << iRefLayer;
63 for (
unsigned int iLayer = 0; iLayer < aPattern.
pdfAllRef.size(); ++iLayer) {
64 out <<
", measurement layer: " << iLayer << std::endl;
65 for (
unsigned int iPdf = 0; iPdf < exp2(nPdfAddrBits); ++iPdf) {
66 out << std::setw(2) << aPattern.
pdfAllRef[iLayer][iRefLayer][iPdf] <<
" ";
Key theKey
Pattern kinematical identification (iEta,iPt,iCharge)