CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripRecHitConverterAlgorithm.h
Go to the documentation of this file.
1 #ifndef SiStripRecHitConverterAlgorithm_h
2 #define SiStripRecHitConverterAlgorithm_h
3 
9 
14 
15 class ParameterSet;
16 class RefGetter;
17 
19 {
20 
21  public:
22 
23  struct products {
24  std::auto_ptr<SiStripMatchedRecHit2DCollection> matched;
25  std::auto_ptr<SiStripRecHit2DCollection> rphi, stereo, rphiUnmatched, stereoUnmatched;
32  };
33 
35  void initialize(const edm::EventSetup&);
39 
40  private:
41 
42  void match(products& output, LocalVector trackdirection) const;
43  void fillBad128StripBlocks(const uint32_t detid, bool bad128StripBlocks[6]) const;
44  bool isMasked(const SiStripCluster &cluster, bool bad128StripBlocks[6]) const;
45  bool useModule(const uint32_t id) const;
46 
54 
56 
57 };
58 
59 #endif
void run(edm::Handle< edmNew::DetSetVector< SiStripCluster > > input, products &output)
std::auto_ptr< SiStripRecHit2DCollection > rphiUnmatched
edm::ESHandle< SiStripRecHitMatcher > matcher
edm::ESHandle< TrackerGeometry > tracker
SiStripRecHitConverterAlgorithm(const edm::ParameterSet &)
void fillBad128StripBlocks(const uint32_t detid, bool bad128StripBlocks[6]) const
ESProducts< T, S > products(const T &i1, const S &i2)
Definition: ESProducts.h:188
void match(products &output, LocalVector trackdirection) const
std::auto_ptr< SiStripRecHit2DCollection > stereoUnmatched
std::auto_ptr< SiStripRecHit2DCollection > rphi
tuple input
Definition: collect_tpl.py:10
SiStripRecHit2DCollection::FastFiller Collector
edm::ESHandle< StripClusterParameterEstimator > parameterestimator
std::auto_ptr< SiStripMatchedRecHit2DCollection > matched
std::auto_ptr< SiStripRecHit2DCollection > stereo
bool isMasked(const SiStripCluster &cluster, bool bad128StripBlocks[6]) const
edm::ESHandle< SiStripQuality > quality