CMS 3D CMS Logo

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.

References outputToXml::eof.

Referenced by lhef::LHEEvent::LHEEvent(), and lhef::LHERunInfo::LHERunInfo().

00024 {
00025         int ch;
00026         do {
00027                 ch = in.get();
00028         } while(std::isspace(ch));
00029         if (ch != std::istream::traits_type::eof())
00030                 in.putback(ch);
00031         return ch;
00032 }


Generated on Tue Jun 9 17:53:35 2009 for CMSSW by  doxygen 1.5.4