SimCalorimetry
CastorSim
src
CastorSimParameters.h
Go to the documentation of this file.
1
#ifndef CastorSim_CastorSimParameters_h
2
#define CastorSim_CastorSimParameters_h
3
4
#include "
CalibFormats/CastorObjects/interface/CastorDbService.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
SimCalorimetry/CaloSimAlgos/interface/CaloSimParameters.h
"
7
8
class
CastorSimParameters
:
public
CaloSimParameters
{
9
public
:
10
CastorSimParameters
(
double
simHitToPhotoelectrons
,
11
double
photoelectronsToAnalog
,
12
double
samplingFactor
,
13
double
timePhase
,
14
bool
syncPhase
);
15
CastorSimParameters
(
const
edm::ParameterSet
&
p
);
16
17
~CastorSimParameters
()
override
{}
18
19
void
setDbService
(
const
CastorDbService
*
service
) {
theDbService
=
service
; }
20
21
double
getNominalfCperPE
()
const
;
22
23
double
photoelectronsToAnalog
(
const
DetId
&detId)
const override
;
24
25
double
fCtoGeV
(
const
DetId
&detId)
const
;
26
27
private
:
28
const
CastorDbService
*
theDbService
;
29
double
theSamplingFactor
;
30
double
nominalfCperPE
;
31
};
32
33
#endif
CastorSimParameters::fCtoGeV
double fCtoGeV(const DetId &detId) const
Definition:
CastorSimParameters.cc:38
service
Definition:
service.py:1
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
ecalSimParameterMap_cff.samplingFactor
samplingFactor
Definition:
ecalSimParameterMap_cff.py:8
CastorSimParameters::theSamplingFactor
double theSamplingFactor
Definition:
CastorSimParameters.h:29
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
DetId
Definition:
DetId.h:17
CaloSimParameters
Main class for Parameters in different subdetectors.
Definition:
CaloSimParameters.h:14
CastorSimParameters::theDbService
const CastorDbService * theDbService
Definition:
CastorSimParameters.h:28
CastorSimParameters::setDbService
void setDbService(const CastorDbService *service)
Definition:
CastorSimParameters.h:19
edm::ParameterSet
Definition:
ParameterSet.h:36
CastorSimParameters::nominalfCperPE
double nominalfCperPE
Definition:
CastorSimParameters.h:30
CastorSimParameters::~CastorSimParameters
~CastorSimParameters() override
Definition:
CastorSimParameters.h:17
CastorDbService
Definition:
CastorDbService.h:28
CaloSimParameters::syncPhase
bool syncPhase() const
Definition:
CaloSimParameters.h:58
CastorSimParameters::CastorSimParameters
CastorSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, bool syncPhase)
Definition:
CastorSimParameters.cc:10
CastorDbService.h
ParameterSet.h
CastorSimParameters
Definition:
CastorSimParameters.h:8
CastorSimParameters::getNominalfCperPE
double getNominalfCperPE() const
Definition:
CastorSimParameters.cc:27
Generated for CMSSW Reference Manual by
1.8.16