ATLAS Offline Software
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 
19 namespace 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
HLT::MET::TCFex::m_clusterKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterKey
Input clusters.
Definition: TCFex.h:65
SG::ReadHandleKey< xAOD::CaloClusterContainer >
HLT::MET::TCFex::fillMET
virtual StatusCode fillMET(xAOD::TrigMissingET &met, const EventContext &context, MonGroupBuilder &monitors) const override
Calculate and fill the output MET value.
Definition: TCFex.cxx:35
HLT::MET::TCFex::TCFex
TCFex(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: TCFex.cxx:25
met
Definition: IMETSignificance.h:24
FexBase.h
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition: HLTResultReader.h:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HLT::MET::TCFex::initialize
virtual StatusCode initialize() override
Initialize the fex.
Definition: TCFex.cxx:29
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
MET
Definition: MET.py:1
HLT::MET::MonGroupBuilder
Definition: MonGroupBuilder.h:45
xAOD::TrigMissingET_v1
Class holding the Missing ET trigger fex results.
Definition: TrigMissingET_v1.h:32
CaloClusterContainer.h
HLT::MET::TCFex::m_useUncalibrated
Gaudi::Property< bool > m_useUncalibrated
Whether to use the uncalibrated clusters or not.
Definition: TCFex.h:74