ATLAS Offline Software
Loading...
Searching...
No Matches
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}
std::map< std::pair< Identifier, unsigned int >, std::vector< unsigned short > > m_electIndMap
std::vector< LArHVPathologiesDb::LArHVElectPathologyDb > m_v

◆ 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}
std::vector< LArHVElectPathologyDb > m_v

◆ ~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: