PandaRoot
PndEmcCR2RCPulseshape.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 // File and Version Information:
3 // $Id$
4 //
5 // Description:
6 // Pulseshape from an CR2RC-Shaper
7 //
8 //-----------------------------------------------------------
9 //#pragma once
10 #ifndef PNDEMCCR2RCPULSESHAPE_H
11 #define PNDEMCCR2RCPULSESHAPE_H
12 
13 // Base Class Headers ----------------
14 #include "PndEmcAbsPulseshape.h"
15 
16 // Collaborating Class Headers -------
17 //#include <ostream>
18 
24  public:
25  // Constructors/Destructors ---------
27  PndEmcCR2RCPulseshape(double Tint, double Tdif, double Tsig);
28  virtual ~PndEmcCR2RCPulseshape() { ; }
29 
30  // Operators
31 
32  // Accessors -----------------------
33 
34  // Modifiers -----------------------
35 
36  // Operations ----------------------
37  virtual double operator()(const double t, const double amp, const double toffset) const;
38 
39  private:
40  // Private Data Members ------------
41  double fTint;
42  double fTdif;
43  double fTsig;
44 
45  // Private Methods -----------------
46 
47  double general_solution(const double t, const double amp, const double toffset) const;
48  double degenerate_solution(const double t, // for Tdif=Tint
49  const double amp, const double toffset) const;
50 };
51 
52 #endif
virtual double operator()(const double t, const double amp, const double toffset) const
Pulseshape from an CR2RC-Shaper.
pulseshape interface