CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
EcalTBWeightsXMLTranslator.cc File Reference
#include "CondTools/Ecal/interface/EcalTBWeightsXMLTranslator.h"
#include <xercesc/dom/DOM.hpp>
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/util/PlatformUtils.hpp>
#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 18 of file EcalTBWeightsXMLTranslator.cc.

References EcalXtalGroupId::id().

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

Definition at line 24 of file EcalTBWeightsXMLTranslator.cc.

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