|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnECALRaw2Digit.h>
Public Member Functions | |
| BmnECALRaw2Digit () | |
| BmnECALRaw2Digit (ULong_t runId) | |
| BmnECALRaw2Digit (const char *map_file_name, const char *calibr_file_name, const char *geo_file_name) | |
| virtual | ~BmnECALRaw2Digit () |
| void | print () |
| Bool_t | LoadAdcMap (const char *map_file_name) |
| Bool_t | LoadCalibration (const char *calibr_file_name) |
| Bool_t | LoadGeometry (const char *geo_file_name) |
| void | FillEvent (TClonesArray *data, TClonesArray *ecaldigit) |
| BmnECALRaw2Digit () | |
| BmnECALRaw2Digit (ULong_t runId) | |
| BmnECALRaw2Digit (const char *map_file_name, const char *calibr_file_name, const char *geo_file_name) | |
| virtual | ~BmnECALRaw2Digit () |
| void | print () |
| Bool_t | LoadAdcMap (const char *map_file_name) |
| Bool_t | LoadCalibration (const char *calibr_file_name) |
| Bool_t | LoadGeometry (const char *geo_file_name) |
| void | FillEvent (TClonesArray *data, TClonesArray *ecaldigit) |
Private Member Functions | |
| Bool_t | UseNovosibirskFit (BmnADCDigit< Short_t > *digit, Int_t chan, TClonesArray *ecaldigit) |
| Bool_t | UseNovosibirskFit (BmnADCDigit< Short_t > *digit, Int_t chan, TClonesArray *ecaldigit) |
Static Private Member Functions | |
| static Double_t | Novosibirsk (Double_t *x, Double_t *p) |
| static Double_t | Novosibirsk (Double_t *x, Double_t *p) |
Private Attributes | |
| BmnECALMapElement | fECALMapArray [MAX_ECAL_CHANNELS+1] |
| struct { | |
| Int_t sample0 | |
| Int_t samples | |
| Float_t min | |
| Float_t max | |
| } | fPedestal = {0, 8, -30., 30.} |
| struct { | |
| Int_t sample0 | |
| Int_t samples | |
| Float_t min | |
| Float_t max | |
| } | fSignal = {15, 20, -5e4, -50.} |
| struct { | |
| Int_t sample0 | |
| Int_t samples | |
| Float_t min | |
| Float_t max | |
| } | fPedestal = {0, 8, -30., 30.} |
| struct { | |
| Int_t sample0 | |
| Int_t samples | |
| Float_t min | |
| Float_t max | |
| } | fSignal = {15, 20, -5e4, -50.} |
Definition at line 15 of file BmnECALRaw2Digit.h.
|
inline |
Definition at line 18 of file BmnECALRaw2Digit.h.
Referenced by Novosibirsk().
| BmnECALRaw2Digit::BmnECALRaw2Digit | ( | ULong_t | runId | ) |
Definition at line 19 of file BmnECALRaw2Digit.cxx.
References TString::Data(), TString::Format(), LoadAdcMap(), LoadCalibration(), and LoadGeometry().
| BmnECALRaw2Digit::BmnECALRaw2Digit | ( | const char * | map_file_name, |
| const char * | calibr_file_name, | ||
| const char * | geo_file_name ) |
Definition at line 66 of file BmnECALRaw2Digit.cxx.
References LoadAdcMap(), LoadCalibration(), and LoadGeometry().
|
inlinevirtual |
Definition at line 21 of file BmnECALRaw2Digit.h.
|
inline |
Definition at line 18 of file BmnECALRaw2Digit.h.
| BmnECALRaw2Digit::BmnECALRaw2Digit | ( | ULong_t | runId | ) |
| BmnECALRaw2Digit::BmnECALRaw2Digit | ( | const char * | map_file_name, |
| const char * | calibr_file_name, | ||
| const char * | geo_file_name ) |
|
inlinevirtual |
Definition at line 21 of file BmnECALRaw2Digit.h.
| void BmnECALRaw2Digit::FillEvent | ( | TClonesArray * | data, |
| TClonesArray * | ecaldigit ) |
Definition at line 189 of file BmnECALRaw2Digit.cxx.
References TObjArray::At(), fECALMapArray, BmnADCDigit< IntType >::GetChannel(), TObjArray::GetEntriesFast(), BmnADCDigit< IntType >::GetSerial(), i, MAX_ECAL_CHANNELS, and UseNovosibirskFit().
| void BmnECALRaw2Digit::FillEvent | ( | TClonesArray * | data, |
| TClonesArray * | ecaldigit ) |
References fECALMapArray, max, MAX_ECAL_CHANNELS, min, sample0, and samples.
| Bool_t BmnECALRaw2Digit::LoadAdcMap | ( | const char * | map_file_name | ) |
Definition at line 87 of file BmnECALRaw2Digit.cxx.
References fECALMapArray, x, and y.
Referenced by BmnECALRaw2Digit(), and BmnECALRaw2Digit().
| Bool_t BmnECALRaw2Digit::LoadAdcMap | ( | const char * | map_file_name | ) |
| Bool_t BmnECALRaw2Digit::LoadCalibration | ( | const char * | calibr_file_name | ) |
Definition at line 114 of file BmnECALRaw2Digit.cxx.
References fECALMapArray.
Referenced by BmnECALRaw2Digit(), and BmnECALRaw2Digit().
| Bool_t BmnECALRaw2Digit::LoadCalibration | ( | const char * | calibr_file_name | ) |
| Bool_t BmnECALRaw2Digit::LoadGeometry | ( | const char * | geo_file_name | ) |
Definition at line 139 of file BmnECALRaw2Digit.cxx.
References fECALMapArray, TGeoNode::GetDaughter(), TGeoNode::GetNdaughters(), TGeoVolume::GetNode(), TGeoNode::GetNumber(), i, TGeoVolume::Import(), and n.
Referenced by BmnECALRaw2Digit(), and BmnECALRaw2Digit().
| Bool_t BmnECALRaw2Digit::LoadGeometry | ( | const char * | geo_file_name | ) |
Definition at line 294 of file BmnECALRaw2Digit.cxx.
References TMath::Abs(), TMath::ASinH(), TMath::Exp(), TMath::Log(), TMath::Power(), and x.
Referenced by UseNovosibirskFit().
| void BmnECALRaw2Digit::print | ( | ) |
Definition at line 73 of file BmnECALRaw2Digit.cxx.
References fECALMapArray, fPedestal, fSignal, MAX_ECAL_CHANNELS, and BmnECALMapElement::PrintTitle().
| void BmnECALRaw2Digit::print | ( | ) |
|
private |
Definition at line 207 of file BmnECALRaw2Digit.cxx.
References TClonesArray::ConstructedAt(), TF1::Derivative(), fECALMapArray, TGraph::Fit(), fPedestal, fSignal, TObjArray::GetEntriesFast(), TGraph::GetFunction(), TF1::GetMinimum(), TF1::GetMinimumX(), BmnADCDigit< IntType >::GetNSamples(), BmnADCDigit< IntType >::GetValue(), TF1::GetX(), i, TF1::Integral(), n, Novosibirsk(), TGraph::RemovePoint(), BmnECALDigit::Set(), TF1::SetParameters(), TGraph::SetPoint(), v, and y.
Referenced by FillEvent().
|
private |
|
private |
Definition at line 32 of file BmnECALRaw2Digit.h.
Referenced by FillEvent(), LoadAdcMap(), LoadCalibration(), LoadGeometry(), print(), and UseNovosibirskFit().
| struct { ... } BmnECALRaw2Digit::fPedestal |
Referenced by print(), and UseNovosibirskFit().
| struct { ... } BmnECALRaw2Digit::fPedestal |
| struct { ... } BmnECALRaw2Digit::fSignal |
Referenced by print(), and UseNovosibirskFit().
| struct { ... } BmnECALRaw2Digit::fSignal |
| Float_t BmnECALRaw2Digit::max |
Definition at line 39 of file BmnECALRaw2Digit.h.
Referenced by FillEvent().
| Float_t BmnECALRaw2Digit::min |
Definition at line 38 of file BmnECALRaw2Digit.h.
Referenced by FillEvent().
| Int_t BmnECALRaw2Digit::sample0 |
Definition at line 36 of file BmnECALRaw2Digit.h.
Referenced by FillEvent().
| Int_t BmnECALRaw2Digit::samples |
Definition at line 37 of file BmnECALRaw2Digit.h.
Referenced by FillEvent().