CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TT6CommonModeCalculator.h
Go to the documentation of this file.
1 #ifndef Tracker_TT6CommonModeCalculator_h
2 #define Tracker_TT6CommonModeCalculator_h
3 
12 public:
13  TT6CommonModeCalculator(TkNoiseCalculator* noise_calc, TkApvMask* mask_calc, float sig_cut);
14 
15  ~TT6CommonModeCalculator() override;
16 
18 
19  void setCM(TkCommonMode* in) override { theTkCommonMode = in; }
20  void setCM(const std::vector<float>& in) override { theTkCommonMode->setCommonMode(in); }
21  TkCommonMode* commonMode() override { return theTkCommonMode; }
22 
23  void newEvent() override;
24  float getCMSlope() override { return slope; }
25 
26 protected:
29 
31  std::vector<float> theCommonModeValues;
35  float slope;
36 
38 };
39 #endif
std::vector< float > PedestalType
Definition: ApvAnalysis.h:44
void setCM(TkCommonMode *in) override
void calculateCommonMode(ApvAnalysis::PedestalType &)
TkNoiseCalculator * theNoiseCalculator
void setCommonMode(const std::vector< float > &in)
Definition: TkCommonMode.h:21
void setCM(const std::vector< float > &in) override
TT6CommonModeCalculator(TkNoiseCalculator *noise_calc, TkApvMask *mask_calc, float sig_cut)
void calculateCMSlope(ApvAnalysis::PedestalType &)
std::vector< float > theCommonModeValues
TkCommonMode * commonMode() override
ApvAnalysis::PedestalType doIt(const ApvAnalysis::PedestalType &) override