ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkBPhys
DerivationFrameworkBPhys
TriggerCountToMetadata.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
//============================================================================
5
//
6
// Author : Matteo Bedognetti <matteo.bedognetti@cern.ch.>
7
// Changes:
8
//
9
// Store trigger counts for specific chains in the DAOD's MetaData.
10
// This allows it to store information about triggers upon which events are NOT selected during the derivation
11
//
12
// Job options:
13
// - TriggerList -- a vector containing all triggers to store as strings
14
// - TrigDecisionTool -- if one wants to pass this a specific TrigDecisionTool
15
//
16
//============================================================================
17
//
18
#ifndef DERIVATIONFRAMEWORK_TriggerCountToMetadata_H
19
#define DERIVATIONFRAMEWORK_TriggerCountToMetadata_H
20
21
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
22
#include "GaudiKernel/ToolHandle.h"
23
#include "
DerivationFrameworkBPhys/CfAthAlgTool.h
"
24
#include "
TrigDecisionTool/TrigDecisionTool.h
"
25
26
#include <string>
27
#include <vector>
28
29
namespace
Trig
{
30
class
TrigDecisionTool
;
31
}
32
33
namespace
DerivationFramework
{
34
35
class
ATLAS_NOT_THREAD_SAFE
TriggerCountToMetadata
:
virtual
public
CfAthAlgTool
,
virtual
public
IAugmentationTool
{
36
37
public
:
38
TriggerCountToMetadata
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
);
39
virtual
StatusCode
initialize
()
override
;
40
virtual
StatusCode
addBranches()
const override
;
41
42
private
:
//Don't use protected for this one!
43
44
std::vector<std::string>
m_triggerList
;
45
ToolHandle<Trig::TrigDecisionTool>
m_trigDecisionTool
;
46
std::string
m_folderName
;
47
48
};
// class
49
}
// namespace
50
51
#endif // DERIVATIONFRAMEWORK_TriggerCountToMetadata_H
Trig
The common trigger namespace for trigger analysis tools.
Definition:
LArCellMonAlg.h:33
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition:
checker_macros.h:212
IAugmentationTool.h
initialize
void initialize()
Definition:
run_EoverP.cxx:894
TrigDecisionTool.h
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
DerivationFramework::IAugmentationTool
Definition:
IAugmentationTool.h:24
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
DerivationFramework::TriggerCountToMetadata
Definition:
TriggerCountToMetadata.h:35
beamspotman.n
n
Definition:
beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework
THE reconstruction tool.
Definition:
ParticleSortingAlg.h:24
DerivationFramework::TriggerCountToMetadata::m_trigDecisionTool
ToolHandle< Trig::TrigDecisionTool > m_trigDecisionTool
Definition:
TriggerCountToMetadata.h:45
DerivationFramework::TriggerCountToMetadata::m_folderName
std::string m_folderName
Definition:
TriggerCountToMetadata.h:46
CfAthAlgTool.h
LArSCvsRawChannelConfig.TrigDecisionTool
TrigDecisionTool
Definition:
LArSCvsRawChannelConfig.py:83
DerivationFramework::TriggerCountToMetadata::m_triggerList
std::vector< std::string > m_triggerList
Definition:
TriggerCountToMetadata.h:44
DerivationFramework::CfAthAlgTool
Definition:
CfAthAlgTool.h:35
Generated on Mon Nov 18 2024 21:29:40 for ATLAS Offline Software by
1.8.18