List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
sevt::PMTCalibData Class Reference

Online Calibration data. More...

#include <sevt/PMTCalibData.h>

Public Member Functions

double GetBaseline (const sdet::PMTConstants::PMTGain gain=sdet::PMTConstants::eHighGain) const
 
double GetBaselineRMS (const sdet::PMTConstants::PMTGain gain=sdet::PMTConstants::eHighGain) const
 
int GetEvolution () const
 
double GetGainRatio () const
 
double GetGainRatioRMS () const
 
double GetHighGainDelay () const
 delay relative to low gain More...
 
double GetHighGainDelayChi2 () const
 
double GetHighGainDelayRMS () const
 
const std::vector< int > & GetMuonBaseHisto () const
 Muon base histogram. More...
 
int GetMuonBaseHistoOffset () const
 x-axis offset of the muon base histogram More...
 
const std::vector< int > & GetMuonChargeHisto () const
 Muon charge histogram. More...
 
int GetMuonChargeHistoOffset () const
 x-axis offset of the muon charge histogram More...
 
const std::vector< int > & GetMuonPeakHisto () const
 Muon peak histogram. More...
 
int GetMuonPeakHistoOffset () const
 x-axis offset of the muon peak histogram More...
 
const std::vector< int > & GetMuonShapeHisto () const
 Average shape of a muon. More...
 
int GetNumberTDA () const
 
double GetOnlineCharge () const
 Online estimate of VEM_charge [adc*time_bin]. More...
 
double GetOnlinePeak () const
 Online estimate of VEM_peak [adc]. More...
 
double GetRate () const
 
bool IsLowGainOk () const
 
bool IsTubeOk () const
 
void SetBaseline (const double base, const double rms, const sdet::PMTConstants::PMTGain gain=sdet::PMTConstants::eHighGain)
 Set baseline and baseline RMS for a particular channel (defaults to high gain channel) More...
 
void SetEvolution (const int ev)
 
void SetGainRatio (const double da, const double rms)
 Set dynode/anode and dynode/anode RMS. More...
 
void SetHighGainDelay (const double dt, const double rms)
 Set dynode anode delay and delay RMS. More...
 
void SetHighGainDelayChi2 (const double chi2)
 
void SetIsLowGainOk (const bool ok)
 
void SetIsTubeOk (const bool ok)
 
void SetMuonBaseHisto (const std::vector< int > &mbh, const int offset)
 
void SetMuonChargeHisto (const std::vector< int > &mch, const int offset)
 
void SetMuonPeakHisto (const std::vector< int > &mph, const int offset)
 
void SetMuonShapeHisto (const std::vector< int > &ms)
 
void SetNumberTDA (const int num)
 
void SetOnlineCharge (const double charge)
 
void SetOnlinePeak (const double peak)
 
void SetRate (const double rate)
 

Private Member Functions

 PMTCalibData ()=default
 
 ~PMTCalibData ()=default
 

Private Attributes

double fBaseline [sdet::PMTConstants::eNumberOfGains] = { 0 }
 
double fBaselineRMS [sdet::PMTConstants::eNumberOfGains] = { 0 }
 
int fEvolution = 0
 
double fGainRatio = 0
 
double fGainRatioRMS = 0
 
double fHighGainDelay = 0
 
double fHighGainDelayChi2 = 0
 
double fHighGainDelayRMS = 0
 
bool fIsLowGainOk = true
 
bool fIsTubeOk = false
 
std::vector< int > fMuonBaseHisto
 
int fMuonBaseHistoOffset = 0
 
std::vector< int > fMuonChargeHisto
 
int fMuonChargeHistoOffset = 0
 
std::vector< int > fMuonPeakHisto
 
int fMuonPeakHistoOffset = 0
 
std::vector< int > fMuonShapeHisto
 
int fNTDA = 0
 
double fOnlineCharge = 0
 
double fOnlinePeak = 0
 
double fRate = 0
 

Friends

class PMT
 
class utl::ShadowPtr< PMTCalibData >
 

Detailed Description

Online Calibration data.

Quantities in this class are normally filled by Reading the CDAS Event and using CDAS algorithms. Other classes do not have write access

