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

Constructor & Destructor Documentation

◆ Geometry() [1/2]

Geometry::Geometry ( )
inline

Definition at line 199 of file DMRtrends.cc.

200 : title("") {}

◆ Geometry() [2/2]

Geometry::Geometry ( TString  Title)
inline

Definition at line 200 of file DMRtrends.cc.

200 : title("") {}

Member Function Documentation

◆ DeltaMu()

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

Definition at line 215 of file DMRtrends.cc.

215 { return GetQuantity(&Point::GetSigmaMinus); }

References Point::GetSigmaMinus().

◆ GetQuantity()

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

Definition at line 188 of file DMRtrends.cc.

189  {
190  vector<float> v;
191  for (Point point : points) {
192  float value = (point.*getter)();
193  v.push_back(value);
194  }
195  return v;

References point, HLT_FULL_cff::points, and findQualityFiles::v.

◆ GetTitle()

TString Geometry::GetTitle ( )
inline

Definition at line 207 of file DMRtrends.cc.

207 { title = Title; }

References runGCPTkAlMap::title.

◆ Mu()

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

Definition at line 209 of file DMRtrends.cc.

209 { return GetQuantity(&Point::GetRun); }

References Point::GetRun().

◆ MuMinus()

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

Definition at line 211 of file DMRtrends.cc.

211 { return GetQuantity(&Point::GetMuPlus); }

References Point::GetMuPlus().

◆ MuPlus()

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

Definition at line 210 of file DMRtrends.cc.

210 { return GetQuantity(&Point::GetMu); }

References Point::GetMu(), and Mu.

◆ operator=()

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

Definition at line 201 of file DMRtrends.cc.

201  : title(Title) {}
202  Geometry &operator=(const Geometry &geom) {
203  title = geom.title;
204  points = geom.points;
205  return *this;

◆ Run()

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

Definition at line 208 of file DMRtrends.cc.

208 { return title; }

References runGCPTkAlMap::title.

◆ SetTitle()

void Geometry::SetTitle ( TString  Title)
inline

Definition at line 206 of file DMRtrends.cc.

207 { title = Title; }

◆ Sigma()

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

Definition at line 212 of file DMRtrends.cc.

212 { return GetQuantity(&Point::GetMuMinus); }

References Point::GetMuMinus().

◆ SigmaDeltaMu()

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

Definition at line 216 of file DMRtrends.cc.

216 { return GetQuantity(&Point::GetDeltaMu); }

References Point::GetDeltaMu().

◆ SigmaMinus()

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

Definition at line 214 of file DMRtrends.cc.

214 { return GetQuantity(&Point::GetSigmaPlus); }

References Point::GetSigmaPlus().

◆ SigmaPlus()

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

Definition at line 213 of file DMRtrends.cc.

213 { return GetQuantity(&Point::GetSigma); }

References Point::GetSigma().

Member Data Documentation

◆ points

vector<Point> Geometry::points

Definition at line 184 of file DMRtrends.cc.

◆ title

TString Geometry::title
Point::GetDeltaMu
float GetDeltaMu() const
Definition: DMRtrends.cc:109
Geometry::GetQuantity
vector< float > GetQuantity(float(Point::*getter)() const) const
Definition: DMRtrends.cc:188
Geometry::title
TString title
Definition: DMRtrends.cc:198
Geometry::points
vector< Point > points
Definition: DMRtrends.cc:184
findQualityFiles.v
v
Definition: findQualityFiles.py:179
Point::GetRun
float GetRun() const
Definition: DMRtrends.cc:102
Point::GetSigmaMinus
float GetSigmaMinus() const
Definition: DMRtrends.cc:108
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
Point::GetSigmaPlus
float GetSigmaPlus() const
Definition: DMRtrends.cc:107
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
value
Definition: value.py:1
Geometry::operator=
Geometry & operator=(const Geometry &geom)
Definition: DMRtrends.cc:201
Point::GetSigma
float GetSigma() const
Definition: DMRtrends.cc:106
Point::GetMu
float GetMu() const
Definition: DMRtrends.cc:103
Point::GetMuPlus
float GetMuPlus() const
Definition: DMRtrends.cc:104
point
*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
Geometry
Class Geometry Contains vector for fit parameters (mean, sigma, etc.) obtained from multiple IOVs See...
Definition: DMRtrends.cc:182
Point::GetMuMinus
float GetMuMinus() const
Definition: DMRtrends.cc:105