ATLAS Offline Software
Trigger
TrigMonitoring
TrigTauMonitoring
src
TrigTauMonitorDiTauAlgorithm.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGTAUMONITORING_TRIGTAUMONITORDITAUALGORITHM_H
6
#define TRIGTAUMONITORING_TRIGTAUMONITORDITAUALGORITHM_H
7
8
#include "
TrigTauMonitorBaseAlgorithm.h
"
9
10
class
TrigTauMonitorDiTauAlgorithm
:
public
TrigTauMonitorBaseAlgorithm
{
11
public
:
12
TrigTauMonitorDiTauAlgorithm
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
13
14
private
:
15
// Enable total efficiency histograms
16
// Note: Should only be used when reprocessing EB or MC data. Comparisons of total efficiencies between chains on normal data-taking
17
// conditions would be meaningless, since different L1/HLT items can have different prescales, and are not within a Coherent-Prescale-Set
18
Gaudi::Property<bool>
m_doTotalEfficiency
{
this
,
"DoTotalEfficiency"
,
false
,
"Do total efficiency histograms"
};
19
20
// Require at least 1 offline Tau per event (will bias the variable distributions for background events)
21
Gaudi::Property<bool>
m_requireOfflineTaus
{
this
,
"RequireOfflineTaus"
,
true
,
"Require at leat 1 offline tau per event"
};
22
23
virtual
StatusCode
processEvent
(
const
EventContext& ctx)
const override
;
24
25
void
fillDiTauHLTEfficiencies
(
const
EventContext& ctx,
const
std::string& trigger,
const
bool
l1_accept_flag,
const
std::vector<const xAOD::TauJet*>& offline_tau_vec,
const
std::vector<const xAOD::TauJet*>& online_tau_vec)
const
;
26
void
fillDiTauVars
(
const
std::string& trigger,
const
std::vector<const xAOD::TauJet*>& tau_vec)
const
;
27
};
28
29
#endif
TrigTauMonitorDiTauAlgorithm::m_requireOfflineTaus
Gaudi::Property< bool > m_requireOfflineTaus
Definition:
TrigTauMonitorDiTauAlgorithm.h:21
TrigTauMonitorDiTauAlgorithm
Definition:
TrigTauMonitorDiTauAlgorithm.h:10
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigTauMonitorBaseAlgorithm.h
TrigTauMonitorDiTauAlgorithm::fillDiTauHLTEfficiencies
void fillDiTauHLTEfficiencies(const EventContext &ctx, const std::string &trigger, const bool l1_accept_flag, const std::vector< const xAOD::TauJet * > &offline_tau_vec, const std::vector< const xAOD::TauJet * > &online_tau_vec) const
Definition:
TrigTauMonitorDiTauAlgorithm.cxx:48
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
TrigTauMonitorBaseAlgorithm
Definition:
TrigTauMonitorBaseAlgorithm.h:24
TrigTauMonitorDiTauAlgorithm::m_doTotalEfficiency
Gaudi::Property< bool > m_doTotalEfficiency
Definition:
TrigTauMonitorDiTauAlgorithm.h:18
TrigTauMonitorDiTauAlgorithm::processEvent
virtual StatusCode processEvent(const EventContext &ctx) const override
Definition:
TrigTauMonitorDiTauAlgorithm.cxx:13
TrigTauMonitorDiTauAlgorithm::TrigTauMonitorDiTauAlgorithm
TrigTauMonitorDiTauAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
TrigTauMonitorDiTauAlgorithm.cxx:8
TrigTauMonitorDiTauAlgorithm::fillDiTauVars
void fillDiTauVars(const std::string &trigger, const std::vector< const xAOD::TauJet * > &tau_vec) const
Definition:
TrigTauMonitorDiTauAlgorithm.cxx:109
Generated on Thu Nov 7 2024 21:30:13 for ATLAS Offline Software by
1.8.18