Author
Stefano Argiro
Date
09 Oct 2003

Definition at line 27 of file PMTCalibData.h.

Constructor & Destructor Documentation

sevt::PMTCalibData::PMTCalibData ( )
privatedefault
sevt::PMTCalibData::~PMTCalibData ( )
privatedefault

Member Function Documentation

double sevt::PMTCalibData::GetBaseline ( const sdet::PMTConstants::PMTGain  gain = sdet::PMTConstants::eHighGain) const
inline
double sevt::PMTCalibData::GetBaselineRMS ( const sdet::PMTConstants::PMTGain  gain = sdet::PMTConstants::eHighGain) const
inline
int sevt::PMTCalibData::GetEvolution ( ) const
inline

Definition at line 76 of file PMTCalibData.h.

References fEvolution.

Referenced by evt::ConvertEventToIoSd(), and SdInspectorOG::SdInspector::Run().

double sevt::PMTCalibData::GetGainRatio ( ) const
inline
double sevt::PMTCalibData::GetGainRatioRMS ( ) const
inline

Definition at line 49 of file PMTCalibData.h.

References fGainRatioRMS.

Referenced by SdInspectorOG::SdInspector::Run().

double sevt::PMTCalibData::GetHighGainDelay ( ) const
inline

delay relative to low gain

Definition at line 52 of file PMTCalibData.h.

References fHighGainDelay.

Referenced by SdInspectorOG::SdInspector::Run().

double sevt::PMTCalibData::GetHighGainDelayChi2 ( ) const
inline

Definition at line 56 of file PMTCalibData.h.

References fHighGainDelayChi2.

Referenced by SdInspectorOG::SdInspector::Run().

double sevt::PMTCalibData::GetHighGainDelayRMS ( ) const
inline

Definition at line 54 of file PMTCalibData.h.

References fHighGainDelayRMS.

Referenced by SdInspectorOG::SdInspector::Run().

const std::vector<int>& sevt::PMTCalibData::GetMuonBaseHisto ( ) const
inline

Muon base histogram.

Definition at line 59 of file PMTCalibData.h.

References fMuonBaseHisto.

Referenced by evt::ConvertEventToIoSd(), and SdInspectorOG::SdInspector::Run().

int sevt::PMTCalibData::GetMuonBaseHistoOffset ( ) const
inline

x-axis offset of the muon base histogram

Definition at line 61 of file PMTCalibData.h.

References fMuonBaseHistoOffset.

Referenced by evt::ConvertEventToIoSd().

const std::vector<int>& sevt::PMTCalibData::GetMuonChargeHisto ( ) const
inline

Muon charge histogram.

Definition at line 69 of file PMTCalibData.h.

References fMuonChargeHisto.

Referenced by evt::ConvertEventToIoSd(), and SdInspectorOG::SdInspector::Run().

int sevt::PMTCalibData::GetMuonChargeHistoOffset ( ) const
inline

x-axis offset of the muon charge histogram

Definition at line 71 of file PMTCalibData.h.

References fMuonChargeHistoOffset.

Referenced by evt::ConvertEventToIoSd().

const std::vector<int>& sevt::PMTCalibData::GetMuonPeakHisto ( ) const
inline

Muon peak histogram.

Definition at line 64 of file PMTCalibData.h.

References fMuonPeakHisto.

Referenced by evt::ConvertEventToIoSd(), and SdInspectorOG::SdInspector::Run().

int sevt::PMTCalibData::GetMuonPeakHistoOffset ( ) const
inline

x-axis offset of the muon peak histogram

Definition at line 66 of file PMTCalibData.h.

References fMuonPeakHistoOffset.

Referenced by evt::ConvertEventToIoSd(), and SdCalibPlotterOG::MuonPeakView::Draw().

const std::vector<int>& sevt::PMTCalibData::GetMuonShapeHisto ( ) const
inline

Average shape of a muon.

Definition at line 74 of file PMTCalibData.h.

References fMuonShapeHisto.

Referenced by evt::ConvertEventToIoSd(), and SdInspectorOG::SdInspector::Run().

