Belle II Software  release-08-01-10
ARICHModuleTest Class Reference

The Class for ARICH Aerogel Parameters. More...

#include <ARICHModuleTest.h>

Inheritance diagram for ARICHModuleTest:
Collaboration diagram for ARICHModuleTest:

Public Member Functions

 ARICHModuleTest ()
 Default constructor.
 
 ~ARICHModuleTest ()
 Destructor.
 
int getFebSN () const
 Return FEB serial number. More...
 
void setFebSN (int serial)
 Set FEB serial number. More...
 
std::string getHapdSN () const
 Return HAPD serial number. More...
 
void setHapdSN (const std::string &hapd)
 Set HAPD serial number. More...
 
int getHvbSN () const
 Return HVB serial number. More...
 
void setHvbSN (int serial)
 Set HVB serial number. More...
 
int getRun () const
 Return module test run. More...
 
void setRun (int run)
 Set module test run. More...
 
int getRunPosition () const
 Return module test run position. More...
 
void setRunPosition (int runposition)
 Set module test run. More...
 
bool getOK () const
 Return True if module is OK. More...
 
void setOK (bool isOK)
 Set bool value - module is OK. More...
 
int getDeadCh (unsigned int i) const
 Return a channel number from the list of dead channels. More...
 
void appendDeadCh (int channel)
 Add a channel number to the list of dead channels. More...
 
void setDeadChs (const std::vector< int > &deadChs)
 Set vector of dead channel numbers. More...
 
int getDeadChsSize () const
 Return size of the list of dead channels. More...
 
int getStrangeCh (unsigned int i) const
 Return a channel number from the list of strange channels. More...
 
void appendStrangeCh (int channel)
 Add a channel number to the list of strange channels. More...
 
void setStrangeChs (const std::vector< int > &strangeChs)
 Set vector of strange channel numbers. More...
 
int getStrangeChsSize () const
 Return size of the list of strange channels. More...
 
TGraph * getGuardBiasTH () const
 Return guard bias during treshold scan. More...
 
void setGuardBiasTH (TGraph *guardBias_th)
 Set guard bias during treshold scan. More...
 
TGraph * getChipVdiffTH (unsigned int i) const
 Get Chip Vmon - Vset difference during treshold scan. More...
 
void setChipVdiffTH (unsigned int i, TGraph *chipVdiff_th)
 Set Chip Vmon - Vset difference during treshold scan. More...
 
TGraph * getChipLeakTH (unsigned int i) const
 Get leakage current during treshold scan. More...
 
void setChipLeakTH (unsigned int i, TGraph *chipLeak_th)
 Set leakage current during treshold scan. More...
 
TGraph * getHighVoltageTH () const
 Return high voltage during treshold scan. More...
 
void setHighVoltageTH (TGraph *HV_th)
 Set high voltage during treshold scan. More...
 
TGraph * getGuardBias2Dx () const
 Return guard bias during 2Dx scan. More...
 
void setGuardBias2Dx (TGraph *guardBias_2Dx)
 Set guard bias during 2Dx scan. More...
 
TGraph * getChipVdiff2Dx (unsigned int i) const
 Get Chip Vmon - Vset difference during 2Dx scan. More...
 
void setChipVdiff2Dx (unsigned int i, TGraph *chipVdiff_2Dx)
 Set Chip Vmon - Vset difference during 2Dx scan. More...
 
TGraph * getChipLeak2Dx (unsigned int i) const
 Get leakage current during 2Dx scan. More...
 
void setChipLeak2Dx (unsigned int i, TGraph *chipLeak_2Dx)
 Set leakage current during 2Dx scan. More...
 
TGraph * getHighVoltage2Dx () const
 Return high voltage during 2Dx scan. More...
 
void setHighVoltage2Dx (TGraph *HV_2Dx)
 Set high voltage during 2Dx scan. More...
 
TGraph * getGuardBias2Dy () const
 Return guard bias during 2Dy scan. More...
 
TGraph * getChipVdiff2Dy (unsigned int i) const
 Get Chip Vmon - Vset difference during 2Dy scan. More...
 
