Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

C0SamplerRouterADPhiSample.cxx

Go to the documentation of this file.
00001 // ================================================
00002 // Implementation of C0SamplerRouterADPhiSample
00003 // ================================================
00004 
00005 #include "FastShowerUtils/C0SamplerRouterADPhiSample.h"
00006 #include "FastShowerUtils/CoreSamples.h"
00007 #include <assert.h>
00008 
00009 namespace FastShower{
00010   C0SamplerRouterADPhiSample::C0SamplerRouterADPhiSample(const std::vector<
00011                                                          std::pair<double, ISampler*> 
00012                                                          >& v,
00013                                                          double floor,
00014                                                          std::string label
00015                                                          ): 
00016     SamplerRouter(v, floor, label){};
00017   //
00018   C0SamplerRouterADPhiSample::C0SamplerRouterADPhiSample(const 
00019                                                          C0SamplerRouterADPhiSample& s): 
00020     SamplerRouter(s){};
00021   //
00022   ISampler*  C0SamplerRouterADPhiSample::clone() const {
00023     return new C0SamplerRouterADPhiSample(*this);
00024   }
00025   //
00026   double C0SamplerRouterADPhiSample::indexQ(const ParticleParameters& pp, 
00027                                             const CoreSamples&)const{
00028     return fabs(pp.delPhi());
00029   }
00030   //
00031   double C0SamplerRouterADPhiSample::lastValue(const CoreSamples& cs) const {
00032     return cs.give(this);
00033   }
00034 }//namespace
00035 
00036 
00037 

Generated on Tue Mar 18 11:49:55 2003 for FastShowerUtils by doxygen1.3-rc1