BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnZDCRaw2Digit Class Reference

#include <BmnZDCRaw2Digit.h>

Collaboration diagram for BmnZDCRaw2Digit:

Public Member Functions

 BmnZDCRaw2Digit (Int_t period, Int_t run, TString mappingFile, TString calibrationFile="", TString MaxPositionFile="")
 BmnZDCRaw2Digit ()
virtual ~BmnZDCRaw2Digit ()
void print ()
void setParStep (Float_t p)
Float_t getParStep ()
void setParStart (Float_t p)
Float_t getParStart ()
void setThreshold (Float_t t)
Float_t getThreshold ()
void setEnergy (Float_t e)
Float_t getEnergy ()
void setError (Float_t s)
Float_t getError ()
void setNorm (Float_t n)
Float_t getNorm ()
void setType (Int_t t)
Int_t getType ()
void setMinSamples (Int_t m)
Int_t getMinSamples ()
void setPedSamples (Int_t p)
Int_t getPedSamples ()
void setUseMeanXY (Int_t u)
Int_t getUseMeanXY ()
void setLogFunction (Int_t u)
Int_t getUseLogFunction ()
void FillEvent (TClonesArray *data, TClonesArray *zdcdigit)
void fillAmplitudes (TClonesArray *data)
int fillCalibrateCluster (TClonesArray *data, Float_t x, Float_t y, Float_t e, Int_t clsize)
int fillCalibrateNumbers (TClonesArray *data, Float_t x, Float_t y, Float_t e, Int_t ncells, Int_t *numbers)
int fillCalibrateAll (TClonesArray *data, Float_t x, Float_t y, Float_t e)
void fillSampleProfiles (TClonesArray *data, Float_t x, Float_t y, Float_t e, Int_t clsize)
void fillSampleProfilesAll (TClonesArray *data, Float_t x, Float_t y, Float_t e)
void calibrate ()
void drawzdc (int nohist=0)
void drawprof ()
void drawtest ()
float getAmp (int zch)
float getLogAmp (int lch)
int getLogId (int lch)
int getLogChan (int lch)
 BmnZDCRaw2Digit (Int_t period, Int_t run, TString mappingFile, TString calibrationFile="", TString MaxPositionFile="")
 BmnZDCRaw2Digit ()
virtual ~BmnZDCRaw2Digit ()
void print ()
void setParStep (Float_t p)
Float_t getParStep ()
void setParStart (Float_t p)
Float_t getParStart ()
void setThreshold (Float_t t)
Float_t getThreshold ()
void setEnergy (Float_t e)
Float_t getEnergy ()
void setError (Float_t s)
Float_t getError ()
void setNorm (Float_t n)
Float_t getNorm ()
void setType (Int_t t)
Int_t getType ()
void setMinSamples (Int_t m)
Int_t getMinSamples ()
void setPedSamples (Int_t p)
Int_t getPedSamples ()
void setUseMeanXY (Int_t u)
Int_t getUseMeanXY ()
void setLogFunction (Int_t u)
Int_t getUseLogFunction ()
void FillEvent (TClonesArray *data, TClonesArray *zdcdigit)
void fillAmplitudes (TClonesArray *data)
int fillCalibrateCluster (TClonesArray *data, Float_t x, Float_t y, Float_t e, Int_t clsize)
int fillCalibrateNumbers (TClonesArray *data, Float_t x, Float_t y, Float_t e, Int_t ncells, Int_t *numbers)
int fillCalibrateAll (TClonesArray *data, Float_t x, Float_t y, Float_t e)
void fillSampleProfiles (TClonesArray *data, Float_t x, Float_t y, Float_t e, Int_t clsize)
void fillSampleProfilesAll (TClonesArray *data, Float_t x, Float_t y, Float_t e)
void calibrate ()
void drawzdc (int nohist=0)
void drawprof ()
void drawtest ()
float getAmp (int zch)
float getLogAmp (int lch)
int getLogId (int lch)
int getLogChan (int lch)

Private Member Functions

void cellWeight (int ievent)
double ch (double x, double r)
double sh (double x, double r)
double PP1 (double x, double h)
double PP2 (double x, double h)
double shower (double x, double h)
float wave2amp (UChar_t ns, vector< Short_t > &scale, Float_t *p, Float_t *sigMin, Float_t *sigMax, Float_t *sigPed, Float_t *sigInt)
float testwave2amp (UChar_t ns, vector< Short_t > &scale, Float_t *p)
void cellWeight (int ievent)
double ch (double x, double r)
double sh (double x, double r)
double PP1 (double x, double h)
double PP2 (double x, double h)
double shower (double x, double h)
float wave2amp (UChar_t ns, vector< Short_t > &scale, Float_t *p, Float_t *sigMin, Float_t *sigMax, Float_t *sigPed, Float_t *sigInt)
float testwave2amp (UChar_t ns, vector< Short_t > &scale, Float_t *p)

Private Attributes