void setChipVdiff2Dy (unsigned int i, TGraph *chipVdiff_2Dy)
 Set Chip Vmon - Vset difference during 2Dx scan. More...
 
void setGuardBias2Dy (TGraph *guardBias_2Dy)
 Set guard bias during 2Dy scan. More...
 
TGraph * getChipLeak2Dy (unsigned int i) const
 Get leakage current during 2Dy scan. More...
 
void setChipLeak2Dy (unsigned int i, TGraph *chipLeak_2Dy)
 Set leakage current during 2Dy scan. More...
 
TGraph * getHighVoltage2Dy () const
 Return high voltage during 2Dy scan. More...
 
void setHighVoltage2Dy (TGraph *HV_2Dy)
 Set high voltage during 2Dy scan. More...
 
TH1F * getGain () const
 Return gain. More...
 
void setGain (TH1F *gain)
 Set gain. More...
 
TH2D * getChargeScan () const
 Return charge scan. More...
 
void setChargeScan (TH2D *charge)
 Set charge scan. More...
 
TH2D * getTresholdScan () const
 Return treshold scan. More...
 
void setTresholdScan (TH2D *th)
 Set treshold scan. More...
 
TH2D * getLaserScanX () const
 Return laser scan - X direction. More...
 
void setLaserScanX (TH2D *scanX)
 Set laser scan - X direction. More...
 
TH2D * getLaserScanY () const
 Return laser scan - Y direction. More...
 
void setLaserScanY (TH2D *scanY)
 Set laser scan - Y direction. More...
 
void setComment (const std::string &comment)
 Set comment. More...
 
std::string getComment () const
 Return comment. More...
 

Private Member Functions

 ClassDef (ARICHModuleTest, 2)
 ClassDef.
 

Private Attributes

int m_febSN
 FEB serial number.
 
std::string m_hapdSN
 HAPD serial number.
 
int m_hvbSN
 HVB serial number.
 
int m_run
 Run number.
 
int m_runposition
 Position on setup.
 
bool m_isOK
 Module is OK if true.
 
std::vector< int > m_deadCh
 List of dead channels (mapping: channels on HAPD)
 
std::vector< int > m_strangeCh
 List of strange channels (mapping: channels on HAPD)
 
TGraph * m_guardBias_th
 Guard bias during treshold scan.
 
TGraph * m_chipVdiff_th [4]
 Chip Vmon - Vset difference during treshold scan.
 
TGraph * m_chipLeak_th [4]
 Chip leakage current during treshold scan.
 
TGraph * m_HV_th
 High voltage during treshold scan.
 
TGraph * m_guardBias_2Dx
 Guard bias during 2D x scan.
 
TGraph * m_chipVdiff_2Dx [4]
 Chip Vmon - Vset difference during 2D x scan.
 
TGraph * m_chipLeak_2Dx [4]
 Chip leakage current during 2D x scan.
 
TGraph * m_HV_2Dx
 High voltage during 2D x scan.
 
TGraph * m_guardBias_2Dy
 Guard bias during 2D y scan.
 
TGraph * m_chipVdiff_2Dy [4]
 Chip Vmon - Vset difference during 2D y scan.
 
TGraph * m_chipLeak_2Dy [4]
 Chip leakage current during 2D y scan.
 
TGraph * m_HV_2Dy
 High voltage during 2D y scan.
 
TH1F * m_gain
 Gain for each channel.
 
TH2D * m_charge
 Charge scan 2D.
 
TH2D * m_th
 Treshold scan 2D.
 
TH2D * m_scanX
 Laser scan 2D - x direction.
 
TH2D * m_scanY
 Laser scan 2D - y direction.
 
std::string m_comment
 Optional comment.
 

Detailed Description

The Class for ARICH Aerogel Parameters.

Definition at line 30 of file ARICHModuleTest.h.

Member Function Documentation

◆ appendDeadCh()

void appendDeadCh ( int  channel)
inline

Add a channel number to the list of dead channels.

Parameters
HAPDchannel id

Definition at line 124 of file ARICHModuleTest.h.

124 {m_deadCh.push_back(channel); }
std::vector< int > m_deadCh
List of dead channels (mapping: channels on HAPD)

