Main Page
Namespaces
Classes
Package Documentation
SimMuon
RPCDigitizer
src
RPCSimAverageNoise.h
Go to the documentation of this file.
1
#ifndef RPCDigitizer_RPCSimAverageNoise_h
2
#define RPCDigitizer_RPCSimAverageNoise_h
3
10
#include "
SimMuon/RPCDigitizer/src/RPCSim.h
"
11
#include "
SimMuon/RPCDigitizer/src/RPCSynchronizer.h
"
12
13
#include<cstring>
14
#include<iostream>
15
#include<fstream>
16
#include<string>
17
#include<vector>
18
#include<cstdlib>
19
#include "
FWCore/Framework/interface/EventSetup.h
"
20
21
22
class
RPCGeometry
;
23
24
namespace
CLHEP
{
25
class
HepRandomEngine;
26
}
27
28
class
RPCSimAverageNoise
:
public
RPCSim
29
{
30
public
:
31
32
RPCSimAverageNoise
(
const
edm::ParameterSet
&
config
);
33
~
RPCSimAverageNoise
()
override
;
34
35
void
simulate(
const
RPCRoll
* roll,
36
const
edm::PSimHitContainer
& rpcHits,
37
CLHEP::HepRandomEngine*)
override
;
38
39
void
simulateNoise(
const
RPCRoll
*, CLHEP::HepRandomEngine*)
override
;
40
41
int
getClSize(
float
posX
, CLHEP::HepRandomEngine*);
42
43
private
:
44
void
init
()
override
{};
45
private
:
46
double
aveEff;
47
double
aveCls
;
48
double
resRPC
;
49
double
timOff
;
50
double
dtimCs
;
51
double
resEle
;
52
double
sspeed
;
53
double
lbGate
;
54
bool
rpcdigiprint
;
55
56
int
N_hits
;
57
int
nbxing
;
58
double
rate
;
59
double
gate
;
60
double
frate
;
61
62
std::map< int, std::vector<double> >
clsMap
;
63
std::vector<double>
sum_clsize
;
64
std::ifstream *
infile
;
65
66
RPCSynchronizer
*
_rpcSync
;
67
};
68
#endif
RPCSimAverageNoise
Definition:
RPCSimAverageNoise.h:28
RPCSimAverageNoise::lbGate
double lbGate
Definition:
RPCSimAverageNoise.h:53
RPCSimAverageNoise::rate
double rate
Definition:
RPCSimAverageNoise.h:58
RPCRoll
Definition:
RPCRoll.h:12
RPCSimAverageNoise::resRPC
double resRPC
Definition:
RPCSimAverageNoise.h:48
RPCSimAverageNoise::init
void init() override
Definition:
RPCSimAverageNoise.h:44
RPCSimAverageNoise::nbxing
int nbxing
Definition:
RPCSimAverageNoise.h:57
RPCSimAverageNoise::gate
double gate
Definition:
RPCSimAverageNoise.h:59
EventSetup.h
config
Definition:
config.py:1
RPCSynchronizer.h
RPCSynchronizer
Definition:
RPCSynchronizer.h:36
CLHEP
Definition:
CocoaGlobals.h:27
RPCSimAverageNoise::clsMap
std::map< int, std::vector< double > > clsMap
Definition:
RPCSimAverageNoise.h:62
RPCSimAverageNoise::rpcdigiprint
bool rpcdigiprint
Definition:
RPCSimAverageNoise.h:54
RPCGeometry
Definition:
RPCGeometry.h:22
RPCSimAverageNoise::aveCls
double aveCls
Definition:
RPCSimAverageNoise.h:47
RPCSim
Definition:
RPCSim.h:30
RecoTauValidation_cfi.posX
posX
Definition:
RecoTauValidation_cfi.py:294
RPCSimAverageNoise::N_hits
int N_hits
Definition:
RPCSimAverageNoise.h:56
RPCSimAverageNoise::dtimCs
double dtimCs
Definition:
RPCSimAverageNoise.h:50
RPCSim.h
RPCSimAverageNoise::sspeed
double sspeed
Definition:
RPCSimAverageNoise.h:52
RPCSimAverageNoise::_rpcSync
RPCSynchronizer * _rpcSync
Definition:
RPCSimAverageNoise.h:66
RPCSimAverageNoise::timOff
double timOff
Definition:
RPCSimAverageNoise.h:49
RPCSimAverageNoise::resEle
double resEle
Definition:
RPCSimAverageNoise.h:51
RPCSimAverageNoise::infile
std::ifstream * infile
Definition:
RPCSimAverageNoise.h:64
RPCSimAverageNoise::frate
double frate
Definition:
RPCSimAverageNoise.h:60
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
RPCSimAverageNoise::sum_clsize
std::vector< double > sum_clsize
Definition:
RPCSimAverageNoise.h:63
Generated for CMSSW Reference Manual by
1.8.11