//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Data class carrying information about GEMs // in the TPC // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- #ifndef TPCGEM_HH #define TPCGEM_HH // Base Class Headers ---------------- // Collaborating Class Headers ------- #include //#include "CLHEP/GenericFunctions/AbsFunction.hh" //using Genfun::AbsFunction; #include "TF1.h" // Collaborating Class Declarations -- class TpcGem { public: // Constructors/Destructors --------- TpcGem(); TpcGem(const double Gain, const double Spread); ~TpcGem(); // Operators friend bool operator== (const TpcGem&,const TpcGem&); friend std::ostream& operator<<(std::ostream&, const TpcGem&); // Accessors ----------------------- double gain() const {return fgain;} double spread() const {return fspread;} const TF1* cloudShape() const {return fcloudShape;} void PrintAll(std::ostream& s) const {s<<*this;} // Modifiers ----------------------- void setgain(const double G){fgain=G;} void setspread(const double S){fspread=S;} private: // Private Data Members ------------ double fgain; double fspread; TF1* fcloudShape; // Private Methods ----------------- bool operator< (const TpcGem&) const; // forbidden, TpcGem // is not an ordered type }; #endif //-------------------------------------------------------------- // $Log: TpcGem.hh,v $ // Revision 1.2 2006/03/10 14:45:24 sneubert // update naming scheme // // Revision 1.1 2005/08/03 13:42:20 sneubert // added TpcGem TpcPad and Lookuptable // // // //--------------------------------------------------------------