◆ appendStrangeCh()

void appendStrangeCh ( int  channel)
inline

Add a channel number to the list of strange channels.

Parameters
HAPDchannel id

Definition at line 149 of file ARICHModuleTest.h.

◆ getChargeScan()

TH2D* getChargeScan ( ) const
inline

Return charge scan.

Returns
charge scan

Definition at line 311 of file ARICHModuleTest.h.

◆ getChipLeak2Dx()

TGraph * getChipLeak2Dx ( unsigned int  i) const

Get leakage current during 2Dx scan.

Returns
leakage current

Definition at line 59 of file ARICHModuleTest.cc.

60 {
61  if (i < 4) return m_chipLeak_2Dx[i];
62  else return NULL;
63 }
TGraph * m_chipLeak_2Dx[4]
Chip leakage current during 2D x scan.

◆ getChipLeak2Dy()

TGraph * getChipLeak2Dy ( unsigned int  i) const

Get leakage current during 2Dy scan.

Returns
leakage current

Definition at line 81 of file ARICHModuleTest.cc.

◆ getChipLeakTH()

TGraph * getChipLeakTH ( unsigned int  i) const

Get leakage current during treshold scan.

Returns
leakage current

Definition at line 37 of file ARICHModuleTest.cc.

◆ getChipVdiff2Dx()

TGraph * getChipVdiff2Dx ( unsigned int  i) const

Get Chip Vmon - Vset difference during 2Dx scan.

Returns
Chip Vmon - Vset difference

Definition at line 48 of file ARICHModuleTest.cc.

◆ getChipVdiff2Dy()

TGraph * getChipVdiff2Dy ( unsigned int  i) const

Get Chip Vmon - Vset difference during 2Dy scan.

Returns
Chip Vmon - Vset difference

Definition at line 70 of file ARICHModuleTest.cc.

◆ getChipVdiffTH()

TGraph * getChipVdiffTH ( unsigned int  i) const

Get Chip Vmon - Vset difference during treshold scan.

Returns
Chip Vmon - Vset difference

Definition at line 26 of file ARICHModuleTest.cc.

◆ getComment()

std::string getComment ( ) const
inline

Return comment.

Returns
comment

Definition at line 363 of file ARICHModuleTest.h.

◆ getDeadCh()

int getDeadCh ( unsigned int  i) const

Return a channel number from the list of dead channels.

Parameters
iindex of the element in the list
Returns
HAPD channel id

Definition at line 14 of file ARICHModuleTest.cc.

◆ getDeadChsSize()

int getDeadChsSize ( ) const
inline

Return size of the list of dead channels.

Returns
size

Definition at line 136 of file ARICHModuleTest.h.

◆ getFebSN()

int getFebSN ( ) const
inline

Return FEB serial number.

Returns
FEB serial number

Definition at line 56 of file ARICHModuleTest.h.

◆ getGain()

TH1F* getGain ( ) const
inline

Return gain.

Returns
gain

Definition at line 299 of file ARICHModuleTest.h.

◆ getGuardBias2Dx()

TGraph* getGuardBias2Dx ( ) const
inline

Return guard bias during 2Dx scan.

Returns
TGraph guard bias during 2Dx scan

Definition at line 211 of file ARICHModuleTest.h.

◆ getGuardBias2Dy()

TGraph* getGuardBias2Dy ( ) const
inline

Return guard bias during 2Dy scan.

Returns
TGraph guard bias during 2Dy scan

Definition at line 255 of file ARICHModuleTest.h.

◆ getGuardBiasTH()

TGraph* getGuardBiasTH ( ) const
inline

Return guard bias during treshold scan.

Returns
TGraph guard bias during treshold scan

Definition at line 167 of file ARICHModuleTest.h.

◆ getHapdSN()

std::string getHapdSN ( ) const
inline

Return HAPD serial number.

Returns
HAPD serial number

Definition at line 66 of file ARICHModuleTest.h.

◆ getHighVoltage2Dx()

TGraph* getHighVoltage2Dx ( ) const
inline

Return high voltage during 2Dx scan.

Returns
TGraph high voltage during 2Dx scan

