ATLAS Offline Software
LArCalorimeter
LArRawConditions
src
LArMinBiasAverageSym.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRawConditions/LArMinBiasAverageSym.h
"
6
#include "
LArRawConditions/LArMinBiasAverageMC.h
"
7
#include "
LArRawConditions/LArMCSym.h
"
8
9
10
LArMinBiasAverageSym::LArMinBiasAverageSym
(
const
LArMCSym
* mcSym,
const
LArMinBiasAverageMC
* MinBiasAverageComplete) :
11
m_mcSym(mcSym),
12
m_MinBiasAverageComplete(MinBiasAverageComplete)
//Implicit cast to base-class
13
{}
14
15
LArMinBiasAverageSym::~LArMinBiasAverageSym
() {}
16
17
const
float
&
LArMinBiasAverageSym::minBiasAverage
(
const
HWIdentifier
& hwid)
const
{
18
HWIdentifier
symhwid=
m_mcSym
->
ZPhiSymOnl
(hwid);
19
return
m_MinBiasAverageComplete
->
get
(symhwid).m_MinBiasAverage;
20
}
HWIdentifier
Definition:
HWIdentifier.h:13
LArMinBiasAverageSym::~LArMinBiasAverageSym
virtual ~LArMinBiasAverageSym()
Definition:
LArMinBiasAverageSym.cxx:15
LArMCSym
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition:
LArMCSym.h:19
LArConditionsContainer::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArMinBiasAverageSym::minBiasAverage
virtual const float & minBiasAverage(const HWIdentifier &hwid) const override
access to average of E in minimum bias events index by Identifier
Definition:
LArMinBiasAverageSym.cxx:17
LArMCSym::ZPhiSymOnl
HWIdentifier ZPhiSymOnl(const HWIdentifier notSymOnlId) const
Find the symmetric HWID for an online channel identifier.
Definition:
LArMCSym.h:91
LArMinBiasAverageSym::m_mcSym
const LArMCSym * m_mcSym
Definition:
LArMinBiasAverageSym.h:26
LArMinBiasAverageSym::m_MinBiasAverageComplete
const LArConditionsContainer< LArMinBiasAverageP > * m_MinBiasAverageComplete
Definition:
LArMinBiasAverageSym.h:27
LArMinBiasAverageSym.h
LArMinBiasAverageSym::LArMinBiasAverageSym
LArMinBiasAverageSym()=delete
LArMinBiasAverageMC.h
LArMinBiasAverageMC
Implementation of the interface ILArMinBiasAverage for MC Derives from LArMinBiasAverageComplete,...
Definition:
LArMinBiasAverageMC.h:19
LArMCSym.h
Generated on Fri Jan 10 2025 21:13:18 for ATLAS Offline Software by
1.8.18