CMS 3D CMS Logo

Classes | Public Member Functions | Private Attributes

LMap Class Reference

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

List of all members.

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

boost::shared_ptr< implp_impl

Detailed Description

Description: interface to the HCAL logical map

Usage: include <boost/boost::shared_ptr.hpp>

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

Definition at line 76 of file LMap.h.


Constructor & Destructor Documentation

LMap::LMap ( )

Definition at line 49 of file LMap.cc.

: p_impl( new impl ) { }
LMap::~LMap ( )

Definition at line 51 of file LMap.cc.

{ }

Member Function Documentation

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

Definition at line 60 of file LMap.cc.

References p_impl.

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

{
  return p_impl -> get_map();
}
int LMap::read ( std::string  accessor,
std::string  type = "HBEF" 
)

Definition at line 55 of file LMap.cc.

References p_impl.

{
  return p_impl -> read( accessor, type );
}

Member Data Documentation

boost::shared_ptr<impl> LMap::p_impl [private]

Definition at line 89 of file LMap.h.

Referenced by get_map(), and read().