CMS 3D CMS Logo

SiStripRawProcessingAlgorithms.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_SiStripZeroSuppression_SiStripRawProcessingAlgorithms_h
2 #define RecoLocalTracker_SiStripZeroSuppression_SiStripRawProcessingAlgorithms_h
3 
8 
11 
14 
15  public:
16  void initialize(const edm::EventSetup&);
17  void initialize(const edm::EventSetup&, const edm::Event&);
18  int16_t SuppressVirginRawData(const uint32_t&, const uint16_t&, std::vector<int16_t>&, edm::DetSet<SiStripDigi>&);
20 
21  int16_t SuppressProcessedRawData(const uint32_t&, const uint16_t&, std::vector<int16_t>&, edm::DetSet<SiStripDigi>&);
23 
24  inline std::vector<bool>& GetAPVFlags(){return restorer->GetAPVFlags();}
25  inline std::map<uint16_t, std::vector < int16_t> >& GetBaselineMap(){return restorer->GetBaselineMap();}
26  inline std::map< uint16_t, std::map< uint16_t, int16_t> >& GetSmoothedPoints(){return restorer->GetSmoothedPoints();}
27  inline const std::vector< std::pair<short,float> >& getAPVsCM(){return subtractorCMN->getAPVsCM();}
28 
29  const std::auto_ptr<SiStripPedestalsSubtractor> subtractorPed;
30  const std::auto_ptr<SiStripCommonModeNoiseSubtractor> subtractorCMN;
31  const std::auto_ptr<SiStripFedZeroSuppression> suppressor;
32  const std::auto_ptr<SiStripAPVRestorer> restorer;
33 
34  private:
35  const bool doAPVRestore;
36  const bool useCMMeanMap;
37 
38  SiStripRawProcessingAlgorithms(std::auto_ptr<SiStripPedestalsSubtractor> ped,
39  std::auto_ptr<SiStripCommonModeNoiseSubtractor> cmn,
40  std::auto_ptr<SiStripFedZeroSuppression> zs,
41  std::auto_ptr<SiStripAPVRestorer> res,
42  bool doAPVRest,
43  bool useCMMap);
44 
45 };
46 #endif
47 
const std::auto_ptr< SiStripAPVRestorer > restorer
int16_t SuppressVirginRawData(const uint32_t &, const uint16_t &, std::vector< int16_t > &, edm::DetSet< SiStripDigi > &)
const std::auto_ptr< SiStripPedestalsSubtractor > subtractorPed
const std::auto_ptr< SiStripCommonModeNoiseSubtractor > subtractorCMN
const std::auto_ptr< SiStripFedZeroSuppression > suppressor
Definition: Electron.h:6
std::map< uint16_t, std::map< uint16_t, int16_t > > & GetSmoothedPoints()
SiStripRawProcessingAlgorithms(std::auto_ptr< SiStripPedestalsSubtractor > ped, std::auto_ptr< SiStripCommonModeNoiseSubtractor > cmn, std::auto_ptr< SiStripFedZeroSuppression > zs, std::auto_ptr< SiStripAPVRestorer > res, bool doAPVRest, bool useCMMap)
std::map< uint16_t, std::vector< int16_t > > & GetBaselineMap()
const std::vector< std::pair< short, float > > & getAPVsCM()
int16_t SuppressProcessedRawData(const uint32_t &, const uint16_t &, std::vector< int16_t > &, edm::DetSet< SiStripDigi > &)
void initialize(const edm::EventSetup &)