Skip to content
Snippets Groups Projects

Draft: [trigEGam] Integration beteween mongroups and TrigEgammaMonitoring

Closed Edmar Egidio Purcino De Souza requested to merge eegidiop/athena:tegmonGroups into 22.0
7 files
+ 32
200
Compare changes
  • Side-by-side
  • Inline
Files
7
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
*/
#ifndef ALFA_RAWDATAPROVIDERTOOL_H
#define ALFA_RAWDATAPROVIDERTOOL_H
#include "AthenaBaseComps/AthAlgTool.h"
#include "ByteStreamCnvSvcBase/IROBDataProviderSvc.h"
#include "GaudiKernel/ToolHandle.h"
#include "GaudiKernel/ServiceHandle.h"
#include "GaudiKernel/IToolSvc.h"
#include "ByteStreamData/RawEvent.h"
#include "AthContainers/DataVector.h"
#include "ALFA_RawEv/ALFA_RawDataContainer.h"
#include "ALFA_RawEv/ALFA_RawDataCollection.h"
@@ -42,9 +33,6 @@ class ALFA_RawDataProviderTool : public AthAlgTool
public:
//! AthAlgTool InterfaceID
static const InterfaceID& interfaceID();
//! constructor
ALFA_RawDataProviderTool(const std::string& type, const std::string& name, const IInterface* parent);
@@ -52,23 +40,14 @@ class ALFA_RawDataProviderTool : public AthAlgTool
virtual ~ALFA_RawDataProviderTool();
//! initialize
virtual StatusCode initialize();
//! finalize
virtual StatusCode finalize();
virtual StatusCode initialize() override;
//! this is the main decoding method
StatusCode convert(std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>& vecRobs,ALFA_RawDataContainer* rdoCont);
private:
ToolHandle<ALFA_Decoder> m_decoder;
// bookkeeping if we have decoded a ROB already
std::set<uint32_t> m_robIdSet;
unsigned int m_lastLvl1ID;
ToolHandle<ALFA_Decoder> m_decoder{this, "Decoder", "ALFA_Decoder"};
};
Loading