#ifndef FIN_FndHTof #define FIN_FndHTof //_____________________________________________________________________ // // TFndHTof // // Description of the hit on Tof // #include "TObject.h" #include "TMarker3DBox.h" #include "TFndConst.h" class TFndHTof : public TObject { protected: Int_t Slab; // Slab Number Int_t Tdc[2]; // TDC Values ([0]:front [1]:rear) Int_t Adc[2]; // ADC Values ([0]:front [1]:rear) 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: TFndHTof() {}; // Default constructor TFndHTof(Int_t a, Int_t d=0, Int_t e=0); // Constructor ~TFndHTof(); // Destructor Int_t GetSlab() const { return Slab; } // Get Slab Number Int_t GetTdcF() const { return Tdc[0]; } // Get Front TDC Int_t GetTdcR() const { return Tdc[1]; } // Get Rear TDC Int_t GetAdcF() const { return Adc[0]; } // Get Front ADC Int_t GetAdcR() const { return Adc[1]; } // Get Rear ADC void SetTdcF(Int_t); // Set Front TDC void SetTdcR(Int_t); // Set Rear TDC void SetAdcF(Int_t); // Set Front ADC void SetAdcR(Int_t); // Set Rear ADC 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 void Print(); // Print the hit void Draw(char *,Float_t); // Draw the hit void MzBook(); // Book and Fill the FIDARC Zebra bank for Tof Hits void Update(Float_t, Float_t, Float_t, Int_t); // updates Points after reconstruction ClassDef(TFndHTof,3) // The TOF hit }; #endif