ATLAS Offline Software
LArCalorimeter
LArRawConditions
src
LArCableLengthComplete.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 "
LArRawConditions/LArCableLengthComplete.h
"
6
7
LArCableLengthComplete::LArCableLengthComplete
() {}
8
9
LArCableLengthComplete::~LArCableLengthComplete
() {}
10
11
/* Fill transient object in ATHENA *****************************************
12
*/
13
void
LArCableLengthComplete::set
(
const
HWIdentifier
& CellID,
float
CableLength ) {
14
15
LArCableLengthP
t
;
16
t
.m_CableLength =
CableLength
;
17
18
setPdata
(CellID,
t
);
19
20
}
21
22
23
/* retrieve CableLength ******************************************************
24
*/
25
const
float
&
LArCableLengthComplete::CableLength
(
const
HWIdentifier
& CellID)
const
26
{
27
const
LArCableLengthP
&
t
=
get
( CellID);
28
return
(
t
.m_CableLength);
29
}
30
31
32
LArCableLengthComplete.h
LArConditionsContainer< LArCableLengthP >::setPdata
void setPdata(const HWIdentifier id, const LArCableLengthP &payload, unsigned int gain=0)
put payload in persistent data
LArCableLengthComplete::LArCableLengthComplete
LArCableLengthComplete()
Definition:
LArCableLengthComplete.cxx:7
LArCableLengthP
c-struct reproducing the structure of the persistent data
Definition:
LArCableLengthP.h:20
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
HWIdentifier
Definition:
HWIdentifier.h:13
LArCableLengthComplete::set
void set(const HWIdentifier &CellID, float vCableLength)
Definition:
LArCableLengthComplete.cxx:13
LArConditionsContainer< LArCableLengthP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArCableLengthComplete::CableLength
virtual const float & CableLength(const HWIdentifier &CellID) const
Definition:
LArCableLengthComplete.cxx:25
LArCableLengthComplete::~LArCableLengthComplete
virtual ~LArCableLengthComplete()
Definition:
LArCableLengthComplete.cxx:9
Generated on Thu Nov 7 2024 21:19:17 for ATLAS Offline Software by
1.8.18