Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:55

0001 #include <string>
0002 
0003 #include "DataFormats/Common/interface/TriggerResults.h"
0004 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0005 #include "DataFormats/HLTReco/interface/TriggerObject.h"
0006 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
0007 
0008 namespace dqmoffline {
0009   namespace l1t {
0010 
0011     std::vector<unsigned int> getTriggerIndices(const std::vector<std::string> &requestedTriggers,
0012                                                 const std::vector<std::string> &triggersInEvent);
0013 
0014     std::vector<bool> getTriggerResults(const std::vector<unsigned int> &triggers,
0015                                         const edm::TriggerResults &triggerResults);
0016 
0017     std::vector<unsigned int> getFiredTriggerIndices(const std::vector<unsigned int> &triggers,
0018                                                      const std::vector<bool> &triggerResults);
0019 
0020     bool passesAnyTriggerFromList(const std::vector<unsigned int> &triggers, const edm::TriggerResults &triggerResults);
0021 
0022     trigger::TriggerObjectCollection getTriggerObjects(const std::vector<edm::InputTag> &hltFilters,
0023                                                        const trigger::TriggerEvent &triggerEvent);
0024 
0025     std::vector<edm::InputTag> getHLTFilters(const std::vector<unsigned int> &triggers,
0026                                              const HLTConfigProvider &hltConfig,
0027                                              const std::string triggerProcess);
0028 
0029     trigger::TriggerObjectCollection getMatchedTriggerObjects(double eta,
0030                                                               double phi,
0031                                                               double maxDeltaR,
0032                                                               const trigger::TriggerObjectCollection triggerObjects);
0033   }  // namespace l1t
0034 }  // namespace dqmoffline