Belle II Software development
ARICHThParam Class Reference

ARICHThParam class for storing photon hit information. More...

#include <ARICHThParam.h>

Inheritance diagram for ARICHThParam:

Public Member Functions

 ARICHThParam ()
 Default constructor for ROOT IO.
 
 ARICHThParam (int index, double dth, double th0, int nth)
 Constructor.
 
void set (int index, double dth, double th0, int nth)
 Set ARICH hit information.
 
 ~ARICHThParam ()
 Destructor.
 
int getIndex () const
 Get index.
 
double getDth () const
 Get Dth.
 
double getTh0 () const
 Get Th0.
 
double getVth () const
 Get Vth.
 
int getNth () const
 Get Nth.
 
int getVal () const
 Get value.
 

Private Member Functions

 ClassDef (ARICHThParam, 1)
 the class title
 

Private Attributes

int m_index
 index
 
double m_dth
 dth
 
double m_th0
 th0
 
int m_nth
 nth
 

Detailed Description

ARICHThParam class for storing photon hit information.

This class holds the ARICH hit information after digitization (obtained from ARICHSimHit after ARICHThParamizer module). Contains only module number, channel number and hit bitmap (4 bits).

Definition at line 26 of file ARICHThParam.h.

Constructor & Destructor Documentation

◆ ARICHThParam() [1/2]

ARICHThParam ( )
inline

Default constructor for ROOT IO.

does nothing

Definition at line 31 of file ARICHThParam.h.

31 : m_index(-1), m_dth(-1), m_th0(0), m_nth(0)
32 {
34 }

◆ ARICHThParam() [2/2]

ARICHThParam ( int  index,
double  dth,
double  th0,
int  nth 
)
inline

Constructor.

Definition at line 37 of file ARICHThParam.h.

38 {
39 m_index = index;
40 m_dth = dth;
41 m_th0 = th0;
42 m_nth = nth;
43 }

◆ ~ARICHThParam()

~ARICHThParam ( )
inline

Destructor.

Does nothing

Definition at line 57 of file ARICHThParam.h.

58 {
60 }

Member Function Documentation

◆ getDth()

double getDth ( ) const
inline

Get Dth.

Definition at line 70 of file ARICHThParam.h.

70{ return m_dth; }

◆ getIndex()

int getIndex ( ) const
inline

Get index.

Definition at line 65 of file ARICHThParam.h.

65{ return m_index; }

◆ getNth()

int getNth ( ) const
inline

Get Nth.

Definition at line 85 of file ARICHThParam.h.

85{ return m_nth; }

◆ getTh0()

double getTh0 ( ) const
inline

Get Th0.

Definition at line 75 of file ARICHThParam.h.

75{ return m_th0; }

◆ getVal()

int getVal ( ) const

Get value.

Definition at line 20 of file ARICHThParam.cc.

21{
22 double Vth = getVth();
23 return int((Vth - VTH_MIN) / VTH_STEP);
24}
double getVth() const
Get Vth.
Definition: ARICHThParam.cc:15

◆ getVth()

double getVth ( ) const

Get Vth.

Definition at line 15 of file ARICHThParam.cc.

16{
17 return m_th0 + m_index * m_dth;
18}

◆ set()

void set ( int  index,
double  dth,
double  th0,
int  nth 
)
inline

Set ARICH hit information.

Definition at line 48 of file ARICHThParam.h.

49 {
50 m_index = index;
51 m_dth = dth;
52 m_th0 = th0;
53 m_nth = nth;
54 }

Member Data Documentation

◆ m_dth

double m_dth
private

dth

Definition at line 95 of file ARICHThParam.h.

◆ m_index

int m_index
private

index

Definition at line 94 of file ARICHThParam.h.

◆ m_nth

int m_nth
private

nth

Definition at line 97 of file ARICHThParam.h.

◆ m_th0

double m_th0
private

th0

Definition at line 96 of file ARICHThParam.h.


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