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 50 of file HITrackClusterRemover.cc.

Constructor & Destructor Documentation

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

Definition at line 52 of file HITrackClusterRemover.cc.

52  :
53  isSet_(true),
54  usesCharge_(iConfig.exists("maxCharge")),
55  usesSize_(iConfig.exists("maxSize")),
56  cutOnPixelCharge_(iConfig.exists("minGoodPixelCharge")),
57  cutOnStripCharge_(iConfig.exists("minGoodStripCharge")),
58  maxChi2_(iConfig.getParameter<double>("maxChi2")),
59  maxCharge_(usesCharge_ ? iConfig.getParameter<double>("maxCharge") : 0),
60  minGoodPixelCharge_(cutOnPixelCharge_ ? iConfig.getParameter<double>("minGoodPixelCharge") : 0),
61  minGoodStripCharge_(cutOnStripCharge_ ? iConfig.getParameter<double>("minGoodStripCharge") : 0),
62  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 HITrackClusterRemover::ParamBlock::cutOnPixelCharge_

Definition at line 63 of file HITrackClusterRemover.cc.

bool HITrackClusterRemover::ParamBlock::cutOnStripCharge_

Definition at line 63 of file HITrackClusterRemover.cc.

bool HITrackClusterRemover::ParamBlock::isSet_

Definition at line 63 of file HITrackClusterRemover.cc.

float HITrackClusterRemover::ParamBlock::maxCharge_

Definition at line 64 of file HITrackClusterRemover.cc.

float HITrackClusterRemover::ParamBlock::maxChi2_

Definition at line 64 of file HITrackClusterRemover.cc.

size_t HITrackClusterRemover::ParamBlock::maxSize_
float HITrackClusterRemover::ParamBlock::minGoodPixelCharge_

Definition at line 64 of file HITrackClusterRemover.cc.

float HITrackClusterRemover::ParamBlock::minGoodStripCharge_

Definition at line 64 of file HITrackClusterRemover.cc.

bool HITrackClusterRemover::ParamBlock::usesCharge_

Definition at line 63 of file HITrackClusterRemover.cc.

bool HITrackClusterRemover::ParamBlock::usesSize_

Definition at line 63 of file HITrackClusterRemover.cc.