Belle II Software development
ARICHHapdQA Class Reference

Contains manufacturer data of the photo sensor - HAPD. More...

#include <ARICHHapdQA.h>

Inheritance diagram for ARICHHapdQA:

Public Member Functions

 ARICHHapdQA ()
 Default constructor.
 
 ARICHHapdQA (const std::string &serial, TTimeStamp arrivalDate, std::vector< TGraph * > &leakCurrent, TH2F *hitData2D, std::vector< TGraph * > &noise, std::vector< TH1S * > &hitCount)
 Constructor.
 
 ~ARICHHapdQA ()
 Destructor.
 
std::string getHapdSerialNumber () const
 Return HAPD Serial Number.
 
void setHapdSerialNumber (const std::string &serial)
 Set HAPD Serial Number.
 
TTimeStamp getHapdArrivalDate () const
 Return HAPD measurement date.
 
void setHapdArrivalDate (TTimeStamp arrivalDate)
 Set HAPD measurement date.
 
TGraph * getHapdLeakCurrent (unsigned int i) const
 Return Leakeage Current as a function of bias voltage.
 
void setHapdLeakCurrent (std::vector< TGraph * > leakCurrent)
 set Leakeage Current as a function of bias voltage
 
TH2F * getHapdHitData2D () const
 Return 2D hit data.
 
void setHapdHitData2D (TH2F *hitData2D)
 Set 2D hit data.
 
TGraph * getHapdNoise (unsigned int i) const
 Return Noise level vs.
 
void setHapdNoise (std::vector< TGraph * > noise)
 set Noise level vs.
 
TH1S * getHapdHitCount (unsigned int i) const
 Return Hit count vs.
 
void setHapdHitCount (std::vector< TH1S * > hitCount)
 set Hit count vs.
 
std::string getHapdComment () const
 Return comment.
 
void setHapdComment (const std::string &comment)
 Set comment.
 

Private Member Functions

 ClassDef (ARICHHapdQA, 2)
 ClassDef.
 

Private Attributes

std::string m_serial
 serial number of the sensor
 
TTimeStamp m_arrivalDate
 date of HAPD's arrival
 
std::vector< TGraph * > m_leakCurrent
 Leakege Current as a function of bias voltage.
 
TH2F * m_hitData2D
 2D hit data
 
std::vector< TGraph * > m_noise
 Noise level vs.
 
std::vector< TH1S * > m_hitCount
 Hit count vs.
 
std::string m_comment
 Optional comment.
 

Detailed Description

Contains manufacturer data of the photo sensor - HAPD.

Definition at line 26 of file ARICHHapdQA.h.

Constructor & Destructor Documentation

◆ ARICHHapdQA() [1/2]

ARICHHapdQA ( )
inline

Default constructor.

Definition at line 32 of file ARICHHapdQA.h.

33 m_comment("") {};
std::string m_comment
Optional comment.
Definition: ARICHHapdQA.h:137
std::vector< TGraph * > m_noise
Noise level vs.
Definition: ARICHHapdQA.h:135
std::vector< TH1S * > m_hitCount
Hit count vs.
Definition: ARICHHapdQA.h:136
std::string m_serial
serial number of the sensor
Definition: ARICHHapdQA.h:131
TH2F * m_hitData2D
2D hit data
Definition: ARICHHapdQA.h:134
std::vector< TGraph * > m_leakCurrent
Leakege Current as a function of bias voltage.
Definition: ARICHHapdQA.h:133
TTimeStamp m_arrivalDate
date of HAPD's arrival
Definition: ARICHHapdQA.h:132

◆ ARICHHapdQA() [2/2]

ARICHHapdQA ( const std::string &  serial,
TTimeStamp  arrivalDate,
std::vector< TGraph * > &  leakCurrent,
TH2F *  hitData2D,
std::vector< TGraph * > &  noise,
std::vector< TH1S * > &  hitCount 
)
inline

Constructor.

Definition at line 39 of file ARICHHapdQA.h.

40 : m_serial(serial), m_arrivalDate(arrivalDate),
41 m_leakCurrent(leakCurrent), m_hitData2D(hitData2D), m_noise(noise), m_hitCount(hitCount), m_comment("") { };

◆ ~ARICHHapdQA()

~ARICHHapdQA ( )
inline

Destructor.

Definition at line 47 of file ARICHHapdQA.h.

47{};

Member Function Documentation

◆ getHapdArrivalDate()

TTimeStamp getHapdArrivalDate ( ) const
inline

Return HAPD measurement date.

Returns
HAPD measurement date

Definition at line 64 of file ARICHHapdQA.h.

64{return m_arrivalDate; }

◆ getHapdComment()

std::string getHapdComment ( ) const
inline

Return comment.

Returns
comment

