CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTRefitAndCombineReco4D.h
Go to the documentation of this file.
1 #ifndef DTSegment_DTRefitAndCombineReco4D_h
2 #define DTSegment_DTRefitAndCombineReco4D_h
3 
16 // Base Class Headers
18 
19 //class DTRecSegment2DBaseAlgo;
20 
21 // Collaborating Class Declarations
22 namespace edm {
23  class ParameterSet;
24  class EventSetup;
25 }
26 class DTSegmentUpdator;
27 //class DTSegmentCleaner;
28 
29 // C++ Headers
30 #include <vector>
31 //#include <utility>
32 
35 
36 // ======================================================================
37 //#include "DataFormats/DTRecHit/interface/DTRecSegment2DPhi.h"
38 
39 // Class DTRefitAndCombineReco4D Interface
40 
42 
43  public:
44 
47 
50 
53  reconstruct();
54 
55  virtual std::string algoName() const { return theAlgoName; }
56 
57  virtual void setES(const edm::EventSetup& setup);
58 
61  virtual void setChamber(const DTChamberId &chId);
62  virtual bool wants2DSegments(){return true;}
63 
64  protected:
65 
66  private:
67  std::vector<DTChamberRecSegment2D> refitSuperSegments();
68 
69  std::string theAlgoName;
70 
72 
73  bool debug;
74  // DTSegmentUpdator* theUpdator; // the updator and fitter
75  // DTSegmentCleaner* theCleaner; // the cleaner
76 
78 
79  // // The reconstruction 2D algorithm
80  // DTRecSegment2DBaseAlgo* the2DAlgo;
81 
82  // the updator
84 
86  std::vector<DTSLRecSegment2D> theSegments2DPhi1;
87  std::vector<DTSLRecSegment2D> theSegments2DTheta;
88  std::vector<DTSLRecSegment2D> theSegments2DPhi2;
89 
90 };
91 #endif
std::vector< DTSLRecSegment2D > theSegments2DTheta
virtual void setES(const edm::EventSetup &setup)
virtual edm::OwnVector< DTRecSegment4D > reconstruct()
Operations.
DTRefitAndCombineReco4D(const edm::ParameterSet &pset)
Constructor.
virtual ~DTRefitAndCombineReco4D()
Destructor.
virtual void setDTRecHit1DContainer(edm::Handle< DTRecHitCollection > all1DHits)
virtual void setDTRecSegment2DContainer(edm::Handle< DTRecSegment2DCollection > all2DSegments)
std::vector< DTChamberRecSegment2D > refitSuperSegments()
std::vector< DTSLRecSegment2D > theSegments2DPhi1
virtual std::string algoName() const
virtual void setChamber(const DTChamberId &chId)
std::vector< DTSLRecSegment2D > theSegments2DPhi2
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
edm::ESHandle< DTGeometry > theDTGeometry