Analysis Software
Documentation for sPHENIX simulation software
 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 
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;
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;
103  double * array;
104 
105 };
106 #endif
107 
108