#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"
#include <typeinfo>
Go to the source code of this file.
Functions | |
template<typename T > | |
int | getObjectType (const T &) |
template<typename T > | |
int | getObjectType (const l1extra::L1JetParticle &candidate) |
template<typename T > | |
int | getObjectType (const l1extra::L1EtMissParticle &candidate) |
template<typename T > | |
int | getObjectType (const l1extra::L1EmParticle &candidate) |
int getObjectType | ( | const T & | ) |
Definition at line 28 of file HLTSinglet.cc.
{
return 0;
}
int getObjectType | ( | const l1extra::L1JetParticle & | candidate | ) |
Definition at line 60 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 0; } }
int getObjectType | ( | const l1extra::L1EtMissParticle & | candidate | ) |
Definition at line 47 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 0; } }
int getObjectType | ( | const l1extra::L1EmParticle & | candidate | ) |
Definition at line 34 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 0; } }