Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:11

0001 // -*- C++ -*-
0002 //
0003 // Package:     Package
0004 // Class  :     getAllTriggerNames
0005 //
0006 // Implementation:
0007 //     [Notes on implementation]
0008 //
0009 // Original Author:  Chris Jones
0010 //         Created:  Fri, 26 Jul 2013 20:43:45 GMT
0011 //
0012 
0013 // system include files
0014 
0015 // user include files
0016 #include "FWCore/Framework/interface/getAllTriggerNames.h"
0017 #include "FWCore/ServiceRegistry/interface/Service.h"
0018 #include "FWCore/Framework/interface/TriggerNamesService.h"
0019 
0020 namespace edm {
0021 
0022   std::vector<std::string> const& getAllTriggerNames() {
0023     Service<service::TriggerNamesService> tns;
0024     return tns->getTrigPaths();
0025   }
0026 }  // namespace edm