KaliVeda
Toolkit for HIC analysis
KVDetectorSignalTraceRiseTime.h
1 #pragma once
2 
3 #include "KVCalibrator.h"
4 #include "KVSignal.h"
5 #include "KVDetectorSignalTrace.h"
6 
24 {
26  static const std::vector<TString> param_names;
29 
30  public:
32 
33  void SetDetector(KVDetector* d) override
34  {
37  theTrace=dynamic_cast<KVDetectorSignalTrace*>(d->GetDetectorSignal(GetInputSignalType()));
38  }
39  Int_t GetNumberParams() const override
40  {
42  return 4;
43  }
44  void SetParameter(int i, Double_t par_val) override;
45  Double_t Compute(Double_t, const KVNameValueList&) const override;
46 
48 };
49 
int Int_t
#define d(i)
double Double_t
#define ClassDefOverride(name, id)
Base class for all detector calibrations.
Definition: KVCalibrator.h:99
virtual void SetDetector(KVDetector *d)
Definition: KVCalibrator.h:236
TString GetInputSignalType() const
Definition: KVCalibrator.h:228
The KVDetectorSignalTraceRiseTime class.
Double_t Compute(Double_t, const KVNameValueList &) const override
Calculate and return rise time of KVDetectorSignalTrace associated to detector.
static const std::vector< TString > param_names
void SetParameter(int i, Double_t par_val) override
void SetDetector(KVDetector *d) override
Detector signal waveform.
Base class for detector geometry description, interface to energy-loss calculations.
Definition: KVDetector.h:160
Handles lists of named parameters with different types, a list of KVNamedParameter objects.