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

◆ clusterChargeCut()

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

Definition at line 7 of file ClusterChargeCut.h.

7  {
8  return conf.getParameter<edm::ParameterSet>(name).getParameter<double>("value");
9 }

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

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

◆ getFilledConfigurationDescription4CCC()

edm::ParameterSetDescription getFilledConfigurationDescription4CCC ( )
inline

Definition at line 12 of file ClusterChargeCut.h.

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 }

References submitPVResolutionJobs::desc.

◆ getFilledConfigurationDescription4CCCNoDefault()

edm::ParameterSetDescription getFilledConfigurationDescription4CCCNoDefault ( )
inline

Definition at line 23 of file ClusterChargeCut.h.

23  {
25  desc.add<double>("value");
26  return desc;
27 }

References submitPVResolutionJobs::desc.

Referenced by ClusterShapeHitFilterESProducer::fillDescriptions().

edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::ParameterSet
Definition: ParameterSet.h:47
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303