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.

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

References EcalXtalGroupId::id().

◆ operator>>()

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

Definition at line 21 of file EcalTBWeightsXMLTranslator.cc.

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

References triggerObjects_cff::id.

EcalXtalGroupId
Definition: EcalXtalGroupId.h:11
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
EcalXtalGroupId::id
unsigned int id() const
Definition: EcalXtalGroupId.h:22