CMS 3D CMS Logo

L1TCommon.h
Go to the documentation of this file.
1 #include <string>
2 
7 
8 namespace dqmoffline {
9  namespace l1t {
10 
11  std::vector<unsigned int> getTriggerIndices(const std::vector<std::string> &requestedTriggers,
12  const std::vector<std::string> &triggersInEvent);
13 
14  std::vector<bool> getTriggerResults(const std::vector<unsigned int> &triggers,
16 
17  std::vector<unsigned int> getFiredTriggerIndices(const std::vector<unsigned int> &triggers,
18  const std::vector<bool> &triggerResults);
19 
20  bool passesAnyTriggerFromList(const std::vector<unsigned int> &triggers, const edm::TriggerResults &triggerResults);
21 
22  trigger::TriggerObjectCollection getTriggerObjects(const std::vector<edm::InputTag> &hltFilters,
24 
25  std::vector<edm::InputTag> getHLTFilters(const std::vector<unsigned int> &triggers,
28 
30  double phi,
31  double maxDeltaR,
33  } // namespace l1t
34 } // namespace dqmoffline
trigger::TriggerObjectCollection getMatchedTriggerObjects(double eta, double phi, double maxDeltaR, const trigger::TriggerObjectCollection triggerObjects)
Definition: L1TCommon.cc:125
The single EDProduct to be saved for each event (AOD case)
Definition: TriggerEvent.h:26
trigger::TriggerObjectCollection getTriggerObjects(const std::vector< edm::InputTag > &hltFilters, const trigger::TriggerEvent &triggerEvent)
Definition: L1TCommon.cc:75
delete x;
Definition: CaloConfig.h:22
std::vector< unsigned int > getTriggerIndices(const std::vector< std::string > &requestedTriggers, const std::vector< std::string > &triggersInEvent)
Definition: L1TCommon.cc:10
std::vector< edm::InputTag > getHLTFilters(const std::vector< unsigned int > &triggers, const HLTConfigProvider &hltConfig, const std::string triggerProcess)
Definition: L1TCommon.cc:99
static std::string const triggerResults
Definition: EdmProvDump.cc:47
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
Definition: TriggerObject.h:75
std::vector< bool > getTriggerResults(const std::vector< unsigned int > &triggers, const edm::TriggerResults &triggerResults)
Definition: L1TCommon.cc:34
std::vector< unsigned int > getFiredTriggerIndices(const std::vector< unsigned int > &triggers, const std::vector< bool > &triggerResults)
Definition: L1TCommon.cc:54
bool passesAnyTriggerFromList(const std::vector< unsigned int > &triggers, const edm::TriggerResults &triggerResults)
Definition: L1TCommon.cc:66