//----------------------------------------------------------- // 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 _gain;} double spread() const {return _spread;} const TF1& cloudShape() const {return _cloudShape;} void PrintAll(std::ostream& s) const {s<<*this;} // Modifiers ----------------------- void setgain(const double G){_gain=G;} void setspread(const double S){_spread=S;} private: // Private Data Members ------------ double _gain; double _spread; TF1 _cloudShape; // 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 // // // //--------------------------------------------------------------