#include <FWCore/MessageLogger/interface/MessageLogger.h>
#include <EventFilter/EcalRawToDigiDev/interface/EcalElectronicsMapper.h>
#include <Geometry/EcalMapping/interface/EcalElectronicsMapping.h>
#include <DataFormats/EcalDigi/interface/EBSrFlag.h>
#include <DataFormats/EcalDigi/interface/EESrFlag.h>
#include <EventFilter/EcalRawToDigiDev/interface/DCCDataUnpacker.h>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &o, const EcalElectronicsMapper &aMapper_) |
std::ostream& operator<< | ( | std::ostream & | o, | |
const EcalElectronicsMapper & | aMapper_ | |||
) |
Definition at line 289 of file EcalElectronicsMapper.cc.
References iter, EcalElectronicsMapper::myDCCMap_, and EcalElectronicsMapper::pathToMapFile_.
00289 { 00290 //print class information 00291 o << "---------------------------------------------------------"; 00292 00293 if(aMapper_.pathToMapFile_.size() < 1){ 00294 o << "No correct input for DCC map has been given yet..."; 00295 } 00296 else{ 00297 o << "DCC Map (Map file: " << aMapper_.pathToMapFile_ << " )" << "SM id\t\tDCCid "; 00298 00299 //get DCC map and iterator 00300 std::map<uint ,uint > aMap; 00301 aMap=aMapper_.myDCCMap_; 00302 std::map<uint ,uint >::iterator iter; 00303 00304 //print info contained in map 00305 for(iter = aMap.begin(); iter != aMap.end(); iter++) 00306 o << iter->first << "\t\t" << iter->second; 00307 } 00308 00309 o << "---------------------------------------------------------"; 00310 return o; 00311 }