src
FWCore
Integration
plugins
ValueExample.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: test
4
// Class : ValueExample
5
//
6
// Implementation:
7
// <Notes on implementation>
8
//
9
// Original Author: Chris Jones
10
// Created: Mon Sep 5 19:52:01 EDT 2005
11
//
12
13
#include "
ValueExample.h
"
14
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
15
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
16
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
17
18
ValueExample::ValueExample
(
const
edm::ParameterSet
& iPSet) : value_(iPSet.getParameter<
int
>(
"value"
)) {}
19
20
ValueExample::~ValueExample
() {}
21
22
void
ValueExample::fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions) {
23
edm::ParameterSetDescription
desc
;
24
desc
.add<
int
>(
"value"
);
25
descriptions.
addDefault
(
desc
);
26
}
ValueExample::~ValueExample
virtual ~ValueExample()
Definition:
ValueExample.cc:20
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ParameterSet.h
ValueExample.h
ValueExample::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
ValueExample.cc:22
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition:
ConfigurationDescriptions.cc:99
createfilelist.int
int
Definition:
createfilelist.py:10
ParameterSetDescription.h
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
ValueExample::ValueExample
ValueExample(const edm::ParameterSet &)
Definition:
ValueExample.cc:18
edm::ParameterSet
Definition:
ParameterSet.h:48
ConfigurationDescriptions.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
Generated for CMSSW Reference Manual by
1.8.14