CMS 3D CMS Logo

Namespaces | Enumerations | Functions | Variables
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.

Namespaces

 CCC
 

Enumerations

enum  CCC::OP { CCC::kNone = 0, CCC::kTiny = 1, CCC::kLoose = 2, CCC::kTight = 3 }
 

Functions

float clusterChargeCut (const edm::ParameterSet &conf, const char *name="clusterChargeCut")
 
edm::ParameterSetDescription getConfigurationDescription4CCC (const CCC::OP &op)
 
edm::ParameterSetDescription getConfigurationDescription4CCCNoDefault ()
 

Variables

static constexpr std::array< float, 4 > CCC::cuts = {{-1.0, 800.0, 1620.0, 1945.0}}
 

Function Documentation

◆ clusterChargeCut()

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
Definition: ParameterSet.h:307

◆ getConfigurationDescription4CCC()

edm::ParameterSetDescription getConfigurationDescription4CCC ( const CCC::OP op)
inline

◆ getConfigurationDescription4CCCNoDefault()

edm::ParameterSetDescription getConfigurationDescription4CCCNoDefault ( )
inline

Definition at line 29 of file ClusterChargeCut.h.

References submitPVResolutionJobs::desc.