ATLAS Offline Software
Loading...
Searching...
No Matches
TrigCaloClusterCalibrator.h
Go to the documentation of this file.
1// Hi Emacs ! this is -* C++ -*-
2
3/*
4 * Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6
7/********************************************************************
8 *
9 * NAME: TrigCaloClusterCalibrator
10 * PACKAGE: Trigger/TrigAlgorithms/TrigCaloRec
11 *
12 * AUTHOR: Jon Burr
13 * CREATED: 2020/07/10
14 *
15 * Shallow copy an existing cluster container and apply cluster processors to
16 * it. Largely copied from the TrigCaloClusterMaker.
17 *********************************************************************/
18
19#ifndef TRIGCALOREC_TRIGCALOCLUSTERCALIBRATOR_H
20#define TRIGCALOREC_TRIGCALOCLUSTERCALIBRATOR_H
21
27#include "GaudiKernel/ToolHandle.h"
30
32 public:
33 TrigCaloClusterCalibrator(const std::string& name, ISvcLocator* pSvcLocator);
34
35 virtual StatusCode initialize() override;
36 virtual StatusCode execute(const EventContext& ctx) const override;
37
38 private:
39 ToolHandleArray<CaloClusterProcessor> m_clusterCorrections
40 {this, "ClusterCorrectionTools", {}, ""};
41
43 this, "InputClusters", "",
44 "The input calocluster container to be shallow copied"};
45
47 this, "OutputClusters", "",
48 "The output, calibrated calocluster container"};
49
51 this, "OutputCellLinks", "",
52 "The output cell links containing the updated weights"};
53
54 ToolHandle<GenericMonitoringTool> m_monTool{
55 this, "MonTool", "", "The monitoring tool"};
56
57 Gaudi::Property<bool> m_isSW{
58 this, "IsSW", false,
59 "Is this running corrections to 'SW' clusters? If it is, then cluster "
60 "processors will be run selectively based on the cluster's eta"};
61}; //> end class TrigCaloClusterCalibrator
62
63#endif //> !TRIGCALOREC_TRIGCALOCLUSTERCALIBRATOR_H
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle 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.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
ToolHandle< GenericMonitoringTool > m_monTool
virtual StatusCode initialize() override
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outputClustersKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_inputClustersKey
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_outputCellLinksKey
ToolHandleArray< CaloClusterProcessor > m_clusterCorrections
TrigCaloClusterCalibrator(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override