CMS 3D CMS Logo

DTCombinatorialPatternReco4D.h
Go to the documentation of this file.
1 #ifndef DTSegment_DTCombinatorialPatternReco4D_h
2 #define DTSegment_DTCombinatorialPatternReco4D_h
3 
13 // Base Class Headers
15 
17 
18 // Collaborating Class Declarations
19 namespace edm {
20  class ParameterSet;
21  class EventSetup;
22 }
23 class DTSegmentUpdator;
24 //class DTSegmentCleaner;
25 
26 // C++ Headers
27 #include <vector>
28 //#include <utility>
29 
32 
33 // ======================================================================
34 class DTSegmentCand;
36 class DTHitPairForFit;
37 
38 // Class DTCombinatorialPatternReco4D Interface
39 
41 
42  public:
43 
46 
48  ~DTCombinatorialPatternReco4D() override;
49 
51  edm::OwnVector<DTRecSegment4D> reconstruct() override;
52 
53  std::string algoName() const override { return theAlgoName; }
54 
55  void setES(const edm::EventSetup& setup) override;
56  void setDTRecHit1DContainer(edm::Handle<DTRecHitCollection> all1DHits) override;
57  void setDTRecSegment2DContainer(edm::Handle<DTRecSegment2DCollection> all2DSegments) override;
58  void setChamber(const DTChamberId &chId) override;
59  bool wants2DSegments() override{return !allDTRecHits;}
60 
61  protected:
62 
63  private:
64  std::vector<DTSegmentCand*> buildPhiSuperSegmentsCandidates(std::vector<std::shared_ptr<DTHitPairForFit>> &pairPhiOwned);
65  DTRecSegment4D* segmentSpecialZed(const DTRecSegment4D* seg);
66 
68 
69  bool debug;
70  // DTSegmentUpdator* theUpdator; // the updator and fitter
71  // DTSegmentCleaner* theCleaner; // the cleaner
72 
74 
75  // The reconstruction 2D algorithm
76  // For the 2D reco I use thei reconstructor!
78 
79  // the updator
81 
83 
84  //the input type
88 
89  // std::vector<DTRecHit1D> the1DPhiHits;
90  std::vector<DTSLRecSegment2D> theSegments2DTheta;
91  std::vector<DTRecHit1DPair> theHitsFromPhi1;
92  std::vector<DTRecHit1DPair> theHitsFromTheta;
93  std::vector<DTRecHit1DPair> theHitsFromPhi2;
94 };
95 #endif
DTCombinatorialPatternReco * the2DAlgo
std::string algoName() const override
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
std::vector< DTRecHit1DPair > theHitsFromPhi2
std::vector< DTRecHit1DPair > theHitsFromPhi1
std::vector< DTSLRecSegment2D > theSegments2DTheta
std::vector< DTRecHit1DPair > theHitsFromTheta
edm::ESHandle< DTGeometry > theDTGeometry
HLT enums.