ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonCSC_CnvTools
src
CscROD_Decoder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONCSC_CNVTOOL_CSCROD_DECODER_H
6
#define MUONCSC_CNVTOOL_CSCROD_DECODER_H
7
8
#include <inttypes.h>
9
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "
ByteStreamData/RawEvent.h
"
12
#include "
CSC_Hid2RESrcID.h
"
13
#include "
CSCcabling/CSCcablingSvc.h
"
14
#include "
CscRODReadOut.h
"
15
#include "
CscRODReadOutV0.h
"
16
#include "
CscRODReadOutV1.h
"
17
#include "GaudiKernel/ServiceHandle.h"
18
#include "
MuonCSC_CnvTools/ICSC_ROD_Decoder.h
"
19
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
20
#include "eformat/SourceIdentifier.h"
21
#include "eformat/Version.h"
22
23
class
CscRawDataContainer
;
24
25
namespace
Muon
{
26
31
32
class
CscROD_Decoder
:
public
extends<AthAlgTool, ICSC_ROD_Decoder> {
33
public
:
36
CscROD_Decoder
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
37
virtual
~CscROD_Decoder
() =
default
;
38
39
virtual
StatusCode
initialize
()
override
;
40
41
virtual
void
fillCollection
(
const
xAOD::EventInfo
& eventInfo,
const
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment
& robFrag,
42
CscRawDataContainer
& rdoIDC)
const override
;
43
44
virtual
Identifier
getChannelId
(
const
uint32_t word, std::string detdesription)
const override
;
45
virtual
uint32_t
getHashId
(
const
uint32_t word, std::string detdesription)
const override
;
46
virtual
void
getSamples
(
const
std::vector<uint32_t>& words, std::vector<uint16_t>& samples)
const override
;
47
48
// put this in Interface header file...
49
50
private
:
52
void
rodVersion0
(
const
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment
& robFrag,
CscRawDataContainer
& rdoIDC)
const
;
53
54
void
rodVersion1
(
const
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment
& robFrag,
CscRawDataContainer
& rdoIDC)
const
;
55
56
void
rodVersion2
(
const
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment
& robFrag,
CscRawDataContainer
& rdoIDC)
const
;
57
58
private
:
59
CSC_Hid2RESrcID
m_hid2re
;
60
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
61
ServiceHandle<CSCcablingSvc>
m_cabling
;
62
bool
m_isCosmic
;
63
bool
m_isOldCosmic
;
64
};
65
66
}
// namespace Muon
67
68
#endif
AthAlgTool.h
CSC_Hid2RESrcID.h
CSCcablingSvc.h
CscRODReadOutV0.h
CscRODReadOutV1.h
CscRODReadOut.h
ICSC_ROD_Decoder.h
IMuonIdHelperSvc.h
RawEvent.h
CSC_Hid2RESrcID
Definition
CSC_Hid2RESrcID.h:24
CscRawDataContainer
This container provides access to collections of CSC RDOs and a mechanism for recording them.
Definition
CscRawDataContainer.h:23
Muon::CscROD_Decoder::getChannelId
virtual Identifier getChannelId(const uint32_t word, std::string detdesription) const override
Definition
CscROD_Decoder.cxx:92
Muon::CscROD_Decoder::m_isCosmic
bool m_isCosmic
Definition
CscROD_Decoder.h:62
Muon::CscROD_Decoder::rodVersion2
void rodVersion2(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, CscRawDataContainer &rdoIDC) const
Definition
CscROD_Decoder.cxx:118
Muon::CscROD_Decoder::~CscROD_Decoder
virtual ~CscROD_Decoder()=default
Muon::CscROD_Decoder::m_hid2re
CSC_Hid2RESrcID m_hid2re
Definition
CscROD_Decoder.h:59
Muon::CscROD_Decoder::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
CscROD_Decoder.h:60
Muon::CscROD_Decoder::initialize
virtual StatusCode initialize() override
Definition
CscROD_Decoder.cxx:25
Muon::CscROD_Decoder::m_isOldCosmic
bool m_isOldCosmic
Definition
CscROD_Decoder.h:63
Muon::CscROD_Decoder::fillCollection
virtual void fillCollection(const xAOD::EventInfo &eventInfo, const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, CscRawDataContainer &rdoIDC) const override
Definition
CscROD_Decoder.cxx:37
Muon::CscROD_Decoder::getHashId
virtual uint32_t getHashId(const uint32_t word, std::string detdesription) const override
Definition
CscROD_Decoder.cxx:79
Muon::CscROD_Decoder::rodVersion0
void rodVersion0(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, CscRawDataContainer &rdoIDC) const
the ROD version
Definition
CscROD_Decoder.cxx:578
Muon::CscROD_Decoder::m_cabling
ServiceHandle< CSCcablingSvc > m_cabling
Definition
CscROD_Decoder.h:61
Muon::CscROD_Decoder::getSamples
virtual void getSamples(const std::vector< uint32_t > &words, std::vector< uint16_t > &samples) const override
Definition
CscROD_Decoder.cxx:104
Muon::CscROD_Decoder::CscROD_Decoder
CscROD_Decoder(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition
CscROD_Decoder.cxx:19
Muon::CscROD_Decoder::rodVersion1
void rodVersion1(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, CscRawDataContainer &rdoIDC) const
Definition
CscROD_Decoder.cxx:443
ServiceHandle
Definition
ClusterMakerTool.h:36
Identifier
Definition
IdentifierFieldParser.cxx:14
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment
eformat::ROBFragment< PointerType > ROBFragment
Definition
RawEvent.h:27
xAOD::EventInfo
EventInfo_v1 EventInfo
Definition of the latest event info version.
Definition
IEventInfoCnvTool.h:16
type
Generated on
for ATLAS Offline Software by
1.17.0