PandaRoot
PndEmcWfRescaler.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 PNDEMCWFRESCALER
15 #define PNDEMCWFRESCALER
16 
18 
19 class PndEmcWaveform;
21 
28 
29  public:
31  PndEmcWfRescaler(Double_t inputScale, Double_t outputScale);
32  PndEmcWfRescaler(Double_t multiplicator);
33  virtual void Modify(PndEmcWaveform *wf);
34  virtual Double_t GetScale() { return fMultiplicator; }
35 
36  private:
37  Double_t fMultiplicator;
38 
40 };
41 
42 #endif
interface for waveform modifiers
virtual Double_t GetScale()
ClassDef(PndEmcAbsWaveformModifier, 1)
Abstract base class for waveform simulator.
waveform rescaler
represents a simulated waveform in an emc crystal
virtual void Modify(PndEmcWaveform *wf)