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
TrackClusterRemover::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 43 of file TrackClusterRemover.cc.

Constructor & Destructor Documentation

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

Definition at line 45 of file TrackClusterRemover.cc.

45  :
46  isSet_(true),
47  usesCharge_(iConfig.exists("maxCharge")),
48  usesSize_(iConfig.exists("maxSize")),
49  cutOnPixelCharge_(iConfig.exists("minGoodPixelCharge")),
50  cutOnStripCharge_(iConfig.exists("minGoodStripCharge")),
51  maxChi2_(iConfig.getParameter<double>("maxChi2")),
52  maxCharge_(usesCharge_ ? iConfig.getParameter<double>("maxCharge") : 0),
53  minGoodPixelCharge_(cutOnPixelCharge_ ? iConfig.getParameter<double>("minGoodPixelCharge") : 0),
54  minGoodStripCharge_(cutOnStripCharge_ ? iConfig.getParameter<double>("minGoodStripCharge") : 0),
55  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 TrackClusterRemover::ParamBlock::cutOnPixelCharge_

Definition at line 56 of file TrackClusterRemover.cc.

bool TrackClusterRemover::ParamBlock::cutOnStripCharge_

Definition at line 56 of file TrackClusterRemover.cc.

bool TrackClusterRemover::ParamBlock::isSet_

Definition at line 56 of file TrackClusterRemover.cc.

float TrackClusterRemover::ParamBlock::maxCharge_

Definition at line 57 of file TrackClusterRemover.cc.

float TrackClusterRemover::ParamBlock::maxChi2_

Definition at line 57 of file TrackClusterRemover.cc.

size_t TrackClusterRemover::ParamBlock::maxSize_

Definition at line 58 of file TrackClusterRemover.cc.

Referenced by TrackClusterRemover::process().

float TrackClusterRemover::ParamBlock::minGoodPixelCharge_

Definition at line 57 of file TrackClusterRemover.cc.

float TrackClusterRemover::ParamBlock::minGoodStripCharge_

Definition at line 57 of file TrackClusterRemover.cc.

bool TrackClusterRemover::ParamBlock::usesCharge_

Definition at line 56 of file TrackClusterRemover.cc.

bool TrackClusterRemover::ParamBlock::usesSize_

Definition at line 56 of file TrackClusterRemover.cc.