CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
MCatNLOSource.cc File Reference
#include <algorithm>
#include <functional>
#include <iostream>
#include <sstream>
#include <string>
#include <memory>
#include <boost/bind.hpp>
#include "FWCore/Sources/interface/ExternalInputSource.h"
#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

 DEFINE_FWK_INPUT_SOURCE (MCatNLOSource)
 
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)
 

Function Documentation

DEFINE_FWK_INPUT_SOURCE ( MCatNLOSource  )
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 }
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 }
void mcatnloupevnt_ ( int *  ,
int *  ,
int *   
)

Referenced by MCatNLOSource::produce().

void mcatnloupinit_ ( int *  ,
const char *  ,
int   
)

Referenced by MCatNLOSource::beginRun().