ATLAS Offline Software
Loading...
Searching...
No Matches
MdtROD_Encoder.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 MUONBYTESTREAM_MDTROD_ENCODER_H
6#define MUONBYTESTREAM_MDTROD_ENCODER_H
7
9#include <stdint.h>
10
12#include "GaudiKernel/ServiceHandle.h"
13#include "MuonRDO/MdtCsm.h"
14
16public:
20
23 ~MdtROD_Encoder() = default;
24
27
30 void add(const MdtCsm* csm);
31
34 void clear();
35
39
40 void fillROD(std::vector<uint32_t>& v);
41
42private:
43 ServiceHandle<Muon::IMuonIdHelperSvc> m_mdtIdHelper{"Muon::MuonIdHelperSvc/MuonIdHelperSvc", "MdtRDO_Encoder"};
44 std::vector<const MdtCsm*> m_vMdtCsm;
45};
46
47#endif
MDT RDOs : Chamber Service Module, container of AmtHits of a single Mdt chamber.
Definition MdtCsm.h:19
ServiceHandle< Muon::IMuonIdHelperSvc > m_mdtIdHelper
MdtROD_Encoder()
constructor
std::vector< const MdtCsm * > m_vMdtCsm
void add(const MdtCsm *csm)
initialize the map
void clear()
clear the current csm list
~MdtROD_Encoder()=default
destructor
void fillROD(std::vector< uint32_t > &v)
convert all Csm in the current list to a vector of 32bit words