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