CMS 3D CMS Logo

EDGetToken Class Reference

#include "FWCore/Utilities/interface/EDGetToken.h"

Detailed Description

Description: A Token used to get data from the EDM

Usage: A EDGetToken is created by calls to 'consumes' or 'mayConsume' from an EDM module. The EDGetToken can then be used to quickly retrieve data from the edm::Event, edm::LuminosityBlock or edm::Run.

The templated form, EDGetTokenT<T>, is the same as EDGetToken except when used to get data the framework will skip checking that the type being requested matches the type specified during the 'consumes' or 'mayConsume' call.