

Definition at line 10 of file TTimeCal.h.
Public Member Functions | |
| TTimeCal () | |
| TTimeCal (const char *name, const char *title) | |
| ~TTimeCal () override=default | |
| void | AddParameter (Double_t param) |
| void | Clear (Option_t *opt="") override |
| void | Copy (TObject &obj) const override |
| TChannel * | GetChannel () const |
| virtual TF1 * | GetFitFunction () const |
| TH1 * | GetHist () const |
| virtual TNucleus * | GetNucleus () const |
| Double_t | GetParameter (size_t parameter) const override |
| std::vector< Double_t > | GetParameters () const override |
| Bool_t | IsGroupable () const override |
| void | Print (Option_t *opt="") const override |
| virtual void | ReadFromChannel () |
| Bool_t | SetChannel (const TChannel *chan) |
| Bool_t | SetChannel (UInt_t chanNum) |
| virtual void | SetFitFunction (const TF1 *func) |
| virtual void | SetHist (TH1 *hist) |
| virtual void | SetNucleus (TNucleus *nuc, Option_t *opt="") |
| void | SetParameter (Int_t idx, Double_t param) |
| void | SetParameters (std::vector< Double_t > paramVec) |
| virtual void | WriteToAllChannels (const std::string &mnemonic="") |
| void | WriteToChannel () const override |
Protected Member Functions | |
| void | InitTCal () |
Private Attributes | |
| std::vector< Double_t > | fParameters |
#include <TTimeCal.h>
Inheritance diagram for TTimeCal:
Collaboration diagram for TTimeCal:
|
inline |
Definition at line 12 of file TTimeCal.h.
|
inline |
Definition at line 13 of file TTimeCal.h.
|
overridedefault |
| void TTimeCal::AddParameter | ( | Double_t | param | ) |
Definition at line 29 of file TTimeCal.cxx.
References fParameters.
|
override |
Definition at line 9 of file TTimeCal.cxx.
References TCal::Clear().
|
overrideinherited |
Copies the TCal.
Definition at line 46 of file TCal.cxx.
References TCal::fChan, TCal::fFitFunc, and TCal::fNuc.
Referenced by TEfficiencyCal::Copy(), TGainMatch::Copy(), and TCal::TCal().
|
inherited |
Gets the channel being pointed to by the TCal. Returns 0 if no channel is set.
Definition at line 130 of file TCal.cxx.
References TCal::fChan.
Referenced by TCalManager::AddToManager(), Print(), TCFDCal::Print(), TCal::Print(), ReadFromChannel(), TCFDCal::ReadFromChannel(), TCal::WriteToAllChannels(), WriteToChannel(), TCFDCal::WriteToChannel(), TEnergyCal::WriteToChannel(), and TGainMatch::WriteToChannel().
|
inlinevirtualinherited |
Definition at line 58 of file TCal.h.
References TCal::fFitFunc.
Referenced by TGainMatch::FineMatch(), TGainMatch::FineMatchFast(), TCal::GetParameter(), TCal::GetParameters(), and main().
|
inlineinherited |
Definition at line 73 of file TCal.h.
References TCal::fHist.
|
inlinevirtualinherited |
Reimplemented in TGainMatch.
Definition at line 75 of file TCal.h.
References TCal::fNuc.
Referenced by TEfficiencyCal::AddPoint(), TCal::Print(), TEnergyCal::SetNucleus(), TEnergyCal::SetPoint(), and TEnergyCal::SetPointError().
|
overridevirtual |
|
overridevirtual |
|
protectedinherited |
Initiallizes the TCal.
Definition at line 179 of file TCal.cxx.
References TCal::Clear(), TCal::fChan, TCal::fFitFunc, TCal::fHist, and TCal::fNuc.
Referenced by TCal::TCal().
|
inlineoverridevirtual |
Implements TCal.
Definition at line 17 of file TTimeCal.h.
|
override |
Definition at line 52 of file TTimeCal.cxx.
References fParameters, TCal::GetChannel(), and TChannel::GetNumber().
|
virtual |
Definition at line 43 of file TTimeCal.cxx.
References fParameters, TCal::GetChannel(), and TChannel::GetTIMECoeff().
|
inherited |
Sets the channel being calibrated
Definition at line 60 of file TCal.cxx.
References TCal::fChan.
Referenced by TCalManager::AddToManager(), TGainMatch::CoarseMatch(), TGainMatch::FineMatch(), TGainMatch::FineMatchFast(), main(), TCal::SetChannel(), and TCal::WriteToAllChannels().
|
inherited |
Sets the channel for the calibration to the channel number channum. Returns 0 if the channel does not exist
Definition at line 118 of file TCal.cxx.
References TChannel::GetChannelByNumber(), and TCal::SetChannel().
|
inlinevirtualinherited |
Definition at line 59 of file TCal.h.
References TCal::fFitFunc.
Referenced by TGainMatch::CalculateGain(), TGainMatch::CoarseMatch(), TGainMatch::FineMatch(), TGainMatch::FineMatchFast(), and main().
|
virtualinherited |
Sets this histogram pointed to. TCal does NOT take ownership so you cannot delete this histogram as long as you want to access the hist in the TCal/write it out. I will add this functionality if I get annoyed enough with the way it is.
Reimplemented in TGainMatch.
Definition at line 138 of file TCal.cxx.
References TCal::fHist, and hist.
|
virtualinherited |
Sets the nucleus to be calibrated against
Reimplemented in TGainMatch, and TEnergyCal.
Definition at line 33 of file TCal.cxx.
References TCal::fNuc.
Referenced by TEnergyCal::SetNucleus().
| void TTimeCal::SetParameter | ( | Int_t | idx, |
| Double_t | param | ||
| ) |
Definition at line 39 of file TTimeCal.cxx.
| void TTimeCal::SetParameters | ( | std::vector< Double_t > | paramVec | ) |
Definition at line 34 of file TTimeCal.cxx.
References fParameters.
|
virtualinherited |
Writes this calibration to all channels in the current TChannel Map
Definition at line 72 of file TCal.cxx.
References TCal::GetChannel(), TChannel::GetChannelMap(), TCal::SetChannel(), and TCal::WriteToChannel().
|
overridevirtual |
Reimplemented from TCal.
Definition at line 15 of file TTimeCal.cxx.
References TChannel::AddTIMECoefficient(), TChannel::DestroyTIMECal(), fParameters, TCal::GetChannel(), and TChannel::GetNumber().
|
private |
Definition at line 33 of file TTimeCal.h.
Referenced by AddParameter(), GetParameter(), GetParameters(), Print(), ReadFromChannel(), SetParameters(), and WriteToChannel().