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 "CondFormats/L1TObjects/interface/L1TMuonOverlapParams.h"
#include "L1Trigger/L1TMuonOverlap/interface/OMTFConfiguration.h"
#include "L1Trigger/L1TMuonOverlap/interface/XMLConfigReader.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 39 of file OMTFConfiguration.cc.

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

39  {
40 
41 
42  out<<"iRefLayer: "<<aRefHitDef.iRefLayer
43  <<" iInput: "<<aRefHitDef.iInput
44  <<" iRegion: "<<aRefHitDef.iRegion
45  <<" range: ("<<aRefHitDef.range.first
46  <<", "<<aRefHitDef.range.second<<std::endl;
47 
48  return out;
49 }
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 212 of file OMTFConfiguration.cc.

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

212  {
213 
214 
215  out<<"nLayers: "<<aConfig.nLayers
216  <<" nHitsPerLayer: "<<aConfig.nHitsPerLayer
217  <<" nRefLayers: "<<aConfig.nRefLayers
218  <<" nPdfAddrBits: "<<aConfig.nPdfAddrBits
219  <<" nPdfValBits: "<<aConfig.nPdfValBits
220  <<std::endl;
221 
222  for(unsigned int iProcessor = 0;iProcessor<aConfig.nProcessors; ++iProcessor){
223  out<<"Processor: "<<iProcessor;
224  for(unsigned int iRefLayer=0;iRefLayer<aConfig.nRefLayers;++iRefLayer){
225  out<<" "<<aConfig.processorPhiVsRefLayer[iProcessor][iRefLayer];
226  }
227  out<<std::endl;
228  }
229 
230  return out;
231 
232 }
unsigned int nLayers
std::vector< std::vector< int > > processorPhiVsRefLayer
unsigned int nProcessors
unsigned int nPdfAddrBits
unsigned int nHitsPerLayer
unsigned int nRefLayers
unsigned int nPdfValBits