CMS 3D CMS Logo

Namespaces | Functions
LHEEvent.cc File Reference
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <memory>
#include <cmath>
#include <cstring>
#include <sstream>
#include <string>
#include <vector>
#include "HepMC/GenEvent.h"
#include "HepMC/GenVertex.h"
#include "HepMC/GenParticle.h"
#include "HepMC/SimpleVector.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "SimDataFormats/GeneratorProducts/interface/LesHouches.h"
#include "GeneratorInterface/LHEInterface/interface/LHERunInfo.h"
#include "GeneratorInterface/LHEInterface/interface/LHEEvent.h"

Go to the source code of this file.

Namespaces

 lhef
 

Functions

static void lhef::fixSubTree (HepMC::GenVertex *vertex, HepMC::FourVector &_time, std::set< const HepMC::GenVertex *> &visited)
 
static int skipWhitespace (std::istream &in)
 

Function Documentation

◆ skipWhitespace()

static int skipWhitespace ( std::istream &  in)
static

Definition at line 25 of file LHEEvent.cc.

References recoMuon::in.

Referenced by lhef::LHEEvent::LHEEvent().

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