SimCalorimetry
CastorSim
src
CastorAmplifier.h
Go to the documentation of this file.
1
#ifndef CastorSim_CastorAmplifier_h
2
#define CastorSim_CastorAmplifier_h
3
4
#include "
CalibFormats/CaloObjects/interface/CaloSamples.h
"
5
#include "
SimCalorimetry/CastorSim/src/CastorSimParameterMap.h
"
6
7
class
CastorDbService
;
8
9
namespace
CLHEP
{
10
class
HepRandomEngine;
11
}
12
13
class
CastorAmplifier
{
14
public
:
15
CastorAmplifier
(
const
CastorSimParameterMap
*
parameters
,
bool
addNoise);
16
virtual
~CastorAmplifier
() {}
17
19
void
setDbService
(
const
CastorDbService
*
service
) {
theDbService
=
service
; }
20
21
virtual
void
amplify
(
CaloSamples
&linearFrame, CLHEP::HepRandomEngine *)
const
;
22
23
void
setStartingCapId
(
int
capId) {
theStartingCapId
= capId; }
24
25
private
:
26
const
CastorDbService
*
theDbService
;
27
const
CastorSimParameterMap
*
theParameterMap
;
28
29
unsigned
theStartingCapId
;
30
bool
addNoise_
;
31
};
32
33
#endif
CastorAmplifier::~CastorAmplifier
virtual ~CastorAmplifier()
Definition:
CastorAmplifier.h:16
service
Definition:
service.py:1
BeamSpotPI::parameters
parameters
Definition:
BeamSpotPayloadInspectorHelper.h:30
CastorSimParameterMap.h
CastorAmplifier::addNoise_
bool addNoise_
Definition:
CastorAmplifier.h:30
CaloSamples.h
CastorSimParameterMap
Definition:
CastorSimParameterMap.h:9
CastorAmplifier::setStartingCapId
void setStartingCapId(int capId)
Definition:
CastorAmplifier.h:23
CastorAmplifier::theParameterMap
const CastorSimParameterMap * theParameterMap
Definition:
CastorAmplifier.h:27
CLHEP
Definition:
CocoaGlobals.h:27
CastorAmplifier::theStartingCapId
unsigned theStartingCapId
Definition:
CastorAmplifier.h:29
CastorAmplifier::CastorAmplifier
CastorAmplifier(const CastorSimParameterMap *parameters, bool addNoise)
Definition:
CastorAmplifier.cc:16
CastorDbService
Definition:
CastorDbService.h:28
CaloSamples
Definition:
CaloSamples.h:14
CastorAmplifier
Definition:
CastorAmplifier.h:13
CastorAmplifier::amplify
virtual void amplify(CaloSamples &linearFrame, CLHEP::HepRandomEngine *) const
Definition:
CastorAmplifier.cc:19
CastorAmplifier::setDbService
void setDbService(const CastorDbService *service)
the Producer will probably update this every event
Definition:
CastorAmplifier.h:19
CastorAmplifier::theDbService
const CastorDbService * theDbService
Definition:
CastorAmplifier.h:26
Generated for CMSSW Reference Manual by
1.8.16