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/MessageLogger/interface/MessageLogger.h
"
14
15
//#include "G4String.hh"
16
#include <map>
17
18
class
EcalBaseNumber
;
19
20
class
EcalTBH4BeamSD
:
public
CaloSD
{
21
public
:
22
EcalTBH4BeamSD
(
const
std::string
&,
23
const
edm::EventSetup
&,
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
EcalTBH4BeamSD::birk3
double birk3
Definition:
EcalTBH4BeamSD.h:39
SimTrackManager
Definition:
SimTrackManager.h:35
EcalTBH4BeamSD
Definition:
EcalTBH4BeamSD.h:20
MessageLogger.h
EcalTBH4BeamSD::birk1
double birk1
Definition:
EcalTBH4BeamSD.h:39
step
step
Definition:
StallMonitor.cc:94
EcalBaseNumber
Definition:
EcalBaseNumber.h:12
EcalTBH4BeamSD::setNumberingScheme
void setNumberingScheme(EcalNumberingScheme *scheme)
Definition:
EcalTBH4BeamSD.cc:71
EcalTBH4BeamSD::birk2
double birk2
Definition:
EcalTBH4BeamSD.h:39
EcalTBH4BeamSD::getEnergyDeposit
double getEnergyDeposit(const G4Step *) override
Definition:
EcalTBH4BeamSD.cc:54
EcalNumberingScheme
Definition:
EcalNumberingScheme.h:14
EcalNumberingScheme.h
EcalTBH4BeamSD::EcalTBH4BeamSD
EcalTBH4BeamSD(const std::string &, const edm::EventSetup &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition:
EcalTBH4BeamSD.cc:22
EcalTBH4BeamSD::setDetUnitId
uint32_t setDetUnitId(const G4Step *step) override
Definition:
EcalTBH4BeamSD.cc:66
SensitiveDetectorCatalog
Definition:
SensitiveDetectorCatalog.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
CaloSD.h
EcalTBH4BeamSD::useBirk
bool useBirk
Definition:
EcalTBH4BeamSD.h:38
EcalTBH4BeamSD::getBaseNumber
void getBaseNumber(const G4Step *aStep)
Definition:
EcalTBH4BeamSD.cc:80
edm::EventSetup
Definition:
EventSetup.h:58
generator_cfi.scheme
scheme
Definition:
generator_cfi.py:22
EcalTBH4BeamSD::theBaseNumber
EcalBaseNumber theBaseNumber
Definition:
EcalTBH4BeamSD.h:40
EcalTBH4BeamSD::~EcalTBH4BeamSD
~EcalTBH4BeamSD() override
Definition:
EcalTBH4BeamSD.cc:49
EcalTBH4BeamSD::useWeight
bool useWeight
Definition:
EcalTBH4BeamSD.h:37
EcalTBH4BeamSD::numberingScheme
EcalNumberingScheme * numberingScheme
Definition:
EcalTBH4BeamSD.h:36
CaloSD
Definition:
CaloSD.h:38
Generated for CMSSW Reference Manual by
1.8.16