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

#include <LArHVData.h>

Collaboration diagram for LArHVData:

Classes

struct  HV_t
 struct for HV, current and weight More...
 

Public Types

typedef std::map< Identifier, std::vector< HV_t > > hvMap
 

Public Member Functions

 LArHVData ()=default
 
 ~LArHVData ()=default
 
const std::set< Identifier > & getUpdatedCells () const
 
const std::vector< LArHVData::HV_t > & getHV (const Identifier &id) const
 brief Given a Offline Readout ID, return values of HV and Weight More...
 

Private Attributes

hvMap m_voltage
 
std::set< Identifierm_updatedCells
 
const std::vector< LArHVData::HV_tm_empty {}
 

Friends

class LArHVCondAlg
 

Detailed Description

Definition at line 17 of file LArHVData.h.

Member Typedef Documentation

◆ hvMap

typedef std::map<Identifier, std::vector<HV_t> > LArHVData::hvMap

Definition at line 41 of file LArHVData.h.

Constructor & Destructor Documentation

◆ LArHVData()

LArHVData::LArHVData ( )
default

◆ ~LArHVData()

LArHVData::~LArHVData ( )
default

Member Function Documentation

◆ getHV()

const std::vector< LArHVData::HV_t > & LArHVData::getHV ( const Identifier id) const

brief Given a Offline Readout ID, return values of HV and Weight

Definition at line 8 of file LArHVData.cxx.

8  {
9  const auto& it=m_voltage.find(id);
10  if (it==m_voltage.end())
11  return m_empty; //return empty vector
12  else {
13  return it->second;
14  }
15 }

◆ getUpdatedCells()

const std::set< Identifier > & LArHVData::getUpdatedCells ( ) const
inline

Definition at line 52 of file LArHVData.h.

52  {
53  return m_updatedCells;
54 }

Friends And Related Function Documentation

◆ LArHVCondAlg

friend class LArHVCondAlg
friend

Definition at line 19 of file LArHVData.h.

Member Data Documentation

◆ m_empty

const std::vector<LArHVData::HV_t> LArHVData::m_empty {}
private

Definition at line 47 of file LArHVData.h.

◆ m_updatedCells

std::set<Identifier> LArHVData::m_updatedCells
private

Definition at line 45 of file LArHVData.h.

◆ m_voltage

hvMap LArHVData::m_voltage
private

Definition at line 44 of file LArHVData.h.


The documentation for this class was generated from the following files:
skel.it
it
Definition: skel.GENtoEVGEN.py:423
LArHVData::m_empty
const std::vector< LArHVData::HV_t > m_empty
Definition: LArHVData.h:47
LArHVData::m_voltage
hvMap m_voltage
Definition: LArHVData.h:44
LArHVData::m_updatedCells
std::set< Identifier > m_updatedCells
Definition: LArHVData.h:45