ATLAS Offline Software
Loading...
Searching...
No Matches
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
21#include "Gaudi/Property.h"
22
23namespace 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 **************************************************************************/
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:
48 this, "InputClusterKey", "", "Input cluster container"};
49
51 this, "InputCVFKey", "", "Input CVF key"};
52
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
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_inputClusterKey
The input container.
Definition CVFPrepAlg.h:47
virtual StatusCode execute(const EventContext &ctx) const override
CVFPrepAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode initialize() override
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_outputCategoryKey
The output classifcation.
Definition CVFPrepAlg.h:53
SG::ReadDecorHandleKey< xAOD::CaloClusterContainer > m_inputCVFKey
The input CVF key.
Definition CVFPrepAlg.h:50
Gaudi::Property< float > m_cvfThreshold
The CVF threshold.
Definition CVFPrepAlg.h:56
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...