#include <C0SamplerRouterRandomSample.h>
Inheritance diagram for FastShower::C0SamplerRouterRandomSample:
Public Methods | |
C0SamplerRouterRandomSample (const std::vector< std::pair< double, ISampler * > > &, double floor=0.0, std::string label="") | |
C0SamplerRouterRandomSample (const C0SamplerRouterRandomSample &s) | |
virtual ISampler * | clone () const |
make a copy of objects viewed through ISampler interface. | |
~C0SamplerRouterRandomSample () | |
virtual double | indexQ (const ParticleParameters &, const CoreSamples &) const |
Supply a sample method. | |
virtual double | lastValue (const CoreSamples &) const |
for monitoring - get the last "Sampler" value. |
Definition at line 32 of file C0SamplerRouterRandomSample.h.
|
Definition at line 11 of file C0SamplerRouterRandomSample.cxx. Referenced by clone().
00016 : 00017 SamplerRouter(v, floor, label){}; |
|
Definition at line 19 of file C0SamplerRouterRandomSample.cxx.
00020 : 00021 SamplerRouter(s){}; |
|
Definition at line 39 of file C0SamplerRouterRandomSample.h.
00039 {} |
|
make a copy of objects viewed through ISampler interface.
Implements FastShower::ISampler. Definition at line 23 of file C0SamplerRouterRandomSample.cxx. References C0SamplerRouterRandomSample().
00023 { 00024 return new C0SamplerRouterRandomSample(*this); 00025 } |
|
Supply a sample method.
Implements FastShower::SamplerRouter. Definition at line 27 of file C0SamplerRouterRandomSample.cxx.
00028 {
00029 return RandFlat::shoot();
00030 }
|
|
for monitoring - get the last "Sampler" value.
Implements FastShower::ISampler. Definition at line 32 of file C0SamplerRouterRandomSample.cxx. References FastShower::CoreSamples::give().
00032 { 00033 return cs.give(this); 00034 } |