ATLAS Offline Software
Loading...
Searching...
No Matches
TCFex.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4
5/******************************************************************************
6 * @package Trigger/TrigAlgorithms/TrigEFMissingET
7 * @class TCFex
8 *
9 * @brief Fex class for the basic topocluster algorithm
10 * @author Jon Burr
11 *****************************************************************************/
12
13#ifndef TRIGEFMISSINGET_TCFEX_H
14#define TRIGEFMISSINGET_TCFEX_H
15
16#include "FexBase.h"
18
19namespace HLT { namespace MET {
20 /****************************************************************************
21 * @class TCFex
22 *
23 * Class to create output from the topocluster algorithm
24 *
25 * tc calculates the MET with a sum over trigger-level topoclusters.
26 ***************************************************************************/
27 class TCFex : public FexBase
28 {
29 public:
31 TCFex(const std::string& name, ISvcLocator* pSvcLocator);
32
34 virtual StatusCode initialize() override;
35
36 private:
37 /************************************************************************
38 * Properties
39 ***********************************************************************/
42 this, "ClusterName", "clusters", "Input cluster collection"};
43 // TODO - for this next one I'm not sure what the best option is. We could
44 // keep this logic inside the algorithm, *or* we could use the approach
45 // standard within the jet slice, which is to use different cluster
46 // collections to represent the EM and LCW calibrations (therefore the
47 // differences between calibrated and uncalibrated inputs is at the
48 // configuration level).
50 Gaudi::Property<bool> m_useUncalibrated{
51 this, "UseUncalibrated", false,
52 "Whether to use the uncalibrated clusters in the calculation"};
53
54 /************************************************************************
55 * Internal functions
56 ***********************************************************************/
63 virtual StatusCode fillMET(
65 const EventContext& context,
66 MonGroupBuilder& monitors) const override;
67 }; //> end class TCFex
68} } //> end namespace HLT::MET
69
70#endif //> !TRIGEFMISSINGET_TCFEX_H
FexBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition FexBase.cxx:43
Gaudi::Property< bool > m_useUncalibrated
Whether to use the uncalibrated clusters or not.
Definition TCFex.h:50
TCFex(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition TCFex.cxx:25
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterKey
Input clusters.
Definition TCFex.h:41
virtual StatusCode fillMET(xAOD::TrigMissingET &met, const EventContext &context, MonGroupBuilder &monitors) const override
Calculate and fill the output MET value.
Definition TCFex.cxx:35
virtual StatusCode initialize() override
Initialize the fex.
Definition TCFex.cxx:29
Property holding a SG store/key/clid from which a ReadHandle is made.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
TrigMissingET_v1 TrigMissingET
Define the most recent version of the TrigMissingET class.