CMS 3D CMS Logo

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

◆ debug

#define debug   0

Definition at line 35 of file Cascade2Hadronizer.cc.

Function Documentation

◆ dcasrn_()

double dcasrn_ ( int *  idummy)

Definition at line 41 of file Cascade2Hadronizer.cc.

41  {
42  static int call = 0;
43 
44  double rdm_nb = cascade2RandomEngine->flat();
45 
46  if (debug && ++call < 100)
47  cout << "dcasrn from c++, call: " << call << " random number: " << rdm_nb << endl;
48 
49  return rdm_nb;
50 }

References cascade2RandomEngine, gather_cfg::cout, and debug.

Variable Documentation

◆ cascade2RandomEngine

CLHEP::HepRandomEngine* cascade2RandomEngine
static

Definition at line 37 of file Cascade2Hadronizer.cc.

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

◆ hepevtio

HepMC::IO_HEPEVT hepevtio
gather_cfg.cout
cout
Definition: gather_cfg.py:144
debug
#define debug
Definition: Cascade2Hadronizer.cc:35
cascade2RandomEngine
static CLHEP::HepRandomEngine * cascade2RandomEngine
Definition: Cascade2Hadronizer.cc:37