PandaRoot
PndEmcCRRCPulseshape.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 // File and Version Information:
3 // $Id$
4 //
5 // Description:
6 // Pulseshape from an CRRC-Shaper
7 // Author List:
8 // Sebastian Neubert TUM (original author)
9 //
10 //-----------------------------------------------------------
11 //#pragma once
12 #ifndef PNDEMCCRRCPULSESHAPE_H
13 #define PNDEMCCRRCPULSESHAPE_H
14 
15 // Base Class Headers ----------------
16 #include "PndEmcAbsPulseshape.h"
17 
18 // Collaborating Class Headers -------
19 //#include <ostream>
20 
26  public:
27  // Constructors/Destructors ---------
29  PndEmcCRRCPulseshape(double Tint, double Tdif, double Tsig);
30  virtual ~PndEmcCRRCPulseshape() { ; }
31 
32  // Operators
33 
34  // Accessors -----------------------
35 
36  // Modifiers -----------------------
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 fTint;
44  double fTdif;
45  double fTsig;
46 
47  // Private Methods -----------------
48 
49  double general_solution(const double t, const double amp, const double toffset) const;
50  double degenerate_solution(const double t, // for Tdif=Tint
51  const double amp, const double toffset) const;
52 
53  ClassDef(PndEmcCRRCPulseshape, 1)
54 };
55 
56 #endif
virtual double operator()(const double t, const double amp, const double toffset) const
Pulseshape from an CRRC-Shaper.
pulseshape interface