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

SNSamplerRouterC0Sample.cxx

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

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