CMS 3D CMS Logo

Classes | Namespaces | Defines | Functions | Variables

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/GeneratorInterface/CascadeInterface/plugins/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

namespace  gen

Defines

#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

Define 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.

                              {

    static int call = 0;

    double rdm_nb = fFlat_extern->fire();

    if(debug && ++call < 100) cout<<"dcasrn from c++, call: "<<call<<" random number: "<<rdm_nb<<endl;

    return rdm_nb;
  }

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