PandaRoot
BSEmcWaveformDigitizer.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 BSEMCWAVEFORMDIGITIZER_HH
15 #define BSEMCWAVEFORMDIGITIZER_HH
16 #include "Rtypes.h"
17 #include "RtypesCore.h"
18 
20 
21 class BSEmcWaveform;
22 class TBuffer;
23 class TClass;
24 class TMemberInspector;
25 
32  public:
34  BSEmcWaveformDigitizer(Double_t t_onebitresolution, Double_t t_inputScale, Int_t t_totalChannels);
35 
36  virtual void Modify(BSEmcWaveform *t_wf) /*override*/;
37  virtual Double_t GetScale() /*override*/ { return fTotalChannels / fInputScale; }
38 
39  private:
40  Double_t fInputScale{0};
41  Double_t fOneBitResolution{0};
42  Int_t fTotalChannels{0};
43 
45 };
46 
47 #endif /*BSEMCWAVEFORMDIGITIZER_HH*/
represents a simulated waveform in an emc crystal
Definition: BSEmcWaveform.h:75
interface for waveform modifiers
ClassDef(BSEmcAbsWaveformModifier, 1)
virtual void Modify(BSEmcWaveform *t_wf)