ATLAS Offline Software
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:
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
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
CaloClusterCollectionProcessor
Definition: CaloClusterCollectionProcessor.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloComputeSWcellWeights::execute
StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *clusColl) const override
Execute on an entire collection of clusters.
Definition: CaloComputeSWcellWeights.cxx:46
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloComputeSWcellWeights::CaloComputeSWcellWeights
CaloComputeSWcellWeights()
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
CaloComputeSWcellWeights
Definition: CaloComputeSWcellWeights.py:1
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26