#include <SNSamplerRouterC0Sample.h>
Inheritance diagram for FastShower::SNSamplerRouterC0Sample:
Public Methods | |
SNSamplerRouterC0Sample (const std::vector< std::pair< double, ISampler * > > &, double floor=0.0, std::string label="") | |
SNSamplerRouterC0Sample (const SNSamplerRouterC0Sample &s) | |
virtual ISampler * | clone () const |
make a copy of objects viewed through ISampler interface. | |
~SNSamplerRouterC0Sample () | |
virtual double | indexQ (const ParticleParameters &, const CoreSamples &) const |
method to get the indexable quantity | |
virtual double | lastValue (const CoreSamples &) const |
for monitoring - get the last "Sampler" value. |
This value is binned - the bin number serves to select the Sampler. This class provides the quantity that serves to provides a specisific indexable quantity used by the router (a base class) - here it is the value of the SN sample.
Definition at line 38 of file SNSamplerRouterC0Sample.h.
|
Definition at line 10 of file SNSamplerRouterC0Sample.cxx. Referenced by clone().
00016 : 00017 SamplerRouter(v, floor, label){}; // |
|
Definition at line 19 of file SNSamplerRouterC0Sample.cxx.
00020 : 00021 SamplerRouter(s){}; |
|
Definition at line 45 of file SNSamplerRouterC0Sample.h.
00045 {} |
|
make a copy of objects viewed through ISampler interface.
Implements FastShower::ISampler. Definition at line 23 of file SNSamplerRouterC0Sample.cxx. References SNSamplerRouterC0Sample().
00023 { 00024 return new SNSamplerRouterC0Sample(*this); 00025 } |
|
method to get the indexable quantity
Implements FastShower::SamplerRouter. Definition at line 27 of file SNSamplerRouterC0Sample.cxx.
00028 {
00029 return cs.cell0();
00030 }
|
|
for monitoring - get the last "Sampler" value.
Implements FastShower::ISampler. Definition at line 32 of file SNSamplerRouterC0Sample.cxx. References FastShower::CoreSamples::give().
00032 { 00033 return cs.give(this); 00034 } |