ATLAS Offline Software
Namespaces | Functions
PufitUtils.cxx File Reference
#include "TrigEFMissingET/PufitUtils.h"
#include <algorithm>
#include <numeric>
Include dependency graph for PufitUtils.cxx:

Go to the source code of this file.

Namespaces

 HLT
 It used to be useful piece of code for replacing actual SG with other store of similar functionality In fact it used to be more like interface adapter for ARA objects access, nevertheless since the ARA project is gone it is only an unnecessary extra layer.
 
 HLT::MET
 
 HLT::MET::PufitUtils
 

Functions

void HLT::MET::PufitUtils::trimmedMeanAndVariance (const std::vector< double > &sorted, double trimFraction, double &mean, double &variance)
 Calculate the trimmed mean and variance for a vector of tower sumEts. More...
 
void HLT::MET::PufitUtils::trimmedMeanAndVariance (const PufitGrid &grid, double trimFraction, double &mean, double &variance)
 Calculate the trimmed mean and variance for a vector of tower sumEts. More...
 
void HLT::MET::PufitUtils::unmaskedMeanAndVariance (const PufitGrid &grid, double &mean, double &variance)
 Calculate the mean and variance of unmasked towers. More...
 
GridDisplacement HLT::MET::PufitUtils::selectGrid (const PufitGridSet &grids)
 Select the grid with the highest masked sumEt. More...
 
Eigen::VectorXd HLT::MET::PufitUtils::pufit (const Eigen::Vector2d &pileupSum, const Eigen::Matrix2d &pileupCovariance, const Eigen::VectorXd &towerExpectations, const Eigen::VectorXd &towerVariances, const Eigen::VectorXd &correctionDirections, double constraintImportance=1)
 Perform the pile-up fit. More...
 
Eigen::VectorXd HLT::MET::PufitUtils::pufit (const Eigen::Vector2d &pileupSum, const Eigen::Matrix2d &pileupCovariance, double towerMean, double towerVariance, const Eigen::VectorXd &correctionDirections, double constraintImportance=1)
 Perform the pile-up fit. More...
 
Eigen::VectorXd HLT::MET::PufitUtils::pufit (const Eigen::Vector2d &pileupSum, const Eigen::Matrix2d &pileupCovariance, const Eigen::VectorXd &towerExpectations, const Eigen::VectorXd &towerVariances, const Eigen::Matrix< double, 2, Eigen::Dynamic > &cosSin, double constraintImportance=1)
 Perform the pile-up fit. More...
 
Eigen::VectorXd HLT::MET::PufitUtils::pufit (const Eigen::Vector2d &pileupSum, const Eigen::Matrix2d &pileupCovariance, double towerMean, double towerVariance, const Eigen::Matrix< double, 2, Eigen::Dynamic > &cosSin, double constraintImportance=1)
 Perform the pile-up fit. More...
 
std::vector< SignedKinematics > HLT::MET::PufitUtils::pufit (const Eigen::Vector2d &pileupSum, const Eigen::Matrix2d &pileupCovariance, const std::vector< double > &towerExpectations, const std::vector< double > &towerVariances, const std::vector< SignedKinematics > &toCorrect, double constraintImportance=1)
 Perform the pile-up fit. More...
 
std::vector< SignedKinematics > HLT::MET::PufitUtils::pufit (const Eigen::Vector2d &pileupSum, const Eigen::Matrix2d &pileupCovariance, double towerMean, double towerVariance, const std::vector< SignedKinematics > &toCorrect, double constraintImportance=1)
 Perform the pile-up fit. More...