CMS 3D CMS Logo

Functions
HLTSinglet.cc File Reference
#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 "HLTSinglet.h"
#include "HLTrigger/HLTcore/interface/defaultModuleLabel.h"

Go to the source code of this file.

Functions

template<typename T >
int getObjectType (const l1extra::L1EmParticle &candidate)
 
template<typename T >
int getObjectType (const l1extra::L1EtMissParticle &candidate)
 
template<typename T >
int getObjectType (const l1extra::L1JetParticle &candidate)
 
template<typename T >
int getObjectType (const T &)
 

Function Documentation

◆ getObjectType() [1/4]

template<typename T >
int getObjectType ( const l1extra::L1EmParticle candidate)

Definition at line 32 of file HLTSinglet.cc.

32  {
33  switch (candidate.type()) {
38  default:
39  return 0;
40  }
41 }

References l1extra::L1EmParticle::kIsolated, l1extra::L1EmParticle::kNonIsolated, trigger::TriggerL1IsoEG, trigger::TriggerL1NoIsoEG, and l1extra::L1EmParticle::type().

◆ getObjectType() [2/4]

template<typename T >
int getObjectType ( const l1extra::L1EtMissParticle candidate)

Definition at line 45 of file HLTSinglet.cc.

45  {
46  switch (candidate.type()) {
48  return trigger::TriggerL1ETM;
50  return trigger::TriggerL1HTM;
51  default:
52  return 0;
53  }
54 }

References l1extra::L1EtMissParticle::kMET, l1extra::L1EtMissParticle::kMHT, trigger::TriggerL1ETM, trigger::TriggerL1HTM, and l1extra::L1EtMissParticle::type().

◆ getObjectType() [3/4]

template<typename T >
int getObjectType ( const l1extra::L1JetParticle candidate)

◆ getObjectType() [4/4]

template<typename T >
int getObjectType ( const T )

Definition at line 26 of file HLTSinglet.cc.

26  {
27  return 0;
28 }
trigger::TriggerL1HTM
Definition: TriggerTypeDefs.h:39
l1extra::L1JetParticle::kCentral
Definition: L1JetParticle.h:30
trigger::TriggerL1IsoEG
Definition: TriggerTypeDefs.h:32
trigger::TriggerL1ForJet
Definition: TriggerTypeDefs.h:34
l1extra::L1EmParticle::kNonIsolated
Definition: L1EmParticle.h:30
l1extra::L1JetParticle::type
JetType type() const
Definition: L1JetParticle.h:46
l1extra::L1EtMissParticle::kMET
Definition: L1EtMissParticle.h:29
l1extra::L1JetParticle::kForward
Definition: L1JetParticle.h:30
l1extra::L1EmParticle::type
EmType type() const
Definition: L1EmParticle.h:46
l1extra::L1EtMissParticle::type
EtMissType type() const
Definition: L1EtMissParticle.h:57
l1extra::L1EmParticle::kIsolated
Definition: L1EmParticle.h:30
trigger::TriggerL1NoIsoEG
Definition: TriggerTypeDefs.h:31
trigger::TriggerL1TauJet
Definition: TriggerTypeDefs.h:35
trigger::TriggerL1ETM
Definition: TriggerTypeDefs.h:36
l1extra::L1EtMissParticle::kMHT
Definition: L1EtMissParticle.h:29
trigger::TriggerL1CenJet
Definition: TriggerTypeDefs.h:33
l1extra::L1JetParticle::kTau
Definition: L1JetParticle.h:30