CMS 3D CMS Logo

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

Public Member Functions

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

Public Attributes

bool cutOnPixelCharge_
 
bool cutOnStripCharge_
 
bool isSet_
 
float maxCharge_
 
float maxChi2_
 
size_t maxSize_
 
float minGoodPixelCharge_
 
float minGoodStripCharge_
 
bool usesCharge_
 
bool usesSize_
 

Detailed Description

Definition at line 46 of file HLTTrackClusterRemoverNew.cc.

Constructor & Destructor Documentation

◆ ParamBlock() [1/2]

HLTTrackClusterRemoverNew::ParamBlock::ParamBlock ( )
inline

Definition at line 47 of file HLTTrackClusterRemoverNew.cc.

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

◆ ParamBlock() [2/2]

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

Definition at line 48 of file HLTTrackClusterRemoverNew.cc.

49  : isSet_(true),
50  usesCharge_(iConfig.exists("maxCharge")),
51  usesSize_(iConfig.exists("maxSize")),
52  cutOnPixelCharge_(iConfig.exists("minGoodPixelCharge")),
53  cutOnStripCharge_(iConfig.exists("minGoodStripCharge")),
54  maxChi2_(iConfig.getParameter<double>("maxChi2")),
55  maxCharge_(usesCharge_ ? iConfig.getParameter<double>("maxCharge") : 0),
56  minGoodPixelCharge_(cutOnPixelCharge_ ? iConfig.getParameter<double>("minGoodPixelCharge") : 0),
57  minGoodStripCharge_(cutOnStripCharge_ ? iConfig.getParameter<double>("minGoodStripCharge") : 0),
58  maxSize_(usesSize_ ? iConfig.getParameter<uint32_t>("maxSize") : 0) {}

Member Data Documentation

◆ cutOnPixelCharge_

bool HLTTrackClusterRemoverNew::ParamBlock::cutOnPixelCharge_

Definition at line 59 of file HLTTrackClusterRemoverNew.cc.

◆ cutOnStripCharge_

bool HLTTrackClusterRemoverNew::ParamBlock::cutOnStripCharge_

Definition at line 59 of file HLTTrackClusterRemoverNew.cc.

◆ isSet_

bool HLTTrackClusterRemoverNew::ParamBlock::isSet_

Definition at line 59 of file HLTTrackClusterRemoverNew.cc.

◆ maxCharge_

float HLTTrackClusterRemoverNew::ParamBlock::maxCharge_

Definition at line 60 of file HLTTrackClusterRemoverNew.cc.

◆ maxChi2_

float HLTTrackClusterRemoverNew::ParamBlock::maxChi2_

Definition at line 60 of file HLTTrackClusterRemoverNew.cc.

◆ maxSize_

size_t HLTTrackClusterRemoverNew::ParamBlock::maxSize_

Definition at line 61 of file HLTTrackClusterRemoverNew.cc.

Referenced by HLTTrackClusterRemoverNew::process().

◆ minGoodPixelCharge_

float HLTTrackClusterRemoverNew::ParamBlock::minGoodPixelCharge_

Definition at line 60 of file HLTTrackClusterRemoverNew.cc.

◆ minGoodStripCharge_

float HLTTrackClusterRemoverNew::ParamBlock::minGoodStripCharge_

Definition at line 60 of file HLTTrackClusterRemoverNew.cc.

◆ usesCharge_

bool HLTTrackClusterRemoverNew::ParamBlock::usesCharge_

Definition at line 59 of file HLTTrackClusterRemoverNew.cc.

◆ usesSize_

bool HLTTrackClusterRemoverNew::ParamBlock::usesSize_

Definition at line 59 of file HLTTrackClusterRemoverNew.cc.

HLTTrackClusterRemoverNew::ParamBlock::maxSize_
size_t maxSize_
Definition: HLTTrackClusterRemoverNew.cc:61
HLTTrackClusterRemoverNew::ParamBlock::maxChi2_
float maxChi2_
Definition: HLTTrackClusterRemoverNew.cc:60
HLTTrackClusterRemoverNew::ParamBlock::maxCharge_
float maxCharge_
Definition: HLTTrackClusterRemoverNew.cc:60
HLTTrackClusterRemoverNew::ParamBlock::cutOnStripCharge_
bool cutOnStripCharge_
Definition: HLTTrackClusterRemoverNew.cc:59
HLTTrackClusterRemoverNew::ParamBlock::usesSize_
bool usesSize_
Definition: HLTTrackClusterRemoverNew.cc:59
HLTTrackClusterRemoverNew::ParamBlock::minGoodStripCharge_
float minGoodStripCharge_
Definition: HLTTrackClusterRemoverNew.cc:60
HLTTrackClusterRemoverNew::ParamBlock::isSet_
bool isSet_
Definition: HLTTrackClusterRemoverNew.cc:59
HLTTrackClusterRemoverNew::ParamBlock::minGoodPixelCharge_
float minGoodPixelCharge_
Definition: HLTTrackClusterRemoverNew.cc:60
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:681
HLTTrackClusterRemoverNew::ParamBlock::usesCharge_
bool usesCharge_
Definition: HLTTrackClusterRemoverNew.cc:59
HLTTrackClusterRemoverNew::ParamBlock::cutOnPixelCharge_
bool cutOnPixelCharge_
Definition: HLTTrackClusterRemoverNew.cc:59
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303