int digiPar [6]
int maxchan
Bmn_ZDC_map_element zdc_map_element [256]
float cell_size [10]
int n_rec
float thres
int wave2amp_flag
int MaxPos_min
int MaxPos_max
int min_samples
int ped_samples
int use_meanxy
float sigma_amp
float shower_energy
float shower_norm
float x_beam
float y_beam
float x_min
float y_min
float x_max
float y_max
float pstart
float pstep
int ncells
float zdc_amp [MAX_CHANNELS]
float log_amp [MAX_LOG_CHANNELS]
int number [MAX_CHANNELS]
int index [MAX_CHANNELS]
int channel0 [MAX_CHANNELS]
int channel1 [MAX_CHANNELS]
float cal [MAX_CHANNELS]
float cale [MAX_CHANNELS]
float cal_out [MAX_CHANNELS]
float cale_out [MAX_CHANNELS]
Int_t periodId
Int_t runId
int n_test
int test_chan [MAX_LOG_CHANNELS]
UInt_t test_id [MAX_LOG_CHANNELS]
int is_test [256]
TH1F * htest [MAX_LOG_CHANNELS]
TProfile * TestProf [MAX_LOG_CHANNELS]
TH1F * hsum_sim
TH1F * hsum_raw
TH1F * hsum
TH1F * hxmean
TH1F * hymean
TProfile * SampleProf [MAX_CHANNELS]

Detailed Description

Definition at line 64 of file BmnZDCRaw2Digit.h.

Constructor & Destructor Documentation

◆ BmnZDCRaw2Digit() [1/4]

BmnZDCRaw2Digit::BmnZDCRaw2Digit ( Int_t period,
Int_t run,
TString mappingFile,
TString calibrationFile = "",
TString MaxPositionFile = "" )

Definition at line 30 of file BmnZDCRaw2Digit.cxx.

References amp_array, cal, cal_out, cale, cale_out, cell_size, channel0, channel1, TString::Data(), digiPar, UniRun::GetBeamParticle(), UniRun::GetRun(), hsum, hsum_raw, hsum_sim, htest, hxmean, hymean, i, index, is_test, log_amp, MAX_CHANNELS, MAX_EVENTS, MAX_LOG_CHANNELS, maxchan, MaxPos_max, MaxPos_min, min_samples, n_rec, n_test, nevents, number, ped_samples, pedestals, periodId, PRINT_ZDC_CALIBRATION, profile_amp, profile_err, runId, SampleProf, shower_energy, shower_norm, sigma_amp, test_chan, test_id, TestProf, thres, use_log_function, use_meanxy, wave2amp_flag, x, x_beam, x_max, x_min, y, y_beam, y_max, y_min, zdc_amp, and zdc_map_element.

Referenced by testwave2amp().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BmnZDCRaw2Digit() [2/4]

BmnZDCRaw2Digit::BmnZDCRaw2Digit ( )

Definition at line 20 of file BmnZDCRaw2Digit.cxx.

References digiPar, i, n_rec, n_test, periodId, and runId.

◆ ~BmnZDCRaw2Digit() [1/2]

BmnZDCRaw2Digit::~BmnZDCRaw2Digit ( )
virtual

Definition at line 292 of file BmnZDCRaw2Digit.cxx.

References hsum, hsum_raw, hsum_sim, htest, hxmean, hymean, i, n_rec, n_test, SampleProf, and TestProf.

◆ BmnZDCRaw2Digit() [3/4]

BmnZDCRaw2Digit::BmnZDCRaw2Digit ( Int_t period,
Int_t run,
TString mappingFile,
TString calibrationFile = "",
TString MaxPositionFile = "" )

◆ BmnZDCRaw2Digit() [4/4]

BmnZDCRaw2Digit::BmnZDCRaw2Digit ( )

◆ ~BmnZDCRaw2Digit() [2/2]

virtual BmnZDCRaw2Digit::~BmnZDCRaw2Digit ( )
virtual

Member Function Documentation

◆ calibrate() [1/2]

void BmnZDCRaw2Digit::calibrate ( )

Definition at line 1101 of file BmnZDCRaw2Digit.cxx.

References amp_array, cal, cal_out, cale, cale_out, channel1, fcn1(), TMinuit::GetParameter(), hsum, i, MAX_CHANNELS, maxchan, TMinuit::mnexcm(), TMinuit::mnparm(), TMinuit::mnprin(), TMinuit::mnstat(), ncells, nevents, periodId, pstart, pstep, runId, and TMinuit::SetFCN().

Referenced by Calibration_all_ZDC(), Calibration_cluster_ZDC(), Calibration_numbers_ZDC(), and Calibration_test_ZDC().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calibrate() [2/2]

void BmnZDCRaw2Digit::calibrate ( )

◆ cellWeight() [1/2]

void BmnZDCRaw2Digit::cellWeight ( int ievent)
private

Definition at line 1076 of file BmnZDCRaw2Digit.cxx.

References amp_array, cell_size, i, index, ncells, profile_amp, profile_err, shower(), sigma_amp, TMath::Sqrt(), use_meanxy, x, x_beam, y, y_beam, and zdc_map_element.

