Main Page
Namespaces
Classes
Package Documentation
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
14
class
CocoaSolidShapeBox
:
public
CocoaSolidShape
15
{
16
17
public
:
18
//---------- Constructors / Destructor
19
CocoaSolidShapeBox
(
ALIstring
type
,
ALIfloat
xdim,
ALIfloat
ydim,
ALIfloat
zdim );
20
~CocoaSolidShapeBox
()
override
{ };
21
22
ALIfloat
getXHalfLength
()
const
{
23
return
theXHalfLength
; }
24
ALIfloat
getYHalfLength
()
const
{
25
return
theYHalfLength
; }
26
ALIfloat
getZHalfLength
()
const
{
27
return
theZHalfLength
; }
28
29
private
:
30
31
ALIfloat
theXHalfLength
;
32
ALIfloat
theYHalfLength
;
33
ALIfloat
theZHalfLength
;
34
};
35
36
#endif
37
type
type
Definition:
HCALResponse.h:21
ALIfloat
float ALIfloat
Definition:
CocoaGlobals.h:13
CocoaSolidShapeBox::theZHalfLength
ALIfloat theZHalfLength
Definition:
CocoaSolidShapeBox.h:33
CocoaSolidShapeBox::theXHalfLength
ALIfloat theXHalfLength
Definition:
CocoaSolidShapeBox.h:31
CocoaGlobals.h
CocoaSolidShape.h
CocoaSolidShapeBox::~CocoaSolidShapeBox
~CocoaSolidShapeBox() override
Definition:
CocoaSolidShapeBox.h:20
CocoaSolidShapeBox::getYHalfLength
ALIfloat getYHalfLength() const
Definition:
CocoaSolidShapeBox.h:24
CocoaSolidShapeBox::getXHalfLength
ALIfloat getXHalfLength() const
Definition:
CocoaSolidShapeBox.h:22
CocoaSolidShape
Definition:
CocoaSolidShape.h:16
CocoaSolidShapeBox::CocoaSolidShapeBox
CocoaSolidShapeBox(ALIstring type, ALIfloat xdim, ALIfloat ydim, ALIfloat zdim)
Definition:
CocoaSolidShapeBox.cc:13
ALIstring
std::string ALIstring
Definition:
CocoaGlobals.h:9
CocoaSolidShapeBox::theYHalfLength
ALIfloat theYHalfLength
Definition:
CocoaSolidShapeBox.h:32
CocoaSolidShapeBox
Definition:
CocoaSolidShapeBox.h:14
CocoaSolidShapeBox::getZHalfLength
ALIfloat getZHalfLength() const
Definition:
CocoaSolidShapeBox.h:26
Generated for CMSSW Reference Manual by
1.8.11