CMS 3D CMS Logo

Functions
OMTFResult.cc File Reference
#include <iostream>
#include <ostream>
#include <cmath>
#include "L1Trigger/L1TMuonOverlap/interface/OMTFResult.h"
#include "L1Trigger/L1TMuonOverlap/interface/OMTFConfiguration.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const OMTFResult &aResult)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const OMTFResult aResult 
)

Definition at line 70 of file OMTFResult.cc.

70  {
71  for (unsigned int iLogicLayer = 0; iLogicLayer < aResult.results.size(); ++iLogicLayer) {
72  out << "Logic layer: " << iLogicLayer << " results: ";
73  for (unsigned int iRefLayer = 0; iRefLayer < aResult.results[iLogicLayer].size(); ++iRefLayer) {
74  out << aResult.results[iLogicLayer][iRefLayer] << "\t";
75  }
76  out << std::endl;
77  }
78 
79  out << " Sum over layers: ";
80  for (unsigned int iRefLayer = 0; iRefLayer < aResult.results1D.size(); ++iRefLayer) {
81  out << aResult.results1D[iRefLayer] << "\t";
82  }
83 
84  out << std::endl;
85 
86  out << " Number of hits: ";
87  for (unsigned int iRefLayer = 0; iRefLayer < aResult.hits1D.size(); ++iRefLayer) {
88  out << aResult.hits1D[iRefLayer] << "\t";
89  }
90 
91  return out;
92 }

References OMTFResult::hits1D, MillePedeFileConverter_cfg::out, OMTFResult::results, and OMTFResult::results1D.

OMTFResult::hits1D
vector1D hits1D
Number of hits for each reference layer.
Definition: OMTFResult.h:60
OMTFResult::results1D
vector1D results1D
Sum of pdf weights for each reference layer.
Definition: OMTFResult.h:57
OMTFResult::results
vector2D results
Definition: OMTFResult.h:48
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31