ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
7LArTTL1::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
13const HWIdentifier&
15{ return m_onlineId; }
16
17const Identifier&
19{ return m_offlineId; }
20
21short
23{ return m_samples.size(); }
24
25const std::vector<float> &
27{ return m_samples; }
28
const HWIdentifier & ttOnlineID() const
return LArTTChannelID (online Id)
Definition LArTTL1.cxx:14
std::vector< float > m_samples
vector of samples
Definition LArTTL1.h:68
const std::vector< float > & samples() const
return a reference to a stl vector containing the sample values
Definition LArTTL1.cxx:26
short nsamples() const
return number of samples
Definition LArTTL1.cxx:22
LArTTL1()=default
default constructor for persistency
Identifier m_offlineId
offline Id (CaloLVL1_ID)
Definition LArTTL1.h:65
HWIdentifier m_onlineId
online Id
Definition LArTTL1.h:62
const Identifier & ttOfflineID() const
return TT offline Identifier
Definition LArTTL1.cxx:18