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 namespace edm {
16  class ParameterSet;
17  template<typename T> class RefGetter;
18  class EventSetup;
19 }
20 
22 {
23 
24  public:
25 
26  struct products {
27  std::auto_ptr<SiStripMatchedRecHit2DCollection> matched;
28  std::auto_ptr<SiStripRecHit2DCollection> rphi, stereo, rphiUnmatched, stereoUnmatched;
35  };
36 
38  void initialize(const edm::EventSetup&);
42 
43  private:
44 
45  void match(products& output, LocalVector trackdirection) const;
46  void fillBad128StripBlocks(const uint32_t detid, bool bad128StripBlocks[6]) const;
47  bool isMasked(const SiStripCluster &cluster, bool bad128StripBlocks[6]) const;
48  bool useModule(const uint32_t id) const;
49 
57 
59 
60 };
61 
62 #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:189
void match(products &output, LocalVector trackdirection) const
std::auto_ptr< SiStripRecHit2DCollection > stereoUnmatched
std::auto_ptr< SiStripRecHit2DCollection > rphi
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