Referenced by fillCalibrateAll(), fillCalibrateCluster(), and fillCalibrateNumbers().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cellWeight() [2/2]

void BmnZDCRaw2Digit::cellWeight ( int ievent)
private

◆ ch() [1/2]

double BmnZDCRaw2Digit::ch ( double x,
double r )
private

Definition at line 1205 of file BmnZDCRaw2Digit.cxx.

References x.

Referenced by PP1().

Here is the caller graph for this function:

◆ ch() [2/2]

double BmnZDCRaw2Digit::ch ( double x,
double r )
private

References x.

◆ drawprof() [1/2]

void BmnZDCRaw2Digit::drawprof ( )

Definition at line 1538 of file BmnZDCRaw2Digit.cxx.

References TCanvas::cd(), TPad::Divide(), hxmean, hymean, i, ncells, and SampleProf.

Referenced by Preparation_ZDC().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawprof() [2/2]

void BmnZDCRaw2Digit::drawprof ( )

◆ drawtest() [1/2]

void BmnZDCRaw2Digit::drawtest ( )

Definition at line 1580 of file BmnZDCRaw2Digit.cxx.

References TCanvas::cd(), TPad::Divide(), htest, i, n_test, and TestProf.

Referenced by Preparation_ZDC().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawtest() [2/2]

void BmnZDCRaw2Digit::drawtest ( )

◆ drawzdc() [1/2]

void BmnZDCRaw2Digit::drawzdc ( int nohist = 0)

Definition at line 1472 of file BmnZDCRaw2Digit.cxx.

References cal_out, TCanvas::cd(), cell_size, TPad::Divide(), TObject::Draw(), hsum, hsum_raw, i, MAX_CHANNELS, n_rec, ncells, number, TAttText::SetTextAlign(), TAttText::SetTextColor(), TAttText::SetTextSize(), x, x_max, x_min, y, y_max, y_min, and zdc_map_element.

Referenced by Calibration_all_ZDC(), Calibration_cluster_ZDC(), Calibration_numbers_ZDC(), Calibration_test_ZDC(), and Draw_ZDC().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawzdc() [2/2]

void BmnZDCRaw2Digit::drawzdc ( int nohist = 0)

◆ fillAmplitudes() [1/2]

void BmnZDCRaw2Digit::fillAmplitudes ( TClonesArray * data)

Definition at line 664 of file BmnZDCRaw2Digit.cxx.

References TObjArray::At(), BmnADCDigit< IntType >::GetChannel(), TObjArray::GetEntriesFast(), BmnADCDigit< IntType >::GetNSamples(), BmnADCDigit< IntType >::GetSerial(), BmnADCDigit< IntType >::GetValue(), i, is_test, log_amp, MAX_CHANNELS, MAX_LOG_CHANNELS, n_rec, test_id, testwave2amp(), wave2amp(), zdc_amp, and zdc_map_element.

Referenced by Preparation_ZDC().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fillAmplitudes() [2/2]

void BmnZDCRaw2Digit::fillAmplitudes ( TClonesArray * data)

◆ fillCalibrateAll() [1/2]

int BmnZDCRaw2Digit::fillCalibrateAll ( TClonesArray * data,
Float_t x,
Float_t y,
Float_t e )

Definition at line 996 of file BmnZDCRaw2Digit.cxx.

References amp_array, TObjArray::At(), cal, cell_size, cellWeight(), channel0, channel1, BmnADCDigit< IntType >::GetChannel(), TObjArray::GetEntriesFast(), BmnADCDigit< IntType >::GetNSamples(), BmnADCDigit< IntType >::GetSerial(), BmnADCDigit< IntType >::GetValue(), i, log_amp, MAX_CHANNELS, MAX_EVENTS, MAX_LOG_CHANNELS, n_rec, ncells, nevents, number, pedestals, profile_amp, profile_err, shower_energy, wave2amp(), x, x_beam, y, y_beam, zdc_amp, and zdc_map_element.

Referenced by Calibration_all_ZDC().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fillCalibrateAll() [2/2]

int BmnZDCRaw2Digit::fillCalibrateAll ( TClonesArray * data,
Float_t x,
Float_t y,
Float_t e )

References x, and y.

◆ fillCalibrateCluster() [1/2]

int BmnZDCRaw2Digit::fillCalibrateCluster ( TClonesArray * data,
Float_t x,
Float_t y,
Float_t e,
Int_t clsize )

Definition at line 707 of file BmnZDCRaw2Digit.cxx.

References amp_array, TObjArray::At(), cal, cell_size, cellWeight(), channel0, channel1, BmnADCDigit< IntType >::GetChannel(), TObjArray::GetEntriesFast(), BmnADCDigit< IntType >::GetNSamples(), BmnADCDigit< IntType >::GetSerial(), BmnADCDigit< IntType >::GetValue(), hsum_raw, hsum_sim, i, index, log_amp, MAX_CHANNELS, MAX_EVENTS, MAX_LOG_CHANNELS, n_rec, ncells, nevents, number, pedestals, profile_amp, profile_err, shower(), shower_energy, sigma_amp, TMath::Sqrt(), wave2amp(), x, x_beam, x_max, y, y_beam, y_max, zdc_amp, and zdc_map_element.

