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