CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
l1thgcfirmware::ClusterAlgoConfig Class Reference

#include <HGCalHistoClusteringConfig_SA.h>

Public Member Functions

 ClusterAlgoConfig (const double midRadius, const double dr, const std::vector< double > &dr_byLayer_coefficientA, const std::vector< double > &dr_byLayer_coefficientB, const float ptC3dThreshold)
 
double dr () const
 
const std::vector< double > & dr_byLayer_coefficientA () const
 
const std::vector< double > & dr_byLayer_coefficientB () const
 
double midRadius () const
 
float ptC3dThreshold () const
 
void setParameters (double midRadius, double dr, const std::vector< double > &dr_byLayer_coefficientA, const std::vector< double > &dr_byLayer_coefficientB, float ptC3dThreshold)
 
void setParameters (const ClusterAlgoConfig &newConfig)
 

Private Attributes

double dr_
 
std::vector< double > dr_byLayer_coefficientA_
 
std::vector< double > dr_byLayer_coefficientB_
 
double midRadius_
 
float ptC3dThreshold_
 

Detailed Description

Definition at line 8 of file HGCalHistoClusteringConfig_SA.h.

Constructor & Destructor Documentation

l1thgcfirmware::ClusterAlgoConfig::ClusterAlgoConfig ( const double  midRadius,
const double  dr,
const std::vector< double > &  dr_byLayer_coefficientA,
const std::vector< double > &  dr_byLayer_coefficientB,
const float  ptC3dThreshold 
)
inline

Definition at line 10 of file HGCalHistoClusteringConfig_SA.h.

Member Function Documentation

double l1thgcfirmware::ClusterAlgoConfig::dr ( ) const
inline
const std::vector<double>& l1thgcfirmware::ClusterAlgoConfig::dr_byLayer_coefficientA ( ) const
inline
const std::vector<double>& l1thgcfirmware::ClusterAlgoConfig::dr_byLayer_coefficientB ( ) const
inline
double l1thgcfirmware::ClusterAlgoConfig::midRadius ( ) const
inline
float l1thgcfirmware::ClusterAlgoConfig::ptC3dThreshold ( ) const
inline
void l1thgcfirmware::ClusterAlgoConfig::setParameters ( double  midRadius,
double  dr,
const std::vector< double > &  dr_byLayer_coefficientA,
const std::vector< double > &  dr_byLayer_coefficientB,
float  ptC3dThreshold 
)
inline

Definition at line 21 of file HGCalHistoClusteringConfig_SA.h.

References dr(), dr_, dr_byLayer_coefficientA(), dr_byLayer_coefficientA_, dr_byLayer_coefficientB(), dr_byLayer_coefficientB_, midRadius(), midRadius_, ptC3dThreshold(), and ptC3dThreshold_.

Referenced by setParameters().

25  {
27  dr_ = dr;
31  }
const std::vector< double > & dr_byLayer_coefficientA() const
const std::vector< double > & dr_byLayer_coefficientB() const
void l1thgcfirmware::ClusterAlgoConfig::setParameters ( const ClusterAlgoConfig newConfig)
inline

Definition at line 33 of file HGCalHistoClusteringConfig_SA.h.

References dr(), dr_byLayer_coefficientA(), dr_byLayer_coefficientB(), midRadius(), ptC3dThreshold(), and setParameters().

33  {
34  setParameters(newConfig.midRadius(),
35  newConfig.dr(),
36  newConfig.dr_byLayer_coefficientA(),
37  newConfig.dr_byLayer_coefficientB(),
38  newConfig.ptC3dThreshold());
39  }
void setParameters(double midRadius, double dr, const std::vector< double > &dr_byLayer_coefficientA, const std::vector< double > &dr_byLayer_coefficientB, float ptC3dThreshold)

Member Data Documentation

double l1thgcfirmware::ClusterAlgoConfig::dr_
private

Definition at line 48 of file HGCalHistoClusteringConfig_SA.h.

Referenced by dr(), and setParameters().

std::vector<double> l1thgcfirmware::ClusterAlgoConfig::dr_byLayer_coefficientA_
private

Definition at line 49 of file HGCalHistoClusteringConfig_SA.h.

Referenced by dr_byLayer_coefficientA(), and setParameters().

std::vector<double> l1thgcfirmware::ClusterAlgoConfig::dr_byLayer_coefficientB_
private

Definition at line 50 of file HGCalHistoClusteringConfig_SA.h.

Referenced by dr_byLayer_coefficientB(), and setParameters().

double l1thgcfirmware::ClusterAlgoConfig::midRadius_
private

Definition at line 47 of file HGCalHistoClusteringConfig_SA.h.

Referenced by midRadius(), and setParameters().

float l1thgcfirmware::ClusterAlgoConfig::ptC3dThreshold_
private

Definition at line 51 of file HGCalHistoClusteringConfig_SA.h.

Referenced by ptC3dThreshold(), and setParameters().