CMS 3D CMS Logo

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 } // namespace edm
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 public:
44 
46  ~DTMeantimerPatternReco4D() override;
47 
50 
51  std::string algoName() const override { return theAlgoName; }
52 
53  void setES(const edm::EventSetup& setup) override;
56  void setChamber(const DTChamberId& chId) override;
57  bool wants2DSegments() override { return !allDTRecHits; }
58 
59 protected:
60 private:
61  std::vector<DTSegmentCand*> buildPhiSuperSegmentsCandidates(
62  std::vector<std::shared_ptr<DTHitPairForFit>>& pairPhiOwned);
64 
66 
67  bool debug;
68  // DTSegmentUpdator* theUpdator; // the updator and fitter
69  // DTSegmentCleaner* theCleaner; // the cleaner
70 
72 
73  // The reconstruction 2D algorithm
74  // For the 2D reco I use thei reconstructor!
76 
77  // the updator
79 
81 
82  //the input type
86 
87  // std::vector<DTRecHit1D> the1DPhiHits;
88  std::vector<DTSLRecSegment2D> theSegments2DTheta;
89  std::vector<DTRecHit1DPair> theHitsFromPhi1;
90  std::vector<DTRecHit1DPair> theHitsFromTheta;
91  std::vector<DTRecHit1DPair> theHitsFromPhi2;
92 };
93 #endif
DTMeantimerPatternReco4D::setDTRecSegment2DContainer
void setDTRecSegment2DContainer(edm::Handle< DTRecSegment2DCollection > all2DSegments) override
Definition: DTMeantimerPatternReco4D.cc:103
DTRecSegment4D
Definition: DTRecSegment4D.h:23
DTMeantimerPatternReco4D::buildPhiSuperSegmentsCandidates
std::vector< DTSegmentCand * > buildPhiSuperSegmentsCandidates(std::vector< std::shared_ptr< DTHitPairForFit >> &pairPhiOwned)
Definition: DTMeantimerPatternReco4D.cc:256
DTMeantimerPatternReco4D::algoName
std::string algoName() const override
Definition: DTMeantimerPatternReco4D.h:51
DTMeantimerPatternReco4D::computeT0corr
bool computeT0corr
Definition: DTMeantimerPatternReco4D.h:85
DTMeantimerPatternReco4D::theUpdator
DTSegmentUpdator * theUpdator
Definition: DTMeantimerPatternReco4D.h:78
ESHandle.h
edm
HLT enums.
Definition: AlignableModifier.h:19
DTMeantimerPatternReco4D
Definition: DTMeantimerPatternReco4D.h:40
DTMeantimerPatternReco4D::wants2DSegments
bool wants2DSegments() override
Definition: DTMeantimerPatternReco4D.h:57
DTChamber
Definition: DTChamber.h:24
DTMeantimerPatternReco4D::~DTMeantimerPatternReco4D
~DTMeantimerPatternReco4D() override
Destructor.
Definition: DTMeantimerPatternReco4D.cc:57
DTMeantimerPatternReco4D::theAlgoName
std::string theAlgoName
Definition: DTMeantimerPatternReco4D.h:65
edm::Handle< DTRecHitCollection >
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
DTMeantimerPatternReco4D::debug
bool debug
Definition: DTMeantimerPatternReco4D.h:67
DTMeantimerPatternReco4D::theChamber
const DTChamber * theChamber
Definition: DTMeantimerPatternReco4D.h:80
DTSegmentUpdator
Definition: DTSegmentUpdator.h:43
DTRecSegment4DBaseAlgo.h
DTMeantimerPatternReco
Definition: DTMeantimerPatternReco.h:43
DTMeantimerPatternReco4D::setDTRecHit1DContainer
void setDTRecHit1DContainer(edm::Handle< DTRecHitCollection > all1DHits) override
Definition: DTMeantimerPatternReco4D.cc:73
DTMeantimerPatternReco4D::setChamber
void setChamber(const DTChamberId &chId) override
Definition: DTMeantimerPatternReco4D.cc:68
DTMeantimerPatternReco4D::theSegments2DTheta
std::vector< DTSLRecSegment2D > theSegments2DTheta
Definition: DTMeantimerPatternReco4D.h:88
DTMeantimerPatternReco4D::allDTRecHits
bool allDTRecHits
Definition: DTMeantimerPatternReco4D.h:83
edm::ESHandle< DTGeometry >
DTSegmentCand
Definition: DTSegmentCand.h:34
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTGeometry.h
DTMeantimerPatternReco4D::reconstruct
edm::OwnVector< DTRecSegment4D > reconstruct() override
Operations.
Definition: DTMeantimerPatternReco4D.cc:119
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
DTMeantimerPatternReco4D::segmentSpecialZed
DTRecSegment4D * segmentSpecialZed(DTRecSegment4D *seg)
DTMeantimerPatternReco4D::theDTGeometry
edm::ESHandle< DTGeometry > theDTGeometry
Definition: DTMeantimerPatternReco4D.h:71
DTRecSegment4DBaseAlgo
Definition: DTRecSegment4DBaseAlgo.h:33
DTMeantimerPatternReco4D::the2DAlgo
DTMeantimerPatternReco * the2DAlgo
Definition: DTMeantimerPatternReco4D.h:75
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
edm::EventSetup
Definition: EventSetup.h:58
DTMeantimerPatternReco4D::DTMeantimerPatternReco4D
DTMeantimerPatternReco4D(const edm::ParameterSet &pset)
Constructor.
Definition: DTMeantimerPatternReco4D.cc:32
DTMeantimerPatternReco4D::theHitsFromPhi1
std::vector< DTRecHit1DPair > theHitsFromPhi1
Definition: DTMeantimerPatternReco4D.h:89
DTHitPairForFit
Definition: DTHitPairForFit.h:31
DTMeantimerPatternReco4D::setES
void setES(const edm::EventSetup &setup) override
Definition: DTMeantimerPatternReco4D.cc:62
DTChamberId
Definition: DTChamberId.h:14
EventSetup
DTMeantimerPatternReco4D::theHitsFromPhi2
std::vector< DTRecHit1DPair > theHitsFromPhi2
Definition: DTMeantimerPatternReco4D.h:91
DTMeantimerPatternReco4D::applyT0corr
bool applyT0corr
Definition: DTMeantimerPatternReco4D.h:84
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
DTRecSegment2DBaseAlgo
Definition: DTRecSegment2DBaseAlgo.h:32
edm::OwnVector
Definition: OwnVector.h:24
DTMeantimerPatternReco4D::theHitsFromTheta
std::vector< DTRecHit1DPair > theHitsFromTheta
Definition: DTMeantimerPatternReco4D.h:90