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, float ScaleFactor, TH1 *histo)
 
 Point (float Run, float ScaleFactor, TH1 *histo, TH1 *histoplus, TH1 *histominus)
 
 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.)
 

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) {}

◆ 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() [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()) {}

Member Function Documentation

◆ GetDeltaMu()

float Point::GetDeltaMu ( ) const
inline

Definition at line 109 of file DMRtrends.cc.

109  {
110  if (muplus == DUMMY && muminus == DUMMY)
111  return DUMMY;
112  else
113  return scale * (muplus - muminus);
114  }

References DUMMY, BPhysicsValidation_cfi::muminus, BPhysicsValidation_cfi::muplus, and L1EGammaCrystalsEmulatorProducer_cfi::scale.

Referenced by Geometry::SigmaDeltaMu().

◆ GetMu()

float Point::GetMu ( ) const
inline

Definition at line 103 of file DMRtrends.cc.

103 { return scale * mu; }

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

Referenced by Geometry::MuPlus().

◆ GetMuMinus()

float Point::GetMuMinus ( ) const
inline

Definition at line 105 of file DMRtrends.cc.

105 { return scale * muminus; }

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

Referenced by Geometry::Sigma().

◆ GetMuPlus()

float Point::GetMuPlus ( ) const
inline

Definition at line 104 of file DMRtrends.cc.

104 { return scale * muplus; }

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

Referenced by Geometry::MuMinus().

◆ GetRun()

float Point::GetRun ( ) const
inline

Definition at line 102 of file DMRtrends.cc.

102 { return run; }

References writedatasetfile::run.

Referenced by Geometry::Mu().

◆ GetSigma()

float Point::GetSigma ( ) const
inline

Definition at line 106 of file DMRtrends.cc.

106 { return scale * sigma; }

References L1EGammaCrystalsEmulatorProducer_cfi::scale.

Referenced by Geometry::SigmaPlus().

◆ GetSigmaDeltaMu()

float Point::GetSigmaDeltaMu ( ) const
inline

Definition at line 115 of file DMRtrends.cc.

115  {
116  if (sigmaplus == DUMMY && sigmaminus == DUMMY)
117  return DUMMY;
118  else
119  return scale * hypot(sigmaplus, sigmaminus);
120  };

References DUMMY, and L1EGammaCrystalsEmulatorProducer_cfi::scale.

◆ GetSigmaMinus()

float Point::GetSigmaMinus ( ) const
inline

Definition at line 108 of file DMRtrends.cc.

108 { return scale * sigmaminus; }

References L1EGammaCrystalsEmulatorProducer_cfi::scale.

Referenced by Geometry::DeltaMu().

◆ GetSigmaPlus()

float Point::GetSigmaPlus ( ) const
inline

Definition at line 107 of file DMRtrends.cc.

107 { return scale * sigmaplus; }

References L1EGammaCrystalsEmulatorProducer_cfi::scale.

Referenced by Geometry::SigmaMinus().

◆ operator=()

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

Definition at line 91 of file DMRtrends.cc.

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  }

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

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.

Point::sigma
float sigma
Definition: DMRtrends.cc:58
Point::sigmaminus
float sigmaminus
Definition: DMRtrends.cc:58
Point::muplus
float muplus
Definition: DMRtrends.cc:58
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
timingPdfMaker.histo
histo
Definition: timingPdfMaker.py:279
Point::mu
float mu
Definition: DMRtrends.cc:58
Point::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.)
Definition: DMRtrends.cc:63
testProducerWithPsetDescEmpty_cfi.y1
y1
Definition: testProducerWithPsetDescEmpty_cfi.py:29
Point::scale
float scale
Definition: DMRtrends.cc:58
Point::muminus
float muminus
Definition: DMRtrends.cc:58
Point::sigmaplus
float sigmaplus
Definition: DMRtrends.cc:58
testProducerWithPsetDescEmpty_cfi.y2
y2
Definition: testProducerWithPsetDescEmpty_cfi.py:30
Point::run
float run
Definition: DMRtrends.cc:58
DUMMY
#define DUMMY
Definition: DMRtrends.cc:34
Run