CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
HcalSiPMParameter Class Reference

#include <HcalSiPMParameter.h>

Public Member Functions

int getauxi1 () const
 
float getauxi2 () const
 
float getDarkCurrent () const
 get dark current More...
 
float getFCByPE () const
 get fcByPE More...
 
int getType () const
 get SiPM type More...
 
 HcalSiPMParameter ()
 
 HcalSiPMParameter (unsigned long fId, int type, float fcByPE, float darkCurrent, int auxi1=0, float auxi2=0)
 
uint32_t rawId () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

int auxi1_
 
float auxi2_
 
float darkCurrent_
 
float fcByPE_
 
uint32_t id_
 
int type_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 7 of file HcalSiPMParameter.h.

Constructor & Destructor Documentation

◆ HcalSiPMParameter() [1/2]

HcalSiPMParameter::HcalSiPMParameter ( )
inline

Definition at line 18 of file HcalSiPMParameter.h.

18 : id_(0), type_(0), fcByPE_(0), darkCurrent_(0), auxi1_(0), auxi2_(0) {}

◆ HcalSiPMParameter() [2/2]

HcalSiPMParameter::HcalSiPMParameter ( unsigned long  fId,
int  type,
float  fcByPE,
float  darkCurrent,
int  auxi1 = 0,
float  auxi2 = 0 
)
inline

Definition at line 20 of file HcalSiPMParameter.h.

21  : id_(fId), type_(type), fcByPE_(fcByPE), darkCurrent_(darkCurrent), auxi1_(auxi1), auxi2_(auxi2) {}

Member Function Documentation

◆ getauxi1()

int HcalSiPMParameter::getauxi1 ( ) const
inline

Definition at line 24 of file HcalSiPMParameter.h.

24 { return auxi1_; }

References auxi1_.

◆ getauxi2()

float HcalSiPMParameter::getauxi2 ( ) const
inline

Definition at line 25 of file HcalSiPMParameter.h.

25 { return auxi2_; }

References auxi2_.

◆ getDarkCurrent()

float HcalSiPMParameter::getDarkCurrent ( ) const
inline

get dark current

Definition at line 14 of file HcalSiPMParameter.h.

14 { return darkCurrent_; }

References darkCurrent_.

Referenced by HcalSimParameters::sipmDarkCurrentuA().

◆ getFCByPE()

float HcalSiPMParameter::getFCByPE ( ) const
inline

get fcByPE

Definition at line 12 of file HcalSiPMParameter.h.

12 { return fcByPE_; }

References fcByPE_.

Referenced by HcalSimParameters::photoelectronsToAnalog(), and HBHEPhase1Reconstructor::processData().

◆ getType()

int HcalSiPMParameter::getType ( ) const
inline

get SiPM type

Definition at line 10 of file HcalSiPMParameter.h.

10 { return type_; }

References type_.

Referenced by HcalSimParameters::pixels(), HcalSimParameters::sipmCrossTalk(), and HcalSimParameters::sipmNonlinearity().

◆ rawId()

uint32_t HcalSiPMParameter::rawId ( ) const
inline

Definition at line 23 of file HcalSiPMParameter.h.

23 { return id_; }

References id_.

◆ serialize()

template<class Archive >
void HcalSiPMParameter::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 35 of file HcalSiPMParameter.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 35 of file HcalSiPMParameter.h.

Member Data Documentation

◆ auxi1_

int HcalSiPMParameter::auxi1_
private

Definition at line 32 of file HcalSiPMParameter.h.

Referenced by getauxi1().

◆ auxi2_

float HcalSiPMParameter::auxi2_
private

Definition at line 33 of file HcalSiPMParameter.h.

Referenced by getauxi2().

◆ darkCurrent_

float HcalSiPMParameter::darkCurrent_
private

Definition at line 31 of file HcalSiPMParameter.h.

Referenced by getDarkCurrent().

◆ fcByPE_

float HcalSiPMParameter::fcByPE_
private

Definition at line 30 of file HcalSiPMParameter.h.

Referenced by getFCByPE().

◆ id_

uint32_t HcalSiPMParameter::id_
private

Definition at line 28 of file HcalSiPMParameter.h.

Referenced by rawId().

◆ type_

int HcalSiPMParameter::type_
private
HcalSiPMParameter::type_
int type_
Definition: HcalSiPMParameter.h:29
HcalSiPMParameter::darkCurrent_
float darkCurrent_
Definition: HcalSiPMParameter.h:31
HcalSiPMParameter::id_
uint32_t id_
Definition: HcalSiPMParameter.h:28
HcalSiPMParameter::fcByPE_
float fcByPE_
Definition: HcalSiPMParameter.h:30
type
type
Definition: HCALResponse.h:21
HcalSiPMParameter::auxi1_
int auxi1_
Definition: HcalSiPMParameter.h:32
HcalSiPMParameter::auxi2_
float auxi2_
Definition: HcalSiPMParameter.h:33