ATLAS Offline Software
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 
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 
28 {
29  m_data = digit.data();
30 }
31 
34 {
35  static_cast<RPCdigit&>(*this) = static_cast<const RPCdigit&>(digit);
36  m_data = digit.data();
37  return *this;
38 }
39 
40 
41 void
43 {
44  m_data = &data;
45 }
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
RPCrawDigit::RPCrawDigit
RPCrawDigit(int, unsigned int, float[4])
Definition: RPCrawDigit.cxx:19
RPCrawDigit::data
const RPCrawData * data(void) const
Definition: RPCrawDigit.h:30
RPCrawDigit::set_data
void set_data(const RPCrawData &)
Definition: RPCrawDigit.cxx:42
m_data
std::vector< T > m_data
Definition: TrackTruthMatchingBaseAlg.cxx:660
xyz
#define xyz
RPCrawDigit.h
checkRpcDigits.digit
digit
Definition: checkRpcDigits.py:186
histSizes.code
code
Definition: histSizes.py:129
RPCrawData
Definition: RPCrawData.h:18
RPCrawDigit::operator=
RPCrawDigit operator=(const RPCrawDigit &)
Definition: RPCrawDigit.cxx:33
python.selection.number
number
Definition: selection.py:20
RPCrawData.h
RPCdigit
Definition: RPCdigit.h:16
RPCrawDigit
Definition: RPCrawDigit.h:15
RPCrawDigit::m_data
const RPCrawData * m_data
Definition: RPCrawDigit.h:18