Main Page
Namespaces
Classes
Package Documentation
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 "
SimG4CMS/Calo/interface/CaloSD.h
"
11
#include "
Geometry/EcalCommonData/interface/EcalNumberingScheme.h
"
12
13
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
14
15
//#include "G4String.hh"
16
#include <map>
17
18
class
EcalBaseNumber
;
19
20
class
EcalTBH4BeamSD
:
public
CaloSD
{
21
22
public
:
23
24
EcalTBH4BeamSD
(
const
std::string
&,
const
DDCompactView
&,
const
SensitiveDetectorCatalog
&,
25
edm::ParameterSet
const
&,
const
SimTrackManager
*);
26
~EcalTBH4BeamSD
()
override
;
27
uint32_t
setDetUnitId
(
const
G4Step*
step
)
override
;
28
void
setNumberingScheme
(
EcalNumberingScheme
* scheme);
29
30
protected
:
31
double
getEnergyDeposit
(
const
G4Step*)
override
;
32
33
private
:
34
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
44
#endif // EcalTBH4BeamSD_h
CaloSD.h
MessageLogger.h
CaloSD
Definition:
CaloSD.h:37
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalTBH4BeamSD::birk3
double birk3
Definition:
EcalTBH4BeamSD.h:39
EcalTBH4BeamSD::birk1
double birk1
Definition:
EcalTBH4BeamSD.h:39
EcalTBH4BeamSD::birk2
double birk2
Definition:
EcalTBH4BeamSD.h:39
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:80
EcalTBH4BeamSD::getEnergyDeposit
double getEnergyDeposit(const G4Step *) override
Definition:
EcalTBH4BeamSD.cc:53
EcalTBH4BeamSD::setDetUnitId
uint32_t setDetUnitId(const G4Step *step) override
Definition:
EcalTBH4BeamSD.cc:66
EcalNumberingScheme
Definition:
EcalNumberingScheme.h:14
EcalTBH4BeamSD::setNumberingScheme
void setNumberingScheme(EcalNumberingScheme *scheme)
Definition:
EcalTBH4BeamSD.cc:71
EcalTBH4BeamSD::EcalTBH4BeamSD
EcalTBH4BeamSD(const std::string &, const DDCompactView &, 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:8
EcalTBH4BeamSD
Definition:
EcalTBH4BeamSD.h:20
EcalTBH4BeamSD::theBaseNumber
EcalBaseNumber theBaseNumber
Definition:
EcalTBH4BeamSD.h:40
EcalBaseNumber
Definition:
EcalBaseNumber.h:12
EcalTBH4BeamSD::~EcalTBH4BeamSD
~EcalTBH4BeamSD() override
Definition:
EcalTBH4BeamSD.cc:49
EcalTBH4BeamSD::useBirk
bool useBirk
Definition:
EcalTBH4BeamSD.h:38
EcalTBH4BeamSD::getBaseNumber
void getBaseNumber(const G4Step *aStep)
Definition:
EcalTBH4BeamSD.cc:81
edm::ParameterSet
Definition:
ParameterSet.h:36
step
step
Definition:
StallMonitor.cc:105
EcalTBH4BeamSD::useWeight
bool useWeight
Definition:
EcalTBH4BeamSD.h:37
SimTrackManager
Definition:
SimTrackManager.h:35
Generated for CMSSW Reference Manual by
1.8.11