PandaRoot
BSEmcFittedPulseshape_nw.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 BSEMCFITTEDPULSESHAPE_NW_HH
20 #define BSEMCFITTEDPULSESHAPE_NW_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 
39 
40  public:
42  BSEmcFittedPulseshape_nw(Double_t v1, Double_t tcr, Double_t tcf, Double_t t_r, Double_t res, Double_t tau, Double_t N);
44 
45  virtual Double_t operator()(const Double_t t, const Double_t amp, const Double_t toffset) const;
46 
47  private:
48  Double_t fTau;
49  Double_t fN;
50  Double_t fv1; // = 0;
51  Double_t ftcr; // = 26.3995;//2.11196*12.5;
52  Double_t ftcf; // = 302.76625;//24.2213*12.5;
53  Double_t ft_r; // = 52.69625;//4.2157*12.5;
54  Double_t fres; // = 0;
55  ClassDef(BSEmcFittedPulseshape_nw, 1)
56 };
57 
58 #endif /*BSEMCFITTEDPULSESHAPE_NW_HH*/
Experimentally derived Pulseshape.
pulseshape interface
virtual Double_t operator()(const Double_t t, const Double_t amp, const Double_t toffset) const