CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTMeantimerPatternReco4D.h
Go to the documentation of this file.
1 #ifndef DTSegment_DTMeantimerPatternReco4D_h
2 #define DTSegment_DTMeantimerPatternReco4D_h
3 
15 // Base Class Headers
17 
19 
20 // Collaborating Class Declarations
21 namespace edm {
22  class ParameterSet;
23  class EventSetup;
24 }
25 class DTSegmentUpdator;
26 //class DTSegmentCleaner;
27 
28 // C++ Headers
29 #include <vector>
30 //#include <utility>
31 
34 
35 // ======================================================================
36 class DTSegmentCand;
38 
39 // Class DTMeantimerPatternReco4D Interface
40 
42 
43  public:
44 
47 
49  virtual ~DTMeantimerPatternReco4D();
50 
53 
54  virtual std::string algoName() const { return theAlgoName; }
55 
56  virtual void setES(const edm::EventSetup& setup);
59  virtual void setChamber(const DTChamberId &chId);
60  virtual bool wants2DSegments(){return !allDTRecHits;}
61 
62  protected:
63 
64  private:
65  std::vector<DTSegmentCand*> buildPhiSuperSegmentsCandidates();
67 
68 
70 
71  bool debug;
72  // DTSegmentUpdator* theUpdator; // the updator and fitter
73  // DTSegmentCleaner* theCleaner; // the cleaner
74 
76 
77  // The reconstruction 2D algorithm
78  // For the 2D reco I use thei reconstructor!
80 
81  // the updator
83 
85 
86  //the input type
90 
91  // std::vector<DTRecHit1D> the1DPhiHits;
92  std::vector<DTSLRecSegment2D> theSegments2DTheta;
93  std::vector<DTRecHit1DPair> theHitsFromPhi1;
94  std::vector<DTRecHit1DPair> theHitsFromTheta;
95  std::vector<DTRecHit1DPair> theHitsFromPhi2;
96 };
97 #endif
std::vector< DTSegmentCand * > buildPhiSuperSegmentsCandidates()
virtual void setDTRecHit1DContainer(edm::Handle< DTRecHitCollection > all1DHits)
std::vector< DTRecHit1DPair > theHitsFromPhi2
virtual void setChamber(const DTChamberId &chId)
DTMeantimerPatternReco * the2DAlgo
DTMeantimerPatternReco4D(const edm::ParameterSet &pset)
Constructor.
std::vector< DTRecHit1DPair > theHitsFromPhi1
std::vector< DTRecHit1DPair > theHitsFromTheta
std::vector< DTSLRecSegment2D > theSegments2DTheta
virtual std::string algoName() const
DTRecSegment4D * segmentSpecialZed(DTRecSegment4D *seg)
edm::ESHandle< DTGeometry > theDTGeometry
virtual void setDTRecSegment2DContainer(edm::Handle< DTRecSegment2DCollection > all2DSegments)
virtual ~DTMeantimerPatternReco4D()
Destructor.
virtual void setES(const edm::EventSetup &setup)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
virtual edm::OwnVector< DTRecSegment4D > reconstruct()
Operations.