CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Attributes

cscdqm::FEDHistoDef Class Reference

FED Level Histogram Definition. More...

#include <CSCDQM_HistoDef.h>

Inheritance diagram for cscdqm::FEDHistoDef:
cscdqm::HistoDef

List of all members.

Public Member Functions

 FEDHistoDef (const HistoId p_id, const HwId p_fedId)
 Constructor. It calls Base constructor inline.
const HwId getFEDId () const
 Get FED ID.
const std::string getPath () const
 Get path part of the histogram (used only for DDUs and CSCs)
const FEDHistoDefoperator= (const FEDHistoDef &t)
 Assignment (=) operator. Calls base assignment operator and assigns FEd-related data.
const std::string processTitle (const std::string &p_title) const
 Process Title by Adding appropriate ID.

Static Public Member Functions

static const std::string getPath (const HwId p_fedId)
 Static FED path formatter.

Private Attributes

HwId fedId

Detailed Description

FED Level Histogram Definition.

Definition at line 272 of file CSCDQM_HistoDef.h.


Constructor & Destructor Documentation

cscdqm::FEDHistoDef::FEDHistoDef ( const HistoId  p_id,
const HwId  p_fedId 
) [inline]

Constructor. It calls Base constructor inline.

Parameters:
p_idHistogram ID (to be passed to Base class)
p_fedIdFED ID
Returns:

Definition at line 286 of file CSCDQM_HistoDef.h.

: HistoDef(p_id), fedId(p_fedId) { }

Member Function Documentation

const HwId cscdqm::FEDHistoDef::getFEDId ( ) const [inline, virtual]

Get FED ID.

Returns:
FED ID

Reimplemented from cscdqm::HistoDef.

Definition at line 287 of file CSCDQM_HistoDef.h.

References fedId.

Referenced by operator=(), and processTitle().

{ return fedId; }
const std::string cscdqm::FEDHistoDef::getPath ( ) const [inline, virtual]

Get path part of the histogram (used only for DDUs and CSCs)

Returns:
path part of the histogram

Reimplemented from cscdqm::HistoDef.

Definition at line 288 of file CSCDQM_HistoDef.h.

References fedId, and getPath().

Referenced by getPath().

{ return getPath(fedId); }
static const std::string cscdqm::FEDHistoDef::getPath ( const HwId  p_fedId) [inline, static]

Static FED path formatter.

Parameters:
p_fedIdFED ID
Returns:
formatted FED path

Definition at line 295 of file CSCDQM_HistoDef.h.

References cscdqm::PATH_FED.

                                                         {
        return Form(PATH_FED, p_fedId);
      } 
const FEDHistoDef& cscdqm::FEDHistoDef::operator= ( const FEDHistoDef t) [inline]

Assignment (=) operator. Calls base assignment operator and assigns FEd-related data.

Parameters:
tHistogram to be taken data from
Returns:
resulting histogram (this)

Definition at line 305 of file CSCDQM_HistoDef.h.

References fedId, getFEDId(), and lumiQTWidget::t.

                                                          {
        HistoDef *h1 = const_cast<FEDHistoDef*>(this);
        const HistoDef *h2 = &t;
        *h1 = *h2;
        fedId   = t.getFEDId();
        return *this;
      }
const std::string cscdqm::FEDHistoDef::processTitle ( const std::string &  p_title) const [inline, virtual]

Process Title by Adding appropriate ID.

Parameters:
p_titleTitle to process
Returns:
processed title

Reimplemented from cscdqm::HistoDef.

Definition at line 313 of file CSCDQM_HistoDef.h.

References getFEDId(), and cscdqm::HistoDef::processName().

                                                                   {
        return processName(p_title.c_str(), getFEDId());
      }

Member Data Documentation

Definition at line 276 of file CSCDQM_HistoDef.h.

Referenced by getFEDId(), getPath(), and operator=().