00001 #ifndef ATLFAST_PSCALEBIN_H 00002 #define ATLFAST_PSCALEBIN_H 00003 00004 #include <vector> 00005 #include "GaudiKernel/MsgStream.h" 00006 00007 namespace Atlfast{ 00008 00009 class BremPTScaleBin{ 00010 00011 public: 00012 BremPTScaleBin(){} 00013 BremPTScaleBin(double low, double high, double pt, double step); 00014 double calculatePScale(double rand) const; 00015 double ptValue() const; 00016 double ptStep() const; 00017 double low() const; 00018 double high() const; 00019 private: 00020 00021 double m_low; 00022 double m_high; 00023 double m_ptValue; 00024 double m_ptStep; 00025 00026 }; 00027 00028 MsgStream& operator<<(MsgStream& s, BremPTScaleBin& bin); 00029 00030 }//namepace 00031 #endif 00032 00033 00034 00035 00036 00037