CMS 3D CMS Logo

FastTrackerCluster.h
Go to the documentation of this file.
1 #ifndef FastTrackerCluster_H
2 #define FastTrackerCluster_H
3 
7 
9 {
10 
11  public:
12 
14 
15  virtual ~FastTrackerCluster() {}
16 
18  const DetId&,
19  const int simhitId,
20  const int simtrackId,
21  const uint32_t eeId,
22  const float charge );
23 
24 
25  const LocalPoint& localPosition() const {return pos_;}
26  const LocalError& localPositionError() const{ return err_;}
27  const DetId& id() const {return id_;}
28  const int& simhitId() const {return simhitId_;}
29  const int& simtrackId() const {return simtrackId_;}
30  const uint32_t& eeId() const {return eeId_;}
31  const float& charge() const {return charge_;}
32 
33  virtual FastTrackerCluster * clone() const {return new FastTrackerCluster( * this); }
34 
35  private:
36 
40  int const simhitId_;
41  int const simtrackId_;
42  uint32_t const eeId_;
43  float const charge_ ;
44 
45 };
46 
47 // Comparison operators
49  return ( one.simhitId() < other.simhitId() );
50 }
51 
52 
53 #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:18
const LocalPoint & localPosition() const
const float & charge() const