#include <FWCore/MessageLogger/interface/MessageLogger.h>
#include <EventFilter/EcalRawToDigi/interface/EcalElectronicsMapper.h>
#include <Geometry/EcalMapping/interface/EcalElectronicsMapping.h>
#include <DataFormats/EcalDigi/interface/EBSrFlag.h>
#include <DataFormats/EcalDigi/interface/EESrFlag.h>
#include <EventFilter/EcalRawToDigi/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_ | ||
) |
Print current map
Definition at line 316 of file EcalElectronicsMapper.cc.
References EcalElectronicsMapper::myDCCMap_, connectstrParser::o, and EcalElectronicsMapper::pathToMapFile_.
{ //print class information o << "---------------------------------------------------------"; if(aMapper_.pathToMapFile_.size() < 1){ o << "No correct input for DCC map has been given yet..."; } else{ o << "DCC Map (Map file: " << aMapper_.pathToMapFile_ << " )" << "SM id\t\tDCCid "; //get DCC map and iterator std::map<unsigned int ,unsigned int > aMap; aMap=aMapper_.myDCCMap_; std::map<unsigned int ,unsigned int >::iterator iter; //print info contained in map for(iter = aMap.begin(); iter != aMap.end(); iter++) o << iter->first << "\t\t" << iter->second; } o << "---------------------------------------------------------"; return o; }