CMS 3D CMS Logo

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

◆ ClusterAlgoConfig()

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

◆ dr()

double l1thgcfirmware::ClusterAlgoConfig::dr ( ) const
inline

Definition at line 41 of file HGCalHistoClusteringConfig_SA.h.

References dr_.

Referenced by setParameters().

◆ dr_byLayer_coefficientA()

const std::vector<double>& l1thgcfirmware::ClusterAlgoConfig::dr_byLayer_coefficientA ( ) const
inline

◆ dr_byLayer_coefficientB()

const std::vector<double>& l1thgcfirmware::ClusterAlgoConfig::dr_byLayer_coefficientB ( ) const
inline

◆ midRadius()

double l1thgcfirmware::ClusterAlgoConfig::midRadius ( ) const
inline

Definition at line 40 of file HGCalHistoClusteringConfig_SA.h.

References midRadius_.

Referenced by setParameters().

◆ ptC3dThreshold()

float l1thgcfirmware::ClusterAlgoConfig::ptC3dThreshold ( ) const
inline

Definition at line 44 of file HGCalHistoClusteringConfig_SA.h.

References ptC3dThreshold_.

Referenced by setParameters().

◆ setParameters() [1/2]

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

◆ setParameters() [2/2]

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

◆ dr_

double l1thgcfirmware::ClusterAlgoConfig::dr_
private

Definition at line 48 of file HGCalHistoClusteringConfig_SA.h.

Referenced by dr(), and setParameters().

◆ dr_byLayer_coefficientA_

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().

◆ dr_byLayer_coefficientB_

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().

◆ midRadius_

double l1thgcfirmware::ClusterAlgoConfig::midRadius_
private

Definition at line 47 of file HGCalHistoClusteringConfig_SA.h.

Referenced by midRadius(), and setParameters().

◆ ptC3dThreshold_

float l1thgcfirmware::ClusterAlgoConfig::ptC3dThreshold_
private

Definition at line 51 of file HGCalHistoClusteringConfig_SA.h.

Referenced by ptC3dThreshold(), and setParameters().