CMS 3D CMS Logo

MadGraphSource.cc File Reference

#include "GeneratorInterface/MadGraphInterface/interface/MadGraphSource.h"
#include "SimDataFormats/GeneratorProducts/interface/LHECommonBlocks.h"
#include "SimDataFormats/HepMCProduct/interface/HepMCProduct.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "GeneratorInterface/MadGraphInterface/interface/PYR.h"
#include "FWCore/Utilities/interface/RandomNumberGenerator.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
#include <fstream>
#include <cstring>
#include <cstdio>
#include "time.h"
#include "HepMC/PythiaWrapper6_2.h"
#include "HepMC/IO_HEPEVT.h"
#include "GeneratorInterface/MadGraphInterface/interface/MCDBInterface.h"

Go to the source code of this file.

Classes

struct  MEMAIN
struct  SOURCEPRS

Defines

#define PYGIVE   pygive_
 MadGraphSource.
#define TXGIVE   txgive_
#define TXGIVE_INIT   txgive_init_

Functions

void eventtree_ ()
void mgclos_ ()
void mgopen_ (const char *fname, int len)
void PYGIVE (const char *, int length)
void TXGIVE (const char *, int length)
void TXGIVE_INIT ()

Variables

static const unsigned long kAveEventPerSec = 200
static const unsigned long kNanoSecPerSec = 1000000000
struct MEMAIN memain_
struct SOURCEPRS sourceprs_


Define Documentation

#define PYGIVE   pygive_

MadGraphSource.

A modified version of the PythiaSource by Filip Moorgat & Hector Naves, that generates events by reading in a file produced with MadGraph/MadEvent and shower them with Pythia.

July 2006 Maria Hansen, University of Bristol Hector Naves : added the MCDB Interface (25/10/06) Dorian Kcira : add automatic end of event processing when hitting the end of the lhe file (29/01/07) Dorian Kcira : added ME-PS matching (22/05/2007) Dorian Kcira : added reading of <slha> xml tags in the header (05/02/2008) Dorian Kcira : added flag to allow reading of generic LH files without MadGraph specifics (06/02/2008)

Definition at line 41 of file MadGraphSource.cc.

#define TXGIVE   txgive_

Definition at line 50 of file MadGraphSource.cc.

#define TXGIVE_INIT   txgive_init_

Definition at line 55 of file MadGraphSource.cc.


Function Documentation

void eventtree_ (  ) 

void mgclos_ (  ) 

void mgopen_ ( const char *  fname,
int  len 
)

void PYGIVE ( const char *  ,
int  length 
)

void TXGIVE ( const char *  ,
int  length 
)

void TXGIVE_INIT (  ) 


Variable Documentation

const unsigned long kAveEventPerSec = 200 [static]

Definition at line 104 of file MadGraphSource.cc.

const unsigned long kNanoSecPerSec = 1000000000 [static]

Definition at line 103 of file MadGraphSource.cc.

struct MEMAIN memain_

struct SOURCEPRS sourceprs_


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