14 for (std::vector<std::string>::const_iterator it =
patlabels_.begin(), ed =
patlabels_.end(); it != ed; ++it) {
22 for (std::vector<std::string>::iterator it =
patlabels_.begin(), ed =
patlabels_.end(); it != ed; ++it) {
23 if (*it ==
"default") *it =
"";
37 iDesc.
add<
bool>(
"addResolutions",
false)->setComment(
"Add resolutions into this PAT Object");
40 iDesc.
addOptional(
"resolutions", resolutionPSet)->
setComment(
"Resolution values to get from EventSetup");
T getParameter(std::string const &) const
void setComment(std::string const &value)
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
void setAllowAnything()
allow any parameter label/value pairs
std::vector< std::string > getParameterNamesForType(bool trackiness=true) const
std::vector< std::string > eslabels_
Labels of the KinematicResolutionProvider in the EventSetup.
void newEvent(const edm::Event &event, const edm::EventSetup &setup)
To be called for each new event, reads in the EventSetup object.
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescription(edm::ParameterSetDescription &iDesc)
Method for documentation and validation of PSet.
std::vector< std::string > patlabels_
Labels of the resolutions in PAT.
std::vector< edm::ESHandle< KinematicResolutionProvider > > handles_
Handles to the EventSetup.