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
public
:
38
RPCSynchronizer
(
const
edm::ParameterSet
&
config
);
39
~
RPCSynchronizer
();
40
41
int
getSimHitBx(
const
PSimHit
*, CLHEP::HepRandomEngine*);
42
int
getSimHitBxAndTimingForIRPC(
const
PSimHit
*, CLHEP::HepRandomEngine*);
43
void
setRPCSimSetUp
(
RPCSimSetUp
* simsetup) { theSimSetUp = simsetup; }
44
RPCSimSetUp
*
getRPCSimSetUp
() {
return
theSimSetUp; }
45
double
getExactTime
()
const
{
return
the_exact_time; }
46
double
getSmearedTime
()
const
{
return
the_smeared_time; }
47
48
private
:
49
double
resRPC
;
50
double
timOff
;
51
double
dtimCs
;
52
double
resEle
;
53
double
sspeed
;
54
double
cspeed
;
55
double
lbGate
;
56
double
lbGateNew
;
57
double
cosmicPar
;
58
double
LHCGate
;
59
bool
cosmics
;
60
double
irpc_timing_res
;
61
double
irpc_electronics_jitter
;
62
double
the_exact_time
;
63
double
the_smeared_time
;
64
RPCSimSetUp
*
theSimSetUp
;
65
int
N_BX
;
66
};
67
#endif
RPCSynchronizer::lbGateNew
double lbGateNew
Definition:
RPCSynchronizer.h:56
RPCSynchronizer::theSimSetUp
RPCSimSetUp * theSimSetUp
Definition:
RPCSynchronizer.h:64
RPCSynchronizer::getExactTime
double getExactTime() const
Definition:
RPCSynchronizer.h:45
RPCSynchronizer::irpc_timing_res
double irpc_timing_res
Definition:
RPCSynchronizer.h:60
ParameterSet
Definition:
Functions.h:16
RPCSynchronizer::the_smeared_time
double the_smeared_time
Definition:
RPCSynchronizer.h:63
Event.h
RPCSynchronizer::setRPCSimSetUp
void setRPCSimSetUp(RPCSimSetUp *simsetup)
Definition:
RPCSynchronizer.h:43
RPCSynchronizer::cspeed
double cspeed
Definition:
RPCSynchronizer.h:54
config
Definition:
config.py:1
Frameworkfwd.h
RPCSynchronizer
Definition:
RPCSynchronizer.h:36
RPCSynchronizer::cosmics
bool cosmics
Definition:
RPCSynchronizer.h:59
ParameterSet.h
RPCSynchronizer::N_BX
int N_BX
Definition:
RPCSynchronizer.h:65
CLHEP
Definition:
CocoaGlobals.h:27
RPCSynchronizer::timOff
double timOff
Definition:
RPCSynchronizer.h:50
RPCSynchronizer::getSmearedTime
double getSmearedTime() const
Definition:
RPCSynchronizer.h:46
RPCSynchronizer::getRPCSimSetUp
RPCSimSetUp * getRPCSimSetUp()
Definition:
RPCSynchronizer.h:44
Service.h
RPCSynchronizer::the_exact_time
double the_exact_time
Definition:
RPCSynchronizer.h:62
RPCSynchronizer::cosmicPar
double cosmicPar
Definition:
RPCSynchronizer.h:57
RPCSynchronizer::sspeed
double sspeed
Definition:
RPCSynchronizer.h:53
RPCSimSetUp
Definition:
RPCSimSetUp.h:28
EDAnalyzer.h
RPCSynchronizer::LHCGate
double LHCGate
Definition:
RPCSynchronizer.h:58
RPCSynchronizer::irpc_electronics_jitter
double irpc_electronics_jitter
Definition:
RPCSynchronizer.h:61
edm
HLT enums.
Definition:
AlignableModifier.h:19
PSimHit
Definition:
PSimHit.h:15
RPCSynchronizer::resEle
double resEle
Definition:
RPCSynchronizer.h:52
RPCSynchronizer::resRPC
double resRPC
Definition:
RPCSynchronizer.h:49
edm::ParameterSet
Definition:
ParameterSet.h:36
RPCSynchronizer::lbGate
double lbGate
Definition:
RPCSynchronizer.h:55
RPCSynchronizer::dtimCs
double dtimCs
Definition:
RPCSynchronizer.h:51
Generated for CMSSW Reference Manual by
1.8.11