CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
HITrackClusterRemover::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 49 of file HITrackClusterRemover.cc.

Constructor & Destructor Documentation

◆ ParamBlock() [1/2]

HITrackClusterRemover::ParamBlock::ParamBlock ( )
inline

Definition at line 50 of file HITrackClusterRemover.cc.

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

◆ ParamBlock() [2/2]

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

Definition at line 51 of file HITrackClusterRemover.cc.

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

Member Data Documentation

◆ cutOnPixelCharge_

bool HITrackClusterRemover::ParamBlock::cutOnPixelCharge_

Definition at line 62 of file HITrackClusterRemover.cc.

◆ cutOnStripCharge_

bool HITrackClusterRemover::ParamBlock::cutOnStripCharge_

Definition at line 62 of file HITrackClusterRemover.cc.

◆ isSet_

bool HITrackClusterRemover::ParamBlock::isSet_

Definition at line 62 of file HITrackClusterRemover.cc.

◆ maxCharge_

float HITrackClusterRemover::ParamBlock::maxCharge_

Definition at line 63 of file HITrackClusterRemover.cc.

◆ maxChi2_

float HITrackClusterRemover::ParamBlock::maxChi2_

Definition at line 63 of file HITrackClusterRemover.cc.

◆ maxSize_

size_t HITrackClusterRemover::ParamBlock::maxSize_

Definition at line 64 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover::process().

◆ minGoodPixelCharge_

float HITrackClusterRemover::ParamBlock::minGoodPixelCharge_

Definition at line 63 of file HITrackClusterRemover.cc.

◆ minGoodStripCharge_

float HITrackClusterRemover::ParamBlock::minGoodStripCharge_

Definition at line 63 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover::process().

◆ usesCharge_

bool HITrackClusterRemover::ParamBlock::usesCharge_

Definition at line 62 of file HITrackClusterRemover.cc.

◆ usesSize_

bool HITrackClusterRemover::ParamBlock::usesSize_

Definition at line 62 of file HITrackClusterRemover.cc.

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