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
pseudoRunningMean.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file pseudoRunningMean.h
1
#ifndef __PSEUDORUNNINGMEAN_H__
2
#define __PSEUDORUNNINGMEAN_H__
3
71
#include "
runningMean.h
"
72
73
74
class
pseudoRunningMean
:
public
runningMean
{
75
76
public
:
77
pseudoRunningMean
(
const
int
/*NumberofChannels*/
,
const
int
/*depth*/
);
78
~pseudoRunningMean
()
override
;
79
80
// delete copy ctor and assignment operator (cppcheck)
81
explicit
pseudoRunningMean
(
const
pseudoRunningMean
&) =
delete
;
82
pseudoRunningMean
&
operator=
(
const
pseudoRunningMean
&) =
delete
;
83
85
double
getMean
(
const
int
/*ich*/
)
const override
;
86
88
int
Reset
()
override
;
89
94
int
Add
(
const
int
/*iarr*/
[])
override
;
95
int
Add
(
const
float
/*farr*/
[])
override
;
96
int
Add
(
const
double
/*darr*/
[])
override
;
97
98
protected
:
99
100
int
addChannel
(
const
int
/*channel*/
,
const
double
/*x*/
);
101
int
depth
;
102
int
current_depth
;
103
double
*
array
;
104
105
};
106
#endif
107
108
OnlMon
blob
main
onlmonutils
pseudoRunningMean.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration