CMS 3D CMS Logo

Namespaces | Functions
LHEEvent.cc File Reference
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <cstring>
#include <string>
#include <vector>
#include <memory>
#include <cmath>
#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 23 of file LHEEvent.cc.

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

References recoMuon::in.

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

recoMuon::in
Definition: RecoMuonEnumerators.h:6