PandaRoot
BSEmcFwEndcapOnlineFeatureExtraction.h
Go to the documentation of this file.
1 #ifndef BSEMCFWENDCAPONLINEFEATUREEXTRACTION_HH
2 #define BSEMCFWENDCAPONLINEFEATUREEXTRACTION_HH
3 
4 #include <string>
5 
6 #include "Rtypes.h"
7 #include "RtypesCore.h"
8 
9 #include "BSEmcDigi.h"
11 
14 class BSEmcWaveform;
16 class TBuffer;
17 class TClass;
18 class TMemberInspector;
19 
29  public:
32 
39  virtual void SetDetectorName(const std::string &t_detectorName) /*override*/;
40 
46  virtual void SetupParameters(const PndParameterRegister *t_parameterRegister) /*override*/;
47 
48  protected:
53  virtual void DefinePSA() /*override*/;
54  virtual BSEmcDigi::eGAIN GetGainType(const BSEmcWaveform *t_waveform, Int_t t_hit) const /*override*/;
55 
56  private:
57  BSEmcFwEndcapDigiPar *fDigiPar{nullptr};
58  BSEmcPSAFPGASampleAnalyser *fHighgainPSA{nullptr};
59  BSEmcPSAFPGASampleAnalyser *fLowgainPSA{nullptr};
60 
62 };
63 
64 #endif /*BSEMCFWENDCAPONLINEFEATUREEXTRACTION_HH*/
virtual void SetupParameters(const PndParameterRegister *t_parameterRegister)
Fetches the parameteres requested in SetDetectorName.
represents a simulated waveform in an emc crystal
Definition: BSEmcWaveform.h:63
Online feature extraction process intended as baseclass. Online like, but not actually online...
Process to extract digis from FwEndcap waveforms. Online like, but not actually online usable...
virtual BSEmcDigi::eGAIN GetGainType(const BSEmcWaveform *t_waveform, Int_t t_hit) const
parameter set for the FWEndcap variant of waveform simulation
virtual void DefinePSA()
Define PSA.
virtual void SetDetectorName(const std::string &t_detectorName)
Sets the detectorname and fills the parameterlist with names of all required parameter.
Helper class to indirect the Parameter fetching via the FairRuntimeDb.