PandaRoot
PndEmcWaveformDigitizer.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 PNDEMCWAVEFORMDIGITIZER_H_
15
#define PNDEMCWAVEFORMDIGITIZER_H_
16
22
class
PndEmcWaveformDigitizer
:
public
PndEmcAbsWaveformModifier
{
23
public
:
24
PndEmcWaveformDigitizer
();
25
PndEmcWaveformDigitizer
(Int_t nBits, Double_t energyRange, Double_t inputScale);
26
27
virtual
void
Modify
(
PndEmcWaveform
*wf);
28
virtual
Double_t
GetScale
() {
return
fTotalChannels / fInputScale; }
29
30
private
:
31
Int_t fNBits;
32
Double_t fEnergyRange;
// in GeV;
33
Double_t fInputScale;
34
35
Int_t fTotalChannels;
36
Double_t fOneBitResolution;
37
38
ClassDef(
PndEmcWaveformDigitizer
, 0);
39
};
40
41
#endif
PndEmcAbsWaveformModifier
interface for waveform modifiers
Definition:
PndEmcAbsWaveformModifier.h:28
PndEmcWaveformDigitizer
waveform digitzer
Definition:
PndEmcWaveformDigitizer.h:22
PndEmcWaveformDigitizer::PndEmcWaveformDigitizer
PndEmcWaveformDigitizer()
PndEmcWaveform
represents a simulated waveform in an emc crystal
Definition:
PndEmcWaveform.h:68
PndEmcWaveformDigitizer::Modify
virtual void Modify(PndEmcWaveform *wf)
PndEmcWaveformDigitizer::GetScale
virtual Double_t GetScale()
Definition:
PndEmcWaveformDigitizer.h:28
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
detectors
emc
EmcDigi
PndEmcWaveformDigitizer.h
Generated on Fri Nov 29 2024 06:04:41 for PandaRoot by
1.8.13