Main Page
Namespaces
Classes
Package Documentation
SimG4CMS
Forward
interface
CastorSD.h
Go to the documentation of this file.
1
#ifndef Forward_CastorSD_h
2
#define Forward_CastorSD_h
3
// -*- C++ -*-
4
//
5
// Package: Forward
6
// Class : CastorSD
7
//
16
//
17
// Original Author:
18
// Created: Tue May 16 10:14:34 CEST 2006
19
20
// system include files
21
22
// user include files
23
24
#include "
SimG4CMS/Calo/interface/CaloSD.h
"
25
#include "
SimG4CMS/Forward/interface/CastorShowerLibrary.h
"
26
#include "
SimG4CMS/Forward/interface/CastorNumberingScheme.h
"
27
#include "
SimDataFormats/CaloHit/interface/CastorShowerEvent.h
"
28
#include "G4LogicalVolume.hh"
29
30
class
CastorSD
:
public
CaloSD
{
31
public
:
32
CastorSD
(
const
std::string
&,
33
const
edm::EventSetup
&,
34
const
SensitiveDetectorCatalog
&clg,
35
edm::ParameterSet
const
&,
36
const
SimTrackManager
*);
37
~CastorSD
()
override
;
38
uint32_t
setDetUnitId
(
const
G4Step *
step
)
override
;
39
void
setNumberingScheme
(
CastorNumberingScheme
*
scheme
);
40
41
protected
:
42
double
getEnergyDeposit
(
const
G4Step *)
override
;
43
bool
getFromLibrary
(
const
G4Step *)
override
;
44
45
private
:
46
uint32_t
rotateUnitID
(uint32_t,
const
G4Track *,
const
CastorShowerEvent
&);
47
CastorNumberingScheme
*
numberingScheme
;
48
CastorShowerLibrary
*
showerLibrary
;
49
G4LogicalVolume *
lvC3EF
, *
lvC3HF
, *
lvC4EF
, *
lvC4HF
;
50
G4LogicalVolume *
lvCAST
;
// Pointer for CAST sensitive volume (SL trigger)
51
52
bool
useShowerLibrary
;
53
double
energyThresholdSL
;
54
double
non_compensation_factor
;
55
};
56
57
#endif // CastorSD_h
CaloSD.h
CastorShowerEvent.h
CastorSD
Definition:
CastorSD.h:30
CastorSD::getEnergyDeposit
double getEnergyDeposit(const G4Step *) override
Definition:
CastorSD.cc:93
CastorNumberingScheme.h
CaloSD
Definition:
CaloSD.h:38
CastorSD::setDetUnitId
uint32_t setDetUnitId(const G4Step *step) override
Definition:
CastorSD.cc:279
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CastorSD::non_compensation_factor
double non_compensation_factor
Definition:
CastorSD.h:54
CastorShowerLibrary.h
CastorSD::numberingScheme
CastorNumberingScheme * numberingScheme
Definition:
CastorSD.h:47
CastorSD::useShowerLibrary
bool useShowerLibrary
Definition:
CastorSD.h:52
CastorSD::lvC4HF
G4LogicalVolume * lvC4HF
Definition:
CastorSD.h:49
CastorSD::getFromLibrary
bool getFromLibrary(const G4Step *) override
Definition:
CastorSD.cc:357
edm::EventSetup
Definition:
EventSetup.h:57
CastorSD::lvC3HF
G4LogicalVolume * lvC3HF
Definition:
CastorSD.h:49
SensitiveDetectorCatalog
Definition:
SensitiveDetectorCatalog.h:10
CastorSD::energyThresholdSL
double energyThresholdSL
Definition:
CastorSD.h:53
CastorSD::lvC4EF
G4LogicalVolume * lvC4EF
Definition:
CastorSD.h:49
CastorSD::rotateUnitID
uint32_t rotateUnitID(uint32_t, const G4Track *, const CastorShowerEvent &)
Definition:
CastorSD.cc:295
CastorSD::~CastorSD
~CastorSD() override
Definition:
CastorSD.cc:89
CastorSD::lvCAST
G4LogicalVolume * lvCAST
Definition:
CastorSD.h:50
CastorSD::showerLibrary
CastorShowerLibrary * showerLibrary
Definition:
CastorSD.h:48
generator_cfi.scheme
scheme
Definition:
generator_cfi.py:22
CastorSD::setNumberingScheme
void setNumberingScheme(CastorNumberingScheme *scheme)
Definition:
CastorSD.cc:285
CastorSD::lvC3EF
G4LogicalVolume * lvC3EF
Definition:
CastorSD.h:49
CastorShowerLibrary
Definition:
CastorShowerLibrary.h:28
CastorNumberingScheme
Definition:
CastorNumberingScheme.h:30
edm::ParameterSet
Definition:
ParameterSet.h:36
step
step
Definition:
StallMonitor.cc:94
CastorShowerEvent
Definition:
CastorShowerEvent.h:15
SimTrackManager
Definition:
SimTrackManager.h:35
CastorSD::CastorSD
CastorSD(const std::string &, const edm::EventSetup &, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &, const SimTrackManager *)
Definition:
CastorSD.cc:31
Generated for CMSSW Reference Manual by
1.8.11