ATLAS Offline Software
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
7 
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 
CaloLCOutOfClusterTool::m_invalidSamplings
std::set< int > m_invalidSamplings
actual set of samplings to be ignored for out-of-cluster weights
Definition: CaloLCOutOfClusterTool.h:76
CaloLCOutOfClusterTool::weight
virtual StatusCode weight(xAOD::CaloCluster *theCluster, const EventContext &ctx) const override
method to weight the cells in a cluster
Definition: CaloLCOutOfClusterTool.cxx:128
CaloLCOutOfClusterTool::m_updateSamplingVars
bool m_updateSamplingVars
update also sampling variables
Definition: CaloLCOutOfClusterTool.h:84
CaloLCOutOfClusterTool::m_interpolateDimensionNames
std::vector< std::string > m_interpolateDimensionNames
vector of names of dimensions in look-up tables to interpolate
Definition: CaloLCOutOfClusterTool.h:88
CaloLCOutOfClusterTool::m_invalidSamplingNames
std::vector< std::string > m_invalidSamplingNames
vector of names of the calorimeter samplings not to use when applying the out-of-cluster weights.
Definition: CaloLCOutOfClusterTool.h:69
CaloLCOutOfClusterTool::m_useEmProbability
bool m_useEmProbability
look for em-probability moment and apply relative weight only
Definition: CaloLCOutOfClusterTool.h:52
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloLCOutOfClusterTool::~CaloLCOutOfClusterTool
virtual ~CaloLCOutOfClusterTool()
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IClusterCellWeightTool
Interface class for tools weighting cells in CaloCluster objects.
Definition: IClusterCellWeightTool.h:25
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloLCOutOfClusterTool::m_key
SG::ReadCondHandleKey< CaloLocalHadCoeff > m_key
name of the key for out-of-cluster weights
Definition: CaloLCOutOfClusterTool.h:44
CaloLCOutOfClusterTool::m_interpolateDimensions
std::vector< int > m_interpolateDimensions
actual set of dimension id's to interpolate
Definition: CaloLCOutOfClusterTool.h:92
ReadCondHandleKey.h
CaloLCOutOfClusterTool::initialize
virtual StatusCode initialize() override
Definition: CaloLCOutOfClusterTool.cxx:66
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CaloLCOutOfClusterTool
calculates out-of-cluster corrections based on cluster quantities
Definition: CaloLCOutOfClusterTool.h:28
SG::ReadCondHandleKey< CaloLocalHadCoeff >
CaloLocalHadCoeff.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
CaloLCOutOfClusterTool::CaloLCOutOfClusterTool
CaloLCOutOfClusterTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CaloLCOutOfClusterTool.cxx:33
CaloLCOutOfClusterTool::m_useHadProbability
bool m_useHadProbability
look for em-probability moment and apply relative weight only
Definition: CaloLCOutOfClusterTool.h:60
CaloLCOutOfClusterTool::m_interpolate
bool m_interpolate
interpolate correction coefficients
Definition: CaloLCOutOfClusterTool.h:80
IClusterCellWeightTool.h