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