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 41 of file SeedClusterRemover.cc.

Constructor & Destructor Documentation

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

Definition at line 43 of file SeedClusterRemover.cc.

43  :
44  isSet_(true),
45  usesCharge_(iConfig.exists("maxCharge")),
46  usesSize_(iConfig.exists("maxSize")),
47  maxChi2_(iConfig.getParameter<double>("maxChi2")),
48  maxCharge_(usesCharge_ ? iConfig.getParameter<double>("maxCharge") : 0),
49  maxSize_(usesSize_ ? iConfig.getParameter<uint32_t>("maxSize") : 0) { }
T getParameter(std::string const &) const
bool exists(std::string const &parameterName) const
checks if a parameter exists

Member Data Documentation

bool SeedClusterRemover::ParamBlock::isSet_

Definition at line 50 of file SeedClusterRemover.cc.

float SeedClusterRemover::ParamBlock::maxCharge_

Definition at line 51 of file SeedClusterRemover.cc.

float SeedClusterRemover::ParamBlock::maxChi2_

Definition at line 51 of file SeedClusterRemover.cc.

size_t SeedClusterRemover::ParamBlock::maxSize_
bool SeedClusterRemover::ParamBlock::usesCharge_

Definition at line 50 of file SeedClusterRemover.cc.

bool SeedClusterRemover::ParamBlock::usesSize_

Definition at line 50 of file SeedClusterRemover.cc.