ATLAS Offline Software
Loading...
Searching...
No Matches
ALFA_Decoder_charge.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ALFA_DECODER_CHARGE_H
6#define ALFA_DECODER_CHARGE_H
7
8#include <stdint.h>
9#include <map>
10#include <string>
11#include "eformat/ROBFragment.h"
12#include "eformat/FullEventFragment.h"
13
15
16#include "GaudiKernel/ToolHandle.h"
17#include "GaudiKernel/ServiceHandle.h"
18#include "GaudiKernel/IToolSvc.h"
19#include "GaudiKernel/MsgStream.h"
20
22
26
30
32
33
34class ISvcLocator;
35class StatusCode;
36
38
39 public:
40
41
42 // Collection type
45
46 // constructor
47 ALFA_Decoder_charge (const std::string& type, const std::string& name, const IInterface* parent);
48
49 // AlgTool InterfaceID
50 static const InterfaceID& interfaceID();
51
52 // destructor
53 virtual ~ALFA_Decoder_charge();
54
55 virtual StatusCode initialize();
56 virtual StatusCode finalize();
57
58 StatusCode fillCollection(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment *robFrag, ALFA_RawDataContainer_charge* rdoCont, std::vector<unsigned int>* vecHash = NULL);
59
62
63 inline const eformat::FullEventFragment<const uint32_t*> * eventFragment() const { return m_event; }
65
66
67private:
68 const eformat::FullEventFragment<const uint32_t*> * m_event = nullptr;
70
71 unsigned int m_fragment_number = 0U;
72
75
76 // Methods for the decoding
80
81 };
82
83#endif
84
ALFA_RawDataCollection_charge * getCollection(unsigned int MotherBoardId, ALFA_RawDataContainer_charge *cont)
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service for reading bytestream.
const eformat::ROBFragment< const uint32_t * > * robFragment() const
static const InterfaceID & interfaceID()
StatusCode fillCollection(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment *robFrag, ALFA_RawDataContainer_charge *rdoCont, std::vector< unsigned int > *vecHash=NULL)
ALFA_RawData_charge m_ALFA_RawData_charge
ALFA_RawDataCollection_charge m_ALFA_RawDataCollection_charge
const eformat::ROBFragment< const uint32_t * > * m_robFrag
ALFA_RawData_charge * getRawData_charge(unsigned int PMFId, ALFA_RawDataCollection_charge *coll)
ALFA_Decoder_charge(const std::string &type, const std::string &name, const IInterface *parent)
const eformat::FullEventFragment< const uint32_t * > * m_event
const eformat::FullEventFragment< const uint32_t * > * eventFragment() const
ALFA_RawDataCollectionReadOut * m_ALFA_RawDataCollectionReadOut
virtual StatusCode finalize()
virtual StatusCode initialize()
ALFA_RawDataContainerReadOut * m_ALFA_RawDataContainerReadOut
ALFA_RawDataReadOut_charge * m_ALFA_RawDataReadOut_charge
RDOs : Chamber Service Module, collection of RawData.
This container provides acces to the PMF RDOs.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
eformat::ROBFragment< PointerType > ROBFragment
Definition RawEvent.h:27