CMS 3D CMS Logo

FastTrackerCluster.h
Go to the documentation of this file.
1 #ifndef FastTrackerCluster_H
2 #define FastTrackerCluster_H
3 
7 
9 public:
11 
12  virtual ~FastTrackerCluster() {}
13 
15  const LocalError&,
16  const DetId&,
17  const int simhitId,
18  const int simtrackId,
19  const uint32_t eeId,
20  const float charge);
21 
22  const LocalPoint& localPosition() const { return pos_; }
23  const LocalError& localPositionError() const { return err_; }
24  const DetId& id() const { return id_; }
25  const int& simhitId() const { return simhitId_; }
26  const int& simtrackId() const { return simtrackId_; }
27  const uint32_t& eeId() const { return eeId_; }
28  const float& charge() const { return charge_; }
29 
30  virtual FastTrackerCluster* clone() const { return new FastTrackerCluster(*this); }
31 
32 private:
36  int const simhitId_;
37  int const simtrackId_;
38  uint32_t const eeId_;
39  float const charge_;
40 };
41 
42 // Comparison operators
44  return (one.simhitId() < other.simhitId());
45 }
46 
47 #endif
uint32_t const eeId_
const int & simhitId() const
bool operator<(const FastTrackerCluster &one, const FastTrackerCluster &other)
const LocalError & localPositionError() const
const int & simtrackId() const
const DetId & id() const
virtual FastTrackerCluster * clone() const
const uint32_t & eeId() const
Definition: DetId.h:17
const LocalPoint & localPosition() const
const float & charge() const