PandaRoot
BSEmcFwEndcapOnlineFeatureExtraction.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef BSEMCFWENDCAPONLINEFEATUREEXTRACTION_HH
14 #define BSEMCFWENDCAPONLINEFEATUREEXTRACTION_HH
15 
16 #include <string>
17 
18 #include "Rtypes.h"
19 #include "RtypesCore.h"
20 
21 #include "BSEmcDigi.h"
23 
26 class BSEmcWaveform;
28 class TBuffer;
29 class TClass;
30 class TMemberInspector;
31 
41  public:
44 
51  virtual void SetDetectorName(const std::string &t_detectorName) /*override*/;
52 
58  virtual void SetupParameters(const PndParameterRegister *t_parameterRegister) /*override*/;
59 
60  protected:
65  virtual void DefinePSA() /*override*/;
66  virtual BSEmcDigi::eGAIN GetGainType(const BSEmcWaveform *t_waveform, Int_t t_hit) const /*override*/;
67 
68  private:
69  BSEmcFwEndcapDigiPar *fDigiPar{nullptr};
70  BSEmcPSAFPGASampleAnalyser *fHighgainPSA{nullptr};
71  BSEmcPSAFPGASampleAnalyser *fLowgainPSA{nullptr};
72 
74 };
75 
76 #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:75
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.