ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawEvent
LArRawEvent
LArTTL1.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// * author : Fabienne Ledroit *
6
// * date of creation : 09/01/2003 *
7
// * last change 05 april 2004 (FL): added offline id and changed double to float *
8
9
10
#ifndef LARTTL1_H
11
#define LARTTL1_H
12
#include <vector>
13
14
#include "Identifier/Identifier.h"
15
#include "
Identifier/HWIdentifier.h
"
16
17
28
29
class
LArTTL1
final{
30
31
public
:
32
33
39
LArTTL1
(
const
HWIdentifier
& onlineId,
const
Identifier
& offlineId,
const
std::vector<float>& sampleValues);
40
42
const
HWIdentifier
&
ttOnlineID
()
const
;
43
45
const
Identifier
&
ttOfflineID
()
const
;
46
48
short
nsamples
()
const
;
49
51
const
std::vector<float> &
samples
()
const
;
52
54
~LArTTL1
() =
default
;
55
57
LArTTL1
() =
default
;
58
59
private
:
60
62
HWIdentifier
m_onlineId
;
63
65
Identifier
m_offlineId
;
66
68
std::vector <float>
m_samples
;
69
70
};
71
72
#endif
//LARTTL1_H
73
HWIdentifier.h
HWIdentifier
Definition
HWIdentifier.h:13
LArTTL1::ttOnlineID
const HWIdentifier & ttOnlineID() const
return LArTTChannelID (online Id)
Definition
LArTTL1.cxx:14
LArTTL1::m_samples
std::vector< float > m_samples
vector of samples
Definition
LArTTL1.h:68
LArTTL1::samples
const std::vector< float > & samples() const
return a reference to a stl vector containing the sample values
Definition
LArTTL1.cxx:26
LArTTL1::LArTTL1
LArTTL1(const HWIdentifier &onlineId, const Identifier &offlineId, const std::vector< float > &sampleValues)
Constructor Beware that sampleValues is a reference to a STL vector of float's which is filled b...
Definition
LArTTL1.cxx:7
LArTTL1::nsamples
short nsamples() const
return number of samples
Definition
LArTTL1.cxx:22
LArTTL1::LArTTL1
LArTTL1()=default
default constructor for persistency
LArTTL1::m_offlineId
Identifier m_offlineId
offline Id (CaloLVL1_ID)
Definition
LArTTL1.h:65
LArTTL1::~LArTTL1
~LArTTL1()=default
Destructor.
LArTTL1::m_onlineId
HWIdentifier m_onlineId
online Id
Definition
LArTTL1.h:62
LArTTL1::ttOfflineID
const Identifier & ttOfflineID() const
return TT offline Identifier
Definition
LArTTL1.cxx:18
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0