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 
23 #endif // RecoLocalTrackerSiStripClusterizerClusterChargeCut_H
24 
T getParameter(std::string const &) const
float clusterChargeCut(const edm::ParameterSet &conf, const char *name="clusterChargeCut")
edm::ParameterSetDescription getFilledConfigurationDescription4CCC()
ParameterDescriptionBase * add(U const &iLabel, T const &value)