src
Geometry
ForwardGeometry
interface
CastorHardcodeGeometryLoader.h
Go to the documentation of this file.
1
#ifndef Geometry_ForwardGeometry_CastorHardcodeGeometryLoader_H
2
#define Geometry_ForwardGeometry_CastorHardcodeGeometryLoader_H 1
3
4
#include "
Geometry/CaloGeometry/interface/CaloVGeometryLoader.h
"
5
#include "
Geometry/ForwardGeometry/interface/CastorTopology.h
"
6
7
class
CaloCellGeometry
;
8
class
CaloSubdetectorGeometry
;
9
class
HcalCastorDetId
;
10
11
class
CastorHardcodeGeometryLoader
{
12
public
:
13
CastorHardcodeGeometryLoader
();
14
explicit
CastorHardcodeGeometryLoader
(
const
CastorTopology
& ht);
15
virtual
~CastorHardcodeGeometryLoader
() {
delete
theTopology
; };
16
17
virtual
std::unique_ptr<CaloSubdetectorGeometry>
load
(
DetId::Detector
det,
int
subdet);
18
std::unique_ptr<CaloSubdetectorGeometry>
load
();
19
20
private
:
21
void
init
();
22
void
fill
(
HcalCastorDetId::Section
section
,
CaloSubdetectorGeometry
* cg);
23
void
makeCell
(
const
HcalCastorDetId
&
detId
,
CaloSubdetectorGeometry
*
geom
)
const
;
24
25
CastorTopology
*
theTopology
;
26
const
CastorTopology
*
extTopology
;
27
28
float
theEMSectiondX
;
29
float
theEMSectiondY
;
30
float
theEMSectiondZ
;
31
float
theHADSectiondX
;
32
float
theHADSectiondY
;
33
float
theHADSectiondZ
;
34
};
35
36
#endif
CaloCellGeometry
Definition:
CaloCellGeometry.h:50
CastorHardcodeGeometryLoader::extTopology
const CastorTopology * extTopology
Definition:
CastorHardcodeGeometryLoader.h:26
CastorHardcodeGeometryLoader::CastorHardcodeGeometryLoader
CastorHardcodeGeometryLoader()
Definition:
CastorHardcodeGeometryLoader.cc:12
CastorHardcodeGeometryLoader::theEMSectiondZ
float theEMSectiondZ
Definition:
CastorHardcodeGeometryLoader.h:30
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:22
CastorHardcodeGeometryLoader
Definition:
CastorHardcodeGeometryLoader.h:11
CastorHardcodeGeometryLoader::theHADSectiondY
float theHADSectiondY
Definition:
CastorHardcodeGeometryLoader.h:32
HcalCastorDetId
Definition:
HcalCastorDetId.h:23
CastorHardcodeGeometryLoader::theEMSectiondY
float theEMSectiondY
Definition:
CastorHardcodeGeometryLoader.h:29
HcalCastorDetId::Section
Section
Definition:
HcalCastorDetId.h:25
CaloVGeometryLoader.h
CastorHardcodeGeometryLoader::fill
void fill(HcalCastorDetId::Section section, CaloSubdetectorGeometry *cg)
Definition:
CastorHardcodeGeometryLoader.cc:47
CastorHardcodeGeometryLoader::makeCell
void makeCell(const HcalCastorDetId &detId, CaloSubdetectorGeometry *geom) const
Definition:
CastorHardcodeGeometryLoader.cc:79
CastorHardcodeGeometryLoader::theHADSectiondX
float theHADSectiondX
Definition:
CastorHardcodeGeometryLoader.h:31
hgcalPlots.section
section
Definition:
hgcalPlots.py:2715
CastorHardcodeGeometryLoader::theTopology
CastorTopology * theTopology
Definition:
CastorHardcodeGeometryLoader.h:25
CastorHardcodeGeometryLoader::~CastorHardcodeGeometryLoader
virtual ~CastorHardcodeGeometryLoader()
Definition:
CastorHardcodeGeometryLoader.h:15
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
hcalRecHitTable_cff.detId
detId
Definition:
hcalRecHitTable_cff.py:12
CastorTopology.h
CastorHardcodeGeometryLoader::load
std::unique_ptr< CaloSubdetectorGeometry > load()
Definition:
CastorHardcodeGeometryLoader.cc:40
DetId::Detector
Detector
Definition:
DetId.h:24
CastorHardcodeGeometryLoader::theHADSectiondZ
float theHADSectiondZ
Definition:
CastorHardcodeGeometryLoader.h:33
CastorHardcodeGeometryLoader::theEMSectiondX
float theEMSectiondX
Definition:
CastorHardcodeGeometryLoader.h:28
CastorTopology
Definition:
CastorTopology.h:13
CastorHardcodeGeometryLoader::init
void init()
Definition:
CastorHardcodeGeometryLoader.cc:22
Generated for CMSSW Reference Manual by
1.8.14