CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripRawProcessingAlgorithms.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_SiStripZeroSuppression_SiStripRawProcessingAlgorithms_h
2 #define RecoLocalTracker_SiStripZeroSuppression_SiStripRawProcessingAlgorithms_h
3 
8 
11 
12  const std::auto_ptr<SiStripPedestalsSubtractor> subtractorPed;
13  const std::auto_ptr<SiStripCommonModeNoiseSubtractor> subtractorCMN;
14  const std::auto_ptr<SiStripFedZeroSuppression> suppressor;
15  const std::auto_ptr<SiStripAPVRestorer> restorer;
16 
17  void initialize(const edm::EventSetup& es) {
18  subtractorPed->init(es);
19  subtractorCMN->init(es);
20  suppressor->init(es);
21  if(restorer.get()) restorer->init(es);
22  }
23 
24  private:
25  SiStripRawProcessingAlgorithms(std::auto_ptr<SiStripPedestalsSubtractor> ped,
26  std::auto_ptr<SiStripCommonModeNoiseSubtractor> cmn,
27  std::auto_ptr<SiStripFedZeroSuppression> zs,
28  std::auto_ptr<SiStripAPVRestorer> res)
29  : subtractorPed(ped),
30  subtractorCMN(cmn),
31  suppressor(zs),
32  restorer(res)
33  {}
34 };
35 #endif
const std::auto_ptr< SiStripPedestalsSubtractor > subtractorPed
SiStripRawProcessingAlgorithms(std::auto_ptr< SiStripPedestalsSubtractor > ped, std::auto_ptr< SiStripCommonModeNoiseSubtractor > cmn, std::auto_ptr< SiStripFedZeroSuppression > zs, std::auto_ptr< SiStripAPVRestorer > res)
const std::auto_ptr< SiStripFedZeroSuppression > suppressor
const std::auto_ptr< SiStripAPVRestorer > restorer
void initialize(const edm::EventSetup &es)
const std::auto_ptr< SiStripCommonModeNoiseSubtractor > subtractorCMN