ATLAS Offline Software
Loading...
Searching...
No Matches
PFUnifiedSubtractionOnlyTruthTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PFUNIFIEDSUBTRACTIONONLYTRUTHTOOL_H
6#define PFUNIFIEDSUBTRACTIONONLYTRUTHTOOL_H
7
10
11class eflowCaloObject;
12struct PFData;
13
14
16
17public:
20
21 virtual StatusCode initialize() override;
22 virtual StatusCode processPFlowData(const EventContext& ctx, PFData &thePFData) const override;
23
24private:
25
26 void performSubtraction(const EventContext& ctx, const unsigned int& startingPoint, const unsigned int& nCaloObj, PFData &data ) const override;
27 void performSubtraction(eflowCaloObject& thisEflowCaloObject) const override;
28
30 Gaudi::Property<bool> m_useFullCellTruthSubtraction{this,"useFullCellTruthSubtraction",true,"Toggle whether we fully remove a cell with a truth deposit or reweight it based on truth contribution"};
31
32 ToolHandle<PFSimulateTruthShowerTool> m_theTruthShowerSimulator{this, "PFSimulateTruthShowerTool", "", "The truth shower simulator"};
33
34
35};
36
37#endif
PFUnifiedSubtractionOnlyTool(const std::string &type, const std::string &name, const IInterface *parent)
PFUnifiedSubtractionOnlyTool(const std::string &type, const std::string &name, const IInterface *parent)
ToolHandle< PFSimulateTruthShowerTool > m_theTruthShowerSimulator
Gaudi::Property< bool > m_useFullCellTruthSubtraction
Toggle whether we fully remove a cell with a truth deposit or reweight it based on truth contribution...
virtual StatusCode processPFlowData(const EventContext &ctx, PFData &thePFData) const override
void performSubtraction(const EventContext &ctx, const unsigned int &startingPoint, const unsigned int &nCaloObj, PFData &data) const override
An internal EDM object which stores information about systems of associated tracks and calorimeter cl...