CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions
LHERunInfo.cc File Reference
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <string>
#include <cctype>
#include <vector>
#include <memory>
#include <cmath>
#include <cstring>
#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

 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)
 
const bool lhef::operator< (const LHERunInfo::Process &lhs, const LHERunInfo::Process &rhs)
 
const bool lhef::operator== (const LHERunInfo::Process &lhs, const LHERunInfo::Process &rhs)
 
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 26 of file LHERunInfo.cc.

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

26  {
27  int ch;
28  do {
29  ch = in.get();
30  } while (std::isspace(ch));
31  if (ch != std::istream::traits_type::eof())
32  in.putback(ch);
33  return ch;
34 }