PandaRoot
BSEmcBaselineAdder.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 BSEMCBASELINEADDER_HH
14 #define BSEMCBASELINEADDER_HH
15 
16 #include "Rtypes.h"
17 #include "RtypesCore.h"
18 
20 
21 class BSEmcWaveform;
22 class TBuffer;
23 class TClass;
24 class TMemberInspector;
25 
35  public:
37  BSEmcBaselineAdder(Double_t t_distributionMean, Double_t t_distributionWidth);
38 
39  virtual void Modify(BSEmcWaveform *t_wf) /*override*/;
40  void SetDistributionMean(Double_t t_mean) { fBaselineDistributionMean = t_mean; }
41  void SetDistributionWidth(Double_t t_width) { fBaselineDistributionWidth = t_width; }
42 
43  private:
44  Double_t fBaselineDistributionMean{0};
45  Double_t fBaselineDistributionWidth{0};
47 };
48 
49 #endif /*BSEMCBASELINEADDER_HH*/
represents a simulated waveform in an emc crystal
Definition: BSEmcWaveform.h:75
Adds a Baseline to a waveform.
virtual void Modify(BSEmcWaveform *t_wf)
interface for waveform modifiers
ClassDef(BSEmcAbsWaveformModifier, 1)
void SetDistributionMean(Double_t t_mean)
void SetDistributionWidth(Double_t t_width)