Definition at line 243 of file ARICHModuleTest.h.

◆ getHighVoltage2Dy()

TGraph* getHighVoltage2Dy ( ) const
inline

Return high voltage during 2Dy scan.

Returns
TGraph high voltage 2Dy scan

Definition at line 287 of file ARICHModuleTest.h.

◆ getHighVoltageTH()

TGraph* getHighVoltageTH ( ) const
inline

Return high voltage during treshold scan.

Returns
TGraph high voltage during treshold scan

Definition at line 199 of file ARICHModuleTest.h.

◆ getHvbSN()

int getHvbSN ( ) const
inline

Return HVB serial number.

Returns
HVB serial number

Definition at line 76 of file ARICHModuleTest.h.

◆ getLaserScanX()

TH2D* getLaserScanX ( ) const
inline

Return laser scan - X direction.

Returns
laser scan - X direction

Definition at line 335 of file ARICHModuleTest.h.

◆ getLaserScanY()

TH2D* getLaserScanY ( ) const
inline

Return laser scan - Y direction.

Returns
laser scan - Y direction

Definition at line 347 of file ARICHModuleTest.h.

◆ getOK()

bool getOK ( ) const
inline

Return True if module is OK.

Returns
True if module is OK

Definition at line 106 of file ARICHModuleTest.h.

◆ getRun()

int getRun ( ) const
inline

Return module test run.

Returns
module test run

Definition at line 86 of file ARICHModuleTest.h.

◆ getRunPosition()

int getRunPosition ( ) const
inline

Return module test run position.

Returns
module test run position

Definition at line 96 of file ARICHModuleTest.h.

◆ getStrangeCh()

int getStrangeCh ( unsigned int  i) const

Return a channel number from the list of strange channels.

Parameters
iindex of the element in the list
Returns
HAPD channel id

Definition at line 20 of file ARICHModuleTest.cc.

◆ getStrangeChsSize()

int getStrangeChsSize ( ) const
inline

Return size of the list of strange channels.

Returns
size

Definition at line 161 of file ARICHModuleTest.h.

◆ getTresholdScan()

TH2D* getTresholdScan ( ) const
inline

Return treshold scan.

Returns
treshold scan

Definition at line 323 of file ARICHModuleTest.h.

◆ setChargeScan()

void setChargeScan ( TH2D *  charge)
inline

Set charge scan.

Parameters
chargescan

Definition at line 317 of file ARICHModuleTest.h.

◆ setChipLeak2Dx()

void setChipLeak2Dx ( unsigned int  i,
TGraph *  chipLeak_2Dx 
)

Set leakage current during 2Dx scan.

Parameters
leakagecurrent

Definition at line 65 of file ARICHModuleTest.cc.

◆ setChipLeak2Dy()

void setChipLeak2Dy ( unsigned int  i,
TGraph *  chipLeak_2Dy 
)

Set leakage current during 2Dy scan.

Parameters
leakagecurrent

Definition at line 87 of file ARICHModuleTest.cc.

◆ setChipLeakTH()

void setChipLeakTH ( unsigned int  i,
TGraph *  chipLeak_th 
)

Set leakage current during treshold scan.

Parameters
leakagecurrent

Definition at line 43 of file ARICHModuleTest.cc.

◆ setChipVdiff2Dx()

void setChipVdiff2Dx ( unsigned int  i,
TGraph *  chipVdiff_2Dx 
)

Set Chip Vmon - Vset difference during 2Dx scan.

Parameters
ChipVmon - Vset difference

Definition at line 54 of file ARICHModuleTest.cc.

◆ setChipVdiff2Dy()

void setChipVdiff2Dy ( unsigned int  i,
TGraph *  chipVdiff_2Dy 
)

Set Chip Vmon - Vset difference during 2Dx scan.

Parameters
ChipVmon - Vset difference

Definition at line 76 of file ARICHModuleTest.cc.

◆ setChipVdiffTH()

void setChipVdiffTH ( unsigned int  i,
TGraph *  chipVdiff_th 
)

Set Chip Vmon - Vset difference during treshold scan.

Parameters
ChipVmon - Vset difference

