src
GeneratorInterface
Pythia6Interface
plugins
Pythia6ParticleGun.cc
Go to the documentation of this file.
1
2
#include <iostream>
3
4
#include "
Pythia6ParticleGun.h
"
5
6
#include "
FWCore/Utilities/interface/Exception.h
"
7
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
10
using namespace
edm
;
11
using namespace
gen
;
12
13
Pythia6ParticleGun::Pythia6ParticleGun(
const
ParameterSet
&
pset
) :
Pythia6Gun
(
pset
) {
14
ParameterSet
pgun_params =
pset
.getParameter<
ParameterSet
>(
"PGunParameters"
);
15
fPartIDs
= pgun_params.
getParameter
<std::vector<int> >(
"ParticleID"
);
16
}
17
18
Pythia6ParticleGun::~Pythia6ParticleGun
() {}
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:307
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
ParameterSet.h
gen::Pythia6ParticleGun::~Pythia6ParticleGun
~Pythia6ParticleGun() override
Definition:
Pythia6ParticleGun.cc:18
gen
Definition:
PythiaDecays.h:13
gen::Pythia6Gun
Definition:
Pythia6Gun.h:40
gen::Pythia6ParticleGun::fPartIDs
std::vector< int > fPartIDs
Definition:
Pythia6ParticleGun.h:27
Exception.h
Pythia6ParticleGun.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:48
Generated for CMSSW Reference Manual by
1.8.14