CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
Point Struct Reference

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

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
run,:run number (IOV boundary)
scale,:scale for the measured quantity: cm->μm for DMRs, 1 for normalized residuals
mu,:mu/mean from Gaussian fit to DMR/DrmsNR
sigma,:sigma/standard deviation from Gaussian fit to DMR/DrmsNR
muplus,:mu/mean for the inward pointing modules
muminus,:mu/mean for outward pointing modules
sigmaplus,:sigma/standard for inward pointing modules
sigmaminus,://!< sigma/standard for outward pointing modules

Definition at line 57 of file DMRtrends.cc.

Constructor & Destructor Documentation

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

Definition at line 63 of file DMRtrends.cc.

71  : run(Run), scale(ScaleFactor), mu(y1), sigma(y2), muplus(y3), muminus(y5), sigmaplus(y4), sigmaminus(y6) {}
float mu
Definition: DMRtrends.cc:58
float sigma
Definition: DMRtrends.cc:58
float run
Definition: DMRtrends.cc:58
float muminus
Definition: DMRtrends.cc:58
float sigmaplus
Definition: DMRtrends.cc:58
float sigmaminus
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58
float muplus
Definition: DMRtrends.cc:58
Point::Point ( float  Run,
float  ScaleFactor,
TH1 *  histo,
TH1 *  histoplus,
TH1 *  histominus 
)
inline

Definition at line 76 of file DMRtrends.cc.

77  : Point(Run,
78  ScaleFactor,
79  histo->GetMean(),
80  histo->GetMeanError(),
81  histoplus->GetMean(),
82  histoplus->GetMeanError(),
83  histominus->GetMean(),
84  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.)
Definition: DMRtrends.cc:63
Point::Point ( float  Run,
float  ScaleFactor,
TH1 *  histo 
)
inline

Definition at line 89 of file DMRtrends.cc.

89 : 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.)
Definition: DMRtrends.cc:63

Member Function Documentation

float Point::GetDeltaMu ( ) const
inline

Definition at line 109 of file DMRtrends.cc.

References DUMMY, and pileupReCalc_HLTpaths::scale.

Referenced by Geometry::DeltaMu().

109  {
110  if (muplus == DUMMY && muminus == DUMMY)
111  return DUMMY;
112  else
113  return scale * (muplus - muminus);
114  }
#define DUMMY
Definition: DMRtrends.cc:34
float muminus
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58
float muplus
Definition: DMRtrends.cc:58
float Point::GetMu ( ) const
inline

Definition at line 103 of file DMRtrends.cc.

References RPCpg::mu, and pileupReCalc_HLTpaths::scale.

Referenced by Geometry::Mu().

103 { return scale * mu; }
float mu
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58
float Point::GetMuMinus ( ) const
inline

Definition at line 105 of file DMRtrends.cc.

References pileupReCalc_HLTpaths::scale.

Referenced by Geometry::MuMinus().

105 { return scale * muminus; }
float muminus
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58
float Point::GetMuPlus ( ) const
inline

Definition at line 104 of file DMRtrends.cc.

References pileupReCalc_HLTpaths::scale.

Referenced by Geometry::MuPlus().

104 { return scale * muplus; }
float scale
Definition: DMRtrends.cc:58
float muplus
Definition: DMRtrends.cc:58
float Point::GetRun ( ) const
inline

Definition at line 102 of file DMRtrends.cc.

References submitPVValidationJobs::run.

Referenced by Geometry::Run().

102 { return run; }
float run
Definition: DMRtrends.cc:58
float Point::GetSigma ( ) const
inline

Definition at line 106 of file DMRtrends.cc.

References pileupReCalc_HLTpaths::scale.

Referenced by Geometry::Sigma().

106 { return scale * sigma; }
float sigma
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58
float Point::GetSigmaDeltaMu ( ) const
inline

Definition at line 115 of file DMRtrends.cc.

References DUMMY, and pileupReCalc_HLTpaths::scale.

Referenced by Geometry::SigmaDeltaMu().

115  {
116  if (sigmaplus == DUMMY && sigmaminus == DUMMY)
117  return DUMMY;
118  else
119  return scale * hypot(sigmaplus, sigmaminus);
120  };
#define DUMMY
Definition: DMRtrends.cc:34
float sigmaplus
Definition: DMRtrends.cc:58
float sigmaminus
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58
float Point::GetSigmaMinus ( ) const
inline

Definition at line 108 of file DMRtrends.cc.

References pileupReCalc_HLTpaths::scale.

Referenced by Geometry::SigmaMinus().

108 { return scale * sigmaminus; }
float sigmaminus
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58
float Point::GetSigmaPlus ( ) const
inline

Definition at line 107 of file DMRtrends.cc.

References pileupReCalc_HLTpaths::scale.

Referenced by Geometry::SigmaPlus().

107 { return scale * sigmaplus; }
float sigmaplus
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58
Point& Point::operator= ( const Point p)
inline

Definition at line 91 of file DMRtrends.cc.

References RPCpg::mu, mu, muminus, muplus, run, submitPVValidationJobs::run, sigma, sigmaminus, and sigmaplus.

91  {
92  run = p.run;
93  mu = p.mu;
94  muplus = p.muplus;
95  muminus = p.muminus;
96  sigma = p.sigma;
97  sigmaplus = p.sigmaplus;
99  return *this;
100  }
float mu
Definition: DMRtrends.cc:58
float sigma
Definition: DMRtrends.cc:58
float run
Definition: DMRtrends.cc:58
float muminus
Definition: DMRtrends.cc:58
float sigmaplus
Definition: DMRtrends.cc:58
float sigmaminus
Definition: DMRtrends.cc:58
float muplus
Definition: DMRtrends.cc:58

Member Data Documentation

float Point::mu

Definition at line 58 of file DMRtrends.cc.

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

float Point::muminus

Definition at line 58 of file DMRtrends.cc.

Referenced by operator=().

float Point::muplus

Definition at line 58 of file DMRtrends.cc.

Referenced by operator=().

float Point::run
float Point::scale

Definition at line 58 of file DMRtrends.cc.

Referenced by python.rootplot.rootmath.Target::__repr__().

float Point::sigma

Definition at line 58 of file DMRtrends.cc.

Referenced by operator=().

float Point::sigmaminus

Definition at line 58 of file DMRtrends.cc.

Referenced by operator=().

float Point::sigmaplus

Definition at line 58 of file DMRtrends.cc.

Referenced by operator=().