Project
Loading...
Searching...
No Matches
Utils.h File Reference
#include <istream>
#include <random>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::zdc
 
namespace  o2::zdc::fastsim
 

Functions

std::vector< float > o2::zdc::fastsim::normal_distribution (double mean, double stddev, size_t size)
 Generates a vector of numbers with a given normal distribution and length.
 
std::vector< std::vector< float > > o2::zdc::fastsim::normal_distribution_batch (double mean, double stddev, size_t size, long batchSize)
 Generates a batch of vectors of numbers with a given normal distribution and length.
 
std::vector< float > o2::zdc::fastsim::parse_block (std::istream &input, const std::string &option)
 Parses .txt file containing scales for model. Function will search for given marker (option) and read 9 lines below that marker.
 
std::vector< float > o2::zdc::fastsim::flat_vector (std::vector< std::vector< float > > &vector2D)
 

Detailed Description

Author
SwirtaB

Definition in file Utils.h.