ATLAS Offline Software
PixelDigitizationUtilities.h
Go to the documentation of this file.
1 /*
2 
3  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4 
5  */
6 
7 #ifndef PIXELDIGITIZATION_Utilities_H
8 
9 #define PIXELDIGITIZATION_Utilities_H
10 
11 
12 
13 #include <string>
14 
15 #include <tuple>
16 
17 #include <vector>
18 
19 #include <utility>
20 
21 
22 
23 struct BichselData;
24 
25 
26 
27 namespace PixelDigitization{
28 
29  std::string
30 
31  formBichselDataFileName(int particleType, unsigned int nCols);
32 
33 
34 
36 
37  getBichselDataFromFile(const std::string & fullFilename);
38 
39 
40 
41  std::tuple<double, double, double>
42 
43  parseThreeDoubles(const std::string & line);
44 
45 
46 
47  std::pair<int, int>
48 
49  fastSearch(const std::vector<double> & vec, double item);
50 
51 
52 
53 }
54 
55 
56 
57 #endif
checkFileSG.line
line
Definition: checkFileSG.py:75
PixelDigitization::parseThreeDoubles
std::tuple< double, double, double > parseThreeDoubles(const std::string &line)
Definition: PixelDigitizationUtilities.cxx:87
BichselData
Definition: BichselData.h:14
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
PixelDigitization
Definition: PixelDigitizationUtilities.cxx:29
particleType
Definition: particleType.h:29
PixelDigitization::getBichselDataFromFile
BichselData getBichselDataFromFile(const std::string &fullFilename)
Definition: PixelDigitizationUtilities.cxx:51
item
Definition: ItemListSvc.h:43
PixelDigitization::formBichselDataFileName
std::string formBichselDataFileName(int particleType, unsigned int nCols)
Definition: PixelDigitizationUtilities.cxx:33
PixelDigitization::fastSearch
std::pair< int, int > fastSearch(const std::vector< double > &vec, double item)
Definition: PixelDigitizationUtilities.cxx:133