SimG4CMS
EcalTestBeam
interface
EcalTBH4BeamSD.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_EcalTBH4BeamSD_h
2
#define SimG4CMS_EcalTBH4BeamSD_h
3
// File: EcalTBH4BeamSD.h
5
// Description: Stores hits of TBH4 hodoscope fibers in appropriate
6
// container
7
// Use in your sensitive detector builder:
9
10
#include "
Geometry/EcalCommonData/interface/EcalNumberingScheme.h
"
11
#include "
SimG4CMS/Calo/interface/CaloSD.h
"
12
13
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
14
#include "
FWCore/ParameterSet/interface/ParameterSetfwd.h
"
15
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
16
17
#include <map>
18
19
class
EcalBaseNumber
;
20
21
class
EcalTBH4BeamSD
:
public
CaloSD
{
22
public
:
23
EcalTBH4BeamSD
(
const
std::string
&,
24
const
SensitiveDetectorCatalog
&,
25
edm::ParameterSet
const
&,
26
const
SimTrackManager
*);
27
~EcalTBH4BeamSD
()
override
;
28
uint32_t
setDetUnitId
(
const
G4Step *
step
)
override
;
29
void
setNumberingScheme
(
EcalNumberingScheme
*
scheme
);
30
31
protected
:
32
double
getEnergyDeposit
(
const
G4Step *)
override
;
33
34
private
:
35
void
getBaseNumber
(
const
G4Step *aStep);
36
EcalNumberingScheme
*
numberingScheme
;
37
bool
useWeight
;
38
bool
useBirk
;
39
double
birk1
,
birk2
,
birk3
;
40
EcalBaseNumber
theBaseNumber
;
41
};
42
43
#endif // EcalTBH4BeamSD_h
CaloSD.h
MessageLogger.h
CaloSD
Definition:
CaloSD.h:40
EcalTBH4BeamSD::birk3
double birk3
Definition:
EcalTBH4BeamSD.h:39
EcalTBH4BeamSD::birk1
double birk1
Definition:
EcalTBH4BeamSD.h:39
EcalTBH4BeamSD::birk2
double birk2
Definition:
EcalTBH4BeamSD.h:39
Frameworkfwd.h
ParameterSetfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalTBH4BeamSD::getEnergyDeposit
double getEnergyDeposit(const G4Step *) override
Definition:
EcalTBH4BeamSD.cc:53
EcalTBH4BeamSD::setDetUnitId
uint32_t setDetUnitId(const G4Step *step) override
Definition:
EcalTBH4BeamSD.cc:65
EcalNumberingScheme
Definition:
EcalNumberingScheme.h:14
EcalTBH4BeamSD::setNumberingScheme
void setNumberingScheme(EcalNumberingScheme *scheme)
Definition:
EcalTBH4BeamSD.cc:70
EcalTBH4BeamSD::EcalTBH4BeamSD
EcalTBH4BeamSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition:
EcalTBH4BeamSD.cc:22
EcalNumberingScheme.h
EcalTBH4BeamSD::numberingScheme
EcalNumberingScheme * numberingScheme
Definition:
EcalTBH4BeamSD.h:36
SensitiveDetectorCatalog
Definition:
SensitiveDetectorCatalog.h:10
EcalTBH4BeamSD
Definition:
EcalTBH4BeamSD.h:21
EcalTBH4BeamSD::theBaseNumber
EcalBaseNumber theBaseNumber
Definition:
EcalTBH4BeamSD.h:40
EcalBaseNumber
Definition:
EcalBaseNumber.h:12
generator_cfi.scheme
scheme
Definition:
generator_cfi.py:22
EcalTBH4BeamSD::~EcalTBH4BeamSD
~EcalTBH4BeamSD() override
Definition:
EcalTBH4BeamSD.cc:48
EcalTBH4BeamSD::useBirk
bool useBirk
Definition:
EcalTBH4BeamSD.h:38
EcalTBH4BeamSD::getBaseNumber
void getBaseNumber(const G4Step *aStep)
Definition:
EcalTBH4BeamSD.cc:79
edm::ParameterSet
Definition:
ParameterSet.h:47
step
step
Definition:
StallMonitor.cc:98
EcalTBH4BeamSD::useWeight
bool useWeight
Definition:
EcalTBH4BeamSD.h:37
SimTrackManager
Definition:
SimTrackManager.h:35
Generated for CMSSW Reference Manual by
1.8.14