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 y1=-999., float y2=-999., float y3=-999., float y4=-999., float y5=-999., float y6=-999.)
 
 Point (float Run, TH1 *histo, TH1 *histoplus, TH1 *histominus)
 
 Point (float Run, TH1 *histo)
 

Public Attributes

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

Detailed Description

Structure Point Contains parameters of Gaussian fits to DMRs.

Parameters
runrun number (IOV boundary)
mumu/mean from Gaussian fit to DMR
sigmasigma/standard deviation from Gaussian fit to DMR
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 55 of file DMRtrends.cc.

Constructor & Destructor Documentation

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

Definition at line 61 of file DMRtrends.cc.

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

Definition at line 68 of file DMRtrends.cc.

68  :
69  Point(Run, histo->GetMean(), histo->GetMeanError(),
70  histoplus->GetMean(), histoplus->GetMeanError(),
71  histominus->GetMean(), histominus->GetMeanError())
72  {}
Point(float Run=-999., float y1=-999., float y2=-999., float y3=-999., float y4=-999., float y5=-999., float y6=-999.)
Definition: DMRtrends.cc:61
Point::Point ( float  Run,
TH1 *  histo 
)
inline

Definition at line 77 of file DMRtrends.cc.

77  :
78  Point(Run, histo->GetMean(), histo->GetMeanError())
79  {}
Point(float Run=-999., float y1=-999., float y2=-999., float y3=-999., float y4=-999., float y5=-999., float y6=-999.)
Definition: DMRtrends.cc:61

Member Function Documentation

float Point::GetDeltaMu ( ) const
inline

Definition at line 90 of file DMRtrends.cc.

References DMRFactor, DUMMY, and BPhysicsValidation_cfi::muminus.

Referenced by Geometry::DeltaMu().

90  { if(muplus==DUMMY&&muminus==DUMMY) return DUMMY;
91  else return DMRFactor*(muplus - muminus); }
#define DUMMY
Definition: DMRtrends.cc:33
float muminus
Definition: DMRtrends.cc:56
#define DMRFactor
Definition: DMRtrends.cc:41
float muplus
Definition: DMRtrends.cc:56
float Point::GetMu ( ) const
inline

Definition at line 84 of file DMRtrends.cc.

References DMRFactor, and RPCpg::mu.

Referenced by Geometry::Mu().

84 { return DMRFactor*mu ; }
float mu
Definition: DMRtrends.cc:56
#define DMRFactor
Definition: DMRtrends.cc:41
float Point::GetMuMinus ( ) const
inline

Definition at line 86 of file DMRtrends.cc.

References DMRFactor, and BPhysicsValidation_cfi::muminus.

Referenced by Geometry::MuMinus().

86 { return DMRFactor*muminus ; }
float muminus
Definition: DMRtrends.cc:56
#define DMRFactor
Definition: DMRtrends.cc:41
float Point::GetMuPlus ( ) const
inline

Definition at line 85 of file DMRtrends.cc.

References DMRFactor, and BPhysicsValidation_cfi::muplus.

Referenced by Geometry::MuPlus().

85 { return DMRFactor*muplus ; }
#define DMRFactor
Definition: DMRtrends.cc:41
float muplus
Definition: DMRtrends.cc:56
float Point::GetRun ( ) const
inline

Definition at line 83 of file DMRtrends.cc.

References writedatasetfile::run.

Referenced by Geometry::Run().

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

Definition at line 87 of file DMRtrends.cc.

References DMRFactor.

Referenced by Geometry::Sigma().

87 { return DMRFactor*sigma ; }
float sigma
Definition: DMRtrends.cc:56
#define DMRFactor
Definition: DMRtrends.cc:41
float Point::GetSigmaDeltaMu ( ) const
inline
float Point::GetSigmaMinus ( ) const
inline

Definition at line 89 of file DMRtrends.cc.

References DMRFactor.

Referenced by Geometry::SigmaMinus().

89 { return DMRFactor*sigmaminus; }
float sigmaminus
Definition: DMRtrends.cc:56
#define DMRFactor
Definition: DMRtrends.cc:41
float Point::GetSigmaPlus ( ) const
inline

Definition at line 88 of file DMRtrends.cc.

References DMRFactor.

Referenced by Geometry::SigmaPlus().

88 { return DMRFactor*sigmaplus ; }
float sigmaplus
Definition: DMRtrends.cc:56
#define DMRFactor
Definition: DMRtrends.cc:41
Point& Point::operator= ( const Point p)
inline

Definition at line 81 of file DMRtrends.cc.

References mu, muminus, muplus, run, sigma, sigmaminus, and sigmaplus.

81 { run = p.run; mu = p.mu; muplus = p.muplus; muminus = p.muminus; sigma = p.sigma; sigmaplus = p.sigmaplus; sigmaminus = p.sigmaminus; return *this;}
float mu
Definition: DMRtrends.cc:56
float sigma
Definition: DMRtrends.cc:56
float run
Definition: DMRtrends.cc:56
float muminus
Definition: DMRtrends.cc:56
float sigmaplus
Definition: DMRtrends.cc:56
float sigmaminus
Definition: DMRtrends.cc:56
float muplus
Definition: DMRtrends.cc:56

Member Data Documentation

float Point::mu

Definition at line 56 of file DMRtrends.cc.

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

float Point::muminus

Definition at line 56 of file DMRtrends.cc.

Referenced by operator=().

float Point::muplus

Definition at line 56 of file DMRtrends.cc.

Referenced by operator=().

float Point::run
float Point::sigma

Definition at line 56 of file DMRtrends.cc.

Referenced by operator=().

float Point::sigmaminus

Definition at line 56 of file DMRtrends.cc.

Referenced by operator=().

float Point::sigmaplus

Definition at line 56 of file DMRtrends.cc.

Referenced by operator=().