File indexing completed on 2024-04-06 12:04:01
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef DataFormats_CTPPSReco_CTPPSDiamondLocalTrack
0012 #define DataFormats_CTPPSReco_CTPPSDiamondLocalTrack
0013
0014 #include "DataFormats/Math/interface/Point3D.h"
0015 #include "DataFormats/CTPPSReco/interface/CTPPSTimingLocalTrack.h"
0016 #include "DataFormats/CTPPSReco/interface/CTPPSDiamondRecHit.h"
0017
0018
0019
0020 class CTPPSDiamondLocalTrack : public CTPPSTimingLocalTrack {
0021 public:
0022 CTPPSDiamondLocalTrack();
0023 CTPPSDiamondLocalTrack(
0024 const math::XYZPoint& pos0, const math::XYZPoint& pos0_sigma, float t, float t_sigma, int oot_idx, int mult_hits);
0025
0026 bool containsHit(const CTPPSDiamondRecHit& recHit, float tolerance = 0.1) const;
0027
0028
0029
0030 inline void setOOTIndex(int i) { ts_index_ = i; }
0031 inline int ootIndex() const { return ts_index_; }
0032
0033 inline void setMultipleHits(int i) { mh_ = i; }
0034 inline int multipleHits() const { return mh_; }
0035
0036 private:
0037
0038 int ts_index_;
0039
0040 int mh_;
0041 };
0042
0043 #endif