PandaRoot
PndEmcBWEndcapPulseAmplifier.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 PNDEMCBWENDCAPPULSEAMPLIFIER_H_
15 #define PNDEMCBWENDCAPPULSEAMPLIFIER_H_
16 
18 
19 class PndEmcWaveform;
21 
28 {
29  public:
31  PndEmcBWEndcapPulseAmplifier(Double_t gain, Double_t inputScale);
32 
33  virtual Double_t GetScale() { return fScale/fInputScale; }
34  virtual void Modify(PndEmcWaveform* wf);
35 
36  protected:
37 
38  private:
39  Double_t fScale;
40  Double_t fInputScale;
41 
43 };
44 
45 #endif
interface for waveform modifiers
waveform modifier to amplify the amplitude
ClassDef(PndEmcAbsWaveformModifier, 1)
Abstract base class for waveform simulator.
represents a simulated waveform in an emc crystal
virtual void Modify(PndEmcWaveform *wf)