CMS 3D CMS Logo

List of all members | Public Member Functions
JetCorrectorParametersInitializeTransients Struct Reference

#include <JetCorrectorParameters.h>

Public Member Functions

void operator() (JetCorrectorParametersCollection &jcpc)
 

Detailed Description

Definition at line 262 of file JetCorrectorParameters.h.

Member Function Documentation

◆ operator()()

void JetCorrectorParametersInitializeTransients::operator() ( JetCorrectorParametersCollection jcpc)
inline

Definition at line 263 of file JetCorrectorParameters.h.

References JetCorrectorParametersCollection::getCorrections(), JetCorrectorParametersCollection::getCorrectionsL5(), JetCorrectorParametersCollection::getCorrectionsL7(), and OfflineHarvestingSequence_cosmic::ptype.

263  {
264  for (auto& ptype : jcpc.getCorrections()) {
265  ptype.second.init();
266  }
267  for (auto& ptype : jcpc.getCorrectionsL5()) {
268  ptype.second.init();
269  }
270  for (auto& ptype : jcpc.getCorrectionsL7()) {
271  ptype.second.init();
272  }
273  }