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 "Utilities/Xerces/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

◆ operator<<()

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

Definition at line 19 of file EcalTBWeightsXMLTranslator.cc.

References EcalXtalGroupId::id().

19 { return stream_ << id_.id(); }
unsigned int id() const

◆ operator>>()

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

Definition at line 21 of file EcalTBWeightsXMLTranslator.cc.

References EcalPhiSymFlatTableProducers_cfi::id.

21  {
22  unsigned int id;
23  stream_ >> id;
24  id_ = EcalXtalGroupId(id);
25  return stream_;
26 }