ATLAS Offline Software
Loading...
Searching...
No Matches
BCM_RodDecoder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6// BCM_RodDecoder.h
7// Header file for class BCM_RodDecoder
9// Version 00-00-01 12/05/2008 Daniel Dobos
10// Version 00-00-11 05/02/2009 Daniel Dobos
12
13#ifndef BCM_RAWDATABYTESTREAMCNV_BCM_RODDECODER_H
14#define BCM_RAWDATABYTESTREAMCNV_BCM_RODDECODER_H
15
17
21
23#include "eformat/SourceIdentifier.h"
24#include <atomic>
25
27{
28
29public:
30
31 // Collection type
34
35 // delegate constructor
37
38 static const InterfaceID& interfaceID();
39
40 // destructor
41 virtual ~BCM_RodDecoder();
42
43 virtual StatusCode initialize() override;
44 virtual StatusCode finalize() override;
45
46 StatusCode fillCollection(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment *robFrag, BCM_RDO_Container* rdoCont, std::vector<unsigned int>* vecHash = NULL) const;
47
48 unsigned int getChannelID(int ROD_source_ID, unsigned int dataword_position) const;
49 BCM_RDO_Collection* getCollection(unsigned int chan, BCM_RDO_Container* cont) const;
50
51private:
52 mutable std::atomic<unsigned int> m_fragment_number{};
53 mutable std::atomic<unsigned int> m_LVL1A_number{};
54 mutable std::atomic<unsigned int> m_hit_number{};
55
56};
57
58#endif //BCM_RAWDATABYTESTREAMCNV_BCM_RODDECODER_H
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode initialize() override
unsigned int getChannelID(int ROD_source_ID, unsigned int dataword_position) const
BCM_RawData RDO
virtual ~BCM_RodDecoder()
static const InterfaceID & interfaceID()
virtual StatusCode finalize() override
BCM_RDO_Collection BCM_RawCollection
std::atomic< unsigned int > m_LVL1A_number
StatusCode fillCollection(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment *robFrag, BCM_RDO_Container *rdoCont, std::vector< unsigned int > *vecHash=NULL) const
BCM_RDO_Collection * getCollection(unsigned int chan, BCM_RDO_Container *cont) const
std::atomic< unsigned int > m_hit_number
std::atomic< unsigned int > m_fragment_number
eformat::ROBFragment< PointerType > ROBFragment
Definition RawEvent.h:27