CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions
Geometry Class Reference

Class Geometry Contains vector for fit parameters (mean, sigma, etc.) obtained from multiple IOVs See Structure Point for description of the parameters. More...

Public Member Functions

vector< float > DeltaMu () const
 
 Geometry ()
 
 Geometry (TString Title)
 
TString GetTitle ()
 
vector< float > Mu () const
 
vector< float > MuMinus () const
 
vector< float > MuPlus () const
 
Geometryoperator= (const Geometry &geom)
 
vector< float > Run () const
 
void SetTitle (TString Title)
 
vector< float > Sigma () const
 
vector< float > SigmaDeltaMu () const
 
vector< float > SigmaMinus () const
 
vector< float > SigmaPlus () const
 

Public Attributes

vector< Pointpoints
 
TString title
 

Private Member Functions

vector< float > GetQuantity (float(Point::*getter)() const) const
 

Detailed Description

Class Geometry Contains vector for fit parameters (mean, sigma, etc.) obtained from multiple IOVs See Structure Point for description of the parameters.

Definition at line 119 of file DMRtrends.cc.

Constructor & Destructor Documentation

Geometry::Geometry ( )
inline

Definition at line 134 of file DMRtrends.cc.

134 : title ("") {}
TString title
Definition: DMRtrends.cc:133
Geometry::Geometry ( TString  Title)
inline

Definition at line 135 of file DMRtrends.cc.

135 : title(Title) {}
TString title
Definition: DMRtrends.cc:133

Member Function Documentation

vector<float> Geometry::DeltaMu ( ) const
inline

Definition at line 146 of file DMRtrends.cc.

References Point::GetDeltaMu().

Referenced by compileDMRTrends().

146 { return GetQuantity( &Point::GetDeltaMu ); }
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:124
float GetDeltaMu() const
Definition: DMRtrends.cc:90
vector<float> Geometry::GetQuantity ( float(Point::*)() const  getter) const
inlineprivate

Definition at line 124 of file DMRtrends.cc.

References point, and findQualityFiles::v.

124  {
125  vector<float> v;
126  for (Point point: points) {
127  float value = (point.*getter)();
128  v.push_back(value);
129  }
130  return v;
131  }
vector< Point > points
Definition: DMRtrends.cc:121
Definition: value.py:1
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:55
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5
TString Geometry::GetTitle ( )
inline

Definition at line 138 of file DMRtrends.cc.

References fftjetcommon_cfi::title.

138 { return title; }
TString title
Definition: DMRtrends.cc:133
vector<float> Geometry::Mu ( ) const
inline

Definition at line 140 of file DMRtrends.cc.

References Point::GetMu().

Referenced by compileDMRTrends().

140 { return GetQuantity( &Point::GetMu ); }
float GetMu() const
Definition: DMRtrends.cc:84
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:124
vector<float> Geometry::MuMinus ( ) const
inline

Definition at line 142 of file DMRtrends.cc.

References Point::GetMuMinus().

Referenced by compileDMRTrends().

142 { return GetQuantity( &Point::GetMuMinus ); }
float GetMuMinus() const
Definition: DMRtrends.cc:86
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:124
vector<float> Geometry::MuPlus ( ) const
inline

Definition at line 141 of file DMRtrends.cc.

References Point::GetMuPlus().

Referenced by compileDMRTrends().

141 { return GetQuantity( &Point::GetMuPlus ); }
float GetMuPlus() const
Definition: DMRtrends.cc:85
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:124
Geometry& Geometry::operator= ( const Geometry geom)
inline

Definition at line 136 of file DMRtrends.cc.

References points, and title.

136 { title = geom.title; points = geom.points; return *this;}
vector< Point > points
Definition: DMRtrends.cc:121
TString title
Definition: DMRtrends.cc:133
vector<float> Geometry::Run ( ) const
inline

Definition at line 139 of file DMRtrends.cc.

References Point::GetRun().

Referenced by compileDMRTrends().

139 { return GetQuantity( &Point::GetRun ); }
float GetRun() const
Definition: DMRtrends.cc:83
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:124
void Geometry::SetTitle ( TString  Title)
inline

Definition at line 137 of file DMRtrends.cc.

137 { title = Title;}
TString title
Definition: DMRtrends.cc:133
vector<float> Geometry::Sigma ( ) const
inline

Definition at line 143 of file DMRtrends.cc.

References Point::GetSigma().

Referenced by compileDMRTrends().

143 { return GetQuantity( &Point::GetSigma ); }
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:124
float GetSigma() const
Definition: DMRtrends.cc:87
vector<float> Geometry::SigmaDeltaMu ( ) const
inline

Definition at line 147 of file DMRtrends.cc.

References Point::GetSigmaDeltaMu().

Referenced by compileDMRTrends().

147 { return GetQuantity( &Point::GetSigmaDeltaMu); }
float GetSigmaDeltaMu() const
Definition: DMRtrends.cc:92
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:124
vector<float> Geometry::SigmaMinus ( ) const
inline

Definition at line 145 of file DMRtrends.cc.

References Point::GetSigmaMinus().

Referenced by compileDMRTrends().

145 { return GetQuantity( &Point::GetSigmaMinus ); }
float GetSigmaMinus() const
Definition: DMRtrends.cc:89
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:124
vector<float> Geometry::SigmaPlus ( ) const
inline

Definition at line 144 of file DMRtrends.cc.

References Point::GetSigmaPlus().

Referenced by compileDMRTrends().

144 { return GetQuantity( &Point::GetSigmaPlus ); }
float GetSigmaPlus() const
Definition: DMRtrends.cc:88
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:124

Member Data Documentation

vector<Point> Geometry::points

Definition at line 121 of file DMRtrends.cc.

Referenced by operator=().

TString Geometry::title