Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
CastorObjects
interface
CastorGainWidth.h
Go to the documentation of this file.
1
#ifndef CastorGainWidth_h
2
#define CastorGainWidth_h
3
9
#include <boost/cstdint.hpp>
10
11
class
CastorGainWidth
{
12
public
:
14
const
float
*
getValues
()
const
{
return
&
mValue0
;}
16
float
getValue
(
int
fCapId)
const
{
return
*(
getValues
() + fCapId);}
17
18
// functions below are not supposed to be used by consumer applications
19
20
CastorGainWidth
() :
mId
(0),
mValue0
(0),
mValue1
(0),
mValue2
(0),
mValue3
(0) {}
21
22
CastorGainWidth
(
unsigned
long
fId,
float
fCap0,
float
fCap1,
float
fCap2,
float
fCap3) :
23
mId
(fId),
24
mValue0
(fCap0),
25
mValue1
(fCap1),
26
mValue2
(fCap2),
27
mValue3
(fCap3) {}
28
29
uint32_t
rawId
()
const
{
return
mId
;}
30
31
private
:
32
uint32_t
mId
;
33
float
mValue0
;
34
float
mValue1
;
35
float
mValue2
;
36
float
mValue3
;
37
};
38
39
#endif
CastorGainWidth::CastorGainWidth
CastorGainWidth()
Definition:
CastorGainWidth.h:20
CastorGainWidth::getValue
float getValue(int fCapId) const
get value for capId = 0..3
Definition:
CastorGainWidth.h:16
CastorGainWidth::mId
uint32_t mId
Definition:
CastorGainWidth.h:32
CastorGainWidth::rawId
uint32_t rawId() const
Definition:
CastorGainWidth.h:29
CastorGainWidth::mValue1
float mValue1
Definition:
CastorGainWidth.h:34
CastorGainWidth
Definition:
CastorGainWidth.h:11
CastorGainWidth::getValues
const float * getValues() const
get value for all capId = 0..3
Definition:
CastorGainWidth.h:14
CastorGainWidth::mValue3
float mValue3
Definition:
CastorGainWidth.h:36
CastorGainWidth::mValue2
float mValue2
Definition:
CastorGainWidth.h:35
CastorGainWidth::mValue0
float mValue0
Definition:
CastorGainWidth.h:33
CastorGainWidth::CastorGainWidth
CastorGainWidth(unsigned long fId, float fCap0, float fCap1, float fCap2, float fCap3)
Definition:
CastorGainWidth.h:22
Generated for CMSSW Reference Manual by
1.8.5