CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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 75 of file LMap.h.

Constructor & Destructor Documentation

LMap::LMap ( )

Definition at line 48 of file LMap.cc.

48 : p_impl( new impl ) { }
boost::shared_ptr< impl > p_impl
Definition: LMap.h:88
LMap::~LMap ( )

Definition at line 50 of file LMap.cc.

50 { }

Member Function Documentation

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

Definition at line 59 of file LMap.cc.

References p_impl.

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

60 {
61  return p_impl -> get_map();
62 }
std::map< int, LMapRow > & get_map(void)
Definition: LMap.cc:59
boost::shared_ptr< impl > p_impl
Definition: LMap.h:88
int LMap::read ( std::string  accessor,
std::string  type = "HBEF" 
)

Definition at line 54 of file LMap.cc.

References p_impl.

Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().

55 {
56  return p_impl -> read( accessor, type );
57 }
type
Definition: HCALResponse.h:21
int read(std::string accessor, std::string type="HBEF")
Definition: LMap.cc:54
boost::shared_ptr< impl > p_impl
Definition: LMap.h:88

Member Data Documentation

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

Definition at line 88 of file LMap.h.

Referenced by get_map(), and read().