Alignment
CocoaDDLObjects
interface
CocoaSolidShapeBox.h
Go to the documentation of this file.
1
// COCOA class header file
2
// Id: CocoaSolidShapeBox.h
3
//
4
// History: v1.0
5
// Pedro Arce
6
7
#ifndef _CocoaSolidShapeBox_HH
8
#define _CocoaSolidShapeBox_HH
9
10
#include "
Alignment/CocoaDDLObjects/interface/CocoaSolidShape.h
"
11
#include "
Alignment/CocoaUtilities/interface/CocoaGlobals.h
"
12
13
class
CocoaSolidShapeBox
:
public
CocoaSolidShape
{
14
public
:
15
//---------- Constructors / Destructor
16
CocoaSolidShapeBox
(
ALIstring
type
,
ALIfloat
xdim,
ALIfloat
ydim,
ALIfloat
zdim);
17
~CocoaSolidShapeBox
()
override
{};
18
19
ALIfloat
getXHalfLength
()
const
{
return
theXHalfLength
; }
20
ALIfloat
getYHalfLength
()
const
{
return
theYHalfLength
; }
21
ALIfloat
getZHalfLength
()
const
{
return
theZHalfLength
; }
22
23
private
:
24
ALIfloat
theXHalfLength
;
25
ALIfloat
theYHalfLength
;
26
ALIfloat
theZHalfLength
;
27
};
28
29
#endif
ALIstring
std::string ALIstring
Definition:
CocoaGlobals.h:9
CocoaSolidShapeBox::getZHalfLength
ALIfloat getZHalfLength() const
Definition:
CocoaSolidShapeBox.h:21
CocoaSolidShapeBox
Definition:
CocoaSolidShapeBox.h:13
CocoaSolidShapeBox::theYHalfLength
ALIfloat theYHalfLength
Definition:
CocoaSolidShapeBox.h:25
CocoaSolidShapeBox::CocoaSolidShapeBox
CocoaSolidShapeBox(ALIstring type, ALIfloat xdim, ALIfloat ydim, ALIfloat zdim)
Definition:
CocoaSolidShapeBox.cc:12
CocoaSolidShapeBox::theZHalfLength
ALIfloat theZHalfLength
Definition:
CocoaSolidShapeBox.h:26
CocoaSolidShapeBox::~CocoaSolidShapeBox
~CocoaSolidShapeBox() override
Definition:
CocoaSolidShapeBox.h:17
CocoaSolidShapeBox::getXHalfLength
ALIfloat getXHalfLength() const
Definition:
CocoaSolidShapeBox.h:19
CocoaSolidShape.h
type
type
Definition:
HCALResponse.h:21
CocoaSolidShape
Definition:
CocoaSolidShape.h:16
CocoaGlobals.h
CocoaSolidShapeBox::theXHalfLength
ALIfloat theXHalfLength
Definition:
CocoaSolidShapeBox.h:24
CocoaSolidShapeBox::getYHalfLength
ALIfloat getYHalfLength() const
Definition:
CocoaSolidShapeBox.h:20
ALIfloat
float ALIfloat
Definition:
CocoaGlobals.h:13
Generated for CMSSW Reference Manual by
1.8.16