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

Geometry::Geometry ( )
inline

Definition at line 200 of file DMRtrends.cc.

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

◆ Geometry() [2/2]

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

◆ DeltaMu()

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); }
float GetDeltaMu() const
Definition: DMRtrends.cc:109
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:189

◆ GetQuantity()

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

Definition at line 189 of file DMRtrends.cc.

References point, HLT_FULL_cff::points, 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

◆ GetTitle()

TString Geometry::GetTitle ( )
inline

Definition at line 208 of file DMRtrends.cc.

References runGCPTkAlMap::title.

208 { return title; }
TString title
Definition: DMRtrends.cc:199

◆ Mu()

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); }
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:189
float GetMu() const
Definition: DMRtrends.cc:103

◆ MuMinus()

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

◆ MuPlus()

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); }
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:189
float GetMuPlus() const
Definition: DMRtrends.cc:104

◆ operator=()

Geometry& Geometry::operator= ( const Geometry geom)
inline

Definition at line 202 of file DMRtrends.cc.

References relativeConstraints::geom, HLT_FULL_cff::points, and runGCPTkAlMap::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

◆ Run()

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

Definition at line 209 of file DMRtrends.cc.

References Point::GetRun().

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

◆ SetTitle()

void Geometry::SetTitle ( TString  Title)
inline

Definition at line 207 of file DMRtrends.cc.

References runGCPTkAlMap::title.

207 { title = Title; }
TString title
Definition: DMRtrends.cc:199

◆ Sigma()

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

◆ SigmaDeltaMu()

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

Definition at line 217 of file DMRtrends.cc.

References Point::GetSigmaDeltaMu().

Referenced by compileDMRTrends().

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

◆ SigmaMinus()

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); }
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:189
float GetSigmaMinus() const
Definition: DMRtrends.cc:108

◆ SigmaPlus()

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); }
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:189
float GetSigmaPlus() const
Definition: DMRtrends.cc:107

Member Data Documentation

◆ points

vector<Point> Geometry::points

Definition at line 185 of file DMRtrends.cc.

◆ title

TString Geometry::title