|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGTAUMONITORING_TRIGTAUMONITORSINGLEALGORITHM_H
6 #define TRIGTAUMONITORING_TRIGTAUMONITORSINGLEALGORITHM_H
8 #include "Gaudi/Parsers/Factory.h"
21 Gaudi::Property<bool>
m_doTotalEfficiency{
this,
"DoTotalEfficiency",
false,
"Do total efficiency histograms"};
24 Gaudi::Property<bool>
m_requireOfflineTaus{
this,
"RequireOfflineTaus",
true,
"Require at leat 1 offline tau per event"};
30 Gaudi::Property<std::map<std::string, std::map<std::string, std::pair<std::string, std::string>>>>
m_monitoredHLTIdScores {
this,
"HLTTauIDScores", {},
"Pairs of the TauID score and signal-transformed scores for each HLT TauID algorithm to be monitored, for each reconstruction sequence (type, e.g. tracktwoMVA, tracktwoLLP, etc...)"};
34 Gaudi::Property<std::map<std::string, std::pair<std::string, std::string>>>
m_monitoredOfflineIdScores {
this,
"OfflineTauIDScores", {},
"Pairs of the TauID score and signal-transformed scores for each Offline TauID algorithm to be monitored"};
39 void fillHLTEfficiencies(
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 std::string& nProng)
const;
40 void fillIDInputVars(
const std::string& trigger,
const std::vector<const xAOD::TauJet*>& tau_vec,
const std::string& nProng,
bool online)
const;
41 void fillIDTrack(
const std::string& trigger,
const std::vector<const xAOD::TauJet*>& tau_vec,
bool online)
const;
42 void fillIDCluster(
const std::string& trigger,
const std::vector<const xAOD::TauJet*>& tau_vec,
bool online)
const;
43 void fillBasicVars(
const EventContext& ctx,
const std::string& trigger,
const std::vector<const xAOD::TauJet*>& tau_vec,
const std::string& nProng,
bool online)
const;
44 void fillIDScores(
const std::string& trigger,
const std::vector<const xAOD::TauJet*>& tau_vec,
const std::string& nProng,
bool online)
const;
46 std::vector<TLorentzVector>
getRoIsVector(
const EventContext& ctx,
const std::string& trigger)
const;
Gaudi::Property< std::map< std::string, std::map< std::string, std::pair< std::string, std::string > > > > m_monitoredHLTIdScores
void fillIDInputVars(const std::string &trigger, const std::vector< const xAOD::TauJet * > &tau_vec, const std::string &nProng, bool online) const
Helper class to provide constant type-safe access to aux data.
TrigTauMonitorSingleAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode processEvent(const EventContext &ctx) const override
Gaudi::Property< std::map< std::string, std::pair< std::string, std::string > > > m_monitoredOfflineIdScores
void fillIDCluster(const std::string &trigger, const std::vector< const xAOD::TauJet * > &tau_vec, bool online) const
std::map< std::string, std::pair< SG::AuxElement::ConstAccessor< float >, SG::AuxElement::ConstAccessor< float > > > m_monitoredOfflineIdAccessors
void fillIDScores(const std::string &trigger, const std::vector< const xAOD::TauJet * > &tau_vec, const std::string &nProng, bool online) const
::StatusCode StatusCode
StatusCode definition for legacy code.
std::map< std::string, std::map< std::string, std::pair< SG::AuxElement::ConstAccessor< float >, SG::AuxElement::ConstAccessor< float > > > > m_monitoredHLTIdAccessors
virtual StatusCode initialize() override
initialize
std::vector< TLorentzVector > getRoIsVector(const EventContext &ctx, const std::string &trigger) const
Gaudi::Property< bool > m_requireOfflineTaus
Gaudi::Property< bool > m_doTotalEfficiency
Gaudi::Property< bool > m_doOfflineTausDistributions
void fillIDTrack(const std::string &trigger, const std::vector< const xAOD::TauJet * > &tau_vec, bool online) const
void fillBasicVars(const EventContext &ctx, const std::string &trigger, const std::vector< const xAOD::TauJet * > &tau_vec, const std::string &nProng, bool online) const
void fillHLTEfficiencies(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 std::string &nProng) const