ATLAS Offline Software
MuonSpectrometer
MuonCnv
MuonMDT_CnvTools
src
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
8
#include <
MuonIdHelpers/IMuonIdHelperSvc.h
>
9
#include <stdint.h>
10
11
#include "
ByteStreamData/RawEvent.h
"
12
#include "GaudiKernel/ServiceHandle.h"
13
#include "
MuonRDO/MdtCsm.h
"
14
15
class
MdtROD_Encoder
{
16
public
:
19
MdtROD_Encoder
();
20
23
~MdtROD_Encoder
() =
default
;
24
30
void
add
(
const
MdtCsm
* csm);
31
34
void
clear
();
35
40
void
fillROD
(std::vector<uint32_t>&
v
);
41
42
private
:
43
ServiceHandle<Muon::IMuonIdHelperSvc>
m_mdtIdHelper
{
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
,
"MdtRDO_Encoder"
};
44
std::vector<const MdtCsm*>
m_vMdtCsm
;
45
};
46
47
#endif
MdtROD_Encoder::add
void add(const MdtCsm *csm)
initialize the map
Definition:
MdtROD_Encoder.cxx:25
MdtROD_Encoder::~MdtROD_Encoder
~MdtROD_Encoder()=default
destructor
MdtCsm
MDT RDOs : Chamber Service Module, container of AmtHits of a single Mdt chamber.
Definition:
MdtCsm.h:19
MdtROD_Encoder::clear
void clear()
clear the current csm list
Definition:
MdtROD_Encoder.cxx:28
MdtROD_Encoder::m_mdtIdHelper
ServiceHandle< Muon::IMuonIdHelperSvc > m_mdtIdHelper
Definition:
MdtROD_Encoder.h:43
MdtROD_Encoder::m_vMdtCsm
std::vector< const MdtCsm * > m_vMdtCsm
Definition:
MdtROD_Encoder.h:44
RawEvent.h
MdtCsm.h
MdtROD_Encoder
Definition:
MdtROD_Encoder.h:15
python.PyAthena.v
v
Definition:
PyAthena.py:154
MdtROD_Encoder::fillROD
void fillROD(std::vector< uint32_t > &v)
convert all Csm in the current list to a vector of 32bit words
Definition:
MdtROD_Encoder.cxx:34
MdtROD_Encoder::MdtROD_Encoder
MdtROD_Encoder()
constructor
Definition:
MdtROD_Encoder.cxx:21
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >
Generated on Thu Nov 7 2024 21:20:45 for ATLAS Offline Software by
1.8.18