Definition at line 122 of file ARICHHapdQA.h.

122{return m_comment; }

◆ getHapdHitCount()

TH1S * getHapdHitCount ( unsigned int  i) const

Return Hit count vs.

threshold

Returns
Hit count vs. threshold

Definition at line 34 of file ARICHHapdQA.cc.

35{
36 if (i < m_hitCount.size()) return m_hitCount[i];
37 else return NULL;
38}

◆ getHapdHitData2D()

TH2F * getHapdHitData2D ( ) const
inline

Return 2D hit data.

Returns
2D hit data

Definition at line 87 of file ARICHHapdQA.h.

87{return m_hitData2D;}

◆ getHapdLeakCurrent()

TGraph * getHapdLeakCurrent ( unsigned int  i) const

Return Leakeage Current as a function of bias voltage.

Returns
chip gain

Definition at line 14 of file ARICHHapdQA.cc.

15{
16 if (i < m_leakCurrent.size()) return m_leakCurrent[i];
17 else return NULL;
18}

◆ getHapdNoise()

TGraph * getHapdNoise ( unsigned int  i) const

Return Noise level vs.

bias voltage for each channel

Returns
noise level

Definition at line 27 of file ARICHHapdQA.cc.

28{
29 if (i < m_noise.size()) return m_noise[i];
30 else return NULL;
31}

◆ getHapdSerialNumber()

std::string getHapdSerialNumber ( ) const
inline

Return HAPD Serial Number.

Returns
serial number

Definition at line 53 of file ARICHHapdQA.h.

53{return m_serial;}

◆ setHapdArrivalDate()

void setHapdArrivalDate ( TTimeStamp  arrivalDate)
inline

Set HAPD measurement date.

Parameters
arrivalDateHAPD measurement date

Definition at line 69 of file ARICHHapdQA.h.

69{m_arrivalDate = arrivalDate; }

◆ setHapdComment()

void setHapdComment ( const std::string &  comment)
inline

Set comment.

Parameters
comment

Definition at line 127 of file ARICHHapdQA.h.

127{m_comment = comment; }

◆ setHapdHitCount()

void setHapdHitCount ( std::vector< TH1S * >  hitCount)

set Hit count vs.

threshold

Parameters
hitCountHit count vs. threshold

Definition at line 41 of file ARICHHapdQA.cc.

42{
43 for (unsigned int i = 0; i < hitCount.size(); i++) m_hitCount.push_back(hitCount[i]);
44}

◆ setHapdHitData2D()

void setHapdHitData2D ( TH2F *  hitData2D)
inline

Set 2D hit data.

Parameters
hitData2Dhit data 2D

Definition at line 93 of file ARICHHapdQA.h.

93{ m_hitData2D = hitData2D;}

◆ setHapdLeakCurrent()

void setHapdLeakCurrent ( std::vector< TGraph * >  leakCurrent)

set Leakeage Current as a function of bias voltage

Parameters
leakCurrentLeakeage current

Definition at line 21 of file ARICHHapdQA.cc.

22{
23 for (unsigned int i = 0; i < leakCurrent.size(); i++) m_leakCurrent.push_back(leakCurrent[i]);
24}

◆ setHapdNoise()

void setHapdNoise ( std::vector< TGraph * >  noise)

set Noise level vs.

bias voltage for each channel

Parameters
noiselevel

◆ setHapdSerialNumber()

void setHapdSerialNumber ( const std::string &  serial)
inline

Set HAPD Serial Number.

Parameters
serialserial number

Definition at line 59 of file ARICHHapdQA.h.

59{m_serial = serial; }

Member Data Documentation

◆ m_arrivalDate

TTimeStamp m_arrivalDate
private

date of HAPD's arrival

Definition at line 132 of file ARICHHapdQA.h.

◆ m_comment

std::string m_comment
private

Optional comment.

Definition at line 137 of file ARICHHapdQA.h.

◆ m_hitCount

std::vector<TH1S*> m_hitCount
private

Hit count vs.

threshold for sampling 5 channels/chip at 2 voltages

Definition at line 136 of file ARICHHapdQA.h.

◆ m_hitData2D

TH2F* m_hitData2D
private

2D hit data

Definition at line 134 of file ARICHHapdQA.h.

◆ m_leakCurrent

std::vector<TGraph*> m_leakCurrent
private

Leakege Current as a function of bias voltage.

Definition at line 133 of file ARICHHapdQA.h.

◆ m_noise

std::vector<TGraph*> m_noise
private

Noise level vs.

bias voltage for each channel

Definition at line 135 of file ARICHHapdQA.h.

◆ m_serial

std::string m_serial
private

serial number of the sensor

Definition at line 131 of file ARICHHapdQA.h.


The documentation for this class was generated from the following files: