// -*- mode: c++ -*- // // $Id: BrInelVertex.h,v 1.1 2002/06/07 15:51:30 videbaek Exp $ // $Author: videbaek $ // $Date: 2002/06/07 15:51:30 $ // $Copyright: (C) 2001 BRAHMS Collaboration // //___________________________________________________________________ #ifndef BRAT_BrInelVertex #define BRAT_BrInelVertex #ifndef BRAT_BrDataObject #include "BrDataObject.h" #endif class BrInelVertex : public BrDataObject { private: Float_t fTime0; // Vertex time information Float_t fLeftTime; // averaged time from left array Float_t fRightTime; // averaged time from right array Float_t fZ ; // vertex trigger time information UShort_t fMethod; // method used: public: BrInelVertex(); BrInelVertex(const Char_t* Name, const Char_t* Title = NULL); BrInelVertex(BrInelVertex &vertex); virtual ~BrInelVertex() {}; Float_t GetTime0() const { return fTime0; } Float_t GetLeftTime() const { return fLeftTime; } Float_t GetRightTime() const { return fRightTime; } Float_t GetZ() const { return fZ; } 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 SetZ(Double_t z) { fZ = z; } void SetMethod(UShort_t m) { fMethod = m; } void Clear(); BrInelVertex& operator=(BrInelVertex &vtx); virtual void Print(Option_t* option="") const; //*MENU* ClassDef(BrInelVertex,1) // Vertex object returned by BrInelVertexModule }; #endif //____________________________________________________________________ // // $Log: BrInelVertex.h,v $ // Revision 1.1 2002/06/07 15:51:30 videbaek // Add the InelVertex to the Brat datastructures. // The layout is copied from that of the BbVertex to make the // methods similar. // //