CMS 3D CMS Logo

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"
17 
18 ValueExample::ValueExample(const edm::ParameterSet& iPSet) : value_(iPSet.getParameter<int>("value")) {}
19 
21 
24  desc.add<int>("value");
25  descriptions.addDefault(desc);
26 }
virtual ~ValueExample()
Definition: ValueExample.cc:20
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: ValueExample.cc:22
void addDefault(ParameterSetDescription const &psetDescription)
ValueExample(const edm::ParameterSet &)
Definition: ValueExample.cc:18