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 public:
31  struct DTSLRecClusterForFit;
32 
33  /* Constructor */
35 
36  /* Destructor */
37  ~DTSegmentExtendedCand() override {}
38 
39  /* Operations */
40  void addClus(const DTSegmentExtendedCand::DTSLRecClusterForFit& clus) { theClus.push_back(clus); }
41 
42  std::vector<DTSegmentExtendedCand::DTSLRecClusterForFit> clusters() const { return theClus; }
43 
44  //DTSegmentCand* cand() const { return theCand; }
45 
47 
48  unsigned int nHits() const override;
49 
50  bool good() const override;
51 
53  public:
54  DTSLRecClusterForFit(const DTSLRecCluster& c, const LocalPoint& p, const LocalError& e) : clus(c), pos(p), err(e) {}
58  };
59 
60 private:
61  //DTSegmentCand* theCand;
62  std::vector<DTSLRecClusterForFit> theClus;
63  //double theChi2;
64 
65 protected:
66 };
67 #endif // DTSEGMENTEXTENDEDCAND_H
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)
std::vector< DTSegmentExtendedCand::DTSLRecClusterForFit > clusters() const
DTSegmentExtendedCand(DTSegmentCand *cand)