PandaRoot
PndEmcPSAFPGAFilterMA.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 PNDEMCFPGAFILTERMA_HH
14
#define PNDEMCFPGAFILTERMA_HH
15
#include <vector>
16
#include <iostream>
17
class
PndEmcPSAFPGAFilterMA
18
{
19
public
:
20
PndEmcPSAFPGAFilterMA
();
21
~PndEmcPSAFPGAFilterMA
();
22
void
set
(
unsigned
int
newBufferSize);
23
void
resetToZero
();
24
float
put
(
float
valueToStore);
25
private
:
26
std::vector<float> buffer;
27
unsigned
int
bpointer;
28
float
sum;
29
};
30
31
#endif
PndEmcPSAFPGAFilterMA::put
float put(float valueToStore)
PndEmcPSAFPGAFilterMA
Definition:
PndEmcPSAFPGAFilterMA.h:17
PndEmcPSAFPGAFilterMA::PndEmcPSAFPGAFilterMA
PndEmcPSAFPGAFilterMA()
PndEmcPSAFPGAFilterMA::~PndEmcPSAFPGAFilterMA
~PndEmcPSAFPGAFilterMA()
PndEmcPSAFPGAFilterMA::resetToZero
void resetToZero()
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
detectors
emc
EmcDigi
PndEmcPSAFPGA
PndEmcPSAFPGAFilterMA.h
Generated on Fri Nov 29 2024 06:04:41 for PandaRoot by
1.8.13