CMS 3D CMS Logo

ApvAnalysis.h
Go to the documentation of this file.
1 #ifndef Tracker_APVAnalysis_h
2 #define Tracker_APVAnalysis_h
3 
4 #include <vector>
5 #include <iostream>
6 // user include files
11 
13 
14 //#define DEBUG_INSTANCE_COUNTING
15 
16 #ifdef DEBUG_INSTANCE_COUNTING
17 #include "CommonDet/DetUtilities/interface/InstanceCounting.h"
18 #endif
19 
20 class TkApvMask;
23 class TkNoiseCalculator;
24 
25 #include <vector>
26 #include <utility>
27 
38 #ifdef DEBUG_INSTANCE_COUNTING
39  : public InstanceCounting<ApvAnalysis>
40 #endif
41 {
42 public:
44  typedef std::vector<float> PedestalType;
45 
46  ApvAnalysis(int nev);
47  ~ApvAnalysis() { ; }
48 
49  //
50  // Tell ApvAnalysis which algorithms to use.
51  //
52 
57 
61  TkApvMask& mask() { return *theTkApvMask; }
62 
63  //
64  // Give store/load commands to the TkPedestalCalculator and to
65  // TkNoiseCalculator, will use ApvEventReader.
66  // Has to be done here because they have no access to the reader.
67  //
70  void newEvent() const;
71 
72 private:
79 };
80 #endif
TkPedestalCalculator
Definition: TkPedestalCalculator.h:9
ApvAnalysis::ApvAnalysis
ApvAnalysis(int nev)
Definition: ApvAnalysis.cc:9
ApvAnalysis::commonModeCalculator
TkCommonModeCalculator & commonModeCalculator()
Definition: ApvAnalysis.h:58
ApvAnalysis::newEvent
void newEvent() const
Definition: ApvAnalysis.cc:17
edm::DetSet
Definition: DetSet.h:23
SiStripRawDigi.h
ApvAnalysis::eventsRequiredToUpdate_
int eventsRequiredToUpdate_
Definition: ApvAnalysis.h:78
TkApvMask
Definition: TkApvMask.h:9
TkNoiseCalculator
Definition: TkNoiseCalculator.h:10
ApvAnalysis::~ApvAnalysis
~ApvAnalysis()
Definition: ApvAnalysis.h:47
ApvAnalysis::theTkPedestalCalculator
TkPedestalCalculator * theTkPedestalCalculator
Definition: ApvAnalysis.h:74
ApvAnalysis::setMask
void setMask(TkApvMask &in)
Definition: ApvAnalysis.h:56
ApvAnalysis::pedestalCalculator
TkPedestalCalculator & pedestalCalculator()
Definition: ApvAnalysis.h:59
SiStripDigi.h
ApvAnalysis::setPedestalCalculator
void setPedestalCalculator(TkPedestalCalculator &in)
Definition: ApvAnalysis.h:54
ApvAnalysis::setCommonModeCalculator
void setCommonModeCalculator(TkCommonModeCalculator &in)
Definition: ApvAnalysis.h:53
Event.h
ApvAnalysis::setNoiseCalculator
void setNoiseCalculator(TkNoiseCalculator &in)
Definition: ApvAnalysis.h:55
ApvAnalysis::updateCalibration
void updateCalibration(edm::DetSet< SiStripRawDigi > &in)
Definition: ApvAnalysis.cc:23
recoMuon::in
Definition: RecoMuonEnumerators.h:6
ApvAnalysis
Definition: ApvAnalysis.h:37
ApvAnalysis::theTkApvMask
TkApvMask * theTkApvMask
Definition: ApvAnalysis.h:76
DetSetVector.h
ApvAnalysis::RawSignalType
edm::DetSet< SiStripRawDigi > RawSignalType
Definition: ApvAnalysis.h:43
ApvAnalysis::theTkNoiseCalculator
TkNoiseCalculator * theTkNoiseCalculator
Definition: ApvAnalysis.h:75
ApvAnalysis::noiseCalculator
TkNoiseCalculator & noiseCalculator()
Definition: ApvAnalysis.h:60
Frameworkfwd.h
TkCommonModeCalculator
Definition: TkCommonModeCalculator.h:9
ApvAnalysis::mask
TkApvMask & mask()
Definition: ApvAnalysis.h:61
ApvAnalysis::PedestalType
std::vector< float > PedestalType
Definition: ApvAnalysis.h:44
ApvAnalysis::nEventsForNoiseCalibration_
int nEventsForNoiseCalibration_
Definition: ApvAnalysis.h:77
ApvAnalysis::theTkCommonModeCalculator
TkCommonModeCalculator * theTkCommonModeCalculator
Definition: ApvAnalysis.h:73