#include <CovarianceParameterization.h>
Classes | |
struct | CompressionSchema |
Public Member Functions | |
CovarianceParameterization () | |
bool | isValid () const |
void | load (int version) |
int | loadedVersion () const |
float | meanValue (int i, int j, int sign, float pt, float eta, int nHits, int pixelHits, float cii=1., float cjj=1.) const |
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 | 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 |
Static Public Member Functions | |
static int | index (int i, int j) |
Private Member Functions | |
void | addTheHistogram (std::vector< TH3D * > *HistoVector, std::string StringToAddInTheName, int i, int j, TFile &fileToRead) |
void | readFile (TFile &) |
Private Attributes | |
std::vector< TH3D * > | cov_elements_noPixelHit |
std::vector< TH3D * > | cov_elements_pixelHit |
TFile * | fileToRead_ |
int | loadedVersion_ |
std::unordered_map< uint16_t, CompressionSchema > | schemas |
Definition at line 24 of file CovarianceParameterization.h.
|
inline |
Definition at line 38 of file CovarianceParameterization.h.
|
private |
Definition at line 141 of file CovarianceParameterization.cc.
References mps_fire::i, dqmiolumiharvest::j, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by readFile().
|
inlinestatic |
Definition at line 26 of file CovarianceParameterization.h.
Referenced by BeautifulSoup.PageElement::_invert(), and CovarianceParameterization::CompressionSchema::operator()().
|
inline |
Definition at line 39 of file CovarianceParameterization.h.
References loadedVersion_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), core.AutoHandle.AutoHandle::ReallyLoad(), and pat::PackedCandidate::unpackCovariance().
void CovarianceParameterization::load | ( | int | version | ) |
Definition at line 81 of file CovarianceParameterization.cc.
References haddnano::cl, fileToRead_, printsummarytable::folder, edm::FileInPath::fullPath(), mps_fire::i, dqmiolumiharvest::j, isotrackApplyRegressor::k, submitPVResolutionJobs::key, loadedVersion_, GetRecoTauVFromDQM_MC_cff::next, AlCaHLTBitMon_ParallelJobs::p, readFile(), schemas, AlCaHLTBitMon_QueryRunRegistry::string, and relval_steps::version.
|
inline |
Definition at line 40 of file CovarianceParameterization.h.
References loadedVersion_.
float CovarianceParameterization::meanValue | ( | int | i, |
int | j, | ||
int | sign, | ||
float | pt, | ||
float | eta, | ||
int | nHits, | ||
int | pixelHits, | ||
float | cii = 1. , |
||
float | cjj = 1. |
||
) | const |
Definition at line 151 of file CovarianceParameterization.cc.
References funct::abs(), cov_elements_noPixelHit, cov_elements_pixelHit, etaBin(), mps_fire::i, dqmiolumiharvest::j, and nHits.
Referenced by pack(), and unpack().
float CovarianceParameterization::pack | ( | float | value, |
int | schema, | ||
int | i, | ||
int | j, | ||
float | pt, | ||
float | eta, | ||
int | nHits, | ||
int | pixelHits, | ||
float | cii = 1. , |
||
float | cjj = 1. |
||
) | const |
Definition at line 180 of file CovarianceParameterization.cc.
References meanValue(), DiDispStaMuonMonitor_cfi::pt, schemas, edm::second(), and std::swap().
Referenced by pat::PackedCandidate::packCovarianceElement().
|
private |
Definition at line 129 of file CovarianceParameterization.cc.
References addTheHistogram(), cov_elements_noPixelHit, cov_elements_pixelHit, mps_fire::i, dqmiolumiharvest::j, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by load().
float CovarianceParameterization::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 |
Definition at line 196 of file CovarianceParameterization.cc.
References alignCSCRings::e, meanValue(), DiDispStaMuonMonitor_cfi::pt, schemas, edm::second(), and std::swap().
Referenced by pat::PackedCandidate::unpackCovarianceElement().
|
private |
Definition at line 73 of file CovarianceParameterization.h.
Referenced by meanValue(), and readFile().
|
private |
Definition at line 72 of file CovarianceParameterization.h.
Referenced by meanValue(), and readFile().
|
private |
Definition at line 70 of file CovarianceParameterization.h.
Referenced by load().
|
private |
Definition at line 69 of file CovarianceParameterization.h.
Referenced by isValid(), load(), and loadedVersion().
|
private |
Definition at line 71 of file CovarianceParameterization.h.