PandaRoot
BSEmcPSAFPGABlindDeconv.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 #ifndef BSEMCPSAFPGABLINDDECONV_HH
14 #define BSEMCPSAFPGABLINDDECONV_HH
15 
16 #include "RtypesCore.h"
17 
18 #include <vector>
19 #include <string>
20 #include "TH1.h"
21 
22 
23 
34  public:
37  void set(const TString &t_filename = "GlobalH_Gaus10_Final.root");
38  std::vector<Double_t> put(const std::vector<Double_t> &t_buffer) const;
39 
40  private:
41  std::vector<Double_t> fDataDeconv{};
42  Int_t fNumberOfXBins{-1};
43 };
44 
45 #endif /*BSEMCPSAFPGAFILTERWD_HH*/
std::vector< Double_t > put(const std::vector< Double_t > &t_buffer) const
Deconvolution of waveforms based on a chosen target function (gaussian)