ATLAS Offline Software
LArMinBiasSym.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
8 
9 
10 LArMinBiasSym::LArMinBiasSym(const LArMCSym* mcSym, const LArMinBiasMC* MinBiasComplete) :
11  m_mcSym(mcSym),
12  m_MinBiasComplete(MinBiasComplete) //Implicit cast to base-class
13 {}
14 
16 
17 const float& LArMinBiasSym::minBiasRMS(const HWIdentifier& hwid) const {
18  HWIdentifier symhwid=m_mcSym->ZPhiSymOnl(hwid);
19  return m_MinBiasComplete->get(symhwid).m_MinBiasRMS;
20 }
21 
22 
LArMinBiasSym.h
LArMinBiasMC.h
LArMinBiasSym::minBiasRMS
virtual const float & minBiasRMS(const HWIdentifier &hwid) const override
access to RMS of E in minimum bias events index by Identifier
Definition: LArMinBiasSym.cxx:17
HWIdentifier
Definition: HWIdentifier.h:13
LArMCSym
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition: LArMCSym.h:19
LArMinBiasMC
Implementation of the interface ILArMinBias for MC Derives from LArMinBiasComplete,...
Definition: LArMinBiasMC.h:19
LArMinBiasSym::LArMinBiasSym
LArMinBiasSym()=delete
LArMinBiasSym::m_mcSym
const LArMCSym * m_mcSym
Definition: LArMinBiasSym.h:25
LArMinBiasSym::~LArMinBiasSym
virtual ~LArMinBiasSym()
Definition: LArMinBiasSym.cxx:15
LArConditionsContainer::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArMinBiasSym::m_MinBiasComplete
const LArConditionsContainer< LArMinBiasP > * m_MinBiasComplete
Definition: LArMinBiasSym.h:26
LArMCSym::ZPhiSymOnl
HWIdentifier ZPhiSymOnl(const HWIdentifier notSymOnlId) const
Find the symmetric HWID for an online channel identifier.
Definition: LArMCSym.h:91
LArMCSym.h