#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.
References mps_fire::i, and dqmiolumiharvest::j.
Referenced by BeautifulSoup.PageElement::insert(), and CovarianceParameterization::CompressionSchema::operator()().
|
inline |
Definition at line 39 of file CovarianceParameterization.h.
References loadedVersion_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
void CovarianceParameterization::load | ( | int | version | ) |
Definition at line 81 of file CovarianceParameterization.cc.
References GetRecoTauVFromDQM_MC_cff::cl, fileToRead_, printsummarytable::folder, edm::FileInPath::fullPath(), mps_fire::i, createfilelist::int, dqmiolumiharvest::j, dqmdumpme::k, crabWrapper::key, loadedVersion_, GetRecoTauVFromDQM_MC_cff::next, AlCaHLTBitMon_ParallelJobs::p, readFile(), schemas, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
Referenced by pat::PackedCandidate::covarianceParameterization().
|
inline |
Definition at line 40 of file CovarianceParameterization.h.
References loadedVersion_.
Referenced by pat::PackedCandidate::covarianceParameterization().
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, PVValHelper::eta, etaBin(), mps_fire::i, dqmiolumiharvest::j, DiDispStaMuonMonitor_cfi::pt, muonRecoAnalyzer_cfi::ptBin, and Validation_hcalonly_cfi::sign.
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 PVValHelper::eta, mps_fire::i, dqmiolumiharvest::j, 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, f, 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 MillePedeFileConverter_cfg::e, PVValHelper::eta, mps_fire::i, dqmiolumiharvest::j, 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.