//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Tpc Digitization // Persisted data. Raw data // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- #ifndef TPCDIGI_HH #define TPCDIGI_HH // Base Class Headers ---------------- #include "TObject.h" // Collaborating Class Headers ------- #include // remove if you do not need streaming op #include "McIdCollection.h" // Collaborating Class Declarations -- class TpcDigi : public TObject { public: // Constructors/Destructors --------- TpcDigi(); TpcDigi(const unsigned int Amp, const unsigned int t, const unsigned int PadID, const McIdCollection& mcid); ~TpcDigi(){;} // Operators friend bool operator== (const TpcDigi& lhs, const TpcDigi& rhs); friend bool operator< (const TpcDigi& lhs, const TpcDigi& rhs); friend std::ostream& operator<< (std::ostream& s, const TpcDigi& me); // Accessors ----------------------- unsigned int amp() const {return _amp;} unsigned int t() const {return _t;} unsigned int padId() const {return _padID;} const McIdCollection& mcId() const {return _mcid;} // Modifiers ----------------------- // Operations ---------------------- private: // Private Data Members ------------ unsigned int _amp; unsigned int _t; unsigned int _padID; McIdCollection _mcid; // Private Methods ----------------- public: ClassDef(TpcDigi,1) }; #endif //-------------------------------------------------------------- // $Log: TpcDigi.hh,v $ // Revision 1.4 2006/02/24 14:39:34 sneubert // moved McIds to package MciData // // Revision 1.3 2006/02/24 13:38:00 sneubert // Code revision done // // Revision 1.2 2006/01/29 20:26:30 sneubert // initial creation // // Revision 1.1 2005/10/14 12:28:35 sneubert // added TpcDigi // //--------------------------------------------------------------