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
43 inline bool operator<(const FastTrackerCluster& one, const FastTrackerCluster& other) {
44  return (one.simhitId() < other.simhitId());
45 }
46 
47 #endif
FastTrackerCluster::charge
const float & charge() const
Definition: FastTrackerCluster.h:28
FastTrackerCluster::id
const DetId & id() const
Definition: FastTrackerCluster.h:24
FastTrackerCluster::localPosition
const LocalPoint & localPosition() const
Definition: FastTrackerCluster.h:22
FastTrackerCluster::localPositionError
const LocalError & localPositionError() const
Definition: FastTrackerCluster.h:23
DetId
Definition: DetId.h:17
FastTrackerCluster::~FastTrackerCluster
virtual ~FastTrackerCluster()
Definition: FastTrackerCluster.h:12
LocalError.h
FastTrackerCluster::err_
LocalError err_
Definition: FastTrackerCluster.h:34
FastTrackerCluster
Definition: FastTrackerCluster.h:8
trackingPlots.other
other
Definition: trackingPlots.py:1465
Point3DBase< float, LocalTag >
FastTrackerCluster::eeId_
const uint32_t eeId_
Definition: FastTrackerCluster.h:38
FastTrackerCluster::simtrackId_
const int simtrackId_
Definition: FastTrackerCluster.h:37
LocalError
Definition: LocalError.h:12
FastTrackerCluster::simhitId_
const int simhitId_
Definition: FastTrackerCluster.h:36
FastTrackerCluster::simtrackId
const int & simtrackId() const
Definition: FastTrackerCluster.h:26
DetId.h
FastTrackerCluster::charge_
const float charge_
Definition: FastTrackerCluster.h:39
LocalPoint.h
FastTrackerCluster::clone
virtual FastTrackerCluster * clone() const
Definition: FastTrackerCluster.h:30
operator<
bool operator<(const FastTrackerCluster &one, const FastTrackerCluster &other)
Definition: FastTrackerCluster.h:43
FastTrackerCluster::id_
DetId id_
Definition: FastTrackerCluster.h:35
FastTrackerCluster::simhitId
const int & simhitId() const
Definition: FastTrackerCluster.h:25
FastTrackerCluster::eeId
const uint32_t & eeId() const
Definition: FastTrackerCluster.h:27
FastTrackerCluster::FastTrackerCluster
FastTrackerCluster()
Definition: FastTrackerCluster.h:10
FastTrackerCluster::pos_
LocalPoint pos_
Definition: FastTrackerCluster.h:33