int sevt::PMTCalibData::GetNumberTDA ( ) const
inline

Definition at line 77 of file PMTCalibData.h.

References fNTDA.

Referenced by SdInspectorOG::SdInspector::Run().

double sevt::PMTCalibData::GetOnlineCharge ( ) const
inline

Online estimate of VEM_charge [adc*time_bin].

Definition at line 39 of file PMTCalibData.h.

References fOnlineCharge.

Referenced by evt::ConvertEventToEc(), and SdInspectorOG::SdInspector::Run().

double sevt::PMTCalibData::GetOnlinePeak ( ) const
inline

Online estimate of VEM_peak [adc].

Definition at line 36 of file PMTCalibData.h.

References fOnlinePeak.

Referenced by evt::ConvertEventToEc(), and SdInspectorOG::SdInspector::Run().

double sevt::PMTCalibData::GetRate ( ) const
inline

Definition at line 33 of file PMTCalibData.h.

References fRate.

Referenced by SdInspectorOG::SdInspector::Run().

bool sevt::PMTCalibData::IsLowGainOk ( ) const
inline
bool sevt::PMTCalibData::IsTubeOk ( ) const
inline
void sevt::PMTCalibData::SetBaseline ( const double  base,
const double  rms,
const sdet::PMTConstants::PMTGain  gain = sdet::PMTConstants::eHighGain 
)
inline

Set baseline and baseline RMS for a particular channel (defaults to high gain channel)

Definition at line 86 of file PMTCalibData.h.

References fBaseline, fBaselineRMS, and gain.

Referenced by io::PMTCalibData_ROOT::operator>>(), SdSimulationCalibrationFillerASCII::SdSimulationCalibrationFiller::Run(), and testSEventImpl::setPMTCalibDataValues().

void sevt::PMTCalibData::SetEvolution ( const int  ev)
inline
void sevt::PMTCalibData::SetGainRatio ( const double  da,
const double  rms 
)
inline

Set dynode/anode and dynode/anode RMS.

Definition at line 91 of file PMTCalibData.h.

References fGainRatio, and fGainRatioRMS.

Referenced by io::PMTCalibData_ROOT::operator>>(), and testSEventImpl::setPMTCalibDataValues().

void sevt::PMTCalibData::SetHighGainDelay ( const double  dt,
const double  rms 
)
inline

Set dynode anode delay and delay RMS.

Definition at line 98 of file PMTCalibData.h.

References fHighGainDelay, and fHighGainDelayRMS.

Referenced by io::PMTCalibData_ROOT::operator>>(), and testSEventImpl::setPMTCalibDataValues().

void sevt::PMTCalibData::SetHighGainDelayChi2 ( const double  chi2)
inline
void sevt::PMTCalibData::SetIsLowGainOk ( const bool  ok)
inline
void sevt::PMTCalibData::SetIsTubeOk ( const bool  ok)
inline
void sevt::PMTCalibData::SetMuonBaseHisto ( const std::vector< int > &  mbh,
const int  offset 
)
inline
void sevt::PMTCalibData::SetMuonChargeHisto ( const std::vector< int > &  mch,
const int  offset 
)
inline
void sevt::PMTCalibData::SetMuonPeakHisto ( const std::vector< int > &  mph,
const int  offset 
)
inline
void sevt::PMTCalibData::SetMuonShapeHisto ( const std::vector< int > &  ms)
inline
void sevt::PMTCalibData::SetNumberTDA ( const int  num)
inline
void sevt::PMTCalibData::SetOnlineCharge ( const double  charge)
inline
void sevt::PMTCalibData::SetOnlinePeak ( const double  peak)
inline
void sevt::PMTCalibData::SetRate ( const double  rate)
inline

Friends And Related Function Documentation

friend class PMT
friend

Definition at line 139 of file PMTCalibData.h.

friend class utl::ShadowPtr< PMTCalibData >
friend

Definition at line 140 of file PMTCalibData.h.

Member Data Documentation

double sevt::PMTCalibData::fBaseline[sdet::PMTConstants::eNumberOfGains] = { 0 }
private

Definition at line 118 of file PMTCalibData.h.

