ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
LArRampSym Class Reference

#include <LArRampSym.h>

Inheritance diagram for LArRampSym:
Collaboration diagram for LArRampSym:

Public Types

typedef LArVectorProxy RampRef_t
 This class defines the interface for accessing Ramp @stereotype Interface. More...
 

Public Member Functions

 LArRampSym ()=delete
 
 LArRampSym (const LArMCSym *mcsym, const LArRampMC *rampComplete)
 
virtual ~LArRampSym ()
 
virtual RampRef_t ADC2DAC (const HWIdentifier &CellID, int gain) const override
 

Private Attributes

const LArMCSymm_mcSym
 
const LArConditionsContainer< LArRampP1 > * m_rampComplete
 

Detailed Description

Definition at line 16 of file LArRampSym.h.

Member Typedef Documentation

◆ RampRef_t

This class defines the interface for accessing Ramp @stereotype Interface.

Author
H. Ma
Version
0-0-1 , 22/08/2002

Modifications: W. Lampl, S. Laplace, 10/12/2003:

  • Add method using online ID
  • Add 3rd argument isOffline S. Laplace, 16/01/2004: WARNING -> IMPORTANT CHANGE !
  • ILArRamp now contains the ADC to DAC conversion factor only (not ADC to GeV anymore). S. Laplace, 08/02/2004
  • new online ID

Definition at line 31 of file ILArRamp.h.

Constructor & Destructor Documentation

◆ LArRampSym() [1/2]

LArRampSym::LArRampSym ( )
delete

◆ LArRampSym() [2/2]

LArRampSym::LArRampSym ( const LArMCSym mcsym,
const LArRampMC rampComplete 
)

Definition at line 10 of file LArRampSym.cxx.

10  :
11  m_mcSym(mcSym),
12  m_rampComplete(rampComplete) //Implicit cast to base-class
13 {}

◆ ~LArRampSym()

LArRampSym::~LArRampSym ( )
virtual

Definition at line 15 of file LArRampSym.cxx.

15 {}

Member Function Documentation

◆ ADC2DAC()

ILArRamp::RampRef_t LArRampSym::ADC2DAC ( const HWIdentifier CellID,
int  gain 
) const
overridevirtual

Implements ILArRamp.

Definition at line 17 of file LArRampSym.cxx.

17  {
18  HWIdentifier symhwid=m_mcSym->ZPhiSymOnl(hwid);
19  return m_rampComplete->get(symhwid,gain).m_vRamp;
20 }

Member Data Documentation

◆ m_mcSym

const LArMCSym* LArRampSym::m_mcSym
private

Definition at line 25 of file LArRampSym.h.

◆ m_rampComplete

const LArConditionsContainer<LArRampP1>* LArRampSym::m_rampComplete
private

Definition at line 26 of file LArRampSym.h.


The documentation for this class was generated from the following files:
LArRampSym::m_mcSym
const LArMCSym * m_mcSym
Definition: LArRampSym.h:25
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArRampSym::m_rampComplete
const LArConditionsContainer< LArRampP1 > * m_rampComplete
Definition: LArRampSym.h:26
HWIdentifier
Definition: HWIdentifier.h:13
LArConditionsContainer::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArMCSym::ZPhiSymOnl
HWIdentifier ZPhiSymOnl(const HWIdentifier notSymOnlId) const
Find the symmetric HWID for an online channel identifier.
Definition: LArMCSym.h:91