ATLAS Offline Software
TestBeam
TBEvent
src
TBScintillatorRaw.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TBEvent/TBScintillatorRaw.h
"
6
7
#include "
TBEvent/TBBeamDetector.h
"
8
9
10
11
TBScintillatorRaw::TBScintillatorRaw
(
const
std::string& scintillatorName,
12
const
TBTDCRawCont
* tdcCont,
TBTDCRaw
* tbtdc,
13
const
TBADCRawCont
* adcCont,
TBADCRaw
* tbadc)
14
:
TBBeamDetector
(scintillatorName)
15
{
16
m_tdclink
.
toContainedElement
(*tdcCont,tbtdc);
17
m_adclink
.
toContainedElement
(*adcCont,tbadc);
18
}
19
20
void
TBScintillatorRaw::setSignals
(
const
TBTDCRawCont
* tdcCont,
TBTDCRaw
* tbtdc,
21
const
TBADCRawCont
* adcCont,
TBADCRaw
* tbadc){
22
m_tdclink
.
toContainedElement
(*tdcCont,tbtdc);
23
m_adclink
.
toContainedElement
(*adcCont,tbadc);
24
}
25
TBScintillatorRaw::m_tdclink
ElementLink< TBTDCRawCont > m_tdclink
Definition:
TBScintillatorRaw.h:69
TBTDCRaw
Definition:
TBTDCRaw.h:21
TBBeamDetector.h
ElementLink::toContainedElement
bool toContainedElement(BaseConstReference data, ElementType element, IProxyDict *sg=0)
Set from element pointer and a reference to the container (storable)
TBADCRaw
Definition:
TBADCRaw.h:21
TBScintillatorRaw::m_adclink
ElementLink< TBADCRawCont > m_adclink
Definition:
TBScintillatorRaw.h:70
TBScintillatorRaw.h
TBScintillatorRaw::TBScintillatorRaw
TBScintillatorRaw()
Definition:
TBScintillatorRaw.h:35
TBTDCRawCont
Definition:
TBTDCRawCont.h:21
TBADCRawCont
Definition:
TBADCRawCont.h:20
TBBeamDetector
Definition:
TBBeamDetector.h:16
TBScintillatorRaw::setSignals
void setSignals(const TBTDCRawCont *tdcCont, TBTDCRaw *tbtdc, const TBADCRawCont *adcCont, TBADCRaw *tbadc)
Definition:
TBScintillatorRaw.cxx:20
Generated on Thu Nov 7 2024 21:27:15 for ATLAS Offline Software by
1.8.18