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...

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 57 of file DMRtrends.cc.

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

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() [2/3]

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() [3/3]

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

◆ GetDeltaMu()

float Point::GetDeltaMu ( ) const
inline

Definition at line 109 of file DMRtrends.cc.

References DUMMY, BPhysicsValidation_cfi::muminus, BPhysicsValidation_cfi::muplus, and L1EGammaClusterEmuProducer_cfi::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

◆ GetMu()

float Point::GetMu ( ) const
inline

Definition at line 103 of file DMRtrends.cc.

References amptDefaultParameters_cff::mu, and L1EGammaClusterEmuProducer_cfi::scale.

Referenced by Geometry::Mu().

103 { return scale * mu; }
float mu
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58

◆ GetMuMinus()

float Point::GetMuMinus ( ) const
inline

Definition at line 105 of file DMRtrends.cc.

References BPhysicsValidation_cfi::muminus, and L1EGammaClusterEmuProducer_cfi::scale.

Referenced by Geometry::MuMinus().

105 { return scale * muminus; }
float muminus
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58

◆ GetMuPlus()

float Point::GetMuPlus ( ) const
inline

Definition at line 104 of file DMRtrends.cc.

References BPhysicsValidation_cfi::muplus, and L1EGammaClusterEmuProducer_cfi::scale.

Referenced by Geometry::MuPlus().

104 { return scale * muplus; }
float scale
Definition: DMRtrends.cc:58
float muplus
Definition: DMRtrends.cc:58

◆ GetRun()

float Point::GetRun ( ) const
inline

Definition at line 102 of file DMRtrends.cc.

References writedatasetfile::run.

Referenced by Geometry::Run().

102 { return run; }
float run
Definition: DMRtrends.cc:58

◆ GetSigma()

float Point::GetSigma ( ) const
inline

Definition at line 106 of file DMRtrends.cc.

References L1EGammaClusterEmuProducer_cfi::scale.

Referenced by Geometry::Sigma().

106 { return scale * sigma; }
float sigma
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58

◆ GetSigmaDeltaMu()

float Point::GetSigmaDeltaMu ( ) const
inline

Definition at line 115 of file DMRtrends.cc.

References DUMMY, and L1EGammaClusterEmuProducer_cfi::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

◆ GetSigmaMinus()

float Point::GetSigmaMinus ( ) const
inline

Definition at line 108 of file DMRtrends.cc.

References L1EGammaClusterEmuProducer_cfi::scale.

Referenced by Geometry::SigmaMinus().

108 { return scale * sigmaminus; }
float sigmaminus
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58

◆ GetSigmaPlus()

float Point::GetSigmaPlus ( ) const
inline

Definition at line 107 of file DMRtrends.cc.

References L1EGammaClusterEmuProducer_cfi::scale.

Referenced by Geometry::SigmaPlus().

107 { return scale * sigmaplus; }
float sigmaplus
Definition: DMRtrends.cc:58
float scale
Definition: DMRtrends.cc:58

◆ operator=()

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

Definition at line 91 of file DMRtrends.cc.

References amptDefaultParameters_cff::mu, BPhysicsValidation_cfi::muminus, BPhysicsValidation_cfi::muplus, AlCaHLTBitMon_ParallelJobs::p, and writedatasetfile::run.

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;
98  sigmaminus = p.sigmaminus;
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

◆ mu

float Point::mu

Definition at line 58 of file DMRtrends.cc.

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

◆ muminus

float Point::muminus

Definition at line 58 of file DMRtrends.cc.

◆ muplus

float Point::muplus

Definition at line 58 of file DMRtrends.cc.

◆ run

float Point::run

◆ scale

float Point::scale

Definition at line 58 of file DMRtrends.cc.

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

◆ sigma

float Point::sigma

Definition at line 58 of file DMRtrends.cc.

◆ sigmaminus

float Point::sigmaminus

Definition at line 58 of file DMRtrends.cc.

◆ sigmaplus

float Point::sigmaplus

Definition at line 58 of file DMRtrends.cc.