4 #ifndef __KVZDEPENDENTCALIBRATEDSIGNAL_H
5 #define __KVZDEPENDENTCALIBRATEDSIGNAL_H
49 return (sig ? sig->
GetValue(params) : -1);
63 Error(
"GetSignal",
"%s: No Z parameter given in KVNameValueList!",
GetName());
#define ClassDef(name, id)
Output signal from detector obtained by calibration.
virtual Bool_t IsAvailableFor(const KVNameValueList ¶ms) const
Double_t GetValue(const KVNameValueList ¶ms="") const
Double_t GetInverseValue(Double_t out_val, const TString &in_sig, const KVNameValueList ¶ms="") const
Base class for output signal data produced by a detector.
Extended TList class which owns its objects by default.
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Int_t GetIntValue(const Char_t *name) const
Bool_t HasIntParameter(const Char_t *name) const
Strings used to represent a set of ranges of values.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Handle several calibrations valid for different Z ranges.
virtual ~KVZDependentCalibratedSignal()
Bool_t IsAvailableFor(const KVNameValueList ¶ms) const
Bool_t GetValueNeedsExtraParameters() const
void AddSignal(KVCalibratedSignal *sig, const KVNumberList &zrange)
Add signal to be used for all values of Z in the number list range.
std::map< int, KVCalibratedSignal * > fSignalMap
Double_t GetValue(const KVNameValueList ¶ms="") const
KVZDependentCalibratedSignal(KVDetectorSignal *input, const KVString &output)
KVZDependentCalibratedSignal()
Double_t GetInverseValue(Double_t out_val, const TString &in_sig, const KVNameValueList ¶ms="") const
KVList fSignals
to cleanup signals on delete
KVCalibratedSignal * GetSignal(const KVNameValueList ¶ms) const
virtual const char * GetName() const
virtual void Error(const char *method, const char *msgfmt,...) const