File indexing completed on 2025-09-18 09:38:45
0001
0002
0003
0004
0005
0006 #ifndef YODA_Fillable_h
0007 #define YODA_Fillable_h
0008
0009 #include "YODA/AnalysisObject.h"
0010
0011 namespace YODA {
0012
0013
0014
0015 class Fillable {
0016 public:
0017
0018
0019
0020
0021
0022 virtual ~Fillable() = default;
0023
0024
0025
0026
0027
0028
0029
0030
0031 virtual void reset() = 0;
0032
0033
0034 virtual void scaleW(double scalefactor) = 0;
0035
0036
0037
0038
0039
0040
0041
0042 virtual size_t fillDim() const noexcept = 0;
0043
0044
0045 virtual double numEntries(const bool includeoverflows=true) const = 0;
0046
0047
0048 virtual double effNumEntries(const bool includeoverflows=true) const = 0;
0049
0050
0051 virtual double sumW(const bool includeoverflows=true) const = 0;
0052
0053
0054 virtual double sumW2(const bool includeoverflows=true) const = 0;
0055
0056
0057
0058 };
0059
0060
0061 }
0062
0063 #endif