Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
PixelDigitizationUtilities.h
Go to the documentation of this file.
1 /*
2 
3  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 
5  */
6 
7 #ifndef PIXELDIGITIZATION_UTILITIES_H
8 #define PIXELDIGITIZATION_UTILITIES_H
9 
10 #include <string>
11 #include <tuple>
12 #include <vector>
13 #include <utility>
14 
15 namespace PixelChargeCalib{
16  struct Thresholds;
17 }
18 
19 namespace CLHEP{
20  class HepRandomEngine;
21 }
22 struct BichselData;
23 
24 namespace PixelDigitization{
25  std::string
26  formBichselDataFileName(int particleType, unsigned int nCols);
27 
29  getBichselDataFromFile(const std::string & fullFilename);
30 
31  std::tuple<double, double, double>
32  parseThreeDoubles(const std::string & line);
33 
34  std::pair<int, int>
35  fastSearch(const std::vector<double> & vec, double item);
36 
37  double
38  randomThreshold(const PixelChargeCalib::Thresholds & thresholds, CLHEP::HepRandomEngine* pEngine);
39 
40 
41 }
42 
43 
44 
45 #endif
checkFileSG.line
line
Definition: checkFileSG.py:75
PixelDigitization::parseThreeDoubles
std::tuple< double, double, double > parseThreeDoubles(const std::string &line)
Definition: PixelDigitizationUtilities.cxx:47
BichselData
Definition: BichselData.h:14
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:9
PixelDigitization
Definition: PixelDigitizationUtilities.cxx:16
particleType
Definition: particleType.h:29
PixelDigitization::randomThreshold
double randomThreshold(const PixelChargeCalib::Thresholds &t, CLHEP::HepRandomEngine *pEngine)
Definition: PixelDigitizationUtilities.cxx:105
PixelChargeCalib::Thresholds
Definition: ChargeCalibParameters.h:73
CLHEP
STD'S.
Definition: IAtRndmGenSvc.h:19
PixelDigitization::getBichselDataFromFile
BichselData getBichselDataFromFile(const std::string &fullFilename)
Definition: PixelDigitizationUtilities.cxx:28
RPDUtils::nCols
unsigned constexpr int nCols
Definition: RPDUtils.h:25
item
Definition: ItemListSvc.h:43
PixelDigitization::formBichselDataFileName
std::string formBichselDataFileName(int particleType, unsigned int nCols)
Definition: PixelDigitizationUtilities.cxx:18
Thresholds
Definition: LArCalorimeter/LArCalibDataQuality/python/Thresholds.py:1
PixelDigitization::fastSearch
std::pair< int, int > fastSearch(const std::vector< double > &vec, double item)
Definition: PixelDigitizationUtilities.cxx:73
PixelChargeCalib
Definition: IChargeCalibrationParser.h:30