CMS 3D CMS Logo

ClusterChargeCut.h
Go to the documentation of this file.
1 #ifndef RecoLocalTrackerSiStripClusterizerClusterChargeCut_H
2 #define RecoLocalTrackerSiStripClusterizerClusterChargeCut_H
3 
5 #include <iostream>
6 
7 inline float clusterChargeCut(const edm::ParameterSet& conf, const char* name = "clusterChargeCut") {
8  return conf.getParameter<edm::ParameterSet>(name).getParameter<double>("value");
9 }
10 
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 }
22 
25  desc.add<double>("value");
26  return desc;
27 }
28 
29 #endif // RecoLocalTrackerSiStripClusterizerClusterChargeCut_H
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
ParameterSetDescription.h
getFilledConfigurationDescription4CCCNoDefault
edm::ParameterSetDescription getFilledConfigurationDescription4CCCNoDefault()
Definition: ClusterChargeCut.h:23
edm::ParameterSet
Definition: ParameterSet.h:36
getFilledConfigurationDescription4CCC
edm::ParameterSetDescription getFilledConfigurationDescription4CCC()
Definition: ClusterChargeCut.h:12
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
ParameterSet.h
clusterChargeCut
float clusterChargeCut(const edm::ParameterSet &conf, const char *name="clusterChargeCut")
Definition: ClusterChargeCut.h:7