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

#include <LArHVPathology.h>

Collaboration diagram for LArHVPathology:

Public Member Functions

 LArHVPathology ()
 
 LArHVPathology (const LArHVPathology *in)
 
 LArHVPathology (const LArHVPathologiesDb *in)
 
virtual ~LArHVPathology ()
 
const std::vector< LArHVPathologiesDb::LArHVElectPathologyDb > & getPathology () const
 
std::map< std::pair< Identifier, unsigned int >, std::vector< unsigned short > > & getElecMap ()
 

Private Attributes

std::vector< LArHVPathologiesDb::LArHVElectPathologyDbm_v
 
std::map< std::pair< Identifier, unsigned int >, std::vector< unsigned short > > m_electIndMap
 

Detailed Description

Definition at line 14 of file LArHVPathology.h.

Constructor & Destructor Documentation

◆ LArHVPathology() [1/3]

LArHVPathology::LArHVPathology ( )
inline

Definition at line 18 of file LArHVPathology.h.

18 {}

◆ LArHVPathology() [2/3]

LArHVPathology::LArHVPathology ( const LArHVPathology in)
inline

Definition at line 36 of file LArHVPathology.h.

36  {
37  if(in) {
38  for(unsigned i=0;i<in->m_v.size();++i) m_v.push_back(in->m_v[i]);
39  for(const auto &p : in->m_electIndMap) m_electIndMap.emplace(std::make_pair(p.first, p.second));
40  }
41 }

◆ LArHVPathology() [3/3]

LArHVPathology::LArHVPathology ( const LArHVPathologiesDb in)
inline

Definition at line 43 of file LArHVPathology.h.

43  {
44  if(in) {
45  for(unsigned i=0;i<in->m_v.size();++i) m_v.push_back(in->m_v[i]);
46  }
47 }

◆ ~LArHVPathology()

virtual LArHVPathology::~LArHVPathology ( )
inlinevirtual

Definition at line 21 of file LArHVPathology.h.

21 {}

Member Function Documentation

◆ getElecMap()

std::map<std::pair<Identifier, unsigned int>, std::vector<unsigned short> >& LArHVPathology::getElecMap ( )
inline

Definition at line 26 of file LArHVPathology.h.

26  {
27  return m_electIndMap;
28  }

◆ getPathology()

const std::vector<LArHVPathologiesDb::LArHVElectPathologyDb>& LArHVPathology::getPathology ( ) const
inline

Definition at line 23 of file LArHVPathology.h.

23  {
24  return m_v;
25  }

Member Data Documentation

◆ m_electIndMap

std::map<std::pair<Identifier, unsigned int>, std::vector<unsigned short> > LArHVPathology::m_electIndMap
private

Definition at line 32 of file LArHVPathology.h.

◆ m_v

std::vector<LArHVPathologiesDb::LArHVElectPathologyDb> LArHVPathology::m_v
private

Definition at line 31 of file LArHVPathology.h.


The documentation for this class was generated from the following file:
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
LArHVPathology::m_electIndMap
std::map< std::pair< Identifier, unsigned int >, std::vector< unsigned short > > m_electIndMap
Definition: LArHVPathology.h:32
lumiFormat.i
int i
Definition: lumiFormat.py:92
LArHVPathologiesDb::m_v
std::vector< LArHVElectPathologyDb > m_v
Definition: LArHVPathologiesDb.h:31
LArHVPathology::m_v
std::vector< LArHVPathologiesDb::LArHVElectPathologyDb > m_v
Definition: LArHVPathology.h:31