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
(G4String,
const
DDCompactView
&,
const
SensitiveDetectorCatalog
&,
25
edm::ParameterSet
const
&,
const
SimTrackManager
*);
26
virtual
~EcalTBH4BeamSD
();
27
virtual
double
getEnergyDeposit
(G4Step*);
28
virtual
uint32_t
setDetUnitId
(G4Step*
step
);
29
void
setNumberingScheme
(
EcalNumberingScheme
* scheme);
30
31
private
:
32
33
void
getBaseNumber
(
const
G4Step* aStep);
34
EcalNumberingScheme
*
numberingScheme
;
35
bool
useWeight
;
36
bool
useBirk
;
37
double
birk1
,
birk2
,
birk3
;
38
EcalBaseNumber
theBaseNumber
;
39
40
};
41
42
#endif // EcalTBH4BeamSD_h
CaloSD.h
MessageLogger.h
CaloSD
Definition:
CaloSD.h:42
EcalTBH4BeamSD::setDetUnitId
virtual uint32_t setDetUnitId(G4Step *step)
Definition:
EcalTBH4BeamSD.cc:72
EcalTBH4BeamSD::birk3
double birk3
Definition:
EcalTBH4BeamSD.h:37
EcalTBH4BeamSD::birk1
double birk1
Definition:
EcalTBH4BeamSD.h:37
EcalTBH4BeamSD::birk2
double birk2
Definition:
EcalTBH4BeamSD.h:37
DDCompactView
type of data representation of DDCompactView
Definition:
DDCompactView.h:90
EcalTBH4BeamSD::~EcalTBH4BeamSD
virtual ~EcalTBH4BeamSD()
Definition:
EcalTBH4BeamSD.cc:49
EcalNumberingScheme
Definition:
EcalNumberingScheme.h:14
EcalTBH4BeamSD::setNumberingScheme
void setNumberingScheme(EcalNumberingScheme *scheme)
Definition:
EcalTBH4BeamSD.cc:77
EcalNumberingScheme.h
EcalTBH4BeamSD::numberingScheme
EcalNumberingScheme * numberingScheme
Definition:
EcalTBH4BeamSD.h:34
SensitiveDetectorCatalog
Definition:
SensitiveDetectorCatalog.h:8
EcalTBH4BeamSD
Definition:
EcalTBH4BeamSD.h:20
EcalTBH4BeamSD::theBaseNumber
EcalBaseNumber theBaseNumber
Definition:
EcalTBH4BeamSD.h:38
EcalBaseNumber
Definition:
EcalBaseNumber.h:12
EcalTBH4BeamSD::useBirk
bool useBirk
Definition:
EcalTBH4BeamSD.h:36
EcalTBH4BeamSD::getBaseNumber
void getBaseNumber(const G4Step *aStep)
Definition:
EcalTBH4BeamSD.cc:87
edm::ParameterSet
Definition:
ParameterSet.h:36
step
step
Definition:
StallMonitor.cc:104
EcalTBH4BeamSD::getEnergyDeposit
virtual double getEnergyDeposit(G4Step *)
Definition:
EcalTBH4BeamSD.cc:53
EcalTBH4BeamSD::EcalTBH4BeamSD
EcalTBH4BeamSD(G4String, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition:
EcalTBH4BeamSD.cc:22
EcalTBH4BeamSD::useWeight
bool useWeight
Definition:
EcalTBH4BeamSD.h:35
SimTrackManager
Definition:
SimTrackManager.h:34
Generated for CMSSW Reference Manual by
1.8.11