Data creator: Gaussian random data. More...
Public Member Functions | |
| GaussianNoiseCreator (std::string name, float sigma, float mu=0.) | |
| Constructor: assigns data set name and noise parameters. More... | |
| virtual InputData_t | create (size_t size) override |
| Creates and returns the data sample. More... | |
Public Member Functions inherited from DataCreatorBase | |
| DataCreatorBase (std::string new_name) | |
| Constructor: just assigns a name to this data set. More... | |
| std::string | name () const |
| Returns the name of this set. More... | |
| virtual | ~DataCreatorBase () |
| Virtual destructor. More... | |
Public Attributes | |
| float | mean |
| mean of the noise Gaussian (pedestal) More... | |
| float | stdev |
| standard deviation of the noise Gaussian (RMS) More... | |
Additional Inherited Members | |
Public Types inherited from DataCreatorBase | |
| typedef std::vector< short > | InputData_t |
Static Public Attributes inherited from DataCreatorBase | |
| static std::default_random_engine | random_engine |
| Random engine shared by all the data creators. More... | |
Data creator: Gaussian random data.
Definition at line 117 of file raw_test.cc.
|
inline |
Constructor: assigns data set name and noise parameters.
Definition at line 124 of file raw_test.cc.
|
inlineoverridevirtual |
Creates and returns the data sample.
Implements DataCreatorBase.
Definition at line 130 of file raw_test.cc.
| float GaussianNoiseCreator::mean |
mean of the noise Gaussian (pedestal)
Definition at line 119 of file raw_test.cc.
| float GaussianNoiseCreator::stdev |
standard deviation of the noise Gaussian (RMS)
Definition at line 120 of file raw_test.cc.
1.8.5