CMS 3D CMS Logo

Functions
ClusterChargeCut.h File Reference
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include <iostream>
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"

Go to the source code of this file.

Functions

float clusterChargeCut (const edm::ParameterSet &conf, const char *name="clusterChargeCut")
 
edm::ParameterSetDescription getFilledConfigurationDescription4CCC ()
 
edm::ParameterSetDescription getFilledConfigurationDescription4CCCNoDefault ()
 

Function Documentation

float clusterChargeCut ( const edm::ParameterSet conf,
const char *  name = "clusterChargeCut" 
)
inline

Definition at line 7 of file ClusterChargeCut.h.

References edm::ParameterSet::getParameter(), and Skims_PA_cff::name.

Referenced by StripClusterizerAlgorithmFactory::create(), and SeedingLayerSetsBuilder::LayerSpec::LayerSpec().

7  {
8  return conf.getParameter<edm::ParameterSet>(name).getParameter<double>("value");
9 }
T getParameter(std::string const &) const
edm::ParameterSetDescription getFilledConfigurationDescription4CCC ( )
inline

Definition at line 12 of file ClusterChargeCut.h.

References edm::ParameterSetDescription::add().

12  {
13  // HLTSiStripClusterChargeCutNone: -1.0
14  // HLTSiStripClusterChargeCutTiny: 800.0
15  // HLTSiStripClusterChargeCutLoose: 1620.0
16  // HLTSiStripClusterChargeCutTight: 1945.0
17 
19  desc.add<double>("value", 1620.0);
20  return desc;
21 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
edm::ParameterSetDescription getFilledConfigurationDescription4CCCNoDefault ( )
inline

Definition at line 23 of file ClusterChargeCut.h.

References edm::ParameterSetDescription::add().

Referenced by ClusterShapeHitFilterESProducer::fillDescriptions().

23  {
25  desc.add<double>("value");
26  return desc;
27 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)