ATLAS Offline Software
xAODClusterCompressor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //Dear emacs, this is -*-c++-*-
6 #ifndef CALOUTILS_XAODCLUSTERCOMPRESSOR_H
7 #define CALOUTILS_XAODCLUSTERCOMPRESSOR_H 1
8 
9 // STL includes
10 #include <string>
11 
12 // FrameWork includes
16 
18 
20  public extends<AthService, IxAODClusterCompressor> {
21 
23  // Public methods:
25  public:
26 
29  xAODClusterCompressor(const std::string& name, ISvcLocator* pSvcLocator);
30 
31  virtual StatusCode initialize() override;
32 
33  virtual void compress(xAOD::CaloClusterContainer* clustercontainer) const override;
34 
35  //List of all moments
36  typedef std::array< xAOD::CaloCluster::MomentType,60> momentList_t;
38 
39  //Use Float compressor from CxxUtils
41 
42  //JobO-driven flag to turn compression on/off
44 
45 };
46 
47 #endif //> !CALOUTILS_XAODCLUSTERCOMPRESSOR_H
xAODClusterCompressor::m_compressor
CxxUtils::FloatCompressor m_compressor
Definition: xAODClusterCompressor.h:40
CxxUtils::FloatCompressor
Class implementing a lossy float compression.
Definition: FloatCompressor.h:30
xAODClusterCompressor::momentList_t
std::array< xAOD::CaloCluster::MomentType, 60 > momentList_t
Definition: xAODClusterCompressor.h:36
FloatCompressor.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODClusterCompressor::initialize
virtual StatusCode initialize() override
Definition: xAODClusterCompressor.cxx:31
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
xAODClusterCompressor::compress
virtual void compress(xAOD::CaloClusterContainer *clustercontainer) const override
Definition: xAODClusterCompressor.cxx:40
xAODClusterCompressor::m_allMoments
momentList_t m_allMoments
Definition: xAODClusterCompressor.h:37
xAODClusterCompressor::m_isEnabled
bool m_isEnabled
Definition: xAODClusterCompressor.h:43
CaloClusterContainer.h
AthService.h
xAODClusterCompressor::xAODClusterCompressor
xAODClusterCompressor()=delete
xAODClusterCompressor
Definition: xAODClusterCompressor.h:20
IxAODClusterCompressor.h