CMS 3D CMS Logo

TriggerResultsByName Class Reference

#include <FWCore/Common/interface/TriggerResultsByName.h>

Detailed Description

Description: Class which provides methods to access trigger results

Usage: This class is intended to make it convenient and easy to get the trigger results from each event starting with the name of a trigger path. One obtains an object of this class from the event using the Event::triggerResultsByName function. One can use this class for code which needs to work in both the full and the light (i.e. FWLite) frameworks.

Once the user has an object of this class, the user can use the accessors below to get the trigger results for a trigger in one step, instead of first using the TriggerNames class to get the index and then using the index and the TriggerResults class to get the result.

While the most common use of this class will be to get the results of the triggers from the HLT process, this class can also be used to get the results of the paths of any process used to create the input file.