CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HcalMCParam Class Reference

#include <HcalMCParam.h>

Public Member Functions

unsigned int binOfMaximum () const
 
 HcalMCParam ()
 
 HcalMCParam (unsigned long fId, unsigned int fParam1)
 
unsigned int packingScheme () const
 
unsigned int param1 () const
 
uint32_t rawId () const
 
unsigned int signalShape () const
 
bool syncPhase () const
 
float timePhase () const
 
bool timeSmearing () const
 

Private Attributes

 COND_SERIALIZABLE
 
uint32_t mId
 
uint32_t mParam1
 

Detailed Description

Author
Radek Ofierzynski POOL object to store MC information

Definition at line 30 of file HcalMCParam.h.

Constructor & Destructor Documentation

HcalMCParam::HcalMCParam ( )
inline

Definition at line 32 of file HcalMCParam.h.

32 :mId(0), mParam1(0) {}
uint32_t mParam1
Definition: HcalMCParam.h:51
uint32_t mId
Definition: HcalMCParam.h:50
HcalMCParam::HcalMCParam ( unsigned long  fId,
unsigned int  fParam1 
)
inline

Definition at line 34 of file HcalMCParam.h.

34  :
35  mId(fId), mParam1(fParam1) {}
uint32_t mParam1
Definition: HcalMCParam.h:51
uint32_t mId
Definition: HcalMCParam.h:50

Member Function Documentation

unsigned int HcalMCParam::binOfMaximum ( ) const
inline

Definition at line 42 of file HcalMCParam.h.

References mParam1.

42 {return (mParam1>>10)&0xF;}
uint32_t mParam1
Definition: HcalMCParam.h:51
unsigned int HcalMCParam::packingScheme ( ) const
inline

Definition at line 45 of file HcalMCParam.h.

References mParam1.

45 {return (mParam1>>27)&0xF;}
uint32_t mParam1
Definition: HcalMCParam.h:51
unsigned int HcalMCParam::param1 ( ) const
inline

Definition at line 39 of file HcalMCParam.h.

References mParam1.

39 {return mParam1;}
uint32_t mParam1
Definition: HcalMCParam.h:51
uint32_t HcalMCParam::rawId ( ) const
inline

Definition at line 37 of file HcalMCParam.h.

References mId.

37 {return mId;}
uint32_t mId
Definition: HcalMCParam.h:50
unsigned int HcalMCParam::signalShape ( ) const
inline

Definition at line 40 of file HcalMCParam.h.

References mParam1.

Referenced by HcalShapes::shape(), and HcalPulseShapes::shape().

40 {return mParam1&0x1FF;}
uint32_t mParam1
Definition: HcalMCParam.h:51
bool HcalMCParam::syncPhase ( ) const
inline

Definition at line 41 of file HcalMCParam.h.

References mParam1.

41 {return (mParam1>>9)&0x1;}
uint32_t mParam1
Definition: HcalMCParam.h:51
float HcalMCParam::timePhase ( ) const
inline

Definition at line 43 of file HcalMCParam.h.

References mParam1.

43 {return ((mParam1>>14)&0xFF)/4.0-32.0;}
uint32_t mParam1
Definition: HcalMCParam.h:51
bool HcalMCParam::timeSmearing ( ) const
inline

Definition at line 44 of file HcalMCParam.h.

References mParam1.

44 {return (mParam1>>22)&0x1;}
uint32_t mParam1
Definition: HcalMCParam.h:51

Member Data Documentation

HcalMCParam::COND_SERIALIZABLE
private

Definition at line 53 of file HcalMCParam.h.

uint32_t HcalMCParam::mId
private

Definition at line 50 of file HcalMCParam.h.

Referenced by rawId().

uint32_t HcalMCParam::mParam1
private