ATLAS Offline Software
LArMinBiasAverageComplete.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
8 
10 
11 /* Fill transient object in ATHENA *****************************************
12  */
13 void LArMinBiasAverageComplete::set(const HWIdentifier& CellID, float minBiasAverage )
14 {
16  t.m_MinBiasAverage = minBiasAverage;
17 
18  setPdata(CellID,t);
19 }
20 
21 // retrieve Average of E in minimum bias events ****************************
22 const float& LArMinBiasAverageComplete::minBiasAverage(const HWIdentifier& CellID) const {
23  const LArMinBiasAverageP& t = get(CellID);
24  return t.m_MinBiasAverage ;
25 }
LArConditionsContainer< LArMinBiasAverageP >::setPdata
void setPdata(const HWIdentifier id, const LArMinBiasAverageP &payload, unsigned int gain=0)
put payload in persistent data
LArMinBiasAverageComplete.h
LArMinBiasAverageComplete::set
void set(const HWIdentifier &CellID, float vMinBiasAverage)
Definition: LArMinBiasAverageComplete.cxx:13
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
HWIdentifier
Definition: HWIdentifier.h:13
LArMinBiasAverageComplete::minBiasAverage
virtual const float & minBiasAverage(const HWIdentifier &CellID) const
access to average of E in minimum bias events index by Identifier
Definition: LArMinBiasAverageComplete.cxx:22
LArMinBiasAverageP
c-struct reproducing the structure of the persistent data
Definition: LArMinBiasAverageP.h:15
LArMinBiasAverageComplete::~LArMinBiasAverageComplete
virtual ~LArMinBiasAverageComplete()
Definition: LArMinBiasAverageComplete.cxx:9
LArConditionsContainer< LArMinBiasAverageP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArMinBiasAverageComplete::LArMinBiasAverageComplete
LArMinBiasAverageComplete()
Definition: LArMinBiasAverageComplete.cxx:7