ATLAS Offline Software
ByteStreamCnvSvcBase.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 #ifndef BYTESTREAMCNVSVCBASE_BYTESTREAMCNVSVCBASE_H
6 #define BYTESTREAMCNVSVCBASE_BYTESTREAMCNVSVCBASE_H
7 
8 #include "GaudiKernel/IIncidentListener.h"
12 
17 class ByteStreamCnvSvcBase : public extends<::AthCnvSvc, IIncidentListener> {
18 
19 public:
21  ByteStreamCnvSvcBase(const std::string& name, ISvcLocator* pSvcLocator);
23  virtual ~ByteStreamCnvSvcBase();
25  virtual StatusCode initialize() override;
26 
28  virtual StatusCode updateServiceState(IOpaqueAddress* pAddress) override;
29 
31  virtual void handle(const Incident&) override;
32 
33 protected: // data
34  std::vector<std::string> m_initCnvs;
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 
38 private:
43  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
ByteStreamCnvSvcBase::ByteStreamCnvSvcBase
ByteStreamCnvSvcBase(const std::string &name, ISvcLocator *pSvcLocator)
Standard Service Constructor.
Definition: ByteStreamCnvSvcBase.cxx:16
ByteStreamCnvSvcBase::handle
virtual void handle(const Incident &) override
Implementation of IIncidentListener: Handle for EndEvent incidence.
Definition: ByteStreamCnvSvcBase.cxx:52
AthCnvSvc.h
ByteStreamCnvSvcBase::~ByteStreamCnvSvcBase
virtual ~ByteStreamCnvSvcBase()
Destructor.
Definition: ByteStreamCnvSvcBase.cxx:23
IByteStreamEventAccess.h
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ByteStreamCnvSvcBase::m_initCnvs
std::vector< std::string > m_initCnvs
Definition: ByteStreamCnvSvcBase.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ByteStreamCnvSvcBase::m_isTestbeam
Gaudi::Property< bool > m_isTestbeam
flags for TestBeam EventType
Definition: ByteStreamCnvSvcBase.h:47
ByteStreamCnvSvcBase
The base class for offline and HLT ByteStream conversion services.
Definition: ByteStreamCnvSvcBase.h:17
ByteStreamCnvSvcBase::m_isCalibration
Gaudi::Property< bool > m_isCalibration
flags for Calibration EventType
Definition: ByteStreamCnvSvcBase.h:49
ByteStreamCnvSvcBase::m_ROD2ROBmap
Gaudi::Property< std::vector< std::string > > m_ROD2ROBmap
Definition: ByteStreamCnvSvcBase.h:36
ByteStreamCnvSvcBase::updateServiceState
virtual StatusCode updateServiceState(IOpaqueAddress *pAddress) override
Checks whether an IOpaqueAddress is a GenericAddress.
Definition: ByteStreamCnvSvcBase.cxx:42
ByteStreamCnvSvcBase::initialize
virtual StatusCode initialize() override
Required of all Gaudi Services.
Definition: ByteStreamCnvSvcBase.cxx:27
ByteStreamCnvSvcBase::m_isSimulation
Gaudi::Property< bool > m_isSimulation
Definition: ByteStreamCnvSvcBase.h:45