Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
IOMC
ParticleGuns
interface
BaseRandomtXiGunProducer.h
Go to the documentation of this file.
1
#ifndef BaseRandomtXiGunProducer_H
2
#define BaseRandomtXiGunProducer_H
3
9
#include <string>
10
11
#include "HepPDT/defs.h"
12
#include "HepPDT/TableBuilder.hh"
13
#include "HepPDT/ParticleDataTable.hh"
14
15
#include "HepMC/GenEvent.h"
16
17
#include "
FWCore/Framework/interface/ESHandle.h
"
18
#include "
FWCore/Framework/interface/one/EDProducer.h
"
19
#include "
FWCore/Framework/interface/EventSetup.h
"
20
#include "
FWCore/Framework/interface/Run.h
"
21
22
#include <memory>
23
#include "boost/shared_ptr.hpp"
24
25
namespace
edm
26
{
27
28
class
BaseRandomtXiGunProducer
:
public
one::EDProducer
<one::WatchRuns,
29
EndRunProducer>
30
{
31
32
public
:
33
BaseRandomtXiGunProducer
(
const
ParameterSet
&);
34
virtual
~BaseRandomtXiGunProducer
();
35
void
beginRun
(
const
edm::Run
&
r
,
const
edm::EventSetup
& )
override
;
36
void
endRun
(
const
edm::Run
& r,
const
edm::EventSetup
& )
override
;
37
void
endRunProduce
(
edm::Run
& r,
const
edm::EventSetup
&)
override
;
38
39
private
:
40
41
protected
:
42
43
// non-virtuals ! this and only way !
44
//
45
// data members
46
47
// gun particle(s) characteristics
48
std::vector<int>
fPartIDs
;
49
double
fMinPhi
;
50
double
fMaxPhi
;
51
double
fpEnergy
;
52
double
fECMS
;
53
54
// the event format itself
55
HepMC::GenEvent*
fEvt
;
56
57
ESHandle<HepPDT::ParticleDataTable>
fPDGTable
;
58
59
int
fVerbosity
;
60
61
const
HepPDT::ParticleData
*
PData
;
62
63
bool
fFireForward
;
64
bool
fFireBackward
;
65
66
};
67
}
68
#endif
edm::BaseRandomtXiGunProducer::fVerbosity
int fVerbosity
Definition:
BaseRandomtXiGunProducer.h:59
edm::BaseRandomtXiGunProducer
Definition:
BaseRandomtXiGunProducer.h:28
edm::BaseRandomtXiGunProducer::fFireForward
bool fFireForward
Definition:
BaseRandomtXiGunProducer.h:63
EventSetup.h
edm::BaseRandomtXiGunProducer::BaseRandomtXiGunProducer
BaseRandomtXiGunProducer(const ParameterSet &)
Definition:
BaseRandomtXiGunProducer.cc:33
edm::BaseRandomtXiGunProducer::endRun
void endRun(const edm::Run &r, const edm::EventSetup &) override
Definition:
BaseRandomtXiGunProducer.cc:79
edm::BaseRandomtXiGunProducer::fMaxPhi
double fMaxPhi
Definition:
BaseRandomtXiGunProducer.h:50
edm::BaseRandomtXiGunProducer::fpEnergy
double fpEnergy
Definition:
BaseRandomtXiGunProducer.h:51
edm::BaseRandomtXiGunProducer::beginRun
void beginRun(const edm::Run &r, const edm::EventSetup &) override
Definition:
BaseRandomtXiGunProducer.cc:72
edm::BaseRandomtXiGunProducer::fFireBackward
bool fFireBackward
Definition:
BaseRandomtXiGunProducer.h:64
edm::ESHandle< HepPDT::ParticleDataTable >
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:45
Run.h
ParticleData
HepPDT::ParticleData ParticleData
Definition:
ParticleDataTable.h:9
edm::BaseRandomtXiGunProducer::fPDGTable
ESHandle< HepPDT::ParticleDataTable > fPDGTable
Definition:
BaseRandomtXiGunProducer.h:57
edm::BaseRandomtXiGunProducer::fEvt
HepMC::GenEvent * fEvt
Definition:
BaseRandomtXiGunProducer.h:55
edm::BaseRandomtXiGunProducer::fPartIDs
std::vector< int > fPartIDs
Definition:
BaseRandomtXiGunProducer.h:48
edm::BaseRandomtXiGunProducer::endRunProduce
void endRunProduce(edm::Run &r, const edm::EventSetup &) override
Definition:
BaseRandomtXiGunProducer.cc:81
EDProducer.h
edm::BaseRandomtXiGunProducer::fECMS
double fECMS
Definition:
BaseRandomtXiGunProducer.h:52
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::BaseRandomtXiGunProducer::fMinPhi
double fMinPhi
Definition:
BaseRandomtXiGunProducer.h:49
edm::BaseRandomtXiGunProducer::PData
const HepPDT::ParticleData * PData
Definition:
BaseRandomtXiGunProducer.h:61
edm::BaseRandomtXiGunProducer::~BaseRandomtXiGunProducer
virtual ~BaseRandomtXiGunProducer()
Definition:
BaseRandomtXiGunProducer.cc:66
edm::one::EDProducer
Definition:
EDProducer.h:30
edm::Run
Definition:
Run.h:42
Generated for CMSSW Reference Manual by
1.8.5