Main Page
Namespaces
Classes
Package Documentation
SimMuon
RPCDigitizer
src
RPCSynchronizer.h
Go to the documentation of this file.
1
#ifndef RPCDigitizer_RPCSynchronizer_h
2
#define RPCDigitizer_RPCSynchronizer_h
3
11
#include<cstring>
12
#include<iostream>
13
#include<fstream>
14
#include<string>
15
#include<vector>
16
#include<cstdlib>
17
18
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
19
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
20
#include "
FWCore/Framework/interface/Event.h
"
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
#include "
FWCore/ServiceRegistry/interface/Service.h
"
23
#include <set>
24
25
class
PSimHit
;
26
class
RPCSimSetUp
;
27
28
namespace
edm
{
29
class
ParameterSet
;
30
}
31
32
namespace
CLHEP
{
33
class
HepRandomEngine;
34
}
35
36
class
RPCSynchronizer
37
{
38
public
:
39
RPCSynchronizer
(
const
edm::ParameterSet
&
config
);
40
~
RPCSynchronizer
();
41
42
int
getSimHitBx(
const
PSimHit
*, CLHEP::HepRandomEngine*);
43
int
getSimHitBxAndTimingForIRPC(
const
PSimHit
*, CLHEP::HepRandomEngine*);
44
void
setRPCSimSetUp
(
RPCSimSetUp
*simsetup){theSimSetUp = simsetup;}
45
RPCSimSetUp
*
getRPCSimSetUp
(){
return
theSimSetUp; }
46
double
getExactTime
()
const
{
return
the_exact_time;}
47
double
getSmearedTime
()
const
{
return
the_smeared_time;}
48
49
private
:
50
double
resRPC
;
51
double
timOff
;
52
double
dtimCs
;
53
double
resEle
;
54
double
sspeed
;
55
double
cspeed
;
56
double
lbGate
;
57
double
lbGateNew
;
58
double
cosmicPar
;
59
double
LHCGate
;
60
bool
cosmics
;
61
double
irpc_timing_res
;
62
double
irpc_electronics_jitter
;
63
double
the_exact_time
;
64
double
the_smeared_time
;
65
RPCSimSetUp
*
theSimSetUp
;
66
int
N_BX
;
67
};
68
#endif
RPCSynchronizer::lbGateNew
double lbGateNew
Definition:
RPCSynchronizer.h:57
RPCSynchronizer::theSimSetUp
RPCSimSetUp * theSimSetUp
Definition:
RPCSynchronizer.h:65
RPCSynchronizer::getExactTime
double getExactTime() const
Definition:
RPCSynchronizer.h:46
RPCSynchronizer::irpc_timing_res
double irpc_timing_res
Definition:
RPCSynchronizer.h:61
ParameterSet
Definition:
Functions.h:16
RPCSynchronizer::the_smeared_time
double the_smeared_time
Definition:
RPCSynchronizer.h:64
Event.h
RPCSynchronizer::setRPCSimSetUp
void setRPCSimSetUp(RPCSimSetUp *simsetup)
Definition:
RPCSynchronizer.h:44
RPCSynchronizer::cspeed
double cspeed
Definition:
RPCSynchronizer.h:55
config
Definition:
config.py:1
Frameworkfwd.h
RPCSynchronizer
Definition:
RPCSynchronizer.h:36
RPCSynchronizer::cosmics
bool cosmics
Definition:
RPCSynchronizer.h:60
ParameterSet.h
RPCSynchronizer::N_BX
int N_BX
Definition:
RPCSynchronizer.h:66
CLHEP
Definition:
CocoaGlobals.h:27
RPCSynchronizer::timOff
double timOff
Definition:
RPCSynchronizer.h:51
RPCSynchronizer::getSmearedTime
double getSmearedTime() const
Definition:
RPCSynchronizer.h:47
RPCSynchronizer::getRPCSimSetUp
RPCSimSetUp * getRPCSimSetUp()
Definition:
RPCSynchronizer.h:45
Service.h
RPCSynchronizer::the_exact_time
double the_exact_time
Definition:
RPCSynchronizer.h:63
RPCSynchronizer::cosmicPar
double cosmicPar
Definition:
RPCSynchronizer.h:58
RPCSynchronizer::sspeed
double sspeed
Definition:
RPCSynchronizer.h:54
RPCSimSetUp
Definition:
RPCSimSetUp.h:28
EDAnalyzer.h
RPCSynchronizer::LHCGate
double LHCGate
Definition:
RPCSynchronizer.h:59
RPCSynchronizer::irpc_electronics_jitter
double irpc_electronics_jitter
Definition:
RPCSynchronizer.h:62
edm
HLT enums.
Definition:
AlignableModifier.h:17
PSimHit
Definition:
PSimHit.h:15
RPCSynchronizer::resEle
double resEle
Definition:
RPCSynchronizer.h:53
RPCSynchronizer::resRPC
double resRPC
Definition:
RPCSynchronizer.h:50
edm::ParameterSet
Definition:
ParameterSet.h:36
RPCSynchronizer::lbGate
double lbGate
Definition:
RPCSynchronizer.h:56
RPCSynchronizer::dtimCs
double dtimCs
Definition:
RPCSynchronizer.h:52
Generated for CMSSW Reference Manual by
1.8.11