ATLAS Offline Software
Loading...
Searching...
No Matches
LArEMEC_CphiComplete.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include "GaudiKernel/IMessageSvc.h"
7
9
10#include "GaudiKernel/Bootstrap.h"
11#include "GaudiKernel/ISvcLocator.h"
12#include "GaudiKernel/IToolSvc.h"
13
14
15#include <iostream>
16using namespace std ;
17
19
21
22/* Fill transient object in ATHENA *****************************************
23 */
25
27 t.m_EMEC_Cphi = EMEC_Cphi ;
28
29 setPdata(CellID, t);
30
31}
32
33
34/* retrieve EMEC_Cphi ******************************************************
35 */
36const float& LArEMEC_CphiComplete::EMEC_Cphi(const HWIdentifier& CellID) const
37{
38 const LArEMEC_CphiP& t = get( CellID);
39
40 return (t.m_EMEC_Cphi);
41}
42
void setPdata(const HWIdentifier id, const LArEMEC_CphiP &payload, unsigned int gain=0)
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
virtual const float & EMEC_Cphi(const HWIdentifier &CellID) const
void set(const HWIdentifier &CellID, float vEMEC_Cphi)
c-struct reproducing the structure of the persistent data
STL namespace.