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 
14 // Base Class Headers
16 
17 //class DTRecSegment2DBaseAlgo;
18 
19 // Collaborating Class Declarations
20 namespace edm {
21  class ParameterSet;
22  class EventSetup;
23 }
24 class DTSegmentUpdator;
25 //class DTSegmentCleaner;
26 
27 // C++ Headers
28 #include <vector>
29 //#include <utility>
30 
33 
34 // ======================================================================
35 //#include "DataFormats/DTRecHit/interface/DTRecSegment2DPhi.h"
36 
37 // Class DTRefitAndCombineReco4D Interface
38 
40 
41  public:
42 
45 
48 
51  reconstruct();
52 
53  virtual std::string algoName() const { return theAlgoName; }
54 
55  virtual void setES(const edm::EventSetup& setup);
56 
59  virtual void setChamber(const DTChamberId &chId);
60  virtual bool wants2DSegments(){return true;}
61 
62  protected:
63 
64  private:
65  std::vector<DTChamberRecSegment2D> refitSuperSegments();
66 
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  // DTRecSegment2DBaseAlgo* the2DAlgo;
79 
80  // the updator
82 
84  std::vector<DTSLRecSegment2D> theSegments2DPhi1;
85  std::vector<DTSLRecSegment2D> theSegments2DTheta;
86  std::vector<DTSLRecSegment2D> theSegments2DPhi2;
87 
88 };
89 #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