Project
Loading...
Searching...
No Matches
TopologyFastSimulation.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
22
23#ifndef ALICEO2_ITSMFT_TOPOLOGYFASTSIMULATION_H
24#define ALICEO2_ITSMFT_TOPOLOGYFASTSIMULATION_H
25#include <random>
27
28namespace o2
29{
30namespace itsmft
31{
33{
34 public:
35 TopologyFastSimulation(std::string fileName, unsigned seed = 0xdeadbeef);
36 int getRandom();
37
38 private:
39 TopologyDictionary mDictionary;
40 std::vector<double> mFreqArray;
41 std::mt19937 mGenerator;
42 std::uniform_real_distribution<double> mDistribution;
43
44 ClassDefNV(TopologyFastSimulation, 1);
45};
46} // namespace itsmft
47} // namespace o2
48
49#endif
Definition of the ClusterTopology class.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...