CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
SeedClusterRemover::ParamBlock Struct Reference

Public Member Functions

 ParamBlock ()
 
 ParamBlock (const edm::ParameterSet &iConfig)
 

Public Attributes

bool isSet_
 
float maxCharge_
 
float maxChi2_
 
size_t maxSize_
 
bool usesCharge_
 
bool usesSize_
 

Detailed Description

Definition at line 42 of file SeedClusterRemover.cc.

Constructor & Destructor Documentation

◆ ParamBlock() [1/2]

SeedClusterRemover::ParamBlock::ParamBlock ( )
inline

Definition at line 43 of file SeedClusterRemover.cc.

43 : isSet_(false), usesCharge_(false) {}

◆ ParamBlock() [2/2]

SeedClusterRemover::ParamBlock::ParamBlock ( const edm::ParameterSet iConfig)
inline

Definition at line 44 of file SeedClusterRemover.cc.

45  : isSet_(true),
46  usesCharge_(iConfig.exists("maxCharge")),
47  usesSize_(iConfig.exists("maxSize")),
48  maxChi2_(iConfig.getParameter<double>("maxChi2")),
49  maxCharge_(usesCharge_ ? iConfig.getParameter<double>("maxCharge") : 0),
50  maxSize_(usesSize_ ? iConfig.getParameter<uint32_t>("maxSize") : 0) {}

Member Data Documentation

◆ isSet_

bool SeedClusterRemover::ParamBlock::isSet_

Definition at line 51 of file SeedClusterRemover.cc.

◆ maxCharge_

float SeedClusterRemover::ParamBlock::maxCharge_

Definition at line 52 of file SeedClusterRemover.cc.

◆ maxChi2_

float SeedClusterRemover::ParamBlock::maxChi2_

Definition at line 52 of file SeedClusterRemover.cc.

◆ maxSize_

size_t SeedClusterRemover::ParamBlock::maxSize_

Definition at line 53 of file SeedClusterRemover.cc.

Referenced by SeedClusterRemover::process().

◆ usesCharge_

bool SeedClusterRemover::ParamBlock::usesCharge_

Definition at line 51 of file SeedClusterRemover.cc.

◆ usesSize_

bool SeedClusterRemover::ParamBlock::usesSize_

Definition at line 51 of file SeedClusterRemover.cc.

SeedClusterRemover::ParamBlock::maxCharge_
float maxCharge_
Definition: SeedClusterRemover.cc:52
SeedClusterRemover::ParamBlock::usesCharge_
bool usesCharge_
Definition: SeedClusterRemover.cc:51
SeedClusterRemover::ParamBlock::usesSize_
bool usesSize_
Definition: SeedClusterRemover.cc:51
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:681
SeedClusterRemover::ParamBlock::maxChi2_
float maxChi2_
Definition: SeedClusterRemover.cc:52
SeedClusterRemover::ParamBlock::maxSize_
size_t maxSize_
Definition: SeedClusterRemover.cc:53
SeedClusterRemover::ParamBlock::isSet_
bool isSet_
Definition: SeedClusterRemover.cc:51
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303