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 73 of file MCatNLOSource.cc.

References contentValuesCheck::ss.

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

73  {
74  std::ostringstream ss;
75  ss << var << " = " << value << "\n";
76  return ss.str();
77 }
Definition: value.py:1
template<typename T >
static std::string makeConfigLine ( const char *  var,
unsigned int  index,
T  value 
)
static

Definition at line 80 of file MCatNLOSource.cc.

References contentValuesCheck::ss.

80  {
81  std::ostringstream ss;
82  ss << var << "(" << index << ") = " << value << "\n";
83  return ss.str();
84 }
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