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 
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 DTMeantimerPatternReco4D Interface
39 
41 
42  public:
43 
46 
48  virtual ~DTMeantimerPatternReco4D();
49 
52 
53  virtual std::string algoName() const { return theAlgoName; }
54 
55  virtual void setES(const edm::EventSetup& setup);
58  virtual void setChamber(const DTChamberId &chId);
59  virtual bool wants2DSegments(){return !allDTRecHits;}
60 
61  protected:
62 
63  private:
64  std::vector<DTSegmentCand*> buildPhiSuperSegmentsCandidates(std::vector<DTHitPairForFit*> &pairPhiOwned);
66 
67 
69 
70  bool debug;
71  // DTSegmentUpdator* theUpdator; // the updator and fitter
72  // DTSegmentCleaner* theCleaner; // the cleaner
73 
75 
76  // The reconstruction 2D algorithm
77  // For the 2D reco I use thei reconstructor!
79 
80  // the updator
82 
84 
85  //the input type
89 
90  // std::vector<DTRecHit1D> the1DPhiHits;
91  std::vector<DTSLRecSegment2D> theSegments2DTheta;
92  std::vector<DTRecHit1DPair> theHitsFromPhi1;
93  std::vector<DTRecHit1DPair> theHitsFromTheta;
94  std::vector<DTRecHit1DPair> theHitsFromPhi2;
95 };
96 #endif
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< DTSegmentCand * > buildPhiSuperSegmentsCandidates(std::vector< DTHitPairForFit * > &pairPhiOwned)
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.