CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
48 inline bool operator<( const FastTrackerCluster& one, const FastTrackerCluster& other) {
49  return ( one.simhitId() < other.simhitId() );
50 }
51 
52 
53 #endif
uint32_t const eeId_
const int & simhitId() const
const LocalError & localPositionError() const
const int & simtrackId() const
const DetId & id() const
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
virtual FastTrackerCluster * clone() const
const uint32_t & eeId() const
Definition: DetId.h:20
const LocalPoint & localPosition() const
const float & charge() const