001 #ifndef SiWaferIntersection_h
002 #define SiWaferIntersection_h 1
003 #include "CLHEP/Geometry/Point3D.h"
004 class CdfHalfLadder;
005 class SiWaferIntersection {
006
007 public:
008
009
010 SiWaferIntersection();
011
012
013 SiWaferIntersection(const CdfHalfLadder *, const HepPoint3D &, bool inActiveArea = true);
014
015
016 SiWaferIntersection(const SiWaferIntersection &right);
017
018
019 ~SiWaferIntersection();
020
021
022 const SiWaferIntersection & operator=(const SiWaferIntersection &right);
023
024
025 bool operator==(const SiWaferIntersection &right) const;
026
027
028 bool operator!=(const SiWaferIntersection &right) const;
029
030
031 bool operator>(const SiWaferIntersection &right) const;
032
033
034 bool operator<(const SiWaferIntersection &right) const;
035
036
037 const CdfHalfLadder * getWafer() const;
038
039
040 HepPoint3D getLocalCoordinate() const;
041
042
043 bool inActiveArea() const;
044
045 private:
046
047 HepPoint3D _localInterPoint;
048 const CdfHalfLadder *_theWafer;
049 bool _inActiveArea;
050
051 };
052
053 #endif
054
055
Send problems or questions to cdfcode@fnal.gov