// -*- mode: c++ -*- // // $Id: BrBbVertex.h,v 1.2 2001/10/02 01:51:33 ouerdane Exp $ // $Author: ouerdane $ // $Date: 2001/10/02 01:51:33 $ // $Copyright: (C) 2001 BRAHMS Collaboration // //___________________________________________________________________ #ifndef BRAT_BrBbVertex #define BRAT_BrBbVertex #ifndef BRAT_BrDataObject #include "BrDataObject.h" #endif class BrBbVertex : public BrDataObject { private: Float_t fTime0; // trigger time information Float_t fLeftTime; // averaged time from left array Float_t fRightTime; // averaged time from right array Float_t fZ0; // trigger time information UShort_t fMethod; // method used: // 0 no method, something's wrong :) // 1 big tubes, // 2 small tubes // 3 fastest tube public: BrBbVertex(); BrBbVertex(const Char_t* Name, const Char_t* Title = NULL); BrBbVertex(BrBbVertex &vertex); virtual ~BrBbVertex() {}; Float_t GetTime0() const { return fTime0; } Float_t GetLeftTime() const { return fLeftTime; } Float_t GetRightTime() const { return fRightTime; } Float_t GetZ0() const { return fZ0; } UShort_t GetMethod() const { return fMethod; } void SetTime0(Double_t time) { fTime0 = time; } void SetLeftTime(Double_t time) { fLeftTime = time; } void SetRightTime(Double_t time) { fRightTime = time; } void SetZ0(Double_t z) { fZ0 = z; } void SetMethod(UShort_t m) { fMethod = m; } void Clear(); BrBbVertex& operator=(BrBbVertex &vtx); virtual void Print(Option_t* option="") const; //*MENU* ClassDef(BrBbVertex,1) // Vertex object returned by BrBbVertexModule }; #endif //____________________________________________________________________ // // $Log: BrBbVertex.h,v $ // Revision 1.2 2001/10/02 01:51:33 ouerdane // Added operator = in BrBbvertex // // Revision 1.1 2001/09/23 01:43:23 videbaek // Add the vertex class for Bb holding Z and T0 information. // Thanks to DO- but likely changes will occur shortly // //