//-*-mode:c++-*- // // // BrDcDig // // BRAHMS DC Raw Data class // // Author : Kris Hagel (hagel@comp.tamu.edu) // Created : 28-Jul-2000 // Version : 1.0 // Changed : // // $Id: BrDcDig.h,v 1.1 2001/06/22 17:32:26 cholm Exp $ // #ifndef BRAT_BrDcDig #define BRAT_BrDcDig #ifndef ROOT_TObject #include "TObject.h" #endif #include "iostream.h" // Root Classes class BrDcDig: public TObject { public: BrDcDig(); virtual ~BrDcDig(); // {fHitpos.Clear(); }; Bool_t IsSortable() const { return kTRUE; } Int_t Compare(TObject *dighit); Int_t Compare(const TObject *dighit) const; Int_t GetID() { return fID; } Int_t GetSubModule() { return fSubModule; } Int_t GetPlane() { return fPlane; } Int_t GetWire() { return fWire; } Int_t GetTime() { return fTime; } Int_t GetWidth() { return fWidth; } void SetID(const Int_t i) { fID = i; } void SetSubModule(const Int_t i) { fSubModule = i; } void SetPlane(const Int_t i) { fPlane = i; } void SetWire(const Int_t i) { fWire = i; } void SetTime(const Int_t i) { fTime = i; } void SetWidth(const Int_t i) { fWidth = i; } enum EPlanes { kT3X1 = 1, kT3X2 = 2, kT3X3 = 3, kT3Y1 = 4, kT3Y2 = 5, kT3Y3 = 6, kT3U1 = 7, kT3U2 = 8, kT3V1 = 9, kT3V2 = 10, kT4X1 = 1, kT4X2 = 2, kT4Y1 = 3, kT4Y2 = 4, kT4U1 = 5, kT4U2 = 6, kT4V1 = 7, kT4V2 = 8, kT5X1 = 1, kT5X2 = 2, kT5Y1 = 3, kT5Y2 = 4, kT5U1 = 5, kT5U2 = 6, kT5V1 = 7, kT5V2 = 8 }; private: Int_t fID; // Id of this digit Int_t fSubModule; // Sub module Int_t fPlane; // Wire plane Int_t fWire; // Wire Int_t fTime; // time signal Int_t fWidth; // Width of signal public: friend ostream& operator<< (ostream& os,BrDcDig* dighit); ClassDef(BrDcDig,1) // BRAHMS DC raw data class }; #endif // $Log: BrDcDig.h,v $ // Revision 1.1 2001/06/22 17:32:26 cholm // Change names so that every data class has the same format so that // we have that down from the very beginning, so that we will not have to // worry about that later on. The // affected classes are: // // BrDigBB -> BrBbDig // BrDigZDC -> BrZdcDig // BrDigRHIC -> BrRichDig // BrDigDC -> BrDcDig // BrDigC1 -> BrDcC1 // BrDigHit -> BrHitDig // BrDigTof -> BrTofDig // BrTPCSequence -> BrTpcSequence // // Revision 1.1.1.1 2001/06/21 14:55:01 hagel // Initial revision of brat2 // // Revision 1.6 2001/04/19 13:06:57 cholm // Ups, i forgot the const in front of TObject in last commit. Sorry // // Revision 1.5 2001/04/19 13:05:07 cholm // Added method Compare(const TObject*) const for ROOT 3 // // Revision 1.4 2000/09/29 02:15:57 hagel // Changes having to do with development of BrDCTrackingModule // // Revision 1.3 2000/08/31 21:26:16 hagel // Change definitions of planes // // Revision 1.2 2000/07/29 23:42:18 hagel // Implement first version of unpacking T3 // // Revision 1.1 2000/07/28 20:39:28 hagel // Initial revision //