CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTCombinatorialPatternReco4D.h
Go to the documentation of this file.
1 #ifndef DTSegment_DTCombinatorialPatternReco4D_h
2 #define DTSegment_DTCombinatorialPatternReco4D_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 class DTHitPairForFit;
39 
40 // Class DTCombinatorialPatternReco4D Interface
41 
43 
44  public:
45 
48 
51 
54 
55  virtual std::string algoName() const { return theAlgoName; }
56 
57  virtual void setES(const edm::EventSetup& setup);
60  virtual void setChamber(const DTChamberId &chId);
61  virtual bool wants2DSegments(){return !allDTRecHits;}
62 
63  protected:
64 
65  private:
66  std::vector<DTSegmentCand*> buildPhiSuperSegmentsCandidates(std::vector<DTHitPairForFit*> &pairPhiOwned);
68 
69  std::string theAlgoName;
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
DTCombinatorialPatternReco * the2DAlgo
std::vector< DTRecHit1DPair > theHitsFromPhi2
DTRecSegment4D * segmentSpecialZed(const DTRecSegment4D *seg)
Build a 4d segment with a zed component made by just one hits.
virtual std::string algoName() const
DTCombinatorialPatternReco4D(const edm::ParameterSet &pset)
Constructor.
virtual void setES(const edm::EventSetup &setup)
std::vector< DTSegmentCand * > buildPhiSuperSegmentsCandidates(std::vector< DTHitPairForFit * > &pairPhiOwned)
virtual ~DTCombinatorialPatternReco4D()
Destructor.
std::vector< DTRecHit1DPair > theHitsFromPhi1
std::vector< DTSLRecSegment2D > theSegments2DTheta
virtual void setChamber(const DTChamberId &chId)
virtual void setDTRecHit1DContainer(edm::Handle< DTRecHitCollection > all1DHits)
std::vector< DTRecHit1DPair > theHitsFromTheta
edm::ESHandle< DTGeometry > theDTGeometry
virtual edm::OwnVector< DTRecSegment4D > reconstruct()
Operations.
virtual void setDTRecSegment2DContainer(edm::Handle< DTRecSegment2DCollection > all2DSegments)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")