Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
fullRunningMean.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file fullRunningMean.h
1
#ifndef __FULLRUNNINGMEAN_H__
2
#define __FULLRUNNINGMEAN_H__
3
64
#include "
runningMean.h
"
65
66
67
class
fullRunningMean
:
public
runningMean
{
68
69
public
:
70
fullRunningMean
(
const
int
/*NumberofChannels*/
,
const
int
/*depth*/
);
71
~fullRunningMean
()
override
;
72
73
// delete copy ctor and assignment operator (cppcheck)
74
explicit
fullRunningMean
(
const
fullRunningMean
&) =
delete
;
75
fullRunningMean
&
operator=
(
const
fullRunningMean
&) =
delete
;
76
78
double
getMean
(
const
int
/*ich*/
)
const override
;
79
81
int
Reset
()
override
;
82
87
int
Add
(
const
int
/*iarr*/
[])
override
;
88
int
Add
(
const
float
/*farr*/
[])
override
;
89
int
Add
(
const
double
/*darr*/
[])
override
;
90
91
protected
:
92
93
int
addChannel
(
const
int
/*channel*/
,
const
double
/*x*/
);
94
int
depth
;
95
int
current_depth
;
96
double
**
array
;
97
98
};
99
#endif
100
101
OnlMon
blob
main
onlmonutils
fullRunningMean.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration