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
 
Pointoperator= (const Point &p)
 
 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 106 of file PrepareDMRTrends.h.

References DUMMY, muminus, muplus, and scale.

Referenced by Geometry::DeltaMu().

106  {
107  if (muplus == DUMMY && muminus == DUMMY)
108  return DUMMY;
109  else
110  return scale * (muplus - muminus);
111  }
float muminus
#define DUMMY
float scale
float muplus

◆ GetMu()

float Point::GetMu ( ) const
inline

Definition at line 100 of file PrepareDMRTrends.h.

References mu, and scale.

Referenced by Geometry::Mu().

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

◆ GetMuMinus()

float Point::GetMuMinus ( ) const
inline

Definition at line 102 of file PrepareDMRTrends.h.

References muminus, and scale.

Referenced by Geometry::MuMinus().

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

◆ GetMuPlus()

float Point::GetMuPlus ( ) const
inline

Definition at line 101 of file PrepareDMRTrends.h.

References muplus, and scale.

Referenced by Geometry::MuPlus().

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

◆ GetRun()

float Point::GetRun ( ) const
inline

Definition at line 99 of file PrepareDMRTrends.h.

References run.

Referenced by Geometry::Run().

99 { return run; }
float run

◆ GetSigma()

float Point::GetSigma ( ) const
inline

Definition at line 103 of file PrepareDMRTrends.h.

References scale, and sigma.

Referenced by Geometry::Sigma().

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

◆ GetSigmaDeltaMu()

float Point::GetSigmaDeltaMu ( ) const
inline

Definition at line 112 of file PrepareDMRTrends.h.

References DUMMY, scale, sigmaminus, and sigmaplus.

Referenced by Geometry::SigmaDeltaMu().

112  {
113  if (sigmaplus == DUMMY && sigmaminus == DUMMY)
114  return DUMMY;
115  else
116  return scale * hypot(sigmaplus, sigmaminus);
117  }
float sigmaplus
#define DUMMY
float sigmaminus
float scale

◆ GetSigmaMinus()

float Point::GetSigmaMinus ( ) const
inline

Definition at line 105 of file PrepareDMRTrends.h.

References scale, and sigmaminus.

Referenced by Geometry::SigmaMinus().

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

◆ GetSigmaPlus()

float Point::GetSigmaPlus ( ) const
inline

Definition at line 104 of file PrepareDMRTrends.h.

References scale, and sigmaplus.

Referenced by Geometry::SigmaPlus().

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

◆ operator=()

Point& Point::operator= ( const Point p)
inline

Definition at line 88 of file PrepareDMRTrends.h.

References mu, muminus, muplus, AlCaHLTBitMon_ParallelJobs::p, run, sigma, sigmaminus, and sigmaplus.

88  {
89  run = p.run;
90  mu = p.mu;
91  muplus = p.muplus;
92  muminus = p.muminus;
93  sigma = p.sigma;
94  sigmaplus = p.sigmaplus;
95  sigmaminus = p.sigmaminus;
96  return *this;
97  }
float mu
float sigma
float run
float muminus
float sigmaplus
float sigmaminus
float muplus

Member Data Documentation

◆ mu

float Point::mu

◆ muminus

float Point::muminus

Definition at line 55 of file PrepareDMRTrends.h.

Referenced by GetDeltaMu(), GetMuMinus(), and operator=().

◆ muplus

float Point::muplus

Definition at line 55 of file PrepareDMRTrends.h.

Referenced by GetDeltaMu(), GetMuPlus(), and operator=().

◆ run

float Point::run

◆ scale

float Point::scale

◆ sigma

float Point::sigma

Definition at line 55 of file PrepareDMRTrends.h.

Referenced by GetSigma(), and operator=().

◆ sigmaminus

float Point::sigmaminus

Definition at line 55 of file PrepareDMRTrends.h.

Referenced by GetSigmaDeltaMu(), GetSigmaMinus(), and operator=().

◆ sigmaplus

float Point::sigmaplus

Definition at line 55 of file PrepareDMRTrends.h.

Referenced by GetSigmaDeltaMu(), GetSigmaPlus(), and operator=().