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 "GeneratorInterface/Core/interface/RNDMEngineAccess.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/MessageLogger/interface/MessageLogger.h"
#include "GeneratorInterface/Core/interface/FortranCallback.h"
#include "HepPID/ParticleIDTranslations.hh"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/Utilities/interface/RandomNumberGenerator.h"
#include "CLHEP/Random/RandFlat.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "GeneratorInterface/Pythia6Interface/interface/Pythia6Service.h"
#include "GeneratorInterface/Pythia6Interface/interface/Pythia6Declarations.h"
#include "SimDataFormats/GeneratorProducts/interface/GenRunInfoProduct.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

CLHEP::RandFlat * fFlat_extern
 
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 37 of file Cascade2Hadronizer.cc.

Function Documentation

double dcasrn_ ( int *  idummy)

Definition at line 43 of file Cascade2Hadronizer.cc.

References gather_cfg::cout, debug, and fFlat_extern.

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

Variable Documentation

CLHEP::RandFlat* fFlat_extern

Definition at line 39 of file Cascade2Hadronizer.cc.

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

HepMC::IO_HEPEVT hepevtio