Main Page
Namespaces
Classes
Package Documentation
SimMuon
RPCDigitizer
src
RPCSimAverageNoiseEffCls.h
Go to the documentation of this file.
1
#ifndef RPCDigitizer_RPCSimAverageNoiseEffCls_h
2
#define RPCDigitizer_RPCSimAverageNoiseEffCls_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
#include "
SimMuon/RPCDigitizer/src/RPCSimSetUp.h
"
21
22
class
RPCGeometry
;
23
//class RPCSimSetUp;
24
25
namespace
CLHEP
{
26
class
HepRandomEngine;
27
}
28
29
class
RPCSimAverageNoiseEffCls
:
public
RPCSim
30
{
31
public
:
32
RPCSimAverageNoiseEffCls
(
const
edm::ParameterSet
&
config
);
33
~
RPCSimAverageNoiseEffCls
();
34
35
void
simulate(
const
RPCRoll
* roll,
36
const
edm::PSimHitContainer
& rpcHits,
37
CLHEP::HepRandomEngine*)
override
;
38
39
void
simulateNoise(
const
RPCRoll
*,
40
CLHEP::HepRandomEngine*)
override
;
41
42
int
getClSize(
float
posX
, CLHEP::HepRandomEngine*);
43
int
getClSize(uint32_t
id
,
float
posX, CLHEP::HepRandomEngine*);
44
45
// private:
46
protected
:
47
void
init
()
override
{};
48
49
double
aveEff;
50
double
aveCls
;
51
double
resRPC
;
52
double
timOff
;
53
double
dtimCs
;
54
double
resEle
;
55
double
sspeed
;
56
double
lbGate
;
57
bool
rpcdigiprint
;
58
bool
eledig
;
59
60
int
N_hits
;
61
int
nbxing
;
62
double
rate
;
63
double
gate
;
64
double
frate
;
65
66
std::map< int, std::vector<double> >
clsMap
;
67
std::vector<double>
sum_clsize
;
68
std::vector<double>
clsForDetId
;
69
std::ifstream *
infile
;
70
71
RPCSynchronizer
*
_rpcSync
;
72
};
73
#endif
RPCRoll
Definition:
RPCRoll.h:12
EventSetup.h
RPCSimAverageNoiseEffCls::lbGate
double lbGate
Definition:
RPCSimAverageNoiseEffCls.h:56
RPCSimAverageNoiseEffCls::rpcdigiprint
bool rpcdigiprint
Definition:
RPCSimAverageNoiseEffCls.h:57
RPCSimAverageNoiseEffCls::clsForDetId
std::vector< double > clsForDetId
Definition:
RPCSimAverageNoiseEffCls.h:68
RPCSimAverageNoiseEffCls::resEle
double resEle
Definition:
RPCSimAverageNoiseEffCls.h:54
RPCSimAverageNoiseEffCls::aveCls
double aveCls
Definition:
RPCSimAverageNoiseEffCls.h:50
config
Definition:
config.py:1
RPCSynchronizer.h
RPCSynchronizer
Definition:
RPCSynchronizer.h:36
RPCSimAverageNoiseEffCls::timOff
double timOff
Definition:
RPCSimAverageNoiseEffCls.h:52
RPCSimAverageNoiseEffCls::init
void init() override
Definition:
RPCSimAverageNoiseEffCls.h:47
CLHEP
Definition:
CocoaGlobals.h:27
RPCSimAverageNoiseEffCls::frate
double frate
Definition:
RPCSimAverageNoiseEffCls.h:64
RPCGeometry
Definition:
RPCGeometry.h:22
RPCSimAverageNoiseEffCls::infile
std::ifstream * infile
Definition:
RPCSimAverageNoiseEffCls.h:69
RPCSimAverageNoiseEffCls::sum_clsize
std::vector< double > sum_clsize
Definition:
RPCSimAverageNoiseEffCls.h:67
RPCSimAverageNoiseEffCls::_rpcSync
RPCSynchronizer * _rpcSync
Definition:
RPCSimAverageNoiseEffCls.h:71
RPCSim
Definition:
RPCSim.h:30
RPCSimAverageNoiseEffCls::rate
double rate
Definition:
RPCSimAverageNoiseEffCls.h:62
RecoTauValidation_cfi.posX
posX
Definition:
RecoTauValidation_cfi.py:292
RPCSimAverageNoiseEffCls::clsMap
std::map< int, std::vector< double > > clsMap
Definition:
RPCSimAverageNoiseEffCls.h:66
RPCSim.h
RPCSimAverageNoiseEffCls::gate
double gate
Definition:
RPCSimAverageNoiseEffCls.h:63
RPCSimAverageNoiseEffCls::N_hits
int N_hits
Definition:
RPCSimAverageNoiseEffCls.h:60
RPCSimAverageNoiseEffCls
Definition:
RPCSimAverageNoiseEffCls.h:29
RPCSimAverageNoiseEffCls::resRPC
double resRPC
Definition:
RPCSimAverageNoiseEffCls.h:51
RPCSimAverageNoiseEffCls::nbxing
int nbxing
Definition:
RPCSimAverageNoiseEffCls.h:61
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
RPCSimAverageNoiseEffCls::eledig
bool eledig
Definition:
RPCSimAverageNoiseEffCls.h:58
RPCSimAverageNoiseEffCls::dtimCs
double dtimCs
Definition:
RPCSimAverageNoiseEffCls.h:53
RPCSimSetUp.h
RPCSimAverageNoiseEffCls::sspeed
double sspeed
Definition:
RPCSimAverageNoiseEffCls.h:55
Generated for CMSSW Reference Manual by
1.8.11