Go to the source code of this file.
◆ operator<<()
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const GoldenPattern & |
aPattern |
|
) |
| |
Definition at line 23 of file GoldenPattern.cc.
References GoldenPattern::meanDistPhi, MillePedeFileConverter_cfg::out, GoldenPattern::pdfAllRef, and GoldenPattern::theKey.
24 out <<
"GoldenPattern " << aPattern.
theKey << std::endl;
25 out <<
"Number of reference layers: " << aPattern.
meanDistPhi[0].size()
26 <<
", number of measurement layers: " << aPattern.
pdfAllRef.size() << std::endl;
33 out <<
"Mean dist phi per layer:" << std::endl;
34 for (
unsigned int iRefLayer = 0; iRefLayer < aPattern.
meanDistPhi[0].size(); ++iRefLayer) {
35 out <<
"Ref layer: " << iRefLayer <<
" (";
36 for (
unsigned int iLayer = 0; iLayer < aPattern.
meanDistPhi.size(); ++iLayer) {
37 for (
unsigned int iPar = 0; iPar < aPattern.
meanDistPhi[iLayer][iRefLayer].size(); iPar++)
38 out << std::setw(3) << aPattern.
meanDistPhi[iLayer][iRefLayer][iPar] <<
"\t";
40 out <<
")" << std::endl;
43 unsigned int nPdfAddrBits = 7;
44 out <<
"PDF per layer:" << std::endl;
45 for (
unsigned int iRefLayer = 0; iRefLayer < aPattern.
pdfAllRef[0].size(); ++iRefLayer) {
46 out <<
"Ref layer: " << iRefLayer;
47 for (
unsigned int iLayer = 0; iLayer < aPattern.
pdfAllRef.size(); ++iLayer) {
48 out <<
", measurement layer: " << iLayer << std::endl;
49 for (
unsigned int iPdf = 0; iPdf < exp2(nPdfAddrBits); ++iPdf) {
50 out << std::setw(2) << aPattern.
pdfAllRef[iLayer][iRefLayer][iPdf] <<
" ";
Key theKey
Pattern kinematical identification (iEta,iPt,iCharge)