CMS 3D CMS Logo

Functions
MCatNLOSource.cc File Reference
#include <algorithm>
#include <functional>
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#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

◆ makeConfigLine() [1/2]

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

Definition at line 75 of file MCatNLOSource.cc.

75  {
76  std::ostringstream ss;
77  ss << var << " = " << value << "\n";
78  return ss.str();
79 }

References contentValuesCheck::ss, and trigObjTnPSource_cfi::var.

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

◆ makeConfigLine() [2/2]

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

Definition at line 82 of file MCatNLOSource.cc.

82  {
83  std::ostringstream ss;
84  ss << var << "(" << index << ") = " << value << "\n";
85  return ss.str();
86 }

References contentValuesCheck::ss, and trigObjTnPSource_cfi::var.

◆ mcatnloupevnt_()

void mcatnloupevnt_ ( int *  ,
int *  ,
int *   
)

◆ mcatnloupinit_()

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

Referenced by MCatNLOSource::beginRun().

◆ s_filler__LINE__()

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

◆ s_maker__LINE__()

static const edm::InputSourcePluginFactory ::PMaker< MCatNLOSource > s_maker__LINE__ ( "MCatNLOSource"  )
static
trigObjTnPSource_cfi.var
var
Definition: trigObjTnPSource_cfi.py:21
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
value
Definition: value.py:1
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46