CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
Point Struct Reference

Structure Point Contains parameters of Gaussian fits to DMRs. More...

#include <PrepareDMRTrends.h>

Public Member Functions

float GetDeltaMu () const
 
float GetMu () const
 
float GetMuMinus () const
 
float GetMuPlus () const
 
float GetRun () const
 
float GetSigma () const
 
float GetSigmaDeltaMu () const
 
float GetSigmaMinus () const
 
float GetSigmaPlus () const
 
 Point (float Run=-999., float ScaleFactor=10000., float y1=-999., float y2=-999., float y3=-999., float y4=-999., float y5=-999., float y6=-999.)
 
 Point (float Run, float ScaleFactor, TH1 *histo, TH1 *histoplus, TH1 *histominus)
 
 Point (float Run, float ScaleFactor, TH1 *histo)
 

Public Attributes

float mu
 
float muminus
 
float muplus
 
float run
 
float scale
 
float sigma
 
float sigmaminus
 
float sigmaplus
 

Detailed Description

Structure Point Contains parameters of Gaussian fits to DMRs.

Parameters
runrun number (IOV boundary)
scalescale for the measured quantity: cm->μm for DMRs, 1 for normalized residuals
mumu/mean from Gaussian fit to DMR/DrmsNR
sigmasigma/standard deviation from Gaussian fit to DMR/DrmsNR
muplusmu/mean for the inward pointing modules
muminusmu/mean for outward pointing modules
sigmaplussigma/standard for inward pointing modules
sigmaminus//!< sigma/standard for outward pointing modules

Definition at line 54 of file PrepareDMRTrends.h.

Constructor & Destructor Documentation

◆ Point() [1/3]

Point::Point ( float  Run = -999.,
float  ScaleFactor = 10000.,
float  y1 = -999.,
float  y2 = -999.,
float  y3 = -999.,
float  y4 = -999.,
float  y5 = -999.,
float  y6 = -999. 
)
inline

◆ Point() [2/3]

Point::Point ( float  Run,
float  ScaleFactor,
TH1 *  histo,
TH1 *  histoplus,
TH1 *  histominus 
)
inline

Definition at line 73 of file PrepareDMRTrends.h.

74  : Point(Run,
75  ScaleFactor,
76  histo->GetMean(),
77  histo->GetMeanError(),
78  histoplus->GetMean(),
79  histoplus->GetMeanError(),
80  histominus->GetMean(),
81  histominus->GetMeanError()) {}
Point(float Run=-999., float ScaleFactor=10000., float y1=-999., float y2=-999., float y3=-999., float y4=-999., float y5=-999., float y6=-999.)

◆ Point() [3/3]

Point::Point ( float  Run,
float  ScaleFactor,
TH1 *  histo 
)
inline

Definition at line 86 of file PrepareDMRTrends.h.

86 : Point(Run, ScaleFactor, histo->GetMean(), histo->GetMeanError()) {}
Point(float Run=-999., float ScaleFactor=10000., float y1=-999., float y2=-999., float y3=-999., float y4=-999., float y5=-999., float y6=-999.)

Member Function Documentation

◆ GetDeltaMu()

float Point::GetDeltaMu ( ) const
inline

Definition at line 95 of file PrepareDMRTrends.h.

References DUMMY, muminus, muplus, and scale.

Referenced by Geometry::DeltaMu().

95  {
96  if (muplus == DUMMY && muminus == DUMMY)
97  return DUMMY;
98  else
99  return scale * (muplus - muminus);
100  }
float muminus
#define DUMMY
float scale
float muplus

◆ GetMu()

float Point::GetMu ( ) const
inline

Definition at line 89 of file PrepareDMRTrends.h.

References mu, and scale.

Referenced by Geometry::Mu().

89 { return scale * mu; }
float mu
float scale

◆ GetMuMinus()

float Point::GetMuMinus ( ) const
inline

Definition at line 91 of file PrepareDMRTrends.h.

References muminus, and scale.

Referenced by Geometry::MuMinus().

91 { return scale * muminus; }
float muminus
float scale

◆ GetMuPlus()

float Point::GetMuPlus ( ) const
inline

Definition at line 90 of file PrepareDMRTrends.h.

References muplus, and scale.

Referenced by Geometry::MuPlus().

90 { return scale * muplus; }
float scale
float muplus

◆ GetRun()

float Point::GetRun ( ) const
inline

Definition at line 88 of file PrepareDMRTrends.h.

References run.

Referenced by Geometry::Run().

88 { return run; }
float run

◆ GetSigma()

float Point::GetSigma ( ) const
inline

Definition at line 92 of file PrepareDMRTrends.h.

References scale, and sigma.

Referenced by Geometry::Sigma().

92 { return scale * sigma; }
float sigma
float scale

◆ GetSigmaDeltaMu()

float Point::GetSigmaDeltaMu ( ) const
inline

Definition at line 101 of file PrepareDMRTrends.h.

References DUMMY, Matriplex::hypot(), scale, sigmaminus, and sigmaplus.

Referenced by Geometry::SigmaDeltaMu().

101  {
102  if (sigmaplus == DUMMY && sigmaminus == DUMMY)
103  return DUMMY;
104  else
105  return scale * hypot(sigmaplus, sigmaminus);
106  }
MPlex< T, D1, D2, N > hypot(const MPlex< T, D1, D2, N > &a, const MPlex< T, D1, D2, N > &b)
Definition: Matriplex.h:436
float sigmaplus
#define DUMMY
float sigmaminus
float scale

◆ GetSigmaMinus()

float Point::GetSigmaMinus ( ) const
inline

Definition at line 94 of file PrepareDMRTrends.h.

References scale, and sigmaminus.

Referenced by Geometry::SigmaMinus().

94 { return scale * sigmaminus; }
float sigmaminus
float scale

◆ GetSigmaPlus()

float Point::GetSigmaPlus ( ) const
inline

Definition at line 93 of file PrepareDMRTrends.h.

References scale, and sigmaplus.

Referenced by Geometry::SigmaPlus().

93 { return scale * sigmaplus; }
float sigmaplus
float scale

Member Data Documentation

◆ mu

float Point::mu

Definition at line 55 of file PrepareDMRTrends.h.

Referenced by GetMu(), DiObject.MuonElectron::leg1(), and DiObject.TauMuon::leg2().

◆ muminus

float Point::muminus

Definition at line 55 of file PrepareDMRTrends.h.

Referenced by GetDeltaMu(), and GetMuMinus().

◆ muplus

float Point::muplus

Definition at line 55 of file PrepareDMRTrends.h.

Referenced by GetDeltaMu(), and GetMuPlus().

◆ run

float Point::run

◆ scale

float Point::scale

◆ sigma

float Point::sigma

Definition at line 55 of file PrepareDMRTrends.h.

Referenced by GetSigma().

◆ sigmaminus

float Point::sigmaminus

Definition at line 55 of file PrepareDMRTrends.h.

Referenced by GetSigmaDeltaMu(), and GetSigmaMinus().

◆ sigmaplus

float Point::sigmaplus

Definition at line 55 of file PrepareDMRTrends.h.

Referenced by GetSigmaDeltaMu(), and GetSigmaPlus().