CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
MCatNLOSource.cc File Reference
#include <algorithm>
#include <functional>
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#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
< MCatNLOSource
s_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 }
list var
if using global norm cols_to_minmax = [&#39;t_delta&#39;, &#39;t_hmaxNearP&#39;,&#39;t_emaxNearP&#39;, &#39;t_hAnnular&#39;, &#39;t_eAnnular&#39;,&#39;t_pt&#39;,&#39;t_nVtx&#39;,&#39;t_ieta&#39;,&#39;t_eHcal10&#39;, &#39;t_eHcal30&#39;,&#39;t_rhoh&#39;,&#39;t_eHcal&#39;] df[cols_to_minmax] = df[cols_to_minmax].apply(lambda x: (x - x.min()) / (x.max() - x.min()) if (x.max() - x.min() &gt; 0) else 1.0/200.0)
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 }
list var
if using global norm cols_to_minmax = [&#39;t_delta&#39;, &#39;t_hmaxNearP&#39;,&#39;t_emaxNearP&#39;, &#39;t_hAnnular&#39;, &#39;t_eAnnular&#39;,&#39;t_pt&#39;,&#39;t_nVtx&#39;,&#39;t_ieta&#39;,&#39;t_eHcal10&#39;, &#39;t_eHcal30&#39;,&#39;t_rhoh&#39;,&#39;t_eHcal&#39;] df[cols_to_minmax] = df[cols_to_minmax].apply(lambda x: (x - x.min()) / (x.max() - x.min()) if (x.max() - x.min() &gt; 0) else 1.0/200.0)
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