Go to the documentation of this file. 1 #ifndef _DataFormats_PatCandidates_CovarianceParameterization_h_
2 #define _DataFormats_PatCandidates_CovarianceParameterization_h_
6 #include <unordered_map>
20 uint16_t
pack(
float value,
float ref = 0.)
const;
21 float unpack(uint16_t packed,
float ref = 0.)
const;
28 return j +
i * (
i + 1) / 2;
30 return i +
j * (
j + 1) / 2;
43 int i,
int j,
int sign,
float pt,
float eta,
int nHits,
int pixelHits,
float cii = 1.,
float cjj = 1.)
const;
53 float cjj = 1.)
const;
54 float unpack(uint16_t packed,
63 float cjj = 1.)
const;
68 std::vector<TH3D *> *HistoVector,
std::string StringToAddInTheName,
int i,
int j, TFile &fileToRead);
71 std::unordered_map<uint16_t, CompressionSchema>
schemas;
std::vector< float > params
static int index(int i, int j)
float pack(float value, int schema, int i, int j, float pt, float eta, int nHits, int pixelHits, float cii=1., float cjj=1.) const
float meanValue(int i, int j, int sign, float pt, float eta, int nHits, int pixelHits, float cii=1., float cjj=1.) const
std::vector< TH3D * > cov_elements_pixelHit
const caConstants::TupleMultiplicity *__restrict__ const HitsOnGPU *__restrict__ double *__restrict__ float *__restrict__ double *__restrict__ uint32_t nHits
CompressionElement & operator()(int i, int j)
float unpack(uint16_t packed, float ref=0.) const
std::unordered_map< uint16_t, CompressionSchema > schemas
std::vector< TH3D * > cov_elements_noPixelHit
uint16_t pack(float value, float ref=0.) const
float unpack(uint16_t packed, int schema, int i, int j, float pt, float eta, int nHits, int pixelHits, float cii=1., float cjj=1.) const
void addTheHistogram(std::vector< TH3D * > *HistoVector, std::string StringToAddInTheName, int i, int j, TFile &fileToRead)
std::array< CompressionElement, 15 > elements
int loadedVersion() const
CompressionElement(Method m, Target t, int bitsUsed, std::vector< float > p)
const CompressionElement & operator()(int i, int j) const
CovarianceParameterization()