CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
pos::PixelConfigBase Class Referenceabstract

This file contains the base class for "pixel configuration data" management. More...

#include "interface/PixelConfigBase.h"

Inheritance diagram for pos::PixelConfigBase:
pos::PixelCalibConfiguration pos::PixelDACSettings pos::PixelDelay25Calib pos::PixelDetectorConfig pos::PixelFECConfig pos::PixelFEDCard pos::PixelFEDConfig pos::PixelGlobalDelay25 pos::PixelLowVoltageMap pos::PixelLTCConfig pos::PixelMaskBase pos::PixelMaskOverrideBase pos::PixelMaxVsf pos::PixelNameTranslation pos::PixelPortCardConfig pos::PixelPortcardMap pos::PixelTBMSettings pos::PixelTKFECConfig pos::PixelTrimBase pos::PixelTrimOverrideBase pos::PixelTTCciConfig

Public Member Functions

std::string creator ()
 
std::string date ()
 
std::string description ()
 
std::string getAuthor () const
 
std::string getComment () const
 
 PixelConfigBase (std::string description, std::string creator, std::string date)
 
void setAuthor (std::string author)
 
void setComment (std::string comment)
 
virtual void writeASCII (std::string dir="") const =0
 
virtual void writeXML (std::ofstream *out, std::ofstream *out1, std::ofstream *out2) const
 
virtual void writeXML (pos::PixelConfigKey key, int version, std::string path) const
 
virtual void writeXML (std::ofstream *out) const
 
virtual void writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1, std::ofstream *out2) const
 
virtual void writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const
 
virtual void writeXMLTrailer (std::ofstream *out, std::ofstream *ou1, std::ofstream *out2) const
 
virtual void writeXMLTrailer (std::ofstream *out) const
 
virtual ~PixelConfigBase ()
 

Private Attributes

std::string comment_
 
std::string creator_
 
std::string date_
 
std::string description_
 

Detailed Description

This file contains the base class for "pixel configuration data" management.

" "

A longer explanation will be placed here later

Definition at line 32 of file PixelConfigBase.h.

Constructor & Destructor Documentation

PixelConfigBase::PixelConfigBase ( std::string  description,
std::string  creator,
std::string  date 
)

Definition at line 15 of file PixelConfigBase.cc.

virtual pos::PixelConfigBase::~PixelConfigBase ( )
inlinevirtual

Definition at line 41 of file PixelConfigBase.h.

41 {}

Member Function Documentation

std::string pos::PixelConfigBase::creator ( )
std::string pos::PixelConfigBase::date ( )
std::string pos::PixelConfigBase::description ( )
std::string pos::PixelConfigBase::getAuthor ( ) const
inline
std::string pos::PixelConfigBase::getComment ( ) const
inline
void pos::PixelConfigBase::setAuthor ( std::string  author)
inline

Definition at line 68 of file PixelConfigBase.h.

References creator_.

68 { creator_ = author; }
void pos::PixelConfigBase::setComment ( std::string  comment)
inline

Definition at line 69 of file PixelConfigBase.h.

References comment_.

Referenced by ConfigToolBase.ConfigToolBase::apply().

69 { comment_ = comment; }
virtual void pos::PixelConfigBase::writeASCII ( std::string  dir = "") const
pure virtual
virtual void pos::PixelConfigBase::writeXML ( std::ofstream *  out,
std::ofstream *  out1,
std::ofstream *  out2 
) const
inlinevirtual
virtual void pos::PixelConfigBase::writeXML ( pos::PixelConfigKey  key,
int  version,
std::string  path 
) const
inlinevirtual
virtual void pos::PixelConfigBase::writeXML ( std::ofstream *  out) const
inlinevirtual

Reimplemented in pos::PixelFEDCard, and pos::PixelTrimCommon.

Definition at line 62 of file PixelConfigBase.h.

References gather_cfg::cout.

62  {
63  std::cout << __LINE__ << " " << __PRETTY_FUNCTION__ << "\tUnimplemented method" << std::endl;
64  ;
65  }
tuple cout
Definition: gather_cfg.py:144
virtual void pos::PixelConfigBase::writeXMLHeader ( pos::PixelConfigKey  key,
int  version,
std::string  path,
std::ofstream *  out,
std::ofstream *  out1,
std::ofstream *  out2 
) const
inlinevirtual
virtual void pos::PixelConfigBase::writeXMLHeader ( pos::PixelConfigKey  key,
int  version,
std::string  path,
std::ofstream *  out 
) const
inlinevirtual

Reimplemented in pos::PixelFEDCard, and pos::PixelTrimCommon.

Definition at line 61 of file PixelConfigBase.h.

61 { ; }
virtual void pos::PixelConfigBase::writeXMLTrailer ( std::ofstream *  out,
std::ofstream *  ou1,
std::ofstream *  out2 
) const
inlinevirtual
virtual void pos::PixelConfigBase::writeXMLTrailer ( std::ofstream *  out) const
inlinevirtual

Reimplemented in pos::PixelFEDCard, and pos::PixelTrimCommon.

Definition at line 66 of file PixelConfigBase.h.

66 { ; }

Member Data Documentation

std::string pos::PixelConfigBase::comment_
private

Definition at line 77 of file PixelConfigBase.h.

Referenced by getComment(), and setComment().

std::string pos::PixelConfigBase::creator_
private

Definition at line 75 of file PixelConfigBase.h.

Referenced by getAuthor(), and setAuthor().

std::string pos::PixelConfigBase::date_
private

Definition at line 76 of file PixelConfigBase.h.

std::string pos::PixelConfigBase::description_
private

Definition at line 74 of file PixelConfigBase.h.