ATLAS Offline Software
Loading...
Searching...
No Matches
ByteStreamCnvSvcBase.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef BYTESTREAMCNVSVCBASE_BYTESTREAMCNVSVCBASE_H
6#define BYTESTREAMCNVSVCBASE_BYTESTREAMCNVSVCBASE_H
7
8#include "GaudiKernel/IIncidentListener.h"
12
17class ByteStreamCnvSvcBase : public extends<::AthCnvSvc, IIncidentListener> {
18
19public:
21 ByteStreamCnvSvcBase(const std::string& name, ISvcLocator* pSvcLocator);
25 virtual StatusCode initialize() override;
26
28 virtual StatusCode updateServiceState(IOpaqueAddress* pAddress) override;
29
31 virtual void handle(const Incident&) override;
32
33protected: // data
34 Gaudi::Property<std::vector<std::string>> m_initCnvs{this, "InitCnvs", {}, "Converters to initialize"};
35 // This property is used by Tile BS converter, not by this class.
36 Gaudi::Property<std::vector<std::string>> m_ROD2ROBmap{this, "ROD2ROBmap", {}, "", "OrderedSet<std::string>"};
37
38private:
45 Gaudi::Property<bool> m_isSimulation{this, "IsSimulation", false};
47 Gaudi::Property<bool> m_isTestbeam{this, "IsTestbeam", false};
49 Gaudi::Property<bool> m_isCalibration{this, "IsCalibration", false};
51};
52
53#endif
Gaudi::Property< std::vector< std::string > > m_ROD2ROBmap
virtual StatusCode initialize() override
Required of all Gaudi Services.
virtual void handle(const Incident &) override
Implementation of IIncidentListener: Handle for EndEvent incidence.
ByteStreamCnvSvcBase(const std::string &name, ISvcLocator *pSvcLocator)
Standard Service Constructor.
virtual StatusCode updateServiceState(IOpaqueAddress *pAddress) override
Checks whether an IOpaqueAddress is a GenericAddress.
virtual ~ByteStreamCnvSvcBase()
Destructor.
Gaudi::Property< bool > m_isTestbeam
flags for TestBeam EventType
Gaudi::Property< bool > m_isCalibration
flags for Calibration EventType
Gaudi::Property< std::vector< std::string > > m_initCnvs
Gaudi::Property< bool > m_isSimulation