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
class
RPCGeometry
;
22
23
namespace
CLHEP
{
24
class
HepRandomEngine;
25
}
26
27
class
RPCSimAverageNoise
:
public
RPCSim
{
28
public
:
29
RPCSimAverageNoise
(
const
edm::ParameterSet
&
config
);
30
~RPCSimAverageNoise
()
override
;
31
32
void
simulate
(
const
RPCRoll
* roll,
const
edm::PSimHitContainer
& rpcHits, CLHEP::HepRandomEngine*)
override
;
33
34
void
simulateNoise
(
const
RPCRoll
*, CLHEP::HepRandomEngine*)
override
;
35
36
int
getClSize
(
float
posX
, CLHEP::HepRandomEngine*);
37
38
private
:
39
void
init
()
override
{};
40
41
private
:
42
double
aveEff
;
43
double
aveCls
;
44
double
resRPC
;
45
double
timOff
;
46
double
dtimCs
;
47
double
resEle
;
48
double
sspeed
;
49
double
lbGate
;
50
bool
rpcdigiprint
;
51
52
int
N_hits
;
53
int
nbxing
;
54
double
rate
;
55
double
gate
;
56
double
frate
;
57
58
std::map<int, std::vector<double> >
clsMap
;
59
std::vector<double>
sum_clsize
;
60
std::ifstream*
infile
;
61
62
RPCSynchronizer
*
_rpcSync
;
63
};
64
#endif
RPCSimAverageNoise::aveCls
double aveCls
Definition:
RPCSimAverageNoise.h:43
RPCRoll
Definition:
RPCRoll.h:12
RPCSynchronizer
Definition:
RPCSynchronizer.h:36
RPCSimAverageNoise::dtimCs
double dtimCs
Definition:
RPCSimAverageNoise.h:46
RPCSimAverageNoise::frate
double frate
Definition:
RPCSimAverageNoise.h:56
RPCSimAverageNoise::sum_clsize
std::vector< double > sum_clsize
Definition:
RPCSimAverageNoise.h:59
RPCSimAverageNoise::sspeed
double sspeed
Definition:
RPCSimAverageNoise.h:48
RPCSim.h
RPCSimAverageNoise::RPCSimAverageNoise
RPCSimAverageNoise(const edm::ParameterSet &config)
Definition:
RPCSimAverageNoise.cc:38
config
Definition:
config.py:1
RPCSimAverageNoise::timOff
double timOff
Definition:
RPCSimAverageNoise.h:45
RPCSimAverageNoise::infile
std::ifstream * infile
Definition:
RPCSimAverageNoise.h:60
RPCSimAverageNoise::~RPCSimAverageNoise
~RPCSimAverageNoise() override
Definition:
RPCSimAverageNoise.cc:67
RecoTauValidation_cfi.posX
posX
Definition:
RecoTauValidation_cfi.py:287
CLHEP
Definition:
CocoaGlobals.h:27
edm::ParameterSet
Definition:
ParameterSet.h:47
RPCSimAverageNoise::aveEff
double aveEff
Definition:
RPCSimAverageNoise.h:39
RPCSimAverageNoise::rpcdigiprint
bool rpcdigiprint
Definition:
RPCSimAverageNoise.h:50
RPCSimAverageNoise::simulateNoise
void simulateNoise(const RPCRoll *, CLHEP::HepRandomEngine *) override
Definition:
RPCSimAverageNoise.cc:179
RPCSimAverageNoise::resEle
double resEle
Definition:
RPCSimAverageNoise.h:47
RPCSim
Definition:
RPCSim.h:30
RPCSimAverageNoise::clsMap
std::map< int, std::vector< double > > clsMap
Definition:
RPCSimAverageNoise.h:58
RPCSimAverageNoise::gate
double gate
Definition:
RPCSimAverageNoise.h:55
RPCSimAverageNoise::resRPC
double resRPC
Definition:
RPCSimAverageNoise.h:44
RPCSimAverageNoise::init
void init() override
Definition:
RPCSimAverageNoise.h:39
EventSetup.h
RPCSimAverageNoise::N_hits
int N_hits
Definition:
RPCSimAverageNoise.h:52
RPCSimAverageNoise::_rpcSync
RPCSynchronizer * _rpcSync
Definition:
RPCSimAverageNoise.h:62
RPCSimAverageNoise::rate
double rate
Definition:
RPCSimAverageNoise.h:54
RPCGeometry
Definition:
RPCGeometry.h:20
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
RPCSimAverageNoise::simulate
void simulate(const RPCRoll *roll, const edm::PSimHitContainer &rpcHits, CLHEP::HepRandomEngine *) override
Definition:
RPCSimAverageNoise.cc:110
RPCSimAverageNoise::lbGate
double lbGate
Definition:
RPCSimAverageNoise.h:49
RPCSynchronizer.h
RPCSimAverageNoise
Definition:
RPCSimAverageNoise.h:27
RPCSimAverageNoise::getClSize
int getClSize(float posX, CLHEP::HepRandomEngine *)
Definition:
RPCSimAverageNoise.cc:69
RPCSimAverageNoise::nbxing
int nbxing
Definition:
RPCSimAverageNoise.h:53
Generated for CMSSW Reference Manual by
1.8.16