ATLAS Offline Software
LArCalorimeter
LArRawEvent
src
LArTTL1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRawEvent/LArTTL1.h
"
6
7
LArTTL1::LArTTL1
(
const
HWIdentifier
& onlineId,
const
Identifier
& offlineId,
const
std::vector<float>& sampleValues):
8
m_onlineId(onlineId) ,
9
m_offlineId(offlineId) ,
10
m_samples(sampleValues)
11
{ }
12
13
const
HWIdentifier
&
14
LArTTL1::ttOnlineID
()
const
15
{
return
m_onlineId
; }
16
17
const
Identifier
&
18
LArTTL1::ttOfflineID
()
const
19
{
return
m_offlineId
; }
20
21
short
22
LArTTL1::nsamples
()
const
23
{
return
m_samples
.size(); }
24
25
const
std::vector<float> &
26
LArTTL1::samples
()
const
27
{
return
m_samples
; }
28
LArTTL1::samples
const std::vector< float > & samples() const
return a reference to a stl vector containing the sample values
Definition:
LArTTL1.cxx:26
LArTTL1::m_offlineId
Identifier m_offlineId
offline Id (CaloLVL1_ID)
Definition:
LArTTL1.h:65
HWIdentifier
Definition:
HWIdentifier.h:13
LArTTL1::m_onlineId
HWIdentifier m_onlineId
online Id
Definition:
LArTTL1.h:62
LArTTL1::nsamples
short nsamples() const
return number of samples
Definition:
LArTTL1.cxx:22
LArTTL1::ttOnlineID
const HWIdentifier & ttOnlineID() const
return LArTTChannelID (online Id)
Definition:
LArTTL1.cxx:14
LArTTL1.h
LArTTL1::LArTTL1
LArTTL1()=default
default constructor for persistency
LArTTL1::m_samples
std::vector< float > m_samples
vector of samples
Definition:
LArTTL1.h:68
LArTTL1::ttOfflineID
const Identifier & ttOfflineID() const
return TT offline Identifier
Definition:
LArTTL1.cxx:18
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Sun Dec 22 2024 21:13:48 for ATLAS Offline Software by
1.8.18