PandaRoot
BSEmcPSAFPGAPileUpDetection.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 BSEMCPSAFPGAPILEUPDETECTION_HH
14 #define BSEMCPSAFPGAPILEUPDETECTION_HH
15 
16 #include "RtypesCore.h"
17 #include <vector>
19 
21  public:
24  void set(Double_t t_yscale, Double_t t_xoffset, Double_t t_yoffset);
25  void put(std::vector<BSEmcPSAFPGAPeakFeatures_t> &t_peaks) const;
26 
27  private:
28  Double_t fYscale = 0.;
29  Double_t fXoffset = 0.;
30  Double_t fYoffset = 0.;
31 
32 };
33 
34 #endif /*BSEMCPSAFPGAPILEUPDETECTION_HH*/
void put(std::vector< BSEmcPSAFPGAPeakFeatures_t > &t_peaks) const