test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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/Framework/interface/EDProducer.h
"
9
#include "
FWCore/Framework/interface/EventSetup.h
"
10
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
//#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
14
15
//#include "FWCore/Framework/interface/MakerMacros.h"
16
17
using namespace
edm;
18
using namespace
gen
;
19
20
Pythia6ParticleGun::Pythia6ParticleGun(
const
ParameterSet
&
pset
) :
21
Pythia6Gun
(pset)
22
{
23
24
ParameterSet
pgun_params =
25
pset.
getParameter
<
ParameterSet
>(
"PGunParameters"
);
26
fPartIDs
= pgun_params.
getParameter
< std::vector<int> >(
"ParticleID"
);
27
28
}
29
30
Pythia6ParticleGun::~Pythia6ParticleGun
()
31
{
32
}
33
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
EventSetup.h
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:374
gen::Pythia6ParticleGun::~Pythia6ParticleGun
virtual ~Pythia6ParticleGun()
Definition:
Pythia6ParticleGun.cc:30
relval_steps.gen
def gen
run2 Cosmic #### Run 256259 @ 0T 2015C### Run 272133 @ 3.8T 2016B###
Definition:
relval_steps.py:221
ParameterSet.h
gen::Pythia6Gun
Definition:
Pythia6Gun.h:41
gen::Pythia6ParticleGun::fPartIDs
std::vector< int > fPartIDs
Definition:
Pythia6ParticleGun.h:41
EDProducer.h
Exception.h
Pythia6ParticleGun.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.5