Main Page
Namespaces
Classes
Package Documentation
SimMuon
RPCDigitizer
src
RPCSimAverageNoiseEff.h
Go to the documentation of this file.
1
#ifndef RPCDigitizer_RPCSimAverageNoiseEff_h
2
#define RPCDigitizer_RPCSimAverageNoiseEff_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
RPCSimAverageNoiseEff
:
public
RPCSim
30
{
31
public
:
32
RPCSimAverageNoiseEff
(
const
edm::ParameterSet
&
config
);
33
~
RPCSimAverageNoiseEff
()
override
;
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
44
private
:
45
void
init
()
override
{};
46
private
:
47
double
aveEff;
48
double
aveCls
;
49
double
resRPC
;
50
double
timOff
;
51
double
dtimCs
;
52
double
resEle
;
53
double
sspeed
;
54
double
lbGate
;
55
bool
rpcdigiprint
;
56
57
int
N_hits
;
58
int
nbxing
;
59
double
rate
;
60
double
gate
;
61
double
frate
;
62
63
std::map< int, std::vector<double> >
clsMap
;
64
std::vector<double>
sum_clsize
;
65
std::ifstream *
infile
;
66
67
RPCSynchronizer
*
_rpcSync
;
68
};
69
#endif
RPCSimAverageNoiseEff::sum_clsize
std::vector< double > sum_clsize
Definition:
RPCSimAverageNoiseEff.h:64
RPCSimAverageNoiseEff::dtimCs
double dtimCs
Definition:
RPCSimAverageNoiseEff.h:51
RPCSimAverageNoiseEff::resRPC
double resRPC
Definition:
RPCSimAverageNoiseEff.h:49
RPCSimAverageNoiseEff::sspeed
double sspeed
Definition:
RPCSimAverageNoiseEff.h:53
RPCSimAverageNoiseEff::resEle
double resEle
Definition:
RPCSimAverageNoiseEff.h:52
RPCRoll
Definition:
RPCRoll.h:12
RPCSimAverageNoiseEff::N_hits
int N_hits
Definition:
RPCSimAverageNoiseEff.h:57
EventSetup.h
RPCSimAverageNoiseEff
Definition:
RPCSimAverageNoiseEff.h:29
config
Definition:
config.py:1
RPCSynchronizer.h
RPCSynchronizer
Definition:
RPCSynchronizer.h:36
RPCSimAverageNoiseEff::timOff
double timOff
Definition:
RPCSimAverageNoiseEff.h:50
CLHEP
Definition:
CocoaGlobals.h:27
RPCGeometry
Definition:
RPCGeometry.h:22
RPCSimAverageNoiseEff::nbxing
int nbxing
Definition:
RPCSimAverageNoiseEff.h:58
RPCSim
Definition:
RPCSim.h:30
RecoTauValidation_cfi.posX
posX
Definition:
RecoTauValidation_cfi.py:296
RPCSimAverageNoiseEff::rpcdigiprint
bool rpcdigiprint
Definition:
RPCSimAverageNoiseEff.h:55
RPCSim.h
RPCSimAverageNoiseEff::gate
double gate
Definition:
RPCSimAverageNoiseEff.h:60
RPCSimAverageNoiseEff::infile
std::ifstream * infile
Definition:
RPCSimAverageNoiseEff.h:65
RPCSimAverageNoiseEff::aveCls
double aveCls
Definition:
RPCSimAverageNoiseEff.h:48
RPCSimAverageNoiseEff::_rpcSync
RPCSynchronizer * _rpcSync
Definition:
RPCSimAverageNoiseEff.h:67
RPCSimAverageNoiseEff::rate
double rate
Definition:
RPCSimAverageNoiseEff.h:59
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
RPCSimAverageNoiseEff::clsMap
std::map< int, std::vector< double > > clsMap
Definition:
RPCSimAverageNoiseEff.h:63
RPCSimSetUp.h
RPCSimAverageNoiseEff::frate
double frate
Definition:
RPCSimAverageNoiseEff.h:61
RPCSimAverageNoiseEff::init
void init() override
Definition:
RPCSimAverageNoiseEff.h:45
RPCSimAverageNoiseEff::lbGate
double lbGate
Definition:
RPCSimAverageNoiseEff.h:54
Generated for CMSSW Reference Manual by
1.8.11