CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions
PFTauSelector Class Reference
Inheritance diagram for PFTauSelector:
ObjectSelector< PFTauSelectorDefinition >

Public Member Functions

 PFTauSelector (const edm::ParameterSet &ps)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 10 of file PFTauSelector.cc.

Constructor & Destructor Documentation

◆ PFTauSelector()

PFTauSelector::PFTauSelector ( const edm::ParameterSet ps)
inline

Member Function Documentation

◆ fillDescriptions()

static void PFTauSelector::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
inlinestatic

Definition at line 13 of file PFTauSelector.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSet::addParameter(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

13  {
15  desc.setComment("PF tau selector module");
16 
17  desc.add<edm::InputTag>("src", edm::InputTag("fixedConePFTauProducer"));
18  desc.add<std::string>("cut", "pt > 0");
19 
21  psd1.add<edm::InputTag>("discriminator");
22  psd1.add<double>("selectionCut");
24  ps1.addParameter<edm::InputTag>("discriminator", edm::InputTag("fixedConePFTauDiscriminationByIsolation"));
25  ps1.addParameter<double>("selectionCut", 0.5);
26  desc.addVPSet("discriminators", psd1, {ps1});
27 
29  psd2.add<edm::InputTag>("discriminator");
30  psd2.add<std::vector<std::string>>("rawValues");
31  psd2.add<std::vector<std::string>>("workingPoints");
32  psd2.add<std::vector<double>>("selectionCuts");
33  desc.addVPSet("discriminatorContainers", psd2, {});
34 
35  descriptions.add("pfTauSelector", desc);
36  }
void addParameter(std::string const &name, T const &value)
Definition: ParameterSet.h:136
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)