PandaRoot
BSEmcBwPulseshape.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 //-----------------------------------------------------------
14 // Description:
15 // Experimentally derived Pulseshape of the form:
16 // f(x) = A * (t')^ N * exp(-N t')
17 //-----------------------------------------------------------
18 //#pragma once
19 #ifndef BSEMCBWPULSESHAPE_HH
20 #define BSEMCBWPULSESHAPE_HH
21 
22 #include "Rtypes.h"
23 #include "RtypesCore.h"
24 
25 #include "BSEmcAbsPulseshape.h"
26 
27 class TBuffer;
28 class TClass;
29 class TMemberInspector;
30 
38 
39  public:
41  BSEmcBwPulseshape(Double_t t_tau, Double_t t_n);
42  virtual ~BSEmcBwPulseshape(){};
43 
44  virtual Double_t operator()(const Double_t t_time, const Double_t t_amp, const Double_t t_offset) const /*override*/;
45 
46  private:
47  Double_t fTau{0};
48  Double_t fN{0};
49 
50  ClassDef(BSEmcBwPulseshape, 1)
51 };
52 
53 #endif /*BSEMCBWPULSESHAPE_HH*/
virtual ~BSEmcBwPulseshape()
Experimentally derived Pulseshape.
virtual Double_t operator()(const Double_t t_time, const Double_t t_amp, const Double_t t_offset) const
pulseshape interface