PandaRoot
PndEmcExpPulseshape.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 // Exponential Pulseshape
16 //-----------------------------------------------------------
17 //#pragma once
18 #ifndef PndEmcExpPulseshape_H
19 #define PndEmcExpPulseshape_H
20 
21 // Base Class Headers ----------------
22 #include "PndEmcAbsPulseshape.h"
23 
24 // Collaborating Class Headers -------
25 //#include <ostream>
26 
32  public:
33  // Constructors/Destructors ---------
34  PndEmcExpPulseshape() : fTdif(0) { ; }
35  PndEmcExpPulseshape(double Tdif);
36  virtual ~PndEmcExpPulseshape() { ; }
37 
38  // Operations ----------------------
39  virtual double operator()(const double t, const double amp, const double toffset) const;
40 
41  private:
42  // Private Data Members ------------
43  double fTdif;
44 
45  // Private Methods -----------------
46 
47  double general_solution(const double t, const double amp, const double toffset) const;
48 };
49 
50 #endif
virtual double operator()(const double t, const double amp, const double toffset) const
Exponential Pulseshape.
pulseshape interface