CMS 3D CMS Logo

DTSegmentExtendedCand.h
Go to the documentation of this file.
1 #ifndef DTSEGMENTEXTENDEDCAND_H
2 #define DTSEGMENTEXTENDEDCAND_H
3 
16 /* Base Class Headers */
18 
19 /* Collaborating Class Declarations */
21 
22 /* C++ Headers */
23 #include <vector>
24 
25 /* ====================================================================== */
26 
27 /* Class DTSegmentExtendedCand Interface */
28 
30 
31  public:
32  struct DTSLRecClusterForFit ;
33 
34 /* Constructor */
36  theClus(std::vector<DTSLRecClusterForFit>()) {
37  }
38 
39 /* Destructor */
40  ~DTSegmentExtendedCand() override {}
41 
42 /* Operations */
44  theClus.push_back(clus);
45  }
46 
47  std::vector<DTSegmentExtendedCand::DTSLRecClusterForFit> clusters() const {
48  return theClus;
49  }
50 
51  //DTSegmentCand* cand() const { return theCand; }
52 
54 
55  unsigned int nHits() const override ;
56 
57  bool good() const override ;
58 
60  public:
62  const LocalPoint& p,
63  const LocalError& e) : clus(c), pos(p), err(e) {}
67  };
68 
69  private:
70  //DTSegmentCand* theCand;
71  std::vector<DTSLRecClusterForFit> theClus;
72  //double theChi2;
73 
74  protected:
75 
76 };
77 #endif // DTSEGMENTEXTENDEDCAND_H
78 
DTSLRecClusterForFit(const DTSLRecCluster &c, const LocalPoint &p, const LocalError &e)
bool good() const override
unsigned int nHits() const override
std::vector< DTSLRecClusterForFit > theClus
void addClus(const DTSegmentExtendedCand::DTSLRecClusterForFit &clus)
bool isCompatible(const DTSegmentExtendedCand::DTSLRecClusterForFit &clus)
DTSegmentExtendedCand(DTSegmentCand *cand)
std::vector< DTSegmentExtendedCand::DTSLRecClusterForFit > clusters() const