CMS 3D CMS Logo

SiStripApvShotCleaner.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_SiStripClusterizer_SiStripApvShotCleaner_H
2 #define RecoLocalTracker_SiStripClusterizer_SiStripApvShotCleaner_H
3 
8 #include <vector>
9 #include <memory>
10 
12 public:
14 
16 
17  bool noShots() { return !shots_; }
18 
22  return false;
23  } //FIXME
24  bool clean(const edm::DetSet<SiStripDigi>& in,
27 
28  bool loop(const edmNew::DetSet<SiStripDigi>& in) { return false; } //FIXME
29  bool loop(const edm::DetSet<SiStripDigi>& in);
30 
32  // void reset(edmNew::DetSet<SiStripDigi>::const_iterator& a, edmNew::DetSet<SiStripDigi>::const_iterator& b){;} //FIXME
33 
34 private:
35  void subtractCM();
36 
38 
39  uint32_t cacheDetId;
40  bool shots_;
41  bool shotApv_[25];
43 
44  std::vector<SiStripDigi> vdigis, apvDigis; //caches of digis, in case an apvshot is found
45  std::unique_ptr<edm::DetSet<SiStripDigi>> pDetSet;
46  unsigned short maxNumOfApvs;
47  unsigned short stripsPerApv;
48  unsigned short stripsForMedian;
49 };
50 
51 #endif
edm::DetSet< SiStripDigi >::const_iterator pFirstDigiOfApv[7]
void dumpInVector(edm::DetSet< SiStripDigi >::const_iterator *, size_t)
data_type const * const_iterator
Definition: DetSetNew.h:31
std::vector< SiStripDigi > vdigis
void reset(edm::DetSet< SiStripDigi >::const_iterator &a, edm::DetSet< SiStripDigi >::const_iterator &b)
std::unique_ptr< edm::DetSet< SiStripDigi > > pDetSet
bool loop(const edmNew::DetSet< SiStripDigi > &in)
double b
Definition: hdecay.h:118
std::vector< SiStripDigi > apvDigis
double a
Definition: hdecay.h:119
bool clean(const edmNew::DetSet< SiStripDigi > &in, edmNew::DetSet< SiStripDigi >::const_iterator &scan, edmNew::DetSet< SiStripDigi >::const_iterator &end)
collection_type::const_iterator const_iterator
Definition: DetSet.h:31