PandaRoot
BSEmcBwEndcapPulseAmplifier.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 //#pragma once
14 #ifndef BSEMCBWENDCAPPULSEAMPLIFIER_HH
15 #define BSEMCBWENDCAPPULSEAMPLIFIER_HH
16 
17 #include "Rtypes.h"
18 #include "RtypesCore.h"
19 
21 
22 class BSEmcWaveform;
24 class TBuffer;
25 class TClass;
26 class TMemberInspector;
27 
34  public:
36  BSEmcBwEndcapPulseAmplifier(Double_t t_gain, Double_t t_inputScale);
37 
38  virtual Double_t GetScale() /*override*/ { return fScale / fInputScale; }
39  virtual void Modify(BSEmcWaveform *t_wf) /*override*/;
40 
41  protected:
42  private:
43  Double_t fScale{0};
44  Double_t fInputScale{0};
45 
47 };
48 
49 #endif /*BSEMCBWENDCAPPULSEAMPLIFIER_HH*/
represents a simulated waveform in an emc crystal
Definition: BSEmcWaveform.h:75
waveform modifier to amplify the amplitude
interface for waveform modifiers
Abstract base class for waveform simulator.
ClassDef(BSEmcAbsWaveformModifier, 1)
virtual void Modify(BSEmcWaveform *t_wf)