CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions
PFTauSelector Class Reference
Inheritance diagram for PFTauSelector:
ObjectSelectorStream< 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

Definition at line 12 of file PFTauSelector.cc.

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 13 of file PFTauSelector.cc.

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  }

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

edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
edm::ParameterSet
Definition: ParameterSet.h:47
edm::ParameterSet::addParameter
void addParameter(std::string const &name, T const &value)
Definition: ParameterSet.h:135
ObjectSelectorStream< PFTauSelectorDefinition >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
edm::InputTag
Definition: InputTag.h:15