SimG4CMS
Calo
interface
HGCScintSD.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_HGCScintSD_h
2
#define SimG4CMS_HGCScintSD_h
3
// File: HGCScintSD.h
5
// Description: Stores hits of the High Granularity Calorimeter (HGC) in the
6
// appropriate container (post TDR version)
8
9
#include "
SimG4CMS/Calo/interface/CaloSD.h
"
10
#include "
SimG4Core/Notification/interface/BeginOfJob.h
"
11
#include "
SimG4CMS/Calo/interface/HGCalNumberingScheme.h
"
12
13
#include <string>
14
15
class
HGCalDDDConstants
;
16
class
G4LogicalVolume;
17
class
G4Step;
18
19
class
HGCScintSD
:
public
CaloSD
,
public
Observer
<const BeginOfJob *> {
20
public
:
21
HGCScintSD
(
const
std::string
&,
22
const
edm::EventSetup
&,
23
const
SensitiveDetectorCatalog
&,
24
edm::ParameterSet
const
&,
25
const
SimTrackManager
*);
26
~HGCScintSD
()
override
=
default
;
27
28
uint32_t
setDetUnitId
(
const
G4Step *
step
)
override
;
29
30
protected
:
31
double
getEnergyDeposit
(
const
G4Step *)
override
;
32
using
CaloSD::update
;
33
void
update
(
const
BeginOfJob
*)
override
;
34
void
initRun
()
override
;
35
bool
filterHit
(
CaloG4Hit
*,
double
)
override
;
36
37
private
:
38
uint32_t
setDetUnitId
(
int
,
int
,
int
,
int
, G4ThreeVector &);
39
bool
isItinFidVolume
(
const
G4ThreeVector &);
40
41
const
HGCalDDDConstants
*
hgcons_
;
42
std::unique_ptr<HGCalNumberingScheme>
numberingScheme_
;
43
DetId::Detector
mydet_
;
44
std::string
nameX_
;
45
HGCalGeometryMode::GeometryMode
geom_mode_
;
46
double
eminHit_
,
slopeMin_
,
distanceFromEdge_
;
47
int
levelT1_
,
levelT2_
;
48
bool
storeAllG4Hits_
,
fiducialCut_
;
49
bool
useBirk_
;
50
double
birk1_
,
birk2_
,
birk3_
,
weight_
;
51
};
52
53
#endif // HGCScintSD_h
HGCScintSD::eminHit_
double eminHit_
Definition:
HGCScintSD.h:46
SimTrackManager
Definition:
SimTrackManager.h:35
Observer
Definition:
Observer.h:23
BeginOfJob.h
step
step
Definition:
StallMonitor.cc:94
HGCScintSD::weight_
double weight_
Definition:
HGCScintSD.h:50
HGCScintSD::isItinFidVolume
bool isItinFidVolume(const G4ThreeVector &)
Definition:
HGCScintSD.cc:214
CaloSD::update
void update(const BeginOfRun *) override
This routine will be called when the appropriate signal arrives.
Definition:
CaloSD.cc:539
HGCScintSD::slopeMin_
double slopeMin_
Definition:
HGCScintSD.h:46
HGCScintSD::getEnergyDeposit
double getEnergyDeposit(const G4Step *) override
Definition:
HGCScintSD.cc:94
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:26
HGCalNumberingScheme.h
HGCScintSD::numberingScheme_
std::unique_ptr< HGCalNumberingScheme > numberingScheme_
Definition:
HGCScintSD.h:42
HGCScintSD::mydet_
DetId::Detector mydet_
Definition:
HGCScintSD.h:43
HGCScintSD::filterHit
bool filterHit(CaloG4Hit *, double) override
Definition:
HGCScintSD.cc:205
HGCScintSD::birk2_
double birk2_
Definition:
HGCScintSD.h:50
HGCScintSD::nameX_
std::string nameX_
Definition:
HGCScintSD.h:44
SensitiveDetectorCatalog
Definition:
SensitiveDetectorCatalog.h:10
BeginOfJob
Definition:
BeginOfJob.h:8
HGCScintSD::geom_mode_
HGCalGeometryMode::GeometryMode geom_mode_
Definition:
HGCScintSD.h:45
HGCScintSD::~HGCScintSD
~HGCScintSD() override=default
HGCScintSD::update
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
Definition:
HGCScintSD.cc:182
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HGCScintSD::birk3_
double birk3_
Definition:
HGCScintSD.h:50
HGCScintSD::birk1_
double birk1_
Definition:
HGCScintSD.h:50
HGCScintSD::storeAllG4Hits_
bool storeAllG4Hits_
Definition:
HGCScintSD.h:48
edm::ParameterSet
Definition:
ParameterSet.h:47
CaloSD.h
HGCScintSD::distanceFromEdge_
double distanceFromEdge_
Definition:
HGCScintSD.h:46
HGCalGeometryMode::GeometryMode
GeometryMode
Definition:
HGCalGeometryMode.h:25
HGCScintSD
Definition:
HGCScintSD.h:19
HGCScintSD::setDetUnitId
uint32_t setDetUnitId(const G4Step *step) override
Definition:
HGCScintSD.cc:127
DetId::Detector
Detector
Definition:
DetId.h:24
edm::EventSetup
Definition:
EventSetup.h:57
CaloG4Hit
Definition:
CaloG4Hit.h:32
HGCScintSD::levelT2_
int levelT2_
Definition:
HGCScintSD.h:47
HGCScintSD::HGCScintSD
HGCScintSD(const std::string &, const edm::EventSetup &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition:
HGCScintSD.cc:33
HGCScintSD::useBirk_
bool useBirk_
Definition:
HGCScintSD.h:49
HGCScintSD::levelT1_
int levelT1_
Definition:
HGCScintSD.h:47
HGCScintSD::hgcons_
const HGCalDDDConstants * hgcons_
Definition:
HGCScintSD.h:41
HGCScintSD::initRun
void initRun() override
Definition:
HGCScintSD.cc:203
HGCScintSD::fiducialCut_
bool fiducialCut_
Definition:
HGCScintSD.h:48
CaloSD
Definition:
CaloSD.h:38
Generated for CMSSW Reference Manual by
1.8.16