PandaRoot
PndEmcShashlykNoiseAdder.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 PNDEMCSHASHLYKNOISEADDER_H_
15
#define PNDEMCSHASHLYKNOISEADDER_H_
16
17
#include "
PndEmcAbsWaveformModifier.h
"
18
#include "TString.h"
19
#include "TRandom3.h"
20
21
class
PndEmcWaveform
;
22
28
class
PndEmcShashlykNoiseAdder
:
public
PndEmcAbsWaveformModifier
29
{
30
public
:
31
PndEmcShashlykNoiseAdder
();
32
~PndEmcShashlykNoiseAdder
();
33
PndEmcShashlykNoiseAdder
(Double_t sigma, Int_t seed);
34
35
virtual
void
Modify
(
PndEmcWaveform
* wf);
36
37
private
:
38
TRandom3* fRandom;
39
Double_t fSigma;
40
void
get_rnd_noise(
PndEmcWaveform
* wf, Double_t noise);
41
42
ClassDef
(
PndEmcShashlykNoiseAdder
, 1)
43
};
44
45
#endif
PndEmcAbsWaveformModifier
interface for waveform modifiers
Definition:
PndEmcAbsWaveformModifier.h:28
PndEmcAbsWaveformModifier.h
PndEmcShashlykNoiseAdder::Modify
virtual void Modify(PndEmcWaveform *wf)
PndEmcAbsWaveformModifier::ClassDef
ClassDef(PndEmcAbsWaveformModifier, 1)
PndEmcShashlykNoiseAdder::PndEmcShashlykNoiseAdder
PndEmcShashlykNoiseAdder()
PndEmcWaveform
represents a simulated waveform in an emc crystal
Definition:
PndEmcWaveform.h:68
PndEmcShashlykNoiseAdder
waveform modifier to add noise to waveform
Definition:
PndEmcShashlykNoiseAdder.h:28
PndEmcShashlykNoiseAdder::~PndEmcShashlykNoiseAdder
~PndEmcShashlykNoiseAdder()
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
detectors
emc
EmcDigi
PndEmcShashlykNoiseAdder.h
Generated on Fri Nov 29 2024 06:04:41 for PandaRoot by
1.8.13