CMS 3D CMS Logo

Functions
EcalTBWeightsXMLTranslator.cc File Reference
#include "CondTools/Ecal/interface/EcalTBWeightsXMLTranslator.h"
#include <xercesc/dom/DOM.hpp>
#include <xercesc/parsers/XercesDOMParser.hpp>
#include "FWCore/Concurrency/interface/Xerces.h"
#include "Utilities/Xerces/interface/XercesStrUtils.h"
#include <xercesc/util/XMLString.hpp>
#include <xercesc/sax/SAXException.hpp>
#include <xercesc/framework/LocalFileFormatTarget.hpp>
#include "CondTools/Ecal/interface/DOMHelperFunctions.h"
#include "CondTools/Ecal/interface/XMLTags.h"
#include <fstream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &stream_, const EcalXtalGroupId &id_)
 
std::istream & operator>> (std::istream &stream_, EcalXtalGroupId &id_)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  stream_,
const EcalXtalGroupId id_ 
)

Definition at line 19 of file EcalTBWeightsXMLTranslator.cc.

References EcalXtalGroupId::id().

20  {
21  return stream_ << id_.id();
22 }
const unsigned int id() const
std::istream& operator>> ( std::istream &  stream_,
EcalXtalGroupId id_ 
)

Definition at line 25 of file EcalTBWeightsXMLTranslator.cc.

References hcalTTPDigis_cfi::id.

26  {
27  unsigned int id;
28  stream_ >> id;
29  id_ =EcalXtalGroupId(id);
30  return stream_;
31 }