ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
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
11
NAME: CaloComputeSWcellWeights.h
12
PACKAGE: offline/Calorimeter/CaloClusterCorrection
13
14
AUTHORS: D. Lelas
15
CREATED: Dec. 02, 2005
16
17
PURPOSE: - 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:
29
#include "
CaloUtils/CaloClusterCollectionProcessor.h
"
30
31
class
CaloComputeSWcellWeights
:
public
AthAlgTool
,
virtual
public
CaloClusterCollectionProcessor
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
47
CaloComputeSWcellWeights
();
48
};
49
50
#endif
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CaloClusterCollectionProcessor
Definition
CaloClusterCollectionProcessor.h:29
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
CaloComputeSWcellWeights::CaloComputeSWcellWeights
CaloComputeSWcellWeights()
CaloComputeSWcellWeights::execute
StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *clusColl) const override
Execute on an entire collection of clusters.
Definition
CaloComputeSWcellWeights.cxx:46
CaloComputeSWcellWeights
Definition
CaloComputeSWcellWeights.py:1
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
type
Generated on
for ATLAS Offline Software by
1.17.0