Referenced by GetBaseline(), and SetBaseline().

double sevt::PMTCalibData::fBaselineRMS[sdet::PMTConstants::eNumberOfGains] = { 0 }
private

Definition at line 119 of file PMTCalibData.h.

Referenced by GetBaselineRMS(), and SetBaseline().

int sevt::PMTCalibData::fEvolution = 0
private

Definition at line 125 of file PMTCalibData.h.

Referenced by GetEvolution(), and SetEvolution().

double sevt::PMTCalibData::fGainRatio = 0
private

Definition at line 120 of file PMTCalibData.h.

Referenced by GetGainRatio(), and SetGainRatio().

double sevt::PMTCalibData::fGainRatioRMS = 0
private

Definition at line 121 of file PMTCalibData.h.

Referenced by GetGainRatioRMS(), and SetGainRatio().

double sevt::PMTCalibData::fHighGainDelay = 0
private

Definition at line 122 of file PMTCalibData.h.

Referenced by GetHighGainDelay(), and SetHighGainDelay().

double sevt::PMTCalibData::fHighGainDelayChi2 = 0
private

Definition at line 124 of file PMTCalibData.h.

Referenced by GetHighGainDelayChi2(), and SetHighGainDelayChi2().

double sevt::PMTCalibData::fHighGainDelayRMS = 0
private

Definition at line 123 of file PMTCalibData.h.

Referenced by GetHighGainDelayRMS(), and SetHighGainDelay().

bool sevt::PMTCalibData::fIsLowGainOk = true
private

Definition at line 128 of file PMTCalibData.h.

Referenced by IsLowGainOk(), and SetIsLowGainOk().

bool sevt::PMTCalibData::fIsTubeOk = false
private

Definition at line 127 of file PMTCalibData.h.

Referenced by IsLowGainOk(), IsTubeOk(), and SetIsTubeOk().

std::vector<int> sevt::PMTCalibData::fMuonBaseHisto
private

Definition at line 130 of file PMTCalibData.h.

Referenced by GetMuonBaseHisto(), and SetMuonBaseHisto().

int sevt::PMTCalibData::fMuonBaseHistoOffset = 0
private

Definition at line 135 of file PMTCalibData.h.

Referenced by GetMuonBaseHistoOffset(), and SetMuonBaseHisto().

std::vector<int> sevt::PMTCalibData::fMuonChargeHisto
private

Definition at line 132 of file PMTCalibData.h.

Referenced by GetMuonChargeHisto(), and SetMuonChargeHisto().

int sevt::PMTCalibData::fMuonChargeHistoOffset = 0
private

Definition at line 137 of file PMTCalibData.h.

Referenced by GetMuonChargeHistoOffset(), and SetMuonChargeHisto().

std::vector<int> sevt::PMTCalibData::fMuonPeakHisto
private

Definition at line 131 of file PMTCalibData.h.

Referenced by GetMuonPeakHisto(), and SetMuonPeakHisto().

int sevt::PMTCalibData::fMuonPeakHistoOffset = 0
private

Definition at line 136 of file PMTCalibData.h.

Referenced by GetMuonPeakHistoOffset(), and SetMuonPeakHisto().

std::vector<int> sevt::PMTCalibData::fMuonShapeHisto
private

Definition at line 133 of file PMTCalibData.h.

Referenced by GetMuonShapeHisto(), and SetMuonShapeHisto().

int sevt::PMTCalibData::fNTDA = 0
private

Definition at line 126 of file PMTCalibData.h.

Referenced by GetNumberTDA(), and SetNumberTDA().

double sevt::PMTCalibData::fOnlineCharge = 0
private

Definition at line 117 of file PMTCalibData.h.

Referenced by GetOnlineCharge(), and SetOnlineCharge().

double sevt::PMTCalibData::fOnlinePeak = 0
private

Definition at line 116 of file PMTCalibData.h.

Referenced by GetOnlinePeak(), and SetOnlinePeak().

double sevt::PMTCalibData::fRate = 0
private

Definition at line 115 of file PMTCalibData.h.

Referenced by GetRate(), and SetRate().


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

, generated on Tue Sep 26 2023.