ATLAS Offline Software
Loading...
Searching...
No Matches
CaloLCOutOfClusterTool.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#ifndef CALOUTILS_CALOLCOUTOFCLUSTERTOOL_H
6#define CALOUTILS_CALOLCOUTOFCLUSTERTOOL_H
20
25#include "GaudiKernel/EventContext.h"
26
28{
29 public:
30
32
33 virtual StatusCode weight(xAOD::CaloCluster* theCluster, const EventContext& ctx) const override;
34 virtual StatusCode initialize() override;
35
36 CaloLCOutOfClusterTool(const std::string& type,
37 const std::string& name,
38 const IInterface* parent);
39
40 private:
41
45
53
61
69 std::vector<std::string> m_invalidSamplingNames;
70
76 std::set<int> m_invalidSamplings;
77
81
85
88 std::vector<std::string> m_interpolateDimensionNames;
89
92 std::vector<int> m_interpolateDimensions;
93
94};
95
96#endif
97
98
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
bool m_useHadProbability
look for em-probability moment and apply relative weight only
bool m_useEmProbability
look for em-probability moment and apply relative weight only
bool m_updateSamplingVars
update also sampling variables
std::vector< int > m_interpolateDimensions
actual set of dimension id's to interpolate
std::vector< std::string > m_invalidSamplingNames
vector of names of the calorimeter samplings not to use when applying the out-of-cluster weights.
bool m_interpolate
interpolate correction coefficients
std::vector< std::string > m_interpolateDimensionNames
vector of names of dimensions in look-up tables to interpolate
virtual StatusCode weight(xAOD::CaloCluster *theCluster, const EventContext &ctx) const override
method to weight the cells in a cluster
CaloLCOutOfClusterTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize() override
SG::ReadCondHandleKey< CaloLocalHadCoeff > m_key
name of the key for out-of-cluster weights
virtual ~CaloLCOutOfClusterTool()
std::set< int > m_invalidSamplings
actual set of samplings to be ignored for out-of-cluster weights
Interface class for tools weighting cells in CaloCluster objects.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.