CMS 3D CMS Logo

TT6NTPedestalCalculator.h
Go to the documentation of this file.
1 // Author : Samvel Khalatian (samvel at cern dot ch)
2 // Created: 05/21/08
3 
4 #ifndef APVANALYSIS_TT6NTPEDESTALCALCULATOR_H
5 #define APVANALYSIS_TT6NTPEDESTALCALCULATOR_H
6 
9 
10 /*
11  * @brief
12  * This is a replacement of TT6 Pedestal Calculator for NoiseTask source in
13  * DQM/SiStripCommissioningSources. It's main tasks:
14  * 1. Retrieve Pedestals from DB
15  * 2. Return these Pedestals on demand
16  * Note: no additional calculations performed
17  */
19 public:
22 
23  /*
24  * @brief
25  * Celar all Pedestals
26  */
27  inline void resetPedestals() override { pedestals_.clear(); }
28 
29  /*
30  * @brief
31  * Set Pedestals
32  */
33  inline void setPedestals(ApvAnalysis::PedestalType &rInput) override { pedestals_ = rInput; }
34 
35  /*
36  * @brief
37  * Update Pedestals with set of Raw Signals: plug
38  */
39  inline void updatePedestal(ApvAnalysis::RawSignalType &rInput) override {}
40 
41  /*
42  * @brief
43  * Retrieve Pedestals
44  */
45  inline ApvAnalysis::PedestalType pedestal() const override { return pedestals_; }
46 
47  /*
48  * @brief
49  * Retrieve Raw Noise
50  */
51  inline ApvAnalysis::PedestalType rawNoise() const override { return rawNoise_; }
52 
53  inline void setNoise(ApvAnalysis::PedestalType &rInput) override { rawNoise_ = rInput; }
54 
55  /*
56  * @brief
57  * Request status flag update: plug
58  */
59  inline void updateStatus() override {}
60 
61 private:
64 };
65 
66 #endif // APVANALYSIS_TT6NTPEDESTALCALCULATOR_H
TkPedestalCalculator
Definition: TkPedestalCalculator.h:9
edm::DetSet
Definition: DetSet.h:23
TT6NTPedestalCalculator::rawNoise
ApvAnalysis::PedestalType rawNoise() const override
Definition: TT6NTPedestalCalculator.h:51
TT6NTPedestalCalculator::updateStatus
void updateStatus() override
Definition: TT6NTPedestalCalculator.h:59
ApvAnalysis.h
TT6NTPedestalCalculator::TT6NTPedestalCalculator
TT6NTPedestalCalculator()
Definition: TT6NTPedestalCalculator.cc:8
TT6NTPedestalCalculator::resetPedestals
void resetPedestals() override
Definition: TT6NTPedestalCalculator.h:27
TT6NTPedestalCalculator::updatePedestal
void updatePedestal(ApvAnalysis::RawSignalType &rInput) override
Definition: TT6NTPedestalCalculator.h:39
TT6NTPedestalCalculator::pedestal
ApvAnalysis::PedestalType pedestal() const override
Definition: TT6NTPedestalCalculator.h:45
TT6NTPedestalCalculator
Definition: TT6NTPedestalCalculator.h:18
TT6NTPedestalCalculator::~TT6NTPedestalCalculator
~TT6NTPedestalCalculator() override
Definition: TT6NTPedestalCalculator.h:21
TT6NTPedestalCalculator::rawNoise_
ApvAnalysis::PedestalType rawNoise_
Definition: TT6NTPedestalCalculator.h:63
TkPedestalCalculator.h
ApvAnalysis::PedestalType
std::vector< float > PedestalType
Definition: ApvAnalysis.h:44
TT6NTPedestalCalculator::setNoise
void setNoise(ApvAnalysis::PedestalType &rInput) override
Definition: TT6NTPedestalCalculator.h:53
TT6NTPedestalCalculator::pedestals_
ApvAnalysis::PedestalType pedestals_
Definition: TT6NTPedestalCalculator.h:62
TT6NTPedestalCalculator::setPedestals
void setPedestals(ApvAnalysis::PedestalType &rInput) override
Definition: TT6NTPedestalCalculator.h:33