ATLAS Offline Software
ITrigTauMatching.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGTAUMATCHING_ITRIGTAUMATCHING_H
6 #define TRIGTAUMATCHING_ITRIGTAUMATCHING_H
7 
8 #include "AsgTools/IAsgTool.h"
9 
12 
13 namespace Trig
14 {
15  class ITrigTauMatchingTool : virtual public asg::IAsgTool
16  {
17  // Declare the interface that the class provides
19 
20  public:
21  virtual ~ITrigTauMatchingTool() {};
22 
23  // Check if an HLT trigger is passed, and match a tau to a HLT tau
24  // associated with the chain within a cone of dR < deltaRCut
25  virtual bool match(const xAOD::TauJet *p,
26  const std::string &trigger,
27  double deltaRCut = 0.2) = 0;
28 
29  // Check if a trigger is passed and match a reco tau to an HLT tau in
30  // a given container within a cone of dR < deltaRCut
31  virtual bool match(const xAOD::TauJet *p,
32  const std::string &trigger,
33  const xAOD::TauJetContainer *c,
34  double deltaRCut = 0.2) = 0;
35 
36  // Check if an L1 trigger is passed, and match a tau to a L1 EmTau (with
37  // TauRoIWord) within a cone of dR < deltaRCut
38  virtual bool matchL1(const xAOD::TauJet *p,
39  const std::string &trigger,
41  double deltaRCut = 0.3) = 0;
42 
43  // Check if an HLT trigger is passed, and return the associated HLT
44  // TauJet matching the given tau.
45  virtual const xAOD::TauJet *
47  const std::string &trigger,
48  double deltaRCut = 0.2) = 0;
49 
50  // Check if an HLT trigger is passed, get the HLT associated HLT tau
51  // matching the given tau, and return the EmTauRoI associated with
52  // it.
53  virtual const xAOD::EmTauRoI *
55  const std::string &trigger,
57  double deltaRCut = 0.3) = 0;
58 
59  // Get the trigger condition that the tool currently uses
60  virtual unsigned int getCondition() = 0;
61  };
62 }
63 
64 #endif
Trig::ITrigTauMatchingTool
Definition: ITrigTauMatching.h:16
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
Trig
The common trigger namespace for trigger analysis tools.
Definition: CaloTowerVecMon.h:44
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
Trig::ITrigTauMatchingTool::getHLT
virtual const xAOD::TauJet * getHLT(const xAOD::TauJet *p, const std::string &trigger, double deltaRCut=0.2)=0
Trig::ITrigTauMatchingTool::~ITrigTauMatchingTool
virtual ~ITrigTauMatchingTool()
Definition: ITrigTauMatching.h:21
xAOD::EmTauRoI_v2
Class describing a LVL1 em/tau region of interest.
Definition: EmTauRoI_v2.h:35
xAOD::TauJet_v3
Class describing a tau jet.
Definition: TauJet_v3.h:41
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
TauJetContainer.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
Trig::ITrigTauMatchingTool::getCondition
virtual unsigned int getCondition()=0
Trig::ITrigTauMatchingTool::matchL1
virtual bool matchL1(const xAOD::TauJet *p, const std::string &trigger, const xAOD::EmTauRoIContainer *c, double deltaRCut=0.3)=0
Trig::ITrigTauMatchingTool::match
virtual bool match(const xAOD::TauJet *p, const std::string &trigger, const xAOD::TauJetContainer *c, double deltaRCut=0.2)=0
EmTauRoIContainer.h
Trig::ITrigTauMatchingTool::match
virtual bool match(const xAOD::TauJet *p, const std::string &trigger, double deltaRCut=0.2)=0
python.compressB64.c
def c
Definition: compressB64.py:93
Trig::ITrigTauMatchingTool::getL1FromHLT
virtual const xAOD::EmTauRoI * getL1FromHLT(const xAOD::TauJet *p, const std::string &trigger, const xAOD::EmTauRoIContainer *c, double deltaRCut=0.3)=0
PhysDESDM_Quirks.trigger
trigger
Definition: PhysDESDM_Quirks.py:27