ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDigitization
PixelDigitization
src
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
28
BichselData
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
vec
std::vector< size_t > vec
Definition
CombinationsGeneratorTest.cxx:9
CLHEP
STD'S.
Definition
CaloNoiseCompCondAlg.h:57
PixelChargeCalib
Definition
IChargeCalibrationParser.h:30
PixelDigitization
Definition
PixelDigitizationUtilities.cxx:16
PixelDigitization::parseThreeDoubles
std::tuple< double, double, double > parseThreeDoubles(const std::string &line)
Definition
PixelDigitizationUtilities.cxx:47
PixelDigitization::formBichselDataFileName
std::string formBichselDataFileName(int particleType, unsigned int nCols)
Definition
PixelDigitizationUtilities.cxx:18
PixelDigitization::getBichselDataFromFile
BichselData getBichselDataFromFile(const std::string &fullFilename)
Definition
PixelDigitizationUtilities.cxx:28
PixelDigitization::fastSearch
std::pair< int, int > fastSearch(const std::vector< double > &vec, double item)
Definition
PixelDigitizationUtilities.cxx:73
PixelDigitization::randomThreshold
double randomThreshold(const PixelChargeCalib::Thresholds &t, CLHEP::HepRandomEngine *pEngine)
Definition
PixelDigitizationUtilities.cxx:105
BichselData
Definition
BichselData.h:14
PixelChargeCalib::Thresholds
Definition
ChargeCalibParameters.h:75
Generated on
for ATLAS Offline Software by
1.17.0