Data creator: uniformly random data, specified range plus offset (pedestal) More...
Public Member Functions | |
| UniformNoiseCreator (std::string name, float RMS, float pedestal=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 | baseline |
| pedestal More... | |
| float | width |
| (half)width of the uniform distribution 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: uniformly random data, specified range plus offset (pedestal)
Definition at line 90 of file raw_test.cc.
|
inline |
Constructor: assigns data set name and noise parameters.
Definition at line 97 of file raw_test.cc.
|
inlineoverridevirtual |
Creates and returns the data sample.
Implements DataCreatorBase.
Definition at line 103 of file raw_test.cc.
| float UniformNoiseCreator::baseline |
pedestal
Definition at line 92 of file raw_test.cc.
| float UniformNoiseCreator::width |
(half)width of the uniform distribution
Definition at line 93 of file raw_test.cc.
1.8.5