ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterCopier.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5//Dear emacs, this is -*-c++-*-
6#ifndef CALOREC_CALOCLUSTERCOPIER_H
7#define CALOREC_CALOCLUSTERCOPIER_H
8
9/********************************************************************
10
11NAME: CaloClusterCopier.h
12PACKAGE: offline/Calorimeter/CaloRec
13
14AUTHORS: D. Rousseau, copied from LArClusterCopier from Hong
15CREATED: September 1005
16
17PURPOSE: Copy a CaloClusterContainer, and its Clusters, into another
18 CaloClusterContainer
19
20 Input: Input ClusterContainer
21 Output: new Cluster container
22 Parameters:
23
24Updated: May 5, 2004 (Sven Menke)
25 base class changed from algo to tool
26
27********************************************************************/
28
29// cluster builder with simple Algorithm (fixed cone around seed)
30
33
35 public:
36
37 // constructor
38 CaloClusterCopier(const std::string& type, const std::string& name,
39 const IInterface* parent);
40 // destructor
41 virtual ~CaloClusterCopier() override;
42
43 // Algorithm virtual methods
45 virtual StatusCode initialize() override;
46 virtual StatusCode execute(const EventContext& ctx,
47 xAOD::CaloClusterContainer* ) const override;
48
49 void getClusterSize();
50
51 private:
52 // properties
56 float m_etCut;
58
59};
60
61#endif
62
63
64
65
66
67
68
69
70
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.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *) const override
Execute on an entire collection of clusters.
CaloClusterCopier(const std::string &type, const std::string &name, const IInterface *parent)
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clustersKey
virtual StatusCode initialize() override
xAOD::CaloCluster::ClusterSize m_clusterSize
virtual ~CaloClusterCopier() override
Property holding a SG store/key/clid from which a ReadHandle is made.
ClusterSize
Enumeration to identify different cluster sizes.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.