KaliVeda
Toolkit for HIC analysis
KVDetectorSignalTraceRiseTime.h
1 #pragma once
2 
3 #include "KVCalibrator.h"
4 #include "KVSignal.h"
5 #include "KVDetectorSignalTrace.h"
6 
25 {
27  static const std::vector<TString> param_names;
30 
31  public:
33 
34  void SetDetector(KVDetector* d) override
35  {
38  theTrace=dynamic_cast<KVDetectorSignalTrace*>(d->GetDetectorSignal(GetInputSignalType()));
39  }
40  Int_t GetNumberParams() const override
41  {
43  return 4;
44  }
45  void SetParameter(int i, Double_t par_val) override;
46  Double_t Compute(Double_t, const KVNameValueList&) const override;
47 
49 };
50 
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
Calibrator used to calculate rise time for KVDetectorSignalTrace using KVSignal.
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:173
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Base class for digital signal processing.
Definition: KVSignal.h:19