CMS 3D CMS Logo

Namespaces | Functions

/data/git/CMSSW_5_3_11_patch5/src/GeneratorInterface/LHEInterface/src/LHERunInfo.cc File Reference

#include <algorithm>
#include <iostream>
#include <iomanip>
#include <string>
#include <cctype>
#include <vector>
#include <memory>
#include <cmath>
#include <cstring>
#include <boost/bind.hpp>
#include <xercesc/dom/DOM.hpp>
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/sax/HandlerBase.hpp>
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "SimDataFormats/GeneratorProducts/interface/LesHouches.h"
#include "GeneratorInterface/LHEInterface/interface/LHERunInfo.h"
#include "XMLUtils.h"

Go to the source code of this file.

Namespaces

namespace  lhef

Functions

static std::vector< std::string > lhef::domToLines (const DOMNode *node)
static void lhef::fillLines (std::vector< std::string > &lines, const char *data, int len=-1)
static XERCES_CPP_NAMESPACE_USE int skipWhitespace (std::istream &in)

Function Documentation

static XERCES_CPP_NAMESPACE_USE int skipWhitespace ( std::istream &  in) [static]

Definition at line 28 of file LHERunInfo.cc.

Referenced by lhef::LHERunInfo::LHERunInfo().

{
        int ch;
        do {
                ch = in.get();
        } while(std::isspace(ch));
        if (ch != std::istream::traits_type::eof())
                in.putback(ch);
        return ch;
}