CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/GeneratorInterface/MCatNLOInterface/plugins/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, unsigned int index, T value)
template<typename T >
static std::string makeConfigLine (const char *var, 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,
unsigned int  index,
value 
) [static]

Definition at line 93 of file MCatNLOSource.cc.

{
  std::ostringstream ss;
  ss << var << "(" << index << ") = " << value << "\n";
  return ss.str();
}
template<typename T >
static std::string makeConfigLine ( const char *  var,
value 
) [static]

Definition at line 85 of file MCatNLOSource.cc.

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

{
  std::ostringstream ss;
  ss << var << " = " << value << "\n";
  return ss.str();
}
void mcatnloupevnt_ ( int *  ,
int *  ,
int *   
)

Referenced by MCatNLOSource::produce().

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

Referenced by MCatNLOSource::beginRun().