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
CastorHardcodeGeometryLoader::fill
void fill(HcalCastorDetId::Section section, CaloSubdetectorGeometry *cg)
Definition:
CastorHardcodeGeometryLoader.cc:47
CastorHardcodeGeometryLoader::theTopology
CastorTopology * theTopology
Definition:
CastorHardcodeGeometryLoader.h:25
CastorHardcodeGeometryLoader::~CastorHardcodeGeometryLoader
virtual ~CastorHardcodeGeometryLoader()
Definition:
CastorHardcodeGeometryLoader.h:15
CastorHardcodeGeometryLoader::makeCell
void makeCell(const HcalCastorDetId &detId, CaloSubdetectorGeometry *geom) const
Definition:
CastorHardcodeGeometryLoader.cc:79
CastorHardcodeGeometryLoader::theHADSectiondZ
float theHADSectiondZ
Definition:
CastorHardcodeGeometryLoader.h:33
HcalCastorDetId::Section
Section
Definition:
HcalCastorDetId.h:25
CastorHardcodeGeometryLoader::theEMSectiondX
float theEMSectiondX
Definition:
CastorHardcodeGeometryLoader.h:28
CastorHardcodeGeometryLoader::theHADSectiondX
float theHADSectiondX
Definition:
CastorHardcodeGeometryLoader.h:31
CastorHardcodeGeometryLoader::load
std::unique_ptr< CaloSubdetectorGeometry > load()
Definition:
CastorHardcodeGeometryLoader.cc:40
CastorHardcodeGeometryLoader
Definition:
CastorHardcodeGeometryLoader.h:11
CastorHardcodeGeometryLoader::init
void init()
Definition:
CastorHardcodeGeometryLoader.cc:22
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
CastorHardcodeGeometryLoader::theHADSectiondY
float theHADSectiondY
Definition:
CastorHardcodeGeometryLoader.h:32
CastorHardcodeGeometryLoader::CastorHardcodeGeometryLoader
CastorHardcodeGeometryLoader()
Definition:
CastorHardcodeGeometryLoader.cc:12
HcalCastorDetId
Definition:
HcalCastorDetId.h:23
CaloCellGeometry
Definition:
CaloCellGeometry.h:50
CastorTopology
Definition:
CastorTopology.h:13
DetId::Detector
Detector
Definition:
DetId.h:24
CaloVGeometryLoader.h
CastorHardcodeGeometryLoader::extTopology
const CastorTopology * extTopology
Definition:
CastorHardcodeGeometryLoader.h:26
CastorTopology.h
hgcalPlots.section
section
Definition:
hgcalPlots.py:2049
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:22
CastorHardcodeGeometryLoader::theEMSectiondZ
float theEMSectiondZ
Definition:
CastorHardcodeGeometryLoader.h:30
CastorHardcodeGeometryLoader::theEMSectiondY
float theEMSectiondY
Definition:
CastorHardcodeGeometryLoader.h:29
Generated for CMSSW Reference Manual by
1.8.16