ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1RPClogic
src
RPCrawDigit.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigT1RPClogic/RPCrawDigit.h
"
6
#include "
TrigT1RPClogic/RPCrawData.h
"
7
8
/*
9
RPCrawDigit::RPCrawDigit(int number,std::list<unsigned int> code,float time,
10
const RPCGeometry* rpcgeo) :
11
RPCdigit("Raw RPC digit",number,code,time,rpcgeo),
12
m_data(0)
13
{
14
//Insert code for xyz, time and radius decoding
15
//Match the xyz decoding with the simulated xyz position
16
}
17
*/
18
19
RPCrawDigit::RPCrawDigit
(
int
number
,
unsigned
int
code,
float
xyz
[4])
20
:
RPCdigit
(
"Raw RPC digit"
,
number
,code,
xyz
),
21
m_data
(0)
22
{
23
24
}
25
26
27
RPCrawDigit::RPCrawDigit
(
const
RPCrawDigit
& digit) :
RPCdigit
(digit)
28
{
29
m_data
= digit.data();
30
}
31
32
RPCrawDigit
33
RPCrawDigit::operator=
(
const
RPCrawDigit
& digit)
34
{
35
static_cast<
RPCdigit
&
>
(*this) =
static_cast<
const
RPCdigit
&
>
(digit);
36
m_data
= digit.data();
37
return
*
this
;
38
}
39
40
41
void
42
RPCrawDigit::set_data
(
const
RPCrawData
&
data
)
43
{
44
m_data
= &
data
;
45
}
RPCrawData.h
RPCrawDigit.h
RPCdigit::RPCdigit
RPCdigit()
Definition
RPCdigit.cxx:12
RPCdigit::xyz
void xyz(float vec[3]) const
Definition
RPCdigit.cxx:175
RPCrawData
Definition
RPCrawData.h:18
RPCrawDigit
Definition
RPCrawDigit.h:15
RPCrawDigit::RPCrawDigit
RPCrawDigit(int, unsigned int, float[4])
Definition
RPCrawDigit.cxx:19
RPCrawDigit::data
const RPCrawData * data(void) const
Definition
RPCrawDigit.h:30
RPCrawDigit::m_data
const RPCrawData * m_data
Definition
RPCrawDigit.h:18
RPCrawDigit::set_data
void set_data(const RPCrawData &)
Definition
RPCrawDigit.cxx:42
RPCrawDigit::operator=
RPCrawDigit operator=(const RPCrawDigit &)
Definition
RPCrawDigit.cxx:33
RPCtrigDataObject::number
int number(void) const
Definition
RPCtrigDataObject.h:29
Generated on
for ATLAS Offline Software by
1.14.0