Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
TauAnalysis
MCEmbeddingTools
src
ParticleReplacerBase.cc
Go to the documentation of this file.
1
#include "
TauAnalysis/MCEmbeddingTools/interface/ParticleReplacerBase.h
"
2
3
ParticleReplacerBase::ParticleReplacerBase
(
const
edm::ParameterSet
&
cfg
)
4
: tried_(0),
5
passed_(0),
6
tauMass_(1.7769)
7
{
8
verbosity_
= ( cfg.
exists
(
"verbosity"
) ) ?
9
cfg.
getParameter
<
int
>(
"verbosity"
) : 0;
10
}
11
12
#include "
FWCore/Framework/interface/MakerMacros.h
"
13
14
EDM_REGISTER_PLUGINFACTORY
(
ParticleReplacerPluginFactory
,
"ParticleReplacerPluginFactory"
);
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
looper.cfg
tuple cfg
Definition:
looper.py:259
ParticleReplacerBase::verbosity_
int verbosity_
Definition:
ParticleReplacerBase.h:48
MakerMacros.h
edm::ParameterSet::exists
bool exists(std::string const ¶meterName) const
checks if a parameter exists
Definition:
ParameterSet.cc:760
ParticleReplacerBase::ParticleReplacerBase
ParticleReplacerBase(const edm::ParameterSet &)
Definition:
ParticleReplacerBase.cc:3
edmplugin::PluginFactory
Definition:
PluginFactory.h:31
ParticleReplacerBase.h
EDM_REGISTER_PLUGINFACTORY
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition:
PluginFactory.h:90
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.5