test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Macros | Functions | Variables
Cascade2Hadronizer.cc File Reference
#include "GeneratorInterface/CascadeInterface/plugins/Cascade2Hadronizer.h"
#include "HepMC/GenEvent.h"
#include "HepMC/PdfInfo.h"
#include "HepMC/PythiaWrapper6_4.h"
#include "GeneratorInterface/CascadeInterface/plugins/CascadeWrapper.h"
#include "HepMC/HEPEVT_Wrapper.h"
#include "HepMC/IO_HEPEVT.h"
#include "HepMC/IO_GenEvent.h"
#include "FWCore/Concurrency/interface/SharedResourceNames.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "GeneratorInterface/Core/interface/FortranCallback.h"
#include "GeneratorInterface/Core/interface/FortranInstance.h"
#include "HepPID/ParticleIDTranslations.hh"
#include "FWCore/Utilities/interface/EDMException.h"
#include "GeneratorInterface/Pythia6Interface/interface/Pythia6Service.h"
#include "GeneratorInterface/Pythia6Interface/interface/Pythia6Declarations.h"
#include "SimDataFormats/GeneratorProducts/interface/GenRunInfoProduct.h"
#include "CLHEP/Random/RandomEngine.h"

Go to the source code of this file.

Classes

class  gen::Pythia6ServiceWithCallback
 

Namespaces

 gen
 

Macros

#define debug   0
 

Functions

double dcasrn_ (int *idummy)
 

Variables

static CLHEP::HepRandomEngine * cascade2RandomEngine
 
HepMC::IO_HEPEVT hepevtio
 
struct {
   int   gen::k [5][pyjets_maxn]
 
   int   gen::n
 
   int   gen::npad
 
   double   gen::p [5][pyjets_maxn]
 
   double   gen::v [5][pyjets_maxn]
 
gen::pyjets_local
 

Macro Definition Documentation

#define debug   0

Definition at line 35 of file Cascade2Hadronizer.cc.

Function Documentation

double dcasrn_ ( int *  idummy)

Definition at line 41 of file Cascade2Hadronizer.cc.

References cascade2RandomEngine, gather_cfg::cout, and debug.

41  {
42 
43  static int call = 0;
44 
45  double rdm_nb = cascade2RandomEngine->flat();
46 
47  if(debug && ++call < 100) cout<<"dcasrn from c++, call: "<<call<<" random number: "<<rdm_nb<<endl;
48 
49  return rdm_nb;
50  }
static CLHEP::HepRandomEngine * cascade2RandomEngine
#define debug
Definition: HDRShower.cc:19
tuple cout
Definition: gather_cfg.py:145

Variable Documentation

CLHEP::HepRandomEngine* cascade2RandomEngine
static

Definition at line 37 of file Cascade2Hadronizer.cc.

Referenced by dcasrn_(), and gen::Cascade2Hadronizer::doSetRandomEngine().

HepMC::IO_HEPEVT hepevtio