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