ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigEFMissingET
src
CVFPrepAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/******************************************************************************
6
* @package Trigger/TrigAlgorithms/TrigEFMissingET
7
* @class CVFPrepAlg
8
*
9
* @brief Algorithm to prepare clusters for the PUSplit pufit alg
10
* @author Jon Burr
11
*****************************************************************************/
12
13
#ifndef TRIGEFMISSINGET_CVFPREPALG_H
14
#define TRIGEFMISSINGET_CVFPREPALG_H
15
16
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
17
#include "
StoreGate/ReadHandleKey.h
"
18
#include "
StoreGate/ReadDecorHandleKey.h
"
19
#include "
StoreGate/WriteDecorHandleKey.h
"
20
#include "
xAODCaloEvent/CaloClusterContainer.h
"
21
#include "Gaudi/Property.h"
22
23
namespace
HLT
24
{
25
namespace
MET
26
{
27
/**************************************************************************
28
* @class PFOPrepAlg
29
*
30
* Class to prepare the clusters for the PUSplit pufit alg.
31
*
32
* This just uses the CVF value per cluster to add the necessary
33
* classification decoration
34
**************************************************************************/
35
class
CVFPrepAlg
:
public
AthReentrantAlgorithm
36
{
37
public
:
39
CVFPrepAlg
(
const
std::string &name, ISvcLocator *pSvcLocator);
40
41
virtual
StatusCode
initialize
()
override
;
42
43
virtual
StatusCode
execute
(
const
EventContext &ctx)
const override
;
44
45
private
:
47
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_inputClusterKey
{
48
this
,
"InputClusterKey"
,
""
,
"Input cluster container"
};
49
50
SG::ReadDecorHandleKey<xAOD::CaloClusterContainer>
m_inputCVFKey
{
51
this
,
"InputCVFKey"
,
""
,
"Input CVF key"
};
52
53
SG::WriteDecorHandleKey<xAOD::CaloClusterContainer>
m_outputCategoryKey
{
54
this
,
"OutputCategoryKey"
,
""
,
"Output category name"
};
55
56
Gaudi::Property<float>
m_cvfThreshold
{
57
this
,
"CVFThreshold"
, 0.5,
"The CVF threshold to apply"
};
58
};
//> end class CVFPrepAlg
59
}
// namespace MET
60
}
// namespace HLT
61
62
#endif
//> !TRIGEFMISSINGET_CVFPREPALG_H
AthReentrantAlgorithm.h
CaloClusterContainer.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
HLT::MET::CVFPrepAlg::m_inputClusterKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_inputClusterKey
The input container.
Definition
CVFPrepAlg.h:47
HLT::MET::CVFPrepAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
CVFPrepAlg.cxx:46
HLT::MET::CVFPrepAlg::CVFPrepAlg
CVFPrepAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
CVFPrepAlg.cxx:16
HLT::MET::CVFPrepAlg::initialize
virtual StatusCode initialize() override
Definition
CVFPrepAlg.cxx:21
HLT::MET::CVFPrepAlg::m_outputCategoryKey
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_outputCategoryKey
The output classifcation.
Definition
CVFPrepAlg.h:53
HLT::MET::CVFPrepAlg::m_inputCVFKey
SG::ReadDecorHandleKey< xAOD::CaloClusterContainer > m_inputCVFKey
The input CVF key.
Definition
CVFPrepAlg.h:50
HLT::MET::CVFPrepAlg::m_cvfThreshold
Gaudi::Property< float > m_cvfThreshold
The CVF threshold.
Definition
CVFPrepAlg.h:56
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
HLT::MET
Definition
METComponent.cxx:8
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition
HLTResultReader.h:26
Generated on
for ATLAS Offline Software by
1.17.0