|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef AFP_SICLUSTERTOOLS_AFPSICLUSTERTOOL_H
6 #define AFP_SICLUSTERTOOLS_AFPSICLUSTERTOOL_H 1
19 #include "GaudiKernel/ServiceHandle.h"
20 #include "GaudiKernel/ToolHandle.h"
43 #include "nlohmann/json.hpp"
54 :
public extends<AthAlgTool, IAFPSiClusterTool>
68 StatusCode clusterHits(std::unique_ptr<xAOD::AFPSiHitsClusterContainer>& clustr,
const EventContext &ctx)
const override;
74 ToolHandle<IAFPSiClusterAlgTool>
m_clusterAlgToolHandle{
this,
"clusterAlgTool",
"AFPSiClusterAlgTool",
"Tool with algorithm to perform actual clustering"};
77 ToolHandle<IAFPSiRowColToLocalCSTool>
m_rowColToLocalCSToolHandle{
this,
"rowColToLocalCSTool",
"AFPSiRowColToLocalCSTool",
"Tool to rewrite clusters to xAOD and transform rows and columns to station local coordinates"};
80 ToolHandle<GenericMonitoringTool>
m_monTool {
this,
"MonTool",
"",
"Monitoring tool"};
84 ToolHandle<AFP::ISiLocAlignDBTool>
m_siLocAlignDBTool {
this,
"siLocAlignDBTool",
"AFP__SiLocAlignDBTool",
"Tool to access DB to get the local alignment constants"};
87 ToolHandle<AFP::ISiGlobAlignDBTool>
m_siGlobAlignDBTool {
this,
"siGlobAlignDBTool",
"AFP__SiGlobAlignDBTool",
"Tool to access DB to get the global alignment constants"};
93 Gaudi::Property<std::vector<int>>
m_numberOfLayersInStations {
this,
"numberOfLayersInStations",{4,4,4,4},
"The size of the array in argument defines number of stations, the value in each entry defines number of layers in the station."};
110 StatusCode saveToXAOD(std::unique_ptr<xAOD::AFPSiHitsClusterContainer>& clustr, std::vector< std::vector<AFPSiClusterLayerBasicObj> > &my_layers,
const EventContext &ctx)
const;
116 std::vector< std::vector<AFPSiClusterLayerBasicObj> >
initLayers (
const std::vector<int>& layersInStations)
const;
120 #endif // > !AFP_SICLUSTERTOOLS_AFPSICLUSTERTOOL_H
Property holding a SG store/key/clid from which a ReadHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
Header file for class SiLocAlignData.
Header file to be included by clients of the Monitored infrastructure.
Source file for class SiGlobAlignData.