SimCalorimetry
CastorSim
src
CastorSimParameterMap.h
Go to the documentation of this file.
1
#ifndef CastorSim_CastorSimParameterMap_h
2
#define CastorSim_CastorSimParameterMap_h
3
4
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
SimCalorimetry/CaloSimAlgos/interface/CaloVSimParameterMap.h
"
7
#include "
SimCalorimetry/CastorSim/src/CastorSimParameters.h
"
8
9
class
CastorSimParameterMap
:
public
CaloVSimParameterMap
{
10
public
:
12
CastorSimParameterMap
();
14
CastorSimParameterMap
(
const
edm::ParameterSet
&
p
);
15
16
~CastorSimParameterMap
()
override
{}
17
18
const
CaloSimParameters
&
simParameters
(
const
DetId
&
id
)
const override
;
19
21
// CaloSimParameters castorParameters() const {return theCastorParameters;}
22
CastorSimParameters
castorParameters
()
const
{
return
theCastorParameters
; }
23
24
void
setDbService
(
const
CastorDbService
*
service
);
25
26
private
:
27
CastorSimParameters
theCastorParameters
;
28
};
29
30
#endif
service
Definition:
service.py:1
CaloVSimParameterMap
Definition:
CaloVSimParameterMap.h:7
CastorSimParameterMap::~CastorSimParameterMap
~CastorSimParameterMap() override
Definition:
CastorSimParameterMap.h:16
CastorSimParameterMap::simParameters
const CaloSimParameters & simParameters(const DetId &id) const override
Definition:
CastorSimParameterMap.cc:20
DetId
Definition:
DetId.h:17
CastorSimParameterMap
Definition:
CastorSimParameterMap.h:9
CastorSimParameterMap::theCastorParameters
CastorSimParameters theCastorParameters
Definition:
CastorSimParameterMap.h:27
CaloSimParameters
Main class for Parameters in different subdetectors.
Definition:
CaloSimParameters.h:14
CastorSimParameterMap::setDbService
void setDbService(const CastorDbService *service)
Definition:
CastorSimParameterMap.cc:33
edm::ParameterSet
Definition:
ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
HcalDetId.h
CastorSimParameterMap::castorParameters
CastorSimParameters castorParameters() const
accessors
Definition:
CastorSimParameterMap.h:22
CastorSimParameterMap::CastorSimParameterMap
CastorSimParameterMap()
hardcoded default parameters
Definition:
CastorSimParameterMap.cc:9
CastorDbService
Definition:
CastorDbService.h:25
CaloVSimParameterMap.h
ParameterSet.h
CastorSimParameters.h
CastorSimParameters
Definition:
CastorSimParameters.h:8
Generated for CMSSW Reference Manual by
1.8.16