PandaRoot
PndEmcFittedPulseshape_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 PNDEMCFITTEDPULSESHAPE_NW_H
20 #define PNDEMCFITTEDPULSESHAPE_NW_H
21 
22 #include "PndEmcAbsPulseshape.h"
23 
31 
32  public:
34  PndEmcFittedPulseshape_nw(double v1, double tcr, double tcf, double t_r, double res, double tau, double N);
36 
37  virtual double operator() (const double t, const double amp, const double toffset) const;
38  private:
39 
40  double fTau;
41  double fN;
42  double fv1;// = 0;
43  double ftcr;// = 26.3995;//2.11196*12.5;
44  double ftcf;// = 302.76625;//24.2213*12.5;
45  double ft_r;// = 52.69625;//4.2157*12.5;
46  double fres;// = 0;
47  ClassDef(PndEmcFittedPulseshape_nw,1)
48 };
49 
50 #endif
Experimentally derived Pulseshape.
pulseshape interface
virtual double operator()(const double t, const double amp, const double toffset) const