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  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
TkCommonModeCalculator.h
TT6CommonModeCalculator::setCM
void setCM(TkCommonMode *in) override
Definition: TT6CommonModeCalculator.h:19
TkApvMask
Definition: TkApvMask.h:9
TkNoiseCalculator
Definition: TkNoiseCalculator.h:10
TkCommonMode
Definition: TkCommonMode.h:13
TT6CommonModeCalculator::~TT6CommonModeCalculator
~TT6CommonModeCalculator() override
Definition: TT6CommonModeCalculator.cc:14
TT6CommonModeCalculator::slope
float slope
Definition: TT6CommonModeCalculator.h:35
TT6CommonModeCalculator::calculateCommonMode
void calculateCommonMode(ApvAnalysis::PedestalType &)
Definition: TT6CommonModeCalculator.cc:39
TT6CommonModeCalculator
Definition: TT6CommonModeCalculator.h:11
TT6CommonModeCalculator::theTkCommonMode
TkCommonMode * theTkCommonMode
Definition: TT6CommonModeCalculator.h:30
TT6CommonModeCalculator::calculateCMSlope
void calculateCMSlope(ApvAnalysis::PedestalType &)
Definition: TT6CommonModeCalculator.cc:79
TkCommonMode::setCommonMode
void setCommonMode(const std::vector< float > &in)
Definition: TkCommonMode.h:21
recoMuon::in
Definition: RecoMuonEnumerators.h:6
TT6CommonModeCalculator::commonMode
TkCommonMode * commonMode() override
Definition: TT6CommonModeCalculator.h:21
TkNoiseCalculator.h
TT6CommonModeCalculator::newEvent
void newEvent() override
Definition: TT6CommonModeCalculator.cc:75
TT6CommonModeCalculator::alreadyUsedEvent
bool alreadyUsedEvent
Definition: TT6CommonModeCalculator.h:34
TT6CommonModeCalculator::setCM
void setCM(const std::vector< float > &in) override
Definition: TT6CommonModeCalculator.h:20
TT6CommonModeCalculator::theApvMask
TkApvMask * theApvMask
Definition: TT6CommonModeCalculator.h:33
TT6CommonModeCalculator::getCMSlope
float getCMSlope() override
Definition: TT6CommonModeCalculator.h:24
TT6CommonModeCalculator::theNoiseCalculator
TkNoiseCalculator * theNoiseCalculator
Definition: TT6CommonModeCalculator.h:32
TT6CommonModeCalculator::cutToAvoidSignal
float cutToAvoidSignal
Definition: TT6CommonModeCalculator.h:37
TT6CommonModeCalculator::theCommonModeValues
std::vector< float > theCommonModeValues
Definition: TT6CommonModeCalculator.h:31
TkCommonModeCalculator
Definition: TkCommonModeCalculator.h:9
TT6CommonModeCalculator::doIt
ApvAnalysis::PedestalType doIt(const ApvAnalysis::PedestalType &) override
Definition: TT6CommonModeCalculator.cc:21
ApvAnalysis::PedestalType
std::vector< float > PedestalType
Definition: ApvAnalysis.h:44
TkApvMask.h
TT6CommonModeCalculator::TT6CommonModeCalculator
TT6CommonModeCalculator(TkNoiseCalculator *noise_calc, TkApvMask *mask_calc, float sig_cut)
Definition: TT6CommonModeCalculator.cc:5