PandaRoot
BSEmcPSAFPGAPeakfinder.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 BSEMCPSAFPGAPEAKFINDER_HH
14 #define BSEMCPSAFPGAPEAKFINDER_HH
15 
16 #include "RtypesCore.h"
17 
18 #include <vector>
19 
21 
23  public:
26  void set(UInt_t t_threshold, UInt_t t_llimit, UInt_t t_ulimit);
27  void resetToZero();
28  std::vector<BSEmcPSAFPGAPeakFeatures_t> put(const std::vector<Double_t> &tBuffer) const;
29 
30  private:
31  Int_t fThreshold = 0;
32  Int_t fLLimit = 0;
33  Int_t fULimit = 0;
34 };
35 
36 #endif /*BSEMCPSAFPGAPEAKFINDER_HH*/
std::vector< BSEmcPSAFPGAPeakFeatures_t > put(const std::vector< Double_t > &tBuffer) const