ATLAS Offline Software
Loading...
Searching...
No Matches
UHT1TauCondition.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGHLTJETHYPO_UHT1TAUCONDITION_H
6#define TRIGHLTJETHYPO_UHT1TAUCONDITION_H
7
8/********************************************************************
9 *
10 * NAME: UHT1TauCondition.h
11 * PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
12 *
13 * AUTHOR: C. Pollard
14 *********************************************************************/
15
16#include <string>
17#include "./ICondition.h"
18#include "AsgTools/AsgTool.h"
20namespace HypoJet{
21 class IJet;
22}
23
25
27 public:
28 UHT1TauCondition(float workingPoint,
29 const std::string &decName_ptau,
30 const std::string &decName_pu,
31 const std::string &decName_isValid = "");
32
33 float getUHT1TauDecValue(const pHypoJet &ip,
34 const std::unique_ptr<ITrigJetHypoInfoCollector> &collector,
35 const std::string &decName) const;
36
37 float evaluateUHT1Tau(const float &uht1tau_ptau,
38 const float &uht1tau_pu) const;
39
40 bool isSatisfied(const HypoJetVector &,
41 const std::unique_ptr<ITrigJetHypoInfoCollector> &) const override;
42
43 virtual unsigned int capacity() const override { return s_capacity; }
44
45 std::string toString() const override;
46
47 private:
49 std::string m_decName_ptau;
50 std::string m_decName_pu;
51 std::string m_decName_isValid;
52
53 bool isSatisfied(const pHypoJet &,
54 const std::unique_ptr<ITrigJetHypoInfoCollector> &) const;
55
56 const static unsigned int s_capacity{1};
57
58};
59
60#endif
std::vector< pHypoJet > HypoJetVector
Definition HypoJetDefs.h:27
std::shared_ptr< const HypoJet::IJet > pHypoJet
Definition HypoJetDefs.h:25
float getUHT1TauDecValue(const pHypoJet &ip, const std::unique_ptr< ITrigJetHypoInfoCollector > &collector, const std::string &decName) const
std::string m_decName_pu
float evaluateUHT1Tau(const float &uht1tau_ptau, const float &uht1tau_pu) const
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
std::string toString() const override
UHT1TauCondition(float workingPoint, const std::string &decName_ptau, const std::string &decName_pu, const std::string &decName_isValid="")
std::string m_decName_ptau
static const unsigned int s_capacity
virtual unsigned int capacity() const override
std::string m_decName_isValid