CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes
LMap Class Reference

#include <CaloOnlineTools/HcalOnlineDb/interface/LMap.h>

Classes

class  impl
 

Public Member Functions

std::map< int, LMapRow > & get_map (void)
 
 LMap ()
 
int read (std::string accessor, std::string type="HBEF")
 
 ~LMap ()
 

Private Attributes

std::shared_ptr< implp_impl
 

Detailed Description

Description: interface to the HCAL logical map

Usage: std::shared_ptr<LMap> the_map(new LMap); the_map -> read( "your-accessor-string", "optional map type" );

Definition at line 66 of file LMap.h.

Constructor & Destructor Documentation

◆ LMap()

LMap::LMap ( )

Definition at line 43 of file LMap.cc.

43 : p_impl(new impl) {}
std::shared_ptr< impl > p_impl
Definition: LMap.h:76

◆ ~LMap()

LMap::~LMap ( )

Definition at line 45 of file LMap.cc.

45 {}

Member Function Documentation

◆ get_map()

std::map< int, LMapRow > & LMap::get_map ( void  )

Definition at line 49 of file LMap.cc.

References p_impl.

Referenced by HcalLutManager::getLinearizationLutXmlFromCoder(), and HcalLutManager::getLutXmlFromAsciiMaster().

49 { return p_impl->get_map(); }
std::shared_ptr< impl > p_impl
Definition: LMap.h:76

◆ read()

int LMap::read ( std::string  accessor,
std::string  type = "HBEF" 
)

Definition at line 47 of file LMap.cc.

References p_impl.

Referenced by edmIntegrityCheck.PublishToFileSystem::get(), HcalLutManager::getLinearizationLutXmlFromCoder(), and HcalLutManager::getLutXmlFromAsciiMaster().

47 { return p_impl->read(accessor, type); }
std::shared_ptr< impl > p_impl
Definition: LMap.h:76

Member Data Documentation

◆ p_impl

std::shared_ptr<impl> LMap::p_impl
private

Definition at line 76 of file LMap.h.

Referenced by get_map(), and read().