CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
HLTTrackClusterRemover::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 40 of file HLTTrackClusterRemover.cc.

Constructor & Destructor Documentation

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

Definition at line 42 of file HLTTrackClusterRemover.cc.

42  :
43  isSet_(true),
44  usesCharge_(iConfig.exists("maxCharge")),
45  usesSize_(iConfig.exists("maxSize")),
46  maxChi2_(iConfig.getParameter<double>("maxChi2")),
47  maxCharge_(usesCharge_ ? iConfig.getParameter<double>("maxCharge") : 0),
48  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 HLTTrackClusterRemover::ParamBlock::isSet_

Definition at line 49 of file HLTTrackClusterRemover.cc.

float HLTTrackClusterRemover::ParamBlock::maxCharge_

Definition at line 50 of file HLTTrackClusterRemover.cc.

float HLTTrackClusterRemover::ParamBlock::maxChi2_

Definition at line 50 of file HLTTrackClusterRemover.cc.

size_t HLTTrackClusterRemover::ParamBlock::maxSize_

Definition at line 51 of file HLTTrackClusterRemover.cc.

Referenced by HLTTrackClusterRemover::process().

bool HLTTrackClusterRemover::ParamBlock::usesCharge_

Definition at line 49 of file HLTTrackClusterRemover.cc.

bool HLTTrackClusterRemover::ParamBlock::usesSize_

Definition at line 49 of file HLTTrackClusterRemover.cc.