ATLAS Offline Software
Loading...
Searching...
No Matches
TileCalorimeter
TileEvent
TileEvent
TileBeamElem.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 : TileBeamElem.h
7
// Author : AS
8
// Created : Oct 29, 2003
9
//
10
// DESCRIPTION:
11
// A TileBeamElem is the data class corresponding to the amplitude information
12
// obtained in various beam elements (scintillators, wire chambers etc).
13
// It contains a hardware identifier ("ADC" identifier)
14
// and one or many uint32 amplitudes stored in a vector
15
//
16
// HISTORY:
17
// 29Oct03 Created
18
//
19
// ***************************************************************************
20
21
#ifndef TILEEVENT_TILEBEAMELEM_H
22
#define TILEEVENT_TILEBEAMELEM_H
23
24
#include "
TileEvent/TileRawData.h
"
25
26
class
TileBeamElem
:
public
TileRawData
27
{
28
public
:
29
30
/* Constructors */
31
32
TileBeamElem
() { }
33
34
TileBeamElem
(
const
HWIdentifier
& HWid,
const
std::vector<uint32_t>& digits );
35
TileBeamElem
(
const
HWIdentifier
& HWid, std::vector<uint32_t>&& digits );
36
37
// Needs to come after HWIdentifier for proper overload resolution
38
// with pyroot.
39
TileBeamElem
(
const
Identifier
&
id
,
const
std::vector<uint32_t>& digits );
40
41
TileBeamElem
(
const
HWIdentifier
& HWid, uint32_t digit );
42
43
/* Inline access methods */
44
45
inline
int
size
(
void
)
const
{
return
m_digits
.size(); }
46
47
inline
const
std::vector<uint32_t>&
get_digits
(
void
)
const
{
return
m_digits
; }
48
49
std::string
whoami
(
void
)
const
{
return
"TileBeamElem"
; }
50
void
print
(
void
)
const
;
51
// Convertion operator to a std::string
52
// Can be used in a cast operation : (std::string) TileBeamElem
53
operator
std::string()
const
;
54
55
private
:
56
57
/* Member variables: */
58
std::vector<uint32_t>
m_digits
;
59
};
60
61
#endif
//TILEEVENT_TILEBEAMELEM_H
62
TileRawData.h
HWIdentifier
Definition
HWIdentifier.h:13
TileBeamElem::whoami
std::string whoami(void) const
Definition
TileBeamElem.h:49
TileBeamElem::print
void print(void) const
Definition
TileBeamElem.cxx:61
TileBeamElem::get_digits
const std::vector< uint32_t > & get_digits(void) const
Definition
TileBeamElem.h:47
TileBeamElem::m_digits
std::vector< uint32_t > m_digits
Definition
TileBeamElem.h:58
TileBeamElem::size
int size(void) const
Definition
TileBeamElem.h:45
TileBeamElem::TileBeamElem
TileBeamElem()
Definition
TileBeamElem.h:32
TileRawData::TileRawData
TileRawData()
Definition
TileRawData.h:38
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.14.0