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<stdlib.h>
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
57
int
N_hits
;
58
int
nbxing
;
59
double
rate
;
60
double
gate
;
61
double
frate
;
62
bool
do_Y
;
63
double
sigmaY
;
64
65
std::map< int, std::vector<double> >
clsMap
;
66
std::vector<double>
sum_clsize
;
67
std::vector<double>
clsForDetId
;
68
std::ifstream *
infile
;
69
70
RPCSynchronizer
*
_rpcSync
;
71
};
72
#endif
RPCSimModelTiming::clsMap
std::map< int, std::vector< double > > clsMap
Definition:
RPCSimModelTiming.h:65
MessageLogger.h
RPCSimModelTiming::do_Y
bool do_Y
Definition:
RPCSimModelTiming.h:62
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:67
RPCSimModelTiming
Definition:
RPCSimModelTiming.h:31
RPCSynchronizer
Definition:
RPCSynchronizer.h:36
RPCSimModelTiming::init
void init() override
Definition:
RPCSimModelTiming.h:45
CLHEP
Definition:
CocoaGlobals.h:27
RPCSimModelTiming::nbxing
int nbxing
Definition:
RPCSimModelTiming.h:58
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:60
RPCSimModelTiming::N_hits
int N_hits
Definition:
RPCSimModelTiming.h:57
RPCSimModelTiming::sum_clsize
std::vector< double > sum_clsize
Definition:
RPCSimModelTiming.h:66
RPCSim
Definition:
RPCSim.h:30
RPCSimModelTiming::infile
std::ifstream * infile
Definition:
RPCSimModelTiming.h:68
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:70
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:61
RPCSimSetUp.h
RPCSimModelTiming::rate
double rate
Definition:
RPCSimModelTiming.h:59
RPCSimModelTiming::sigmaY
double sigmaY
Definition:
RPCSimModelTiming.h:63
RPCSimModelTiming::timOff
double timOff
Definition:
RPCSimModelTiming.h:50
Generated for CMSSW Reference Manual by
1.8.11