CMS 3D CMS Logo

TT6CommonModeCalculator.h
Go to the documentation of this file.
1 #ifndef Tracker_TT6CommonModeCalculator_h
2 #define Tracker_TT6CommonModeCalculator_h
3 
12 public:
13 
15  TkApvMask* mask_calc, float sig_cut);
16 
17  ~TT6CommonModeCalculator() override;
18 
20 
21  void setCM(TkCommonMode* in) override {theTkCommonMode = in;}
22  void setCM(const std::vector<float>& in) override {theTkCommonMode->setCommonMode(in);}
23  TkCommonMode* commonMode() override {return theTkCommonMode;}
24 
25  void newEvent() override;
26  float getCMSlope() override { return slope;}
27 
28 protected:
29 
32 
34  std::vector<float> theCommonModeValues;
38  float slope;
39 
40 
42 };
43 #endif
44 
45 
46 
47 
std::vector< float > PedestalType
Definition: ApvAnalysis.h:48
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