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

Constructor & Destructor Documentation

Geometry::Geometry ( )
inline

Definition at line 200 of file DMRtrends.cc.

200 : title("") {}
TString title
Definition: DMRtrends.cc:199
Geometry::Geometry ( TString  Title)
inline

Definition at line 201 of file DMRtrends.cc.

201 : title(Title) {}
TString title
Definition: DMRtrends.cc:199

Member Function Documentation

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

Definition at line 216 of file DMRtrends.cc.

References Point::GetDeltaMu().

Referenced by compileDMRTrends().

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

Definition at line 189 of file DMRtrends.cc.

References point, and findQualityFiles::v.

189  {
190  vector<float> v;
191  for (Point point : points) {
192  float value = (point.*getter)();
193  v.push_back(value);
194  }
195  return v;
196  }
vector< Point > points
Definition: DMRtrends.cc:185
Definition: value.py:1
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
*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 208 of file DMRtrends.cc.

References overlapproblemtsosanalyzer_cfi::title.

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

Definition at line 210 of file DMRtrends.cc.

References Point::GetMu().

Referenced by compileDMRTrends().

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

Definition at line 212 of file DMRtrends.cc.

References Point::GetMuMinus().

Referenced by compileDMRTrends().

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

Definition at line 211 of file DMRtrends.cc.

References Point::GetMuPlus().

Referenced by compileDMRTrends().

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

Definition at line 202 of file DMRtrends.cc.

References points, and title.

202  {
203  title = geom.title;
204  points = geom.points;
205  return *this;
206  }
vector< Point > points
Definition: DMRtrends.cc:185
TString title
Definition: DMRtrends.cc:199
vector<float> Geometry::Run ( ) const
inline

Definition at line 209 of file DMRtrends.cc.

References Point::GetRun().

Referenced by compileDMRTrends().

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

Definition at line 207 of file DMRtrends.cc.

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

Definition at line 213 of file DMRtrends.cc.

References Point::GetSigma().

Referenced by compileDMRTrends().

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

Definition at line 217 of file DMRtrends.cc.

References Point::GetSigmaDeltaMu().

Referenced by compileDMRTrends().

float GetSigmaDeltaMu() const
Definition: DMRtrends.cc:115
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:189
vector<float> Geometry::SigmaMinus ( ) const
inline

Definition at line 215 of file DMRtrends.cc.

References Point::GetSigmaMinus().

Referenced by compileDMRTrends().

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

Definition at line 214 of file DMRtrends.cc.

References Point::GetSigmaPlus().

Referenced by compileDMRTrends().

214 { return GetQuantity(&Point::GetSigmaPlus); }
float GetSigmaPlus() const
Definition: DMRtrends.cc:107
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:189

Member Data Documentation

vector<Point> Geometry::points

Definition at line 185 of file DMRtrends.cc.

Referenced by operator=().

TString Geometry::title