Definition at line 32 of file ARICHModuleTest.cc.

◆ setComment()

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

Set comment.

Parameters
comment

Definition at line 358 of file ARICHModuleTest.h.

◆ setDeadChs()

void setDeadChs ( const std::vector< int > &  deadChs)
inline

Set vector of dead channel numbers.

Parameters
HAPDchannel id

Definition at line 130 of file ARICHModuleTest.h.

◆ setFebSN()

void setFebSN ( int  serial)
inline

Set FEB serial number.

Parameters
FEBserial number

Definition at line 61 of file ARICHModuleTest.h.

◆ setGain()

void setGain ( TH1F *  gain)
inline

Set gain.

Parameters
gain

Definition at line 305 of file ARICHModuleTest.h.

◆ setGuardBias2Dx()

void setGuardBias2Dx ( TGraph *  guardBias_2Dx)
inline

Set guard bias during 2Dx scan.

Parameters
TGraphguard bias during 2Dx scan

Definition at line 217 of file ARICHModuleTest.h.

◆ setGuardBias2Dy()

void setGuardBias2Dy ( TGraph *  guardBias_2Dy)
inline

Set guard bias during 2Dy scan.

Parameters
TGraphguard bias during 2Dy scan

Definition at line 271 of file ARICHModuleTest.h.

◆ setGuardBiasTH()

void setGuardBiasTH ( TGraph *  guardBias_th)
inline

Set guard bias during treshold scan.

Parameters
TGraphguard bias during treshold scan

Definition at line 173 of file ARICHModuleTest.h.

◆ setHapdSN()

void setHapdSN ( const std::string &  hapd)
inline

Set HAPD serial number.

Parameters
HAPDserial number

Definition at line 71 of file ARICHModuleTest.h.

◆ setHighVoltage2Dx()

void setHighVoltage2Dx ( TGraph *  HV_2Dx)
inline

Set high voltage during 2Dx scan.

Parameters
TGraphhigh voltage during 2Dx scan

Definition at line 249 of file ARICHModuleTest.h.

◆ setHighVoltage2Dy()

void setHighVoltage2Dy ( TGraph *  HV_2Dy)
inline

Set high voltage during 2Dy scan.

Parameters
TGraphhigh voltage 2Dy scan

Definition at line 293 of file ARICHModuleTest.h.

◆ setHighVoltageTH()

void setHighVoltageTH ( TGraph *  HV_th)
inline

Set high voltage during treshold scan.

Parameters
TGraphhigh voltage during treshold scan

Definition at line 205 of file ARICHModuleTest.h.

◆ setHvbSN()

void setHvbSN ( int  serial)
inline

Set HVB serial number.

Parameters
HVBserial number

Definition at line 81 of file ARICHModuleTest.h.

◆ setLaserScanX()

void setLaserScanX ( TH2D *  scanX)
inline

Set laser scan - X direction.

Parameters
laserscan - X direction

Definition at line 341 of file ARICHModuleTest.h.

◆ setLaserScanY()

void setLaserScanY ( TH2D *  scanY)
inline

Set laser scan - Y direction.

Parameters
laserscan - Y direction

Definition at line 353 of file ARICHModuleTest.h.

◆ setOK()

void setOK ( bool  isOK)
inline

Set bool value - module is OK.

Parameters
moduleis OK

Definition at line 111 of file ARICHModuleTest.h.

◆ setRun()

void setRun ( int  run)
inline

Set module test run.

Parameters
moduletest run

Definition at line 91 of file ARICHModuleTest.h.

◆ setRunPosition()

void setRunPosition ( int  runposition)
inline

Set module test run.

Parameters
moduletest run

Definition at line 101 of file ARICHModuleTest.h.

◆ setStrangeChs()

void setStrangeChs ( const std::vector< int > &  strangeChs)
inline

Set vector of strange channel numbers.

Parameters
HAPDchannel id

Definition at line 155 of file ARICHModuleTest.h.

◆ setTresholdScan()

void setTresholdScan ( TH2D *  th)
inline

Set treshold scan.

Parameters
tresholdscan

Definition at line 329 of file ARICHModuleTest.h.


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