PandaRoot
PndEmcCR2RCPulseshape.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 // File and Version Information:
15 // $Id$
16 //
17 // Description:
18 // Pulseshape from an CR2RC-Shaper
19 //
20 //-----------------------------------------------------------
21 //#pragma once
22 #ifndef PNDEMCCR2RCPULSESHAPE_H
23 #define PNDEMCCR2RCPULSESHAPE_H
24 
25 // Base Class Headers ----------------
26 #include "PndEmcAbsPulseshape.h"
27 
28 // Collaborating Class Headers -------
29 //#include <ostream>
30 
36  public:
37  // Constructors/Destructors ---------
39  PndEmcCR2RCPulseshape(double Tint, double Tdif, double Tsig);
40  virtual ~PndEmcCR2RCPulseshape() { ; }
41 
42  // Operators
43 
44  // Accessors -----------------------
45 
46  // Modifiers -----------------------
47 
48  // Operations ----------------------
49  virtual double operator()(const double t, const double amp, const double toffset) const;
50 
51  private:
52  // Private Data Members ------------
53  double fTint;
54  double fTdif;
55  double fTsig;
56 
57  // Private Methods -----------------
58 
59  double general_solution(const double t, const double amp, const double toffset) const;
60  double degenerate_solution(const double t, // for Tdif=Tint
61  const double amp, const double toffset) const;
62 };
63 
64 #endif
virtual double operator()(const double t, const double amp, const double toffset) const
Pulseshape from an CR2RC-Shaper.
pulseshape interface