Referenced by Calibration_cluster_ZDC(), and Calibration_test_ZDC().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fillCalibrateCluster() [2/2]

int BmnZDCRaw2Digit::fillCalibrateCluster ( TClonesArray * data,
Float_t x,
Float_t y,
Float_t e,
Int_t clsize )

References x, and y.

◆ fillCalibrateNumbers() [1/2]

int BmnZDCRaw2Digit::fillCalibrateNumbers ( TClonesArray * data,
Float_t x,
Float_t y,
Float_t e,
Int_t ncells,
Int_t * numbers )

Definition at line 890 of file BmnZDCRaw2Digit.cxx.

References amp_array, TObjArray::At(), cal, cell_size, cellWeight(), channel0, channel1, BmnADCDigit< IntType >::GetChannel(), TObjArray::GetEntriesFast(), BmnADCDigit< IntType >::GetNSamples(), BmnADCDigit< IntType >::GetSerial(), BmnADCDigit< IntType >::GetValue(), hsum_raw, hsum_sim, i, index, log_amp, MAX_CHANNELS, MAX_EVENTS, MAX_LOG_CHANNELS, n_rec, ncells, nevents, number, pedestals, profile_amp, profile_err, shower(), shower_energy, TMath::Sqrt(), wave2amp(), x, x_beam, x_max, y, y_beam, y_max, zdc_amp, and zdc_map_element.

Referenced by Calibration_numbers_ZDC().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fillCalibrateNumbers() [2/2]

int BmnZDCRaw2Digit::fillCalibrateNumbers ( TClonesArray * data,
Float_t x,
Float_t y,
Float_t e,
Int_t ncells,
Int_t * numbers )

References ncells, x, and y.

◆ FillEvent() [1/2]

void BmnZDCRaw2Digit::FillEvent ( TClonesArray * data,
TClonesArray * zdcdigit )

Definition at line 604 of file BmnZDCRaw2Digit.cxx.

References TObjArray::At(), cal, BmnADCDigit< IntType >::GetChannel(), TObjArray::GetEntriesFast(), BmnADCDigit< IntType >::GetNSamples(), BmnADCDigit< IntType >::GetSerial(), BmnADCDigit< IntType >::GetValue(), htest, i, is_test, log_amp, MAX_CHANNELS, MAX_LOG_CHANNELS, n_rec, test_id, TestProf, testwave2amp(), wave2amp(), x, y, zdc_amp, and zdc_map_element.

Referenced by testRaw2Digit(), testRaw2Digit_only_ZDC(), and testRaw2DigitMwpc().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FillEvent() [2/2]

void BmnZDCRaw2Digit::FillEvent ( TClonesArray * data,
TClonesArray * zdcdigit )

◆ fillSampleProfiles() [1/2]

void BmnZDCRaw2Digit::fillSampleProfiles ( TClonesArray * data,
Float_t x,
Float_t y,
Float_t e,
Int_t clsize )

◆ fillSampleProfiles() [2/2]

void BmnZDCRaw2Digit::fillSampleProfiles ( TClonesArray * data,
Float_t x,
Float_t y,
Float_t e,
Int_t clsize )

References x, and y.

◆ fillSampleProfilesAll() [1/2]

void BmnZDCRaw2Digit::fillSampleProfilesAll ( TClonesArray * data,
Float_t x,
Float_t y,
Float_t e )

Definition at line 497 of file BmnZDCRaw2Digit.cxx.

References TObjArray::At(), cal, cell_size, channel0, channel1, BmnADCDigit< IntType >::GetChannel(), TObjArray::GetEntriesFast(), BmnADCDigit< IntType >::GetNSamples(), BmnADCDigit< IntType >::GetSerial(), BmnADCDigit< IntType >::GetValue(), htest, hxmean, hymean, i, is_test, log_amp, MAX_CHANNELS, MAX_EVENTS, MAX_LOG_CHANNELS, n_rec, ncells, nevents, number, SampleProf, shower_energy, test_id, TestProf, testwave2amp(), wave2amp(), x, x_beam, y, y_beam, zdc_amp, and zdc_map_element.

Referenced by Preparation_ZDC().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fillSampleProfilesAll() [2/2]

void BmnZDCRaw2Digit::fillSampleProfilesAll ( TClonesArray * data,
Float_t x,
Float_t y,
Float_t e )

References x, and y.

◆ getAmp() [1/2]

float BmnZDCRaw2Digit::getAmp ( int zch)
inline

Definition at line 133 of file BmnZDCRaw2Digit.h.

References MAX_CHANNELS, and zdc_amp.

◆ getAmp() [2/2]

float BmnZDCRaw2Digit::getAmp ( int zch)
inline

Definition at line 133 of file BmnZDCRaw2Digit.h.

References MAX_CHANNELS, and zdc_amp.

◆ getEnergy() [1/2]

Float_t BmnZDCRaw2Digit::getEnergy ( )
inline

Definition at line 88 of file BmnZDCRaw2Digit.h.

References shower_energy.

◆ getEnergy() [2/2]

Float_t BmnZDCRaw2Digit::getEnergy ( )
inline

Definition at line 88 of file BmnZDCRaw2Digit.h.

References shower_energy.

◆ getError() [1/2]

Float_t BmnZDCRaw2Digit::getError ( )
inline

Definition at line 91 of file BmnZDCRaw2Digit.h.

References sigma_amp.

◆ getError() [2/2]

Float_t BmnZDCRaw2Digit::getError ( )
inline

Definition at line 91 of file BmnZDCRaw2Digit.h.

References sigma_amp.

◆ getLogAmp() [1/2]

float BmnZDCRaw2Digit::getLogAmp ( int lch)
inline

Definition at line 141 of file BmnZDCRaw2Digit.h.

References log_amp, and MAX_LOG_CHANNELS.

◆ getLogAmp() [2/2]

float BmnZDCRaw2Digit::getLogAmp ( int lch)
inline

Definition at line 141 of file BmnZDCRaw2Digit.h.

References log_amp, and MAX_LOG_CHANNELS.

◆ getLogChan() [1/2]

int BmnZDCRaw2Digit::getLogChan ( int lch)
inline

Definition at line 157 of file BmnZDCRaw2Digit.h.

References MAX_LOG_CHANNELS, and test_chan.

◆ getLogChan() [2/2]

int BmnZDCRaw2Digit::getLogChan ( int lch)
inline

Definition at line 157 of file BmnZDCRaw2Digit.h.

References MAX_LOG_CHANNELS, and test_chan.

◆ getLogId() [1/2]

int BmnZDCRaw2Digit::getLogId ( int lch)
inline

Definition at line 149 of file BmnZDCRaw2Digit.h.

References MAX_LOG_CHANNELS, and test_id.

◆ getLogId() [2/2]

int BmnZDCRaw2Digit::getLogId ( int lch)
inline

Definition at line 149 of file BmnZDCRaw2Digit.h.

References MAX_LOG_CHANNELS, and test_id.

◆ getMinSamples() [1/2]

Int_t BmnZDCRaw2Digit::getMinSamples ( )
inline

Definition at line 100 of file BmnZDCRaw2Digit.h.

References min_samples.

◆ getMinSamples() [2/2]

Int_t BmnZDCRaw2Digit::getMinSamples ( )
inline

Definition at line 100 of file BmnZDCRaw2Digit.h.

References min_samples.

◆ getNorm() [1/2]

Float_t BmnZDCRaw2Digit::getNorm ( )
inline

Definition at line 94 of file BmnZDCRaw2Digit.h.

References shower_norm.

◆ getNorm() [2/2]

Float_t BmnZDCRaw2Digit::getNorm ( )
inline

Definition at line 94 of file BmnZDCRaw2Digit.h.

References shower_norm.

◆ getParStart() [1/2]

Float_t BmnZDCRaw2Digit::getParStart ( )
inline

Definition at line 82 of file BmnZDCRaw2Digit.h.

References pstart.

◆ getParStart() [2/2]

Float_t BmnZDCRaw2Digit::getParStart ( )
inline

Definition at line 82 of file BmnZDCRaw2Digit.h.

References pstart.

◆ getParStep() [1/2]

Float_t BmnZDCRaw2Digit::getParStep ( )
inline

Definition at line 79 of file BmnZDCRaw2Digit.h.

References pstep.

◆ getParStep() [2/2]

Float_t BmnZDCRaw2Digit::getParStep ( )
inline

Definition at line 79 of file BmnZDCRaw2Digit.h.

References pstep.

◆ getPedSamples() [1/2]

Int_t BmnZDCRaw2Digit::getPedSamples ( )
inline

Definition at line 103 of file BmnZDCRaw2Digit.h.

References ped_samples.

◆ getPedSamples() [2/2]

Int_t BmnZDCRaw2Digit::getPedSamples ( )
inline

Definition at line 103 of file BmnZDCRaw2Digit.h.

References ped_samples.

◆ getThreshold() [1/2]

Float_t BmnZDCRaw2Digit::getThreshold ( )
inline

Definition at line 85 of file BmnZDCRaw2Digit.h.

References thres.

◆ getThreshold() [2/2]

Float_t BmnZDCRaw2Digit::getThreshold ( )
inline

Definition at line 85 of file BmnZDCRaw2Digit.h.

References thres.

◆ getType() [1/2]

Int_t BmnZDCRaw2Digit::getType ( )
inline

Definition at line 97 of file BmnZDCRaw2Digit.h.

References wave2amp_flag.

◆ getType() [2/2]

Int_t BmnZDCRaw2Digit::getType ( )
inline

Definition at line 97 of file BmnZDCRaw2Digit.h.

References wave2amp_flag.

◆ getUseLogFunction() [1/2]

Int_t BmnZDCRaw2Digit::getUseLogFunction ( )
inline

Definition at line 109 of file BmnZDCRaw2Digit.h.

References use_log_function.

◆ getUseLogFunction() [2/2]

Int_t BmnZDCRaw2Digit::getUseLogFunction ( )
inline

Definition at line 109 of file BmnZDCRaw2Digit.h.

References use_log_function.

◆ getUseMeanXY() [1/2]

Int_t BmnZDCRaw2Digit::getUseMeanXY ( )
inline

Definition at line 106 of file BmnZDCRaw2Digit.h.

References use_meanxy.

◆ getUseMeanXY() [2/2]

Int_t BmnZDCRaw2Digit::getUseMeanXY ( )
inline

Definition at line 106 of file BmnZDCRaw2Digit.h.

References use_meanxy.

◆ PP1() [1/2]

double BmnZDCRaw2Digit::PP1 ( double x,
double h )
private

Definition at line 1217 of file BmnZDCRaw2Digit.cxx.

References ch(), shower_energy, and x.

Referenced by shower().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PP1() [2/2]

double BmnZDCRaw2Digit::PP1 ( double x,
double h )
private

References x.

◆ PP2() [1/2]

double BmnZDCRaw2Digit::PP2 ( double x,
double h )
private

Definition at line 1241 of file BmnZDCRaw2Digit.cxx.

References sh(), shower_energy, and x.

Referenced by shower().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PP2() [2/2]

double BmnZDCRaw2Digit::PP2 ( double x,
double h )
private

References x.

◆ print() [1/2]

void BmnZDCRaw2Digit::print ( )

Definition at line 320 of file BmnZDCRaw2Digit.cxx.

References i, n_rec, x, y, and zdc_map_element.

Referenced by Calibration_all_ZDC(), Calibration_cluster_ZDC(), Calibration_numbers_ZDC(), Calibration_test_ZDC(), Draw_ZDC(), Preparation_ZDC(), testRaw2Digit(), testRaw2Digit_only_ZDC(), and testRaw2DigitMwpc().

Here is the caller graph for this function:

◆ print() [2/2]

void BmnZDCRaw2Digit::print ( )

◆ setEnergy() [1/2]

void BmnZDCRaw2Digit::setEnergy ( Float_t e)
inline

Definition at line 87 of file BmnZDCRaw2Digit.h.

References shower_energy.

◆ setEnergy() [2/2]

void BmnZDCRaw2Digit::setEnergy ( Float_t e)
inline

Definition at line 87 of file BmnZDCRaw2Digit.h.

References shower_energy.

◆ setError() [1/2]

void BmnZDCRaw2Digit::setError ( Float_t s)
inline

Definition at line 90 of file BmnZDCRaw2Digit.h.

References sigma_amp.

Referenced by Calibration_all_ZDC(), Calibration_cluster_ZDC(), Calibration_numbers_ZDC(), and Calibration_test_ZDC().

Here is the caller graph for this function:

◆ setError() [2/2]

void BmnZDCRaw2Digit::setError ( Float_t s)
inline

Definition at line 90 of file BmnZDCRaw2Digit.h.

References sigma_amp.

◆ setLogFunction() [1/2]

void BmnZDCRaw2Digit::setLogFunction ( Int_t u)
inline

Definition at line 108 of file BmnZDCRaw2Digit.h.

References use_log_function.

Referenced by Calibration_all_ZDC(), Calibration_cluster_ZDC(), and Calibration_numbers_ZDC().

Here is the caller graph for this function:

◆ setLogFunction() [2/2]

void BmnZDCRaw2Digit::setLogFunction ( Int_t u)
inline

Definition at line 108 of file BmnZDCRaw2Digit.h.

References use_log_function.

◆ setMinSamples() [1/2]

void BmnZDCRaw2Digit::setMinSamples ( Int_t m)
inline

Definition at line 99 of file BmnZDCRaw2Digit.h.

References m, and min_samples.

◆ setMinSamples() [2/2]

void BmnZDCRaw2Digit::setMinSamples ( Int_t m)
inline

Definition at line 99 of file BmnZDCRaw2Digit.h.

References m, and min_samples.

◆ setNorm() [1/2]

void BmnZDCRaw2Digit::setNorm ( Float_t n)
inline

Definition at line 93 of file BmnZDCRaw2Digit.h.

References n, and shower_norm.

Referenced by Calibration_all_ZDC(), Calibration_cluster_ZDC(), Calibration_numbers_ZDC(), and Calibration_test_ZDC().

Here is the caller graph for this function:

◆ setNorm() [2/2]

void BmnZDCRaw2Digit::setNorm ( Float_t n)
inline

Definition at line 93 of file BmnZDCRaw2Digit.h.

References n, and shower_norm.

◆ setParStart() [1/2]

void BmnZDCRaw2Digit::setParStart ( Float_t p)
inline

Definition at line 81 of file BmnZDCRaw2Digit.h.

References pstart.

Referenced by Calibration_all_ZDC(), Calibration_cluster_ZDC(), Calibration_numbers_ZDC(), and Calibration_test_ZDC().

Here is the caller graph for this function:

◆ setParStart() [2/2]

void BmnZDCRaw2Digit::setParStart ( Float_t p)
inline

Definition at line 81 of file BmnZDCRaw2Digit.h.

References pstart.

◆ setParStep() [1/2]

void BmnZDCRaw2Digit::setParStep ( Float_t p)
inline

Definition at line 78 of file BmnZDCRaw2Digit.h.

References pstep.

Referenced by Calibration_all_ZDC(), Calibration_cluster_ZDC(), Calibration_numbers_ZDC(), and Calibration_test_ZDC().

Here is the caller graph for this function:

◆ setParStep() [2/2]

void BmnZDCRaw2Digit::setParStep ( Float_t p)
inline

Definition at line 78 of file BmnZDCRaw2Digit.h.

References pstep.

◆ setPedSamples() [1/2]

void BmnZDCRaw2Digit::setPedSamples ( Int_t p)
inline

Definition at line 102 of file BmnZDCRaw2Digit.h.

References ped_samples.

◆ setPedSamples() [2/2]

void BmnZDCRaw2Digit::setPedSamples ( Int_t p)
inline

Definition at line 102 of file BmnZDCRaw2Digit.h.

References ped_samples.

◆ setThreshold() [1/2]

void BmnZDCRaw2Digit::setThreshold ( Float_t t)
inline

Definition at line 84 of file BmnZDCRaw2Digit.h.

References thres.

◆ setThreshold() [2/2]

void BmnZDCRaw2Digit::setThreshold ( Float_t t)
inline

Definition at line 84 of file BmnZDCRaw2Digit.h.

References thres.

◆ setType() [1/2]

void BmnZDCRaw2Digit::setType ( Int_t t)
inline

Definition at line 96 of file BmnZDCRaw2Digit.h.

References wave2amp_flag.

◆ setType() [2/2]

void BmnZDCRaw2Digit::setType ( Int_t t)
inline

Definition at line 96 of file BmnZDCRaw2Digit.h.

References wave2amp_flag.

◆ setUseMeanXY() [1/2]

void BmnZDCRaw2Digit::setUseMeanXY ( Int_t u)
inline

Definition at line 105 of file BmnZDCRaw2Digit.h.

References use_meanxy.

◆ setUseMeanXY() [2/2]

void BmnZDCRaw2Digit::setUseMeanXY ( Int_t u)
inline

Definition at line 105 of file BmnZDCRaw2Digit.h.

References use_meanxy.

◆ sh() [1/2]

double BmnZDCRaw2Digit::sh ( double x,
double r )
private

Definition at line 1210 of file BmnZDCRaw2Digit.cxx.

References x.

Referenced by PP2().

Here is the caller graph for this function:

◆ sh() [2/2]

double BmnZDCRaw2Digit::sh ( double x,
double r )
private

References x.

◆ shower() [1/2]

double BmnZDCRaw2Digit::shower ( double x,
double h )
private

Definition at line 1263 of file BmnZDCRaw2Digit.cxx.

References PP1(), PP2(), shower_energy, shower_norm, and x.

Referenced by cellWeight(), fillCalibrateCluster(), and fillCalibrateNumbers().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shower() [2/2]

double BmnZDCRaw2Digit::shower ( double x,
double h )
private

References x.

◆ testwave2amp() [1/2]

float BmnZDCRaw2Digit::testwave2amp ( UChar_t ns,
vector< Short_t > & scale,
Float_t * p )
private

Definition at line 1422 of file BmnZDCRaw2Digit.cxx.

References m, min_samples, ped_samples, signal(), and wave2amp_flag.

Referenced by fillAmplitudes(), FillEvent(), fillSampleProfiles(), and fillSampleProfilesAll().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ testwave2amp() [2/2]

float BmnZDCRaw2Digit::testwave2amp ( UChar_t ns,
vector< Short_t > & scale,
Float_t * p )
private

References BmnZDCRaw2Digit(), hsum, hsum_raw, hsum_sim, htest, hxmean, hymean, is_test, MAX_CHANNELS, MAX_LOG_CHANNELS, n_test, periodId, runId, SampleProf, test_chan, test_id, and TestProf.

Here is the call graph for this function:

◆ wave2amp() [1/2]

float BmnZDCRaw2Digit::wave2amp ( UChar_t ns,
vector< Short_t > & scale,
Float_t * p,
Float_t * sigMin,
Float_t * sigMax,
Float_t * sigPed,
Float_t * sigInt )
private

Definition at line 1269 of file BmnZDCRaw2Digit.cxx.

References digiPar, fabs(), and m.

Referenced by fillAmplitudes(), fillCalibrateAll(), fillCalibrateCluster(), fillCalibrateNumbers(), FillEvent(), fillSampleProfiles(), and fillSampleProfilesAll().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wave2amp() [2/2]

float BmnZDCRaw2Digit::wave2amp ( UChar_t ns,
vector< Short_t > & scale,
Float_t * p,
Float_t * sigMin,
Float_t * sigMax,
Float_t * sigPed,
Float_t * sigInt )
private

Member Data Documentation

◆ cal

◆ cal_out

float BmnZDCRaw2Digit::cal_out
private

Definition at line 202 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), calibrate(), and drawzdc().

◆ cale

float BmnZDCRaw2Digit::cale
private

Definition at line 201 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), and calibrate().

◆ cale_out

float BmnZDCRaw2Digit::cale_out
private

Definition at line 203 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), and calibrate().

◆ cell_size

◆ channel0

int BmnZDCRaw2Digit::channel0
private

◆ channel1

◆ digiPar

int BmnZDCRaw2Digit::digiPar
private

Definition at line 168 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), BmnZDCRaw2Digit(), and wave2amp().

◆ hsum

TH1F * BmnZDCRaw2Digit::hsum
private

◆ hsum_raw

TH1F * BmnZDCRaw2Digit::hsum_raw
private

◆ hsum_sim

TH1F * BmnZDCRaw2Digit::hsum_sim
private

◆ htest

TH1F * BmnZDCRaw2Digit::htest
private

◆ hxmean

TH1F * BmnZDCRaw2Digit::hxmean
private

◆ hymean

TH1F * BmnZDCRaw2Digit::hymean
private

◆ index

int BmnZDCRaw2Digit::index
private

◆ is_test

int BmnZDCRaw2Digit::is_test
private

◆ log_amp

◆ maxchan

int BmnZDCRaw2Digit::maxchan
private

Definition at line 170 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), and calibrate().

◆ MaxPos_max

int BmnZDCRaw2Digit::MaxPos_max
private

Definition at line 176 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit().

◆ MaxPos_min

int BmnZDCRaw2Digit::MaxPos_min
private

Definition at line 176 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit().

◆ min_samples

int BmnZDCRaw2Digit::min_samples
private

Definition at line 177 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), getMinSamples(), setMinSamples(), and testwave2amp().

◆ n_rec

◆ n_test

int BmnZDCRaw2Digit::n_test
private

◆ ncells

◆ number

◆ ped_samples

int BmnZDCRaw2Digit::ped_samples
private

Definition at line 178 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), getPedSamples(), setPedSamples(), and testwave2amp().

◆ periodId

Int_t BmnZDCRaw2Digit::periodId
private

Definition at line 220 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), BmnZDCRaw2Digit(), calibrate(), and testwave2amp().

◆ pstart

float BmnZDCRaw2Digit::pstart
private

Definition at line 186 of file BmnZDCRaw2Digit.h.

Referenced by calibrate(), getParStart(), and setParStart().

◆ pstep

float BmnZDCRaw2Digit::pstep
private

Definition at line 186 of file BmnZDCRaw2Digit.h.

Referenced by calibrate(), getParStep(), and setParStep().

◆ runId

Int_t BmnZDCRaw2Digit::runId
private

Definition at line 221 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), BmnZDCRaw2Digit(), calibrate(), and testwave2amp().

◆ SampleProf

TProfile * BmnZDCRaw2Digit::SampleProf
private

◆ shower_energy

◆ shower_norm

float BmnZDCRaw2Digit::shower_norm
private

Definition at line 182 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), getNorm(), setNorm(), and shower().

◆ sigma_amp

float BmnZDCRaw2Digit::sigma_amp
private

◆ test_chan

int BmnZDCRaw2Digit::test_chan
private

Definition at line 223 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), getLogChan(), and testwave2amp().

◆ test_id

UInt_t BmnZDCRaw2Digit::test_id
private

◆ TestProf

TProfile * BmnZDCRaw2Digit::TestProf
private

◆ thres

float BmnZDCRaw2Digit::thres
private

Definition at line 174 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), getThreshold(), and setThreshold().

◆ use_meanxy

int BmnZDCRaw2Digit::use_meanxy
private

Definition at line 179 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), cellWeight(), getUseMeanXY(), and setUseMeanXY().

◆ wave2amp_flag

int BmnZDCRaw2Digit::wave2amp_flag
private

Definition at line 175 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), getType(), setType(), and testwave2amp().

◆ x_beam

◆ x_max

float BmnZDCRaw2Digit::x_max
private

◆ x_min

float BmnZDCRaw2Digit::x_min
private

Definition at line 184 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), and drawzdc().

◆ y_beam

◆ y_max

float BmnZDCRaw2Digit::y_max
private

◆ y_min

float BmnZDCRaw2Digit::y_min
private

Definition at line 184 of file BmnZDCRaw2Digit.h.

Referenced by BmnZDCRaw2Digit(), and drawzdc().

◆ zdc_amp

◆ zdc_map_element


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