CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
OMTFConfiguration.cc File Reference
#include <iostream>
#include <algorithm>
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/FileInPath.h"
#include "DataFormats/MuonDetId/interface/CSCDetId.h"
#include "DataFormats/MuonDetId/interface/RPCDetId.h"
#include "DataFormats/MuonDetId/interface/DTChamberId.h"
#include "DataFormats/MuonDetId/interface/MuonSubdetId.h"
#include "L1Trigger/L1TMuonOverlap/interface/OMTFConfiguration.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const RefHitDef &aRefHitDef)
 
std::ostream & operator<< (std::ostream &out, const OMTFConfiguration &aConfig)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const RefHitDef aRefHitDef 
)

Definition at line 34 of file OMTFConfiguration.cc.

References RefHitDef::iInput, RefHitDef::iRefLayer, RefHitDef::iRegion, GenerateHcalLaserBadRunList::out, and RefHitDef::range.

34  {
35 
36 
37  out<<"iRefLayer: "<<aRefHitDef.iRefLayer
38  <<" iInput: "<<aRefHitDef.iInput
39  <<" iRegion: "<<aRefHitDef.iRegion
40  <<" range: ("<<aRefHitDef.range.first
41  <<", "<<aRefHitDef.range.second<<std::endl;
42 
43  return out;
44 }
unsigned int iInput
Hit input number within a cone.
std::pair< int, int > range
unsigned int iRefLayer
Reference layer logic number (0-7)
unsigned int iRegion
Region number assigned to this referecne hit.
std::ostream& operator<< ( std::ostream &  out,
const OMTFConfiguration aConfig 
)

Definition at line 171 of file OMTFConfiguration.cc.

References OMTFConfiguration::nHitsPerLayer(), OMTFConfiguration::nLayers(), OMTFConfiguration::nPdfAddrBits(), OMTFConfiguration::nPdfValBits(), OMTFConfiguration::nProcessors(), OMTFConfiguration::nRefLayers(), GenerateHcalLaserBadRunList::out, and OMTFConfiguration::processorPhiVsRefLayer.

171  {
172 
173 
174  out<<"nLayers(): "<<aConfig.nLayers()
175  <<" nHitsPerLayer(): "<<aConfig.nHitsPerLayer()
176  <<" nRefLayers(): "<<aConfig.nRefLayers()
177  <<" nPdfAddrBits: "<<aConfig.nPdfAddrBits()
178  <<" nPdfValBits: "<<aConfig.nPdfValBits()
179  <<std::endl;
180 
181  for(unsigned int iProcessor = 0;iProcessor<aConfig.nProcessors(); ++iProcessor){
182  out<<"Processor: "<<iProcessor;
183  for(unsigned int iRefLayer=0;iRefLayer<aConfig.nRefLayers();++iRefLayer){
184  out<<" "<<aConfig.processorPhiVsRefLayer[iProcessor][iRefLayer];
185  }
186  out<<std::endl;
187  }
188 
189  return out;
190 
191 }
unsigned int nRefLayers() const
unsigned int nLayers() const
unsigned int nProcessors() const
std::vector< std::vector< int > > processorPhiVsRefLayer
unsigned int nPdfAddrBits() const
unsigned int nHitsPerLayer() const
unsigned int nPdfValBits() const