#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/Common/interface/Ref.h"
#include "DataFormats/L1Trigger/interface/L1EmParticle.h"
#include "DataFormats/L1Trigger/interface/L1EtMissParticle.h"
#include "DataFormats/L1Trigger/interface/L1JetParticle.h"
#include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
#include "HLTrigger/HLTfilters/interface/HLTSinglet.h"
Go to the source code of this file.
Functions | |
template<typename T , int Tid> | |
trigger::TriggerObjectType | getObjectType (const T &) |
template<int Tid> | |
trigger::TriggerObjectType | getObjectType (const l1extra::L1JetParticle &candidate) |
template<int Tid> | |
trigger::TriggerObjectType | getObjectType (const l1extra::L1EtMissParticle &candidate) |
template<int Tid> | |
trigger::TriggerObjectType | getObjectType (const l1extra::L1EmParticle &candidate) |
trigger::TriggerObjectType getObjectType | ( | const T & | ) |
Definition at line 27 of file HLTSinglet.cc.
{ return static_cast<trigger::TriggerObjectType>(Tid); }
trigger::TriggerObjectType getObjectType | ( | const l1extra::L1JetParticle & | candidate | ) |
Definition at line 59 of file HLTSinglet.cc.
References l1extra::L1JetParticle::kCentral, l1extra::L1JetParticle::kForward, l1extra::L1JetParticle::kTau, trigger::TriggerL1CenJet, trigger::TriggerL1ForJet, trigger::TriggerL1TauJet, and l1extra::L1JetParticle::type().
{ switch (candidate.type()) { case l1extra::L1JetParticle::kCentral: return trigger::TriggerL1CenJet; case l1extra::L1JetParticle::kForward: return trigger::TriggerL1ForJet; case l1extra::L1JetParticle::kTau: return trigger::TriggerL1TauJet; default: return static_cast<trigger::TriggerObjectType>(Tid); } }
trigger::TriggerObjectType getObjectType | ( | const l1extra::L1EtMissParticle & | candidate | ) |
Definition at line 46 of file HLTSinglet.cc.
References l1extra::L1EtMissParticle::kMET, l1extra::L1EtMissParticle::kMHT, trigger::TriggerL1ETM, trigger::TriggerL1HTM, and l1extra::L1EtMissParticle::type().
{ switch (candidate.type()) { case l1extra::L1EtMissParticle::kMET: return trigger::TriggerL1ETM; case l1extra::L1EtMissParticle::kMHT: return trigger::TriggerL1HTM; default: return static_cast<trigger::TriggerObjectType>(Tid); } }
trigger::TriggerObjectType getObjectType | ( | const l1extra::L1EmParticle & | candidate | ) |
Definition at line 33 of file HLTSinglet.cc.
References l1extra::L1EmParticle::kIsolated, l1extra::L1EmParticle::kNonIsolated, trigger::TriggerL1IsoEG, trigger::TriggerL1NoIsoEG, and l1extra::L1EmParticle::type().
{ switch (candidate.type()) { case l1extra::L1EmParticle::kIsolated: return trigger::TriggerL1IsoEG; case l1extra::L1EmParticle::kNonIsolated: return trigger::TriggerL1NoIsoEG; default: return static_cast<trigger::TriggerObjectType>(Tid); } }