#ifndef FIN_FndHStb #define FIN_FndHStb //_____________________________________________________________________ // // TFndHStb // // Description of the hit on Stb // #include "TObject.h" #include "TMarker3DBox.h" #include "TFndConst.h" class TFndHStb : public TObject { protected: Int_t Crown; // STB Crown Identifier Int_t Tube; // Tube Number Int_t PatchPanel; // Patch Panel number Int_t Tdc; // TDC Value Float_t x_c; // x central coordinate Float_t y_c; // y central coordinate Float_t z_c; // z central coordinate Float_t x_l; // x local coordinate Float_t y_l; // y local coordinate Float_t z_l; // z local coordinate Float_t x_g; // x global coordinate Float_t y_g; // y global coordinate Float_t z_g; // z global coordinate TMarker3DBox *hmarker; // Marker for Event Display public: TFndHStb() {}; // Default constructor TFndHStb(Int_t a, Int_t b=0, Int_t c=0, Int_t d=0); // Constructor ~TFndHStb(); // Destructor Int_t GetCrown() const { return Crown; } // Get Crown Number Int_t GetTube() const { return Tube; } // Get Tube Number Int_t GetTdc() const { return Tdc; } // Get TDC value Int_t GetPP() const { return PatchPanel; } // Get PatchPanel Number Float_t GetX() const { return x_g; } // Get X Float_t GetY() const { return y_g; } // Get Y Float_t GetZ() const { return z_g; } // Get Z TMarker3DBox *GetMarker() const { return hmarker; } // Get Marker void Draw(char *,Float_t); // Draw the hit void MzBook(); // Book and Fill the FIDARC Zebra bank for Stb Hits void Print(); // Print the Stb Hit ClassDef(TFndHStb,3) // The STB hit }; #endif