CMS 3D CMS Logo

Functions
MCatNLOSource.cc File Reference
#include <algorithm>
#include <functional>
#include <iostream>
#include <sstream>
#include <string>
#include <memory>
#include <boost/bind.hpp>
#include "FWCore/Framework/interface/InputSourceMacros.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/Run.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "GeneratorInterface/LHEInterface/interface/LHERunInfo.h"
#include "GeneratorInterface/LHEInterface/interface/LHEEvent.h"
#include "GeneratorInterface/Herwig6Interface/interface/Herwig6Instance.h"
#include "SimDataFormats/GeneratorProducts/interface/LHERunInfoProduct.h"
#include "SimDataFormats/GeneratorProducts/interface/LHEEventProduct.h"
#include "SimDataFormats/GeneratorProducts/interface/LesHouches.h"
#include "SimDataFormats/GeneratorProducts/interface/LHECommonBlocks.h"
#include "MCatNLOSource.h"

Go to the source code of this file.

Functions

template<typename T >
static std::string makeConfigLine (const char *var, T value)
 
template<typename T >
static std::string makeConfigLine (const char *var, unsigned int index, T value)
 
void mcatnloupevnt_ (int *, int *, int *)
 
void mcatnloupinit_ (int *, const char *, int)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< MCatNLOSource > > s_filler__LINE__ ("MCatNLOSource")
 
static const edm::InputSourcePluginFactory::PMaker< MCatNLOSources_maker__LINE__ ("MCatNLOSource")
 

Function Documentation

template<typename T >
static std::string makeConfigLine ( const char *  var,
T  value 
)
static

Definition at line 85 of file MCatNLOSource.cc.

Referenced by MCatNLOSource::beginRun(), and MCatNLOSource::produce().

86 {
87  std::ostringstream ss;
88  ss << var << " = " << value << "\n";
89  return ss.str();
90 }
Definition: value.py:1
template<typename T >
static std::string makeConfigLine ( const char *  var,
unsigned int  index,
T  value 
)
static

Definition at line 93 of file MCatNLOSource.cc.

94 {
95  std::ostringstream ss;
96  ss << var << "(" << index << ") = " << value << "\n";
97  return ss.str();
98 }
Definition: value.py:1
void mcatnloupevnt_ ( int *  ,
int *  ,
int *   
)
void mcatnloupinit_ ( int *  ,
const char *  ,
int   
)

Referenced by MCatNLOSource::beginRun().

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< MCatNLOSource > > s_filler__LINE__ ( "MCatNLOSource"  )
static
static const edm::InputSourcePluginFactory ::PMaker< MCatNLOSource > s_maker__LINE__ ( "MCatNLOSource"  )
static