This tool uses a CaloClusterCollectionProcessor to calculate new moments for the modified calorimeter clusters (modified when we do the charged shower subtraction), and makes use of IPFClusterCollectionTool to generate a VIEW container of xAOD::CaloCluster to be used in the CaloClusterCollectionProcessor tool.
More...
#include <PFMomentCalculatorTool.h>
|
ToolHandle< IPFClusterCollectionTool > | m_clusterCollectionTool {this,"PFClusterCollectionTool","eflowRecClusterCollectionTool","Tool to put all clusters into a temporary container - then we use this to calculate moments, some of which depend on configuration of nearby clusters"} |
| Tool to put all clusters into a temporary container - then we use this to calculate moments, some of which depend on configuration of nearby clusters. More...
|
|
ToolHandle< CaloClusterCollectionProcessor > | m_clusterMomentsMaker {this,"CaloClusterMomentsMaker","CaloClusterMomentsMaker","Tool to calculate cluster moments"} |
| Tool to calculate cluster moments. More...
|
|
ToolHandle< CaloClusterCollectionProcessor > | m_clusterCalibHitMomentsMaker2 {this,"CaloCalibClusterMomentsMaker2","CaloCalibClusterMomentsMaker2","Tool to calculate calibration hit cluster moments"} |
| Tool to calculate calibration hit truth cluster moments. More...
|
|
Gaudi::Property< bool > | m_LCMode {this,"LCMode",false,"Toggle whether we are in LC mode - false by default"} |
| Toggle whether we are in LC mode - false by default. More...
|
|
Gaudi::Property< bool > | m_useCalibHitTruth {this,"UseCalibHitTruth",false,"Toggle usage of calibration hit truth - false by default"} |
| Toggle usage of calibration hit truth - false by default. More...
|
|
This tool uses a CaloClusterCollectionProcessor to calculate new moments for the modified calorimeter clusters (modified when we do the charged shower subtraction), and makes use of IPFClusterCollectionTool to generate a VIEW container of xAOD::CaloCluster to be used in the CaloClusterCollectionProcessor tool.
Inherits from IPFBaseAlgTool.
Definition at line 20 of file PFMomentCalculatorTool.h.
◆ PFMomentCalculatorTool()
PFMomentCalculatorTool::PFMomentCalculatorTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~PFMomentCalculatorTool()
PFMomentCalculatorTool::~PFMomentCalculatorTool |
( |
| ) |
|
|
inline |
◆ execute()
Definition at line 31 of file PFMomentCalculatorTool.cxx.
34 bool useNonModifiedClusters =
true;
35 if (
true ==
m_LCMode) useNonModifiedClusters =
false;
36 std::unique_ptr<xAOD::CaloClusterContainer> tempClusterContainer =
m_clusterCollectionTool->execute(theEflowCaloObjectContainer, useNonModifiedClusters);
49 return StatusCode::SUCCESS;
◆ finalize()
StatusCode PFMomentCalculatorTool::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode PFMomentCalculatorTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_clusterCalibHitMomentsMaker2
◆ m_clusterCollectionTool
ToolHandle<IPFClusterCollectionTool> PFMomentCalculatorTool::m_clusterCollectionTool {this,"PFClusterCollectionTool","eflowRecClusterCollectionTool","Tool to put all clusters into a temporary container - then we use this to calculate moments, some of which depend on configuration of nearby clusters"} |
|
private |
Tool to put all clusters into a temporary container - then we use this to calculate moments, some of which depend on configuration of nearby clusters.
Definition at line 35 of file PFMomentCalculatorTool.h.
◆ m_clusterMomentsMaker
◆ m_LCMode
Gaudi::Property<bool> PFMomentCalculatorTool::m_LCMode {this,"LCMode",false,"Toggle whether we are in LC mode - false by default"} |
|
private |
◆ m_useCalibHitTruth
Gaudi::Property<bool> PFMomentCalculatorTool::m_useCalibHitTruth {this,"UseCalibHitTruth",false,"Toggle usage of calibration hit truth - false by default"} |
|
private |
The documentation for this class was generated from the following files:
static void calculateKine(xAOD::CaloCluster *clu, const bool useweight=true, const bool updateLayers=true, const bool useGPUCriteria=false)
Helper class to calculate cluster kinematics based on cells.