Main Page
Namespaces
Classes
Package Documentation
src
GeneratorInterface
BeamHaloGenerator
interface
BeamHaloProducer.h
Go to the documentation of this file.
1
#ifndef BeamHalo_Producer_h
2
#define BeamHalo_Producer_h
3
4
#include <map>
5
#include <string>
6
7
#include "HepMC/GenEvent.h"
8
9
#include "CLHEP/Random/RandFlat.h"
10
11
#include "
FWCore/Framework/interface/one/EDProducer.h
"
12
#include "
FWCore/Framework/interface/Event.h
"
13
#include "
FWCore/Framework/interface/LuminosityBlock.h
"
14
#include "
FWCore/Framework/interface/Run.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
17
namespace
CLHEP
{
18
class
HepRandomEngine;
19
}
20
21
namespace
edm
22
{
23
class
BeamHaloProducer
:
public
one::EDProducer
<EndRunProducer, one::WatchLuminosityBlocks, one::SharedResources> {
24
public
:
25
27
BeamHaloProducer
(
const
ParameterSet
&);
29
~
BeamHaloProducer
()
override
;
30
31
void
setRandomEngine(CLHEP::HepRandomEngine*
v
);
32
33
private
:
34
bool
call_ki_bhg_init(
long
&
seed
);
35
bool
call_bh_set_parameters(
int
* ival,
float
* fval,
const
std::string
cval_string);
36
bool
call_ki_bhg_fill(
int
& iret,
float
&
weight
);
37
bool
call_ki_bhg_stat(
int
& iret);
38
39
private
:
40
41
void
produce(
Event
&
e
,
const
EventSetup
& es)
override
;
42
void
endRunProduce(
Run
&
r
,
const
EventSetup
& es)
override
;
43
void
beginLuminosityBlock(
LuminosityBlock
const
&,
EventSetup
const
&)
override
;
44
void
endLuminosityBlock
(
LuminosityBlock
const
&,
EventSetup
const
&)
override
{ }
45
46
void
clear
();
47
48
HepMC::GenEvent
*
evt
;
49
50
int
GENMOD_
;
51
int
LHC_B1_
;
52
int
LHC_B2_
;
53
int
IW_MUO_
;
54
int
IW_HAD_
;
55
float
EG_MIN_
;
56
float
EG_MAX_
;
57
std::string
G3FNAME_
;
58
59
bool
isInitialized_
;
60
};
61
62
}
63
64
#endif
edm::BeamHaloProducer::IW_MUO_
int IW_MUO_
Definition:
BeamHaloProducer.h:53
edm::BeamHaloProducer::EG_MIN_
float EG_MIN_
Definition:
BeamHaloProducer.h:55
edm::BeamHaloProducer::isInitialized_
bool isInitialized_
Definition:
BeamHaloProducer.h:59
edm::BeamHaloProducer::IW_HAD_
int IW_HAD_
Definition:
BeamHaloProducer.h:54
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
SurveyInfoScenario_cff.seed
seed
Definition:
SurveyInfoScenario_cff.py:295
edm::LuminosityBlock
Definition:
LuminosityBlock.h:47
weight
Definition:
weight.py:1
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
edm::BeamHaloProducer::GENMOD_
int GENMOD_
Definition:
BeamHaloProducer.h:50
ParameterSet.h
CLHEP
Definition:
CocoaGlobals.h:27
edm::BeamHaloProducer
Definition:
BeamHaloProducer.h:23
edm::BeamHaloProducer::LHC_B1_
int LHC_B1_
Definition:
BeamHaloProducer.h:51
edm::BeamHaloProducer::evt
HepMC::GenEvent * evt
Definition:
BeamHaloProducer.h:48
HepMC::GenEvent
Definition:
hepmc_rootio.cc:9
hitfit::clear
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
Definition:
matutil.cc:167
edm::BeamHaloProducer::EG_MAX_
float EG_MAX_
Definition:
BeamHaloProducer.h:56
edm::EventSetup
Definition:
EventSetup.h:57
Run.h
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
edm::BeamHaloProducer::G3FNAME_
std::string G3FNAME_
Definition:
BeamHaloProducer.h:57
EDProducer.h
LuminosityBlock.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::BeamHaloProducer::endLuminosityBlock
void endLuminosityBlock(LuminosityBlock const &, EventSetup const &) override
Definition:
BeamHaloProducer.h:44
edm::Event
Definition:
Event.h:71
edm::one::EDProducer
Definition:
EDProducer.h:30
edm::BeamHaloProducer::LHC_B2_
int LHC_B2_
Definition:
BeamHaloProducer.h:52
edm::Run
Definition:
Run.h:45
Generated for CMSSW Reference Manual by
1.8.11