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 33 of file PixelConfigBase.h.

Constructor & Destructor Documentation

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

Definition at line 16 of file PixelConfigBase.cc.

Referenced by pos::PixelFEDCard::PixelFEDCard(), and pos::PixelFEDCard::readDBROCLevels().

18  :
21  date_(date){
22 }
std::string description()
std::string date()
std::string creator()
std::string description_
virtual pos::PixelConfigBase::~PixelConfigBase ( )
inlinevirtual

Member Function Documentation

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

Referenced by ~PixelConfigBase().

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

Referenced by ~PixelConfigBase().

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

Referenced by ~PixelConfigBase().

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 72 of file PixelConfigBase.h.

References creator_.

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

Definition at line 73 of file PixelConfigBase.h.

References comment, and comment_.

Referenced by ConfigToolBase.ConfigToolBase::apply().

73 {comment_ = comment;}
#define comment(par)
Definition: vmac.h:163
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 69 of file PixelConfigBase.h.

References gather_cfg::cout.

69 {std::cout << __LINE__ << " " << __PRETTY_FUNCTION__ << "\tUnimplemented method" << std::endl ;;}
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 68 of file PixelConfigBase.h.

68 {;}
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 70 of file PixelConfigBase.h.

70 {;}

Member Data Documentation

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

Definition at line 82 of file PixelConfigBase.h.

Referenced by getComment(), and setComment().

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

Definition at line 80 of file PixelConfigBase.h.

Referenced by getAuthor(), and setAuthor().

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

Definition at line 81 of file PixelConfigBase.h.

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

Definition at line 79 of file PixelConfigBase.h.