Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
HcalObjects
interface
HcalMCParam.h
Go to the documentation of this file.
1
#ifndef HcalMCParam_h
2
#define HcalMCParam_h
3
10
#include <boost/cstdint.hpp>
11
12
// definition 8.Feb.2011
13
// MC signal shape integer variable assigned to each readout this way:
14
// 0 - regular HPD HB/HE/HO shape
15
// 1 - "special" HB shape
16
// 2 - SiPMs shape (HO, possibly also in HB/HE)
17
// 3 - HF Shape
18
// 4 - ZDC shape
19
20
21
class
HcalMCParam
{
22
public
:
23
HcalMCParam
():
mId
(0),
mSignalShape
(0) {}
24
25
HcalMCParam
(
unsigned
long
fId,
unsigned
int
fSignalShape):
26
mId
(fId),
mSignalShape
(fSignalShape) {}
27
28
uint32_t
rawId
()
const
{
return
mId
;}
29
30
unsigned
int
signalShape
()
const
{
return
mSignalShape
;}
31
32
private
:
33
uint32_t
mId
;
34
uint32_t
mSignalShape
;
35
};
36
37
#endif
HcalMCParam
Definition:
HcalMCParam.h:21
HcalMCParam::HcalMCParam
HcalMCParam(unsigned long fId, unsigned int fSignalShape)
Definition:
HcalMCParam.h:25
HcalMCParam::mSignalShape
uint32_t mSignalShape
Definition:
HcalMCParam.h:34
HcalMCParam::rawId
uint32_t rawId() const
Definition:
HcalMCParam.h:28
HcalMCParam::signalShape
unsigned int signalShape() const
Definition:
HcalMCParam.h:30
HcalMCParam::mId
uint32_t mId
Definition:
HcalMCParam.h:33
HcalMCParam::HcalMCParam
HcalMCParam()
Definition:
HcalMCParam.h:23
Generated for CMSSW Reference Manual by
1.8.5