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

Class to store photon pixel yields for PMT ageing studies, and equalized alpha ratios for finding optically decoupled PMT's. More...

#include <TOPCalPhotonYields.h>

Inheritance diagram for TOPCalPhotonYields:
Collaboration diagram for TOPCalPhotonYields:

Public Member Functions

 TOPCalPhotonYields ()
 Default constructor.
 
void setTimeStamp (unsigned utime, unsigned utimeStd)
 Sets unix time stamp. More...
 
void set (int slot, const TH1F *photonYields, const TH1F *backgroundYields, const TH1F *alphaRatio, const TH1F *activePixels, const TH2F *pulseHeights, const TH1F *muonZ)
 Sets the data of a given slot. More...
 
unsigned getTimeStamp () const
 Returns average unix time stamp of events used to make histograms stored in this class. More...
 
unsigned getTimeStampStd () const
 Returns standard deviation of unix time stamps of events used to make histograms stored in this class. More...
 
const TH2F * getPhotonYields (int slot) const
 Returns a 2D histogram of photon pixel yields. More...
 
const TH2F * getBackgroundYields (int slot) const
 Returns a 2D histogram of background pixel yields. More...
 
const TH2F * getAlphaRatio (int slot) const
 Returns a 2D histogram of equalized pixel alpha ratio. More...
 
const TH2F * getActivePixels (int slot) const
 Returns a 2D histogram of active pixels. More...
 
const TH2F * getPulseHeights (int slot) const
 Returns a 2D histogram of pixel pulse-heights. More...
 
const TH1F * getMuonZ (int slot) const
 Returns z distribution of tracks used to determine pixel yields. More...
 

Private Types

enum  EPixels {
  c_numRows = 8 ,
  c_numCols = 64
}
 Number of pixel rows and columns. More...
 

Private Member Functions

void copyContent (const TH1F *input, TH2F &output)
 Copy content of 1D histogram into 2D histogram. More...
 
 ClassDef (TOPCalPhotonYields, 2)
 ClassDef.
 

Private Attributes

unsigned m_utime = 0
 average unix time in seconds
 
unsigned m_utimeStd = 0
 standard deviation of unix time in seconds
 
std::vector< TH2F > m_photonYields
 photon yields per pixel (index = slot - 1)
 
std::vector< TH2F > m_backgroundYields
 background yields per pixel (index = slot - 1)
 
std::vector< TH2F > m_alphaRatio
 equalized alpha ratio per pixel (index = slot - 1)
 
std::vector< TH2F > m_activePixels
 active pixels (index = slot - 1)
 
std::vector< TH2F > m_pulseHeights
 pixel pulse-heights (index = slot - 1)
 
std::vector< TH1F > m_muonZ
 local z distribution of tracks (index = slot - 1)
 

Detailed Description

Class to store photon pixel yields for PMT ageing studies, and equalized alpha ratios for finding optically decoupled PMT's.

Definition at line 26 of file TOPCalPhotonYields.h.

Member Enumeration Documentation

◆ EPixels

enum EPixels
private

Number of pixel rows and columns.

Enumerator
c_numRows 

number of pixel rows

c_numCols 

number of pixel columns

Definition at line 122 of file TOPCalPhotonYields.h.

122  {
123  c_numRows = 8,
124  c_numCols = 64
125  };
@ c_numCols
number of pixel columns
@ c_numRows
number of pixel rows

Member Function Documentation

◆ getTimeStamp()

unsigned getTimeStamp ( ) const
inline

Returns average unix time stamp of events used to make histograms stored in this class.

Returns
unix time stamp (in seconds)

Definition at line 64 of file TOPCalPhotonYields.h.

◆ getTimeStampStd()

unsigned getTimeStampStd ( ) const
inline

Returns standard deviation of unix time stamps of events used to make histograms stored in this class.

Returns
standard deviation (in seconds)

Definition at line 70 of file TOPCalPhotonYields.h.

◆ setTimeStamp()

void setTimeStamp ( unsigned  utime,
unsigned  utimeStd 
)
inline

Sets unix time stamp.

Parameters
utimeaverage unix time stamp (in seconds)
utimeStdstandard deviation (in seconds)

Definition at line 40 of file TOPCalPhotonYields.h.


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