14 use_PixelShapeFile( iConfig.
exists(
"PixelShapeFile")?iConfig.
getParameter<
std::string>(
"PixelShapeFile"):
"RecoPixelVertexing/PixelLowPtUtilities/data/pixelShape.par")
18 minGoodPixelCharge_= 0,
20 cutOnPixelCharge_ =
false;
21 cutOnStripCharge_ = minGoodStripCharge_>0;
22 cutOnPixelShape_ = (iConfig.
exists(
"doPixelShapeCut") ? iConfig.
getParameter<
bool>(
"doPixelShapeCut") :
true);
23 cutOnStripShape_ = (iConfig.
exists(
"doStripShapeCut") ? iConfig.
getParameter<
bool>(
"doStripShapeCut") :
true);
26 <<
" with name: " << componentName;
28 setWhatProduced(
this, componentName);
43 using namespace edm::es;
71 &use_PixelShapeFile));
72 aFilter->setShapeCuts(cutOnPixelShape_, cutOnStripShape_);
73 aFilter->setChargeCuts(cutOnPixelCharge_, minGoodPixelCharge_, cutOnStripCharge_,
T getParameter(std::string const &) const
std::auto_ptr< ClusterShapeHitFilter > ReturnType
bool exists(std::string const ¶meterName) const
checks if a parameter exists
float clusterChargeCut(const edm::ParameterSet &conf, const char *name="clusterChargeCut")
const DepRecordT & getRecord() const
ClusterShapeHitFilterESProducer(const edm::ParameterSet &)
ReturnType produce(const ClusterShapeHitFilter::Record &)
void get(HolderT &iHolder) const
~ClusterShapeHitFilterESProducer()