PandaRoot
BSEmcFwEndcapCosmicWaveformGeneration.h
Go to the documentation of this file.
1 #ifndef BSEMCFWENDCAPCOSMICWAVEFORMGENERATION_HH
2 #define BSEMCFWENDCAPCOSMICWAVEFORMGENERATION_HH
3 
4 #include <string>
5 
6 #include "Rtypes.h"
7 
9 
12 class TBuffer;
13 class TClass;
14 class TMemberInspector;
15 
25  public:
28 
35  virtual void SetDetectorName(const std::string &t_detectorName) /*override*/;
36 
42  virtual void SetupParameters(const PndParameterRegister *t_parameterRegister) /*override*/;
43 
49  void SetWaveformGenParName(const std::string &t_waveformGenParName) { fWaveformGenerationParName = t_waveformGenParName; }
50 
51  protected:
56  virtual void SetupSimulator();
57 
58  std::string fWaveformGenerationParName{""};
61 };
62 
63 #endif /*BSEMCFWENDCAPCOSMICWAVEFORMGENERATION_HH*/
ClassDef(BSEmcFwEndcapCosmicWaveformGeneration, 1)
Base class Process to create waveforms out of BSEmcMCHits.
BSEmcFwEndcapCosmicWaveformGenPar * fWaveformGenerationPar
parameter set for the FWEndcap variant of waveform simulation
virtual void SetupSimulator()
Defines the waveform simulator.
void SetWaveformGenParName(const std::string &t_waveformGenParName)
Set the Waveform Generation Parameter Name.
virtual void SetupParameters(const PndParameterRegister *t_parameterRegister)
Fetches the parameteres requested in SetDetectorName.
Process to create Cosmic Waveforms out of BSEmcMCHits based on BSEmcFwEndcapDigi. ...
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
virtual void SetDetectorName(const std::string &t_detectorName)
Sets the detectorname and fills the parameterlist with names of all required parameter.