00001 #ifndef TRECONHITS_H 00002 #define TRECONHITS_H 00003 00004 #include "TPCON.h" 00005 #include <iostream.h> 00006 00007 class TReconHits : public TPCON { 00008 00009 private: 00010 TString fMat; // Sensitive element 00011 Float_t fX; // X Coordinate (cm) 00012 Float_t fY; // Y Coordinate (cm) 00013 Float_t fZ; // Z Coordinate (cm) 00014 Double_t fAngleX; // Track slope in X-Z proj. (degrees) 00015 Double_t fAngleY; // Track slope in Y-Z proj. (degrees) 00016 00017 public: 00018 TReconHits() { }; 00019 TReconHits(const char* name, const char* title, const char* material); 00020 virtual ~TReconHits(); 00021 void Print() const; 00022 void SetX(float x) {fX = x;} 00023 void SetY(float y) {fY = y;} 00024 void SetZ(float z) {fZ = z;} 00025 void SetAngleX( Double_t angle ) { fAngleX = angle; } 00026 void SetAngleY( Double_t angle ) { fAngleY = angle; } 00027 00028 ClassDef(TReconHits,2) 00029 }; 00030 00031 #endif
1.2.3 written by Dimitri van Heesch,
© 1997-2000