#include <MuonSmear.h>
Collaboration diagram for MuonSmear:
Public Member Functions | |
void | SetEtaBinEdges (const std::vector< double > &binedges) |
void | SetC1Vals (const std::vector< double > &c1vals) |
void | SetC2Vals (const std::vector< double > &c2vals) |
void | UseTopRediscoverySmearingVals () |
use top rediscovery values for smearing | |
void | UseTopRediscoverySmearingValsPlus1s () |
use top rediscovery values +1 sigma for smearing | |
void | UseTopRediscoverySmearingValsMinus1s () |
use top rediscovery values -1 sigma for smearing | |
void | UseTopRediscoveryScaleVals () |
use top rediscovery values for scale | |
void | UseTopRediscoveryScaleValsPlus1s () |
use top rediscovery values +1 sigma for scale | |
void | UseTopRediscoveryScaleValsMinus1s () |
use top rediscovery values -1 sigma for scale | |
void | UseTopRediscoveryVals () |
use top rediscovery values for both smearing & scaling | |
void | UseTopRediscoveryValsPlus1s () |
use top rediscovery values +1 sigma for both smearing & scaling | |
void | UseTopRediscoveryValsMinus1s () |
use top rediscovery values -1 sigma for both smearing & scaling | |
void | SmearAndScale (TLorentzVector *vec) |
Function to smear & rescale a generic vector. | |
void | Smear (TLorentzVector *vec) |
Function to smear a generic vector. | |
void | Scale (TLorentzVector *vec) |
Function to rescale a generic vector. | |
Protected Member Functions | |
void | UseTopRediscoveryBinEdges () |
int | findBin (const double eta) const |
Protected Attributes | |
std::vector< double > | m_etabinedges |
std::vector< double > | m_c1_vals |
std::vector< double > | m_c2_vals |
TRandom3 | m_rand |
void MuonSmear::Smear | ( | TLorentzVector * | vec | ) |
Function to smear a generic vector.
Function to smear a generic vector. Finds the correct ets bin, gets the corresponding c1 & c2 values & then calculates the factor to scale pt by.
The input vector (vec) is then scaled with this value.
void MuonSmear::UseTopRediscoveryScaleVals | ( | ) |
use top rediscovery values for scale
These are the values used in the top rediscovery paper for momentum scale
void MuonSmear::UseTopRediscoverySmearingVals | ( | ) |
use top rediscovery values for smearing
These are the values used in the top rediscovery paper for momentum smearing