File indexing completed on 2024-04-06 11:59:39
0001
0002
0003
0004 #ifndef APVANALYSIS_TT6NTPEDESTALCALCULATOR_H
0005 #define APVANALYSIS_TT6NTPEDESTALCALCULATOR_H
0006
0007 #include "CalibTracker/SiStripAPVAnalysis/interface/ApvAnalysis.h"
0008 #include "CalibTracker/SiStripAPVAnalysis/interface/TkPedestalCalculator.h"
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 class TT6NTPedestalCalculator : public TkPedestalCalculator {
0019 public:
0020 TT6NTPedestalCalculator();
0021 ~TT6NTPedestalCalculator() override {}
0022
0023
0024
0025
0026
0027 inline void resetPedestals() override { pedestals_.clear(); }
0028
0029
0030
0031
0032
0033 inline void setPedestals(ApvAnalysis::PedestalType &rInput) override { pedestals_ = rInput; }
0034
0035
0036
0037
0038
0039 inline void updatePedestal(ApvAnalysis::RawSignalType &rInput) override {}
0040
0041
0042
0043
0044
0045 inline ApvAnalysis::PedestalType pedestal() const override { return pedestals_; }
0046
0047
0048
0049
0050
0051 inline ApvAnalysis::PedestalType rawNoise() const override { return rawNoise_; }
0052
0053 inline void setNoise(ApvAnalysis::PedestalType &rInput) override { rawNoise_ = rInput; }
0054
0055
0056
0057
0058
0059 inline void updateStatus() override {}
0060
0061 private:
0062 ApvAnalysis::PedestalType pedestals_;
0063 ApvAnalysis::PedestalType rawNoise_;
0064 };
0065
0066 #endif