CMS 3D CMS Logo

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 <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

 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 28 of file LHERunInfo.cc.

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

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