SimCalorimetry
HcalSimAlgos
interface
HFSimParameters.h
Go to the documentation of this file.
1
#ifndef HcalSimAlgos_HFSimParameters_h
2
#define HcalSimAlgos_HFSimParameters_h
3
4
#include "
SimCalorimetry/CaloSimAlgos/interface/CaloSimParameters.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
CalibFormats/HcalObjects/interface/HcalDbService.h
"
7
8
class
HFSimParameters
:
public
CaloSimParameters
{
9
public
:
10
HFSimParameters
(
double
simHitToPhotoelectrons
,
11
double
photoelectronsToAnalog
,
12
double
samplingFactor
,
13
double
timePhase
,
14
bool
syncPhase
);
15
HFSimParameters
(
const
edm::ParameterSet
&
p
);
16
17
~HFSimParameters
()
override
{}
18
19
void
setDbService
(
const
HcalDbService
*
service
) {
theDbService
=
service
; }
20
21
double
photoelectronsToAnalog
(
const
DetId
& detId)
const override
;
22
23
double
fCtoGeV
(
const
DetId
& detId)
const
;
24
25
double
samplingFactor
()
const
;
26
27
private
:
28
const
HcalDbService
*
theDbService
;
29
double
theSamplingFactor
;
30
};
31
32
#endif
service
Definition:
service.py:1
HFSimParameters::fCtoGeV
double fCtoGeV(const DetId &detId) const
Definition:
HFSimParameters.cc:28
HFSimParameters
Definition:
HFSimParameters.h:8
CaloSimParameters::photoelectronsToAnalog
double photoelectronsToAnalog() const
the factor which goes from photoelectrons to whatever gets read by ADCs
Definition:
CaloSimParameters.h:38
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
HFSimParameters::setDbService
void setDbService(const HcalDbService *service)
Definition:
HFSimParameters.h:19
CaloSimParameters.h
CaloSimParameters::simHitToPhotoelectrons
double simHitToPhotoelectrons() const
Definition:
CaloSimParameters.h:34
CaloSimParameters::timePhase
double timePhase() const
the adjustment you need to apply to get the signal where you want it
Definition:
CaloSimParameters.h:42
HFSimParameters::samplingFactor
double samplingFactor() const
Definition:
HFSimParameters.cc:47
HFSimParameters::HFSimParameters
HFSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, bool syncPhase)
Definition:
HFSimParameters.cc:10
DetId
Definition:
DetId.h:17
CaloSimParameters
Main class for Parameters in different subdetectors.
Definition:
CaloSimParameters.h:14
edm::ParameterSet
Definition:
ParameterSet.h:36
HFSimParameters::theSamplingFactor
double theSamplingFactor
Definition:
HFSimParameters.h:29
CaloSimParameters::syncPhase
bool syncPhase() const
Definition:
CaloSimParameters.h:58
HFSimParameters::theDbService
const HcalDbService * theDbService
Definition:
HFSimParameters.h:28
HcalDbService
Definition:
HcalDbService.h:26
HFSimParameters::~HFSimParameters
~HFSimParameters() override
Definition:
HFSimParameters.h:17
HcalDbService.h
ParameterSet.h
Generated for CMSSW Reference Manual by
1.8.16