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 
13  public:
15 
17 
18  bool noShots(){return !shots_;}
19 
22 
23  bool loop(const edmNew::DetSet<SiStripDigi>& in){return false;} //FIXME
24  bool loop(const edm::DetSet<SiStripDigi>& in);
25 
27  // void reset(edmNew::DetSet<SiStripDigi>::const_iterator& a, edmNew::DetSet<SiStripDigi>::const_iterator& b){;} //FIXME
28 
29  private:
30 
31 
32  void subtractCM();
33 
35 
36  uint32_t cacheDetId;
37  bool shots_;
38  bool shotApv_[25];
40 
41  std::vector<SiStripDigi> vdigis,apvDigis; //caches of digis, in case an apvshot is found
42  std::unique_ptr<edm::DetSet<SiStripDigi>> pDetSet;
43  unsigned short maxNumOfApvs ;
44  unsigned short stripsPerApv ;
45  unsigned short stripsForMedian;
46 
47 
48 };
49 
50 #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:30
std::vector< SiStripDigi > vdigis
void reset(edm::DetSet< SiStripDigi >::const_iterator &a, edm::DetSet< SiStripDigi >::const_iterator &b)
#define end
Definition: vmac.h:37
std::unique_ptr< edm::DetSet< SiStripDigi > > pDetSet
bool loop(const edmNew::DetSet< SiStripDigi > &in)
double b
Definition: hdecay.h:120
std::vector< SiStripDigi > apvDigis
double a
Definition: hdecay.h:121
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:33