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>
26
#include "
DataFormatsITSMFT/TopologyDictionary.h
"
27
28
namespace
o2
29
{
30
namespace
itsmft
31
{
32
class
TopologyFastSimulation
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
TopologyDictionary.h
Definition of the ClusterTopology class.
o2::itsmft::TopologyDictionary
Definition
TopologyDictionary.h:68
o2::itsmft::TopologyFastSimulation
Definition
TopologyFastSimulation.h:33
o2::itsmft::TopologyFastSimulation::getRandom
int getRandom()
Definition
TopologyFastSimulation.cxx:40
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
Detectors
ITSMFT
common
reconstruction
include
ITSMFTReconstruction
TopologyFastSimulation.h
Generated on Tue Feb 25 2025 23:16:19 for Project by
1.9.8