ATLAS Offline Software
Loading...
Searching...
No Matches
CaloComputeSWcellWeights.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//Dear emacs, this is -*-c++-*-
6
7#ifndef CALOCLUSTERCORRECTION_CALOCOMPUTESWCELLWEIGHTS_H
8#define CALOCLUSTERCORRECTION_CALOCOMPUTESWCELLWEIGHTS_H
9/********************************************************************
10
11NAME: CaloComputeSWcellWeights.h
12PACKAGE: offline/Calorimeter/CaloClusterCorrection
13
14AUTHORS: D. Lelas
15CREATED: Dec. 02, 2005
16
17PURPOSE: - Compute simple cell weights for Sliding Window
18 clusters, to solve double-counting of cells' energies
19 for cells shared by two or more clusters.
20
21 This tool does not update the cluster kinematics,
22 only the cell weights. It should be followed by
23 a pass of CaloFillRectangularCluster with fill_cluster
24 set to False.
25
26********************************************************************/
27
28// INCLUDE HEADER FILES:
30
32{
33
34 public:
35
36 // Constructor
37 CaloComputeSWcellWeights(const std::string& type,
38 const std::string& name,
39 const IInterface* parent);
40
41 using CaloClusterCollectionProcessor::execute; // xxx temporary
42 StatusCode execute(const EventContext& ctx,
43 xAOD::CaloClusterContainer* clusColl) const override;
44
45 private:
46
48};
49
50#endif
Base class for cluster processing tools called from CaloClusterMaker.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *clusColl) const override
Execute on an entire collection of clusters.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.