CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
HFunctionResolution Class Reference

#include <Histograms.h>

Inheritance diagram for HFunctionResolution:
Histograms HFunctionResolutionVarianceCheck

Public Member Functions

virtual void Clear ()
 
virtual void Fill (const reco::Particle::LorentzVector &p4, const double &resValue, const int charge)
 
 HFunctionResolution (TFile *outputFile, const TString &name, const double &ptMax=100, const int totBinsY=300)
 
virtual void Write ()
 
 ~HFunctionResolution ()
 
- Public Member Functions inherited from Histograms
virtual void Fill (const reco::Particle::LorentzVector &p1, const reco::Particle::LorentzVector &p2)
 
virtual void Fill (const reco::Particle::LorentzVector &p1, const reco::Particle::LorentzVector &p2, const int charge, const double &weight=1.)
 
virtual void Fill (const CLHEP::HepLorentzVector &momentum1, const CLHEP::HepLorentzVector &momentum2)
 
virtual void Fill (const CLHEP::HepLorentzVector &momentum1, const CLHEP::HepLorentzVector &momentum2, const int charge, const double &weight=1.)
 
virtual void Fill (const CLHEP::HepLorentzVector &p1, const reco::Particle::LorentzVector &p2)
 
virtual void Fill (const reco::Particle::LorentzVector &p4, const double &weight=1.)
 
virtual void Fill (const reco::Particle::LorentzVector &p4, const int charge, const double &weight=1.)
 
virtual void Fill (const CLHEP::HepLorentzVector &momentum, const int charge, const double &weight=1.)
 
virtual void Fill (const reco::Particle::LorentzVector &p4, const double &genValue, const double recValue, const int charge)
 
virtual void Fill (const CLHEP::HepLorentzVector &p, const double &likeValue)
 
virtual void Fill (const unsigned int number)
 
virtual void Fill (const reco::Particle::LorentzVector &recoP1, const int charge1, const reco::Particle::LorentzVector &genP1, const reco::Particle::LorentzVector &recoP2, const int charge2, const reco::Particle::LorentzVector &genP2, const double &recoMass, const double &genMass)
 
virtual void Fill (const reco::Particle::LorentzVector &recoP1, const int charge1, const reco::Particle::LorentzVector &recoP2, const int charge2, const double &recoMass, const double &genMass)
 
virtual void Fill (const reco::Particle::LorentzVector &recoP1, const reco::Particle::LorentzVector &genP1, const reco::Particle::LorentzVector &recoP2, const reco::Particle::LorentzVector &genP2)
 
virtual void Fill (const double &x, const double &y)
 
virtual void Fill (const double &x, const double &y, const double &a, const double &b)
 
virtual void Fill (const reco::Particle::LorentzVector &p41, const reco::Particle::LorentzVector &p42, const reco::Particle::LorentzVector &p4Res, const double &weight=1.)
 
virtual void Fill (const CLHEP::HepLorentzVector &momentum1, const CLHEP::HepLorentzVector &momentum2, const CLHEP::HepLorentzVector &momentumRes, const double &weight=1.)
 
virtual double Get (const reco::Particle::LorentzVector &recoP1, const TString &covarianceName)
 
virtual TString GetName ()
 
 Histograms ()
 
 Histograms (const TString &name)
 
 Histograms (TFile *outputFile, const TString &name)
 
virtual void SetWeight (double weight)
 
virtual ~Histograms ()
 

Protected Member Functions

int getXindex (const double &x) const
 
int getYindex (const double &y) const
 

Protected Attributes

double deltaX_
 
double deltaY_
 
TH1F * hReso_
 
TProfile * hResoVSEta_prof_
 
TProfile * hResoVSPhi_prof_
 
TProfile * hResoVSPhiMinus_prof_
 
TProfile * hResoVSPhiPlus_prof_
 
TProfile * hResoVSPt_Bar_prof_
 
TProfile * hResoVSPt_Endc_17_prof_
 
TProfile * hResoVSPt_Endc_20_prof_
 
TProfile * hResoVSPt_Endc_24_prof_
 
TProfile * hResoVSPt_Ovlap_prof_
 
TProfile * hResoVSPt_prof_
 
TH2F * hResoVSPtEta_
 
int ** resoCount_
 
double ** resoVsPtEta_
 
int totBinsX_
 
int totBinsY_
 
double xMin_
 
double yMin_
 
- Protected Attributes inherited from Histograms
TDirectory * histoDir_
 
TString name_
 
TFile * outputFile_
 
double theWeight_
 

Detailed Description

This histogram class fills a TProfile with the resolution evaluated from the resolution functions for single muon quantities. The resolution functions are used by MuScleFit to evaluate the mass resolution, which is the value seen by minuit and through it, corrections are evaluated.
In the end we will compare the histograms filled by this class (from the resolution function, reflecting the parameters changes done by minuit) with those filled comparing recoMuons with genMuons (the real resolutions).

Definition at line 1471 of file Histograms.h.

Constructor & Destructor Documentation

HFunctionResolution::HFunctionResolution ( TFile *  outputFile,
const TString &  name,
const double &  ptMax = 100,
const int  totBinsY = 300 
)
inline

Definition at line 1474 of file Histograms.h.

HFunctionResolution::~HFunctionResolution ( )
inline

Definition at line 1509 of file Histograms.h.

Member Function Documentation

virtual void HFunctionResolution::Clear ( )
inlinevirtual

Implements Histograms.

Definition at line 1612 of file Histograms.h.

virtual void HFunctionResolution::Fill ( const reco::Particle::LorentzVector p4,
const double &  resValue,
const int  charge 
)
inlinevirtual

Reimplemented from Histograms.

Reimplemented in HFunctionResolutionVarianceCheck.

Definition at line 1532 of file Histograms.h.

int HFunctionResolution::getXindex ( const double &  x) const
inlineprotected

Definition at line 1629 of file Histograms.h.

int HFunctionResolution::getYindex ( const double &  y) const
inlineprotected

Definition at line 1632 of file Histograms.h.

virtual void HFunctionResolution::Write ( )
inlinevirtual

Implements Histograms.

Reimplemented in HFunctionResolutionVarianceCheck.

Definition at line 1573 of file Histograms.h.

Member Data Documentation

double HFunctionResolution::deltaX_
protected

Definition at line 1652 of file Histograms.h.

double HFunctionResolution::deltaY_
protected

Definition at line 1652 of file Histograms.h.

TH1F* HFunctionResolution::hReso_
protected

Definition at line 1635 of file Histograms.h.

TProfile* HFunctionResolution::hResoVSEta_prof_
protected

Definition at line 1645 of file Histograms.h.

TProfile* HFunctionResolution::hResoVSPhi_prof_
protected

Definition at line 1649 of file Histograms.h.

TProfile* HFunctionResolution::hResoVSPhiMinus_prof_
protected

Definition at line 1647 of file Histograms.h.

TProfile* HFunctionResolution::hResoVSPhiPlus_prof_
protected

Definition at line 1648 of file Histograms.h.

TProfile* HFunctionResolution::hResoVSPt_Bar_prof_
protected

Definition at line 1640 of file Histograms.h.

TProfile* HFunctionResolution::hResoVSPt_Endc_17_prof_
protected

Definition at line 1641 of file Histograms.h.

TProfile* HFunctionResolution::hResoVSPt_Endc_20_prof_
protected

Definition at line 1642 of file Histograms.h.

TProfile* HFunctionResolution::hResoVSPt_Endc_24_prof_
protected

Definition at line 1643 of file Histograms.h.

TProfile* HFunctionResolution::hResoVSPt_Ovlap_prof_
protected

Definition at line 1644 of file Histograms.h.

TProfile* HFunctionResolution::hResoVSPt_prof_
protected

Definition at line 1639 of file Histograms.h.

TH2F* HFunctionResolution::hResoVSPtEta_
protected

Definition at line 1636 of file Histograms.h.

int** HFunctionResolution::resoCount_
protected

Definition at line 1638 of file Histograms.h.

double** HFunctionResolution::resoVsPtEta_
protected

Definition at line 1637 of file Histograms.h.

int HFunctionResolution::totBinsX_
protected

Definition at line 1650 of file Histograms.h.

int HFunctionResolution::totBinsY_
protected

Definition at line 1650 of file Histograms.h.

double HFunctionResolution::xMin_
protected

Definition at line 1651 of file Histograms.h.

double HFunctionResolution::yMin_
protected

Definition at line 1651 of file Histograms.h.