ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloRecGPU
src
CaloMomentsDumper.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
//
4
// Dear emacs, this is -*- c++ -*-
5
//
6
7
#ifndef CALORECGPU_CALOMOMENTSDUMPER_H
8
#define CALORECGPU_CALOMOMENTSDUMPER_H
9
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "
CaloUtils/CaloClusterCollectionProcessor.h
"
12
#include <string>
13
14
15
class
CaloCell_ID
;
16
23
24
class
CaloMomentsDumper
:
25
public
extends<AthAlgTool, CaloClusterCollectionProcessor>
26
{
27
public
:
28
29
using
base_class::base_class;
30
31
using
CaloClusterCollectionProcessor::execute
;
32
33
virtual
StatusCode
execute
(
const
EventContext& ctx,
xAOD::CaloClusterContainer
* cluster_collection)
const override
;
34
35
virtual
~CaloMomentsDumper
() =
default
;
36
37
private
:
38
39
44
Gaudi::Property<std::string>
m_savePath
{
this
,
"SavePath"
,
"./cluster_dump"
,
"Path to where the files should be saved"
};
45
49
Gaudi::Property<std::string>
m_filePrefix
{
this
,
"FilePrefix"
,
""
,
"Prefix of the saved files"
};
50
54
Gaudi::Property<std::string>
m_fileSuffix
{
this
,
"FileSuffix"
,
""
,
"Suffix of the saved files"
};
55
59
Gaudi::Property<unsigned int>
m_numWidth
{
this
,
"NumberWidth"
, 9,
"The number of digits to reserve for the events"
};
60
61
};
62
63
#endif
//CALORECGPU_CALOMOMENTSDUMPER_H
AthAlgTool.h
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
CaloMomentsDumper
Outputs cluster moments (and other assorted properties) to text files.
Definition
CaloMomentsDumper.h:26
CaloMomentsDumper::m_savePath
Gaudi::Property< std::string > m_savePath
The path specifying the folder to which the files should be saved.
Definition
CaloMomentsDumper.h:44
CaloMomentsDumper::m_fileSuffix
Gaudi::Property< std::string > m_fileSuffix
The suffix of the saved files.
Definition
CaloMomentsDumper.h:54
CaloMomentsDumper::m_filePrefix
Gaudi::Property< std::string > m_filePrefix
The prefix of the saved files.
Definition
CaloMomentsDumper.h:49
CaloMomentsDumper::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *cluster_collection) const override
Definition
CaloMomentsDumper.cxx:16
CaloMomentsDumper::m_numWidth
Gaudi::Property< unsigned int > m_numWidth
The number of digits to reserve for the events.
Definition
CaloMomentsDumper.h:59
CaloMomentsDumper::~CaloMomentsDumper
virtual ~CaloMomentsDumper()=default
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0