CMS 3D CMS Logo

Namespaces | Functions

/data/refman/pasoursint/CMSSW_5_3_3/src/GeneratorInterface/LHEInterface/src/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

namespace  lhef

Functions

static void lhef::fixSubTree (HepMC::GenVertex *vertex, HepMC::FourVector time, std::set< const HepMC::GenVertex * > &visited)
template<typename T >
static void lhef::pop (std::vector< T > &vec, unsigned int index)
static int skipWhitespace (std::istream &in)

Function Documentation

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

Definition at line 23 of file LHEEvent.cc.

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

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