ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileEvent
TileEvent
TileTTL1.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//***************************************************************************
6
// Filename : TileTTL1.h
7
// Author : Frank Merritt
8
// Created : March 2003
9
//
10
// DESCRIPTION:
11
// TTL1 is the class for raw Tile Level 1 Trigger Towers. Each tower is
12
// contains a hardware sum of Tile channels (about 4 each), read out in
13
// N time slices. Each TTl1 object also contains a special identifier.
14
//
15
// HISTORY:
16
// 14Sep09 TileDigits changed from double to float (M.Soares)
17
//
18
// ***************************************************************************
19
20
#ifndef TILEEVENT_TILETTL1_H
21
#define TILEEVENT_TILETTL1_H
22
23
#include "Identifier/Identifier.h"
24
#include <vector>
25
26
class
TileTTL1
{
27
28
public
:
29
30
/* Constructors */
31
32
TileTTL1
() {}
33
34
TileTTL1
(
const
Identifier
&
id
,
const
std::vector<double>& digits );
35
36
TileTTL1
(
const
Identifier
&
id
,
const
std::vector<float>& digits );
37
38
TileTTL1
(
const
Identifier
&
id
, std::vector<float>&& digits );
39
40
~TileTTL1
() =
default
;
41
42
/* Access methods */
43
44
/* Return Identifier. */
45
const
Identifier
&
TTL1_ID
()
const
;
46
inline
Identifier
identify
(
void
)
const
{
return
m_ID
; }
47
48
/* return number of time samples */
49
short
nsamples
()
const
;
50
51
/* Return vector of double digits (will be removed soon) */
52
const
std::vector<double>
samples
()
const
;
53
54
/* Return reference to the vector of float digits. */
55
const
std::vector<float>&
fsamples
()
const
;
56
57
58
std::string
whoami
(
void
)
const
{
return
"TileTTL1"
; }
59
void
print
(
void
)
const
;
60
// Convertion operator to a std::string
61
// Can be used in a cast operation : (std::string) TileTTL1
62
operator
std::string()
const
;
63
64
private
:
65
66
/* Member variables: */
67
Identifier
m_ID
;
68
std::vector<float>
m_TTL1digits
;
69
};
70
71
#endif
//TILEEVENT_TILETTL1_H
72
TileTTL1::nsamples
short nsamples() const
Definition
TileTTL1.cxx:71
TileTTL1::TTL1_ID
const Identifier & TTL1_ID() const
Definition
TileTTL1.cxx:66
TileTTL1::m_ID
Identifier m_ID
Definition
TileTTL1.h:67
TileTTL1::m_TTL1digits
std::vector< float > m_TTL1digits
Definition
TileTTL1.h:68
TileTTL1::whoami
std::string whoami(void) const
Definition
TileTTL1.h:58
TileTTL1::print
void print(void) const
Definition
TileTTL1.cxx:89
TileTTL1::fsamples
const std::vector< float > & fsamples() const
Definition
TileTTL1.cxx:77
TileTTL1::TileTTL1
TileTTL1()
Definition
TileTTL1.h:32
TileTTL1::samples
const std::vector< double > samples() const
Definition
TileTTL1.cxx:83
TileTTL1::identify
Identifier identify(void) const
Definition
TileTTL1.h:46
TileTTL1::~TileTTL1
~TileTTL1()=default
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0