CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
float clusterChargeCut(const edm::ParameterSet &conf, const char *name="clusterChargeCut")
edm::ParameterSetDescription getFilledConfigurationDescription4CCC()
edm::ParameterSetDescription getFilledConfigurationDescription4CCCNoDefault()
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T getParameter(std::string const &) const
Definition: ParameterSet.h:303