CMS 3D CMS Logo

Public Member Functions | Private Attributes | Friends

pos::PixelMaskBase Class Reference

This is the documentation about PixelMaskBase... More...

#include <PixelMaskBase.h>

Inheritance diagram for pos::PixelMaskBase:
pos::PixelConfigBase pos::PixelMaskAllPixels pos::PixelMaskAllPixels

List of all members.

Public Member Functions

virtual const PixelROCMaskBitsgetMaskBits (int ROCId) const =0
virtual PixelROCMaskBitsgetMaskBits (PixelROCName name)=0
 PixelMaskBase (std::string description, std::string creator, std::string date)
void setOverride (PixelMaskOverrideBase *)
virtual void writeASCII (std::string filename) const =0
virtual void writeBinary (std::string filename) const =0
virtual void writeXML (pos::PixelConfigKey key, int version, std::string path) const
virtual void writeXML (std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
virtual void writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
virtual void writeXMLTrailer (std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
virtual ~PixelMaskBase ()

Private Attributes

PixelMaskOverrideBasemaskOverride_

Friends

std::ostream & operator<< (std::ostream &s, const PixelMaskBase &mask)

Detailed Description

This is the documentation about PixelMaskBase...

" "

This class provide a base class for the pixel mask data for the pixel FEC configuration This is a pure interface (abstract class) that needs to have an implementation.

All applications should just use this interface and not care about the specific implementation

Definition at line 36 of file PixelMaskBase.h.


Constructor & Destructor Documentation

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

Definition at line 17 of file PixelMaskBase.cc.

PixelMaskBase::~PixelMaskBase ( ) [virtual]

Definition at line 24 of file PixelMaskBase.cc.

{}

Member Function Documentation

virtual const PixelROCMaskBits& pos::PixelMaskBase::getMaskBits ( int  ROCId) const [pure virtual]
virtual PixelROCMaskBits* pos::PixelMaskBase::getMaskBits ( PixelROCName  name) [pure virtual]

Implemented in pos::PixelMaskAllPixels.

void PixelMaskBase::setOverride ( PixelMaskOverrideBase override)

Definition at line 26 of file PixelMaskBase.cc.

References maskOverride_.

                                                              {
  maskOverride_=override;
}
virtual void pos::PixelMaskBase::writeASCII ( std::string  filename) const [pure virtual]
virtual void pos::PixelMaskBase::writeBinary ( std::string  filename) const [pure virtual]
virtual void pos::PixelMaskBase::writeXML ( std::ofstream *  out,
std::ofstream *  out1 = NULL,
std::ofstream *  out2 = NULL 
) const [inline, virtual]

Reimplemented from pos::PixelConfigBase.

Reimplemented in pos::PixelMaskAllPixels.

Definition at line 64 of file PixelMaskBase.h.

                                                            {;}
virtual void pos::PixelMaskBase::writeXML ( pos::PixelConfigKey  key,
int  version,
std::string  path 
) const [inline, virtual]

Reimplemented from pos::PixelConfigBase.

Reimplemented in pos::PixelMaskAllPixels, and pos::PixelMaskAllPixels.

Definition at line 56 of file PixelMaskBase.h.

{;}
virtual void pos::PixelMaskBase::writeXMLHeader ( pos::PixelConfigKey  key,
int  version,
std::string  path,
std::ofstream *  out,
std::ofstream *  out1 = NULL,
std::ofstream *  out2 = NULL 
) const [inline, virtual]

Reimplemented from pos::PixelConfigBase.

Reimplemented in pos::PixelMaskAllPixels.

Definition at line 57 of file PixelMaskBase.h.

                                        {;}
virtual void pos::PixelMaskBase::writeXMLTrailer ( std::ofstream *  out,
std::ofstream *  out1 = NULL,
std::ofstream *  out2 = NULL 
) const [inline, virtual]

Reimplemented from pos::PixelConfigBase.

Reimplemented in pos::PixelMaskAllPixels.

Definition at line 67 of file PixelMaskBase.h.

                                          {;}

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const PixelMaskBase mask 
) [friend]

Definition at line 30 of file PixelMaskBase.cc.

                                                                {

  s << mask.getMaskBits(0) <<std::endl; 

  return s;

}

Member Data Documentation

Definition at line 77 of file PixelMaskBase.h.

Referenced by setOverride().