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

Constructor & Destructor Documentation

LMap::LMap ( )

Definition at line 49 of file LMap.cc.

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

Definition at line 51 of file LMap.cc.

51 { }

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().

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

Definition at line 55 of file LMap.cc.

References p_impl.

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

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

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().