Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CalibTracker
SiStripAPVAnalysis
interface
MedianCommonModeCalculator.h
Go to the documentation of this file.
1
#ifndef Tracker_MedianCommonModeCalculator_h
2
#define Tracker_MedianCommonModeCalculator_h
3
4
#include "
CalibTracker/SiStripAPVAnalysis/interface/TkCommonModeCalculator.h
"
5
#include "
CalibTracker/SiStripAPVAnalysis/interface/TkNoiseCalculator.h
"
6
#include "
CalibTracker/SiStripAPVAnalysis/interface/TkApvMask.h
"
11
class
MedianCommonModeCalculator
:
public
TkCommonModeCalculator
{
12
public
:
13
14
MedianCommonModeCalculator
();
15
16
virtual
~MedianCommonModeCalculator
();
17
18
ApvAnalysis::PedestalType
doIt
(
const
ApvAnalysis::PedestalType
&);
19
20
void
setCM
(
TkCommonMode
*
in
) {
theTkCommonMode
=
in
;}
21
void
setCM
(
const
std::vector<float>&
in
) {
theTkCommonMode
->
setCommonMode
(in);}
22
TkCommonMode
*
commonMode
() {
return
theTkCommonMode
;}
23
24
void
newEvent
();
25
float
getCMSlope
() {
return
slope
;}
26
27
protected
:
28
29
void
calculateCommonMode
(
ApvAnalysis::PedestalType
&);
30
31
TkCommonMode
*
theTkCommonMode
;
32
std::vector<float>
theCommonModeValues
;
33
bool
alreadyUsedEvent
;
34
float
slope
;
35
39
40
};
41
#endif
42
43
44
45
ApvAnalysis::PedestalType
std::vector< float > PedestalType
Definition:
ApvAnalysis.h:48
MedianCommonModeCalculator::setCM
void setCM(TkCommonMode *in)
Definition:
MedianCommonModeCalculator.h:20
TkCommonModeCalculator.h
MedianCommonModeCalculator::~MedianCommonModeCalculator
virtual ~MedianCommonModeCalculator()
Definition:
MedianCommonModeCalculator.cc:16
MedianCommonModeCalculator::newEvent
void newEvent()
Definition:
MedianCommonModeCalculator.cc:68
MedianCommonModeCalculator::alreadyUsedEvent
bool alreadyUsedEvent
Definition:
MedianCommonModeCalculator.h:33
MedianCommonModeCalculator::theTkCommonMode
TkCommonMode * theTkCommonMode
Definition:
MedianCommonModeCalculator.h:31
MedianCommonModeCalculator::calculateCommonMode
void calculateCommonMode(ApvAnalysis::PedestalType &)
Definition:
MedianCommonModeCalculator.cc:42
recoMuon::in
Definition:
RecoMuonEnumerators.h:6
MedianCommonModeCalculator::doIt
ApvAnalysis::PedestalType doIt(const ApvAnalysis::PedestalType &)
Definition:
MedianCommonModeCalculator.cc:23
TkApvMask.h
MedianCommonModeCalculator::MedianCommonModeCalculator
MedianCommonModeCalculator()
Definition:
MedianCommonModeCalculator.cc:5
MedianCommonModeCalculator::setCM
void setCM(const std::vector< float > &in)
Definition:
MedianCommonModeCalculator.h:21
TkCommonMode
Definition:
TkCommonMode.h:13
TkNoiseCalculator.h
MedianCommonModeCalculator::theCommonModeValues
std::vector< float > theCommonModeValues
Definition:
MedianCommonModeCalculator.h:32
MedianCommonModeCalculator
Definition:
MedianCommonModeCalculator.h:11
MedianCommonModeCalculator::slope
float slope
Definition:
MedianCommonModeCalculator.h:34
TkCommonMode::setCommonMode
void setCommonMode(const std::vector< float > &in)
Definition:
TkCommonMode.h:21
MedianCommonModeCalculator::commonMode
TkCommonMode * commonMode()
Definition:
MedianCommonModeCalculator.h:22
MedianCommonModeCalculator::getCMSlope
float getCMSlope()
Definition:
MedianCommonModeCalculator.h:25
TkCommonModeCalculator
Definition:
TkCommonModeCalculator.h:9
Generated for CMSSW Reference Manual by
1.8.5