CMS 3D CMS Logo

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::PixelConfigBase ( std::string  description,
std::string  creator,
std::string  date 
)

Definition at line 15 of file PixelConfigBase.cc.

◆ ~PixelConfigBase()

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

Definition at line 41 of file PixelConfigBase.h.

41 {}

Member Function Documentation

◆ creator()

std::string pos::PixelConfigBase::creator ( )

◆ date()

std::string pos::PixelConfigBase::date ( )

◆ description()

std::string pos::PixelConfigBase::description ( )

◆ getAuthor()

std::string pos::PixelConfigBase::getAuthor ( ) const
inline

◆ getComment()

std::string pos::PixelConfigBase::getComment ( ) const
inline

◆ setAuthor()

void pos::PixelConfigBase::setAuthor ( std::string  author)
inline

Definition at line 68 of file PixelConfigBase.h.

References creator_.

68 { creator_ = author; }

◆ setComment()

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; }

◆ writeASCII()

virtual void pos::PixelConfigBase::writeASCII ( std::string  dir = "") const
pure virtual

◆ writeXML() [1/3]

virtual void pos::PixelConfigBase::writeXML ( std::ofstream *  out,
std::ofstream *  out1,
std::ofstream *  out2 
) const
inlinevirtual

◆ writeXML() [2/3]

virtual void pos::PixelConfigBase::writeXML ( pos::PixelConfigKey  key,
int  version,
std::string  path 
) const
inlinevirtual

◆ writeXML() [3/3]

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  }

◆ writeXMLHeader() [1/2]

virtual void pos::PixelConfigBase::writeXMLHeader ( pos::PixelConfigKey  key,
int  version,
std::string  path,
std::ofstream *  out,
std::ofstream *  out1,
std::ofstream *  out2 
) const
inlinevirtual

◆ writeXMLHeader() [2/2]

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 { ; }

◆ writeXMLTrailer() [1/2]

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

◆ writeXMLTrailer() [2/2]

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

◆ comment_

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

Definition at line 77 of file PixelConfigBase.h.

Referenced by getComment(), and setComment().

◆ creator_

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

Definition at line 75 of file PixelConfigBase.h.

Referenced by getAuthor(), and setAuthor().

◆ date_

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

Definition at line 76 of file PixelConfigBase.h.

◆ description_

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

Definition at line 74 of file PixelConfigBase.h.