FairRoot/PandaRoot
PndEmcAsicPulseshape.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 // Description:
3 // Pulseshape from an APFEL ASIC preamplifier shaper
4 // Circuit is described in EMC TDR and consists of charge-sensitive preamplifier,
5 // with the following pole-zero cancelation of its feedback ad 3rd order integrator.
6 // The pulseshape is determined by the integration time of single intagrator stage
7 // and scintillation time of the crystal, with exponential input convoluted with
8 // response of the circuit
9 //
10 //-----------------------------------------------------------
11 //#pragma once
12 #ifndef PNDEMCASICPULSESHAPE_H
13 #define PNDEMCASICPULSESHAPE_H
14 
15 // Base Class Headers ----------------
16 #include "PndEmcAbsPulseshape.h"
17 
18 // Collaborating Class Headers -------
19 //#include <ostream>
20 
32 {
33 public:
34 
35  // Constructors/Destructors ---------
37  PndEmcAsicPulseshape(double Tint, double Tsig);
38  virtual ~PndEmcAsicPulseshape(){;}
39 
40  // Operators
41 
42  // Accessors -----------------------
43 
44 
45  // Modifiers -----------------------
46 
47 
48  // Operations ----------------------
49  virtual double operator() (const double t,
50  const double amp,
51  const double toffset) const;
52 
53 private:
54 
55  // Private Data Members ------------
56  double fTint;
57  double fTsig;
58 
59 
60  // Private Methods -----------------
61 
62  double general_solution(const double t,
63  const double amp,
64  const double toffset) const;
65  double degenerate_solution(const double t, // for Tdif=Tint
66  const double amp,
67  const double toffset) const;
68 
69  ClassDef(PndEmcAsicPulseshape,1)
70 };
71 
72 #endif
73 
double general_solution(const double t, const double amp, const double toffset) const
virtual double operator()(const double t, const double amp, const double toffset) const
Pulseshape from an APFEL ASIC preamplifier shaper.
double degenerate_solution(const double t, const double amp, const double toffset) const
pulseshape interface
TTree * t
Definition: bump_analys.C:13