CMS 3D CMS Logo

Classes | Functions | Variables | Friends

Classes

class  pos::PixelTrimBase
 This class implements.. More...
 
class  pos::PixelTrimCommon
 This class implements.. More...
 

Functions

virtual void pos::PixelTrimBase::generateConfiguration (PixelFECConfigInterface *pixelFEC, PixelNameTranslation *trans, const PixelMaskBase &pixelMask) const =0
 
virtual PixelROCTrimBits pos::PixelTrimBase::getTrimBits (int ROCId) const =0
 
virtual PixelROCTrimBits * pos::PixelTrimBase::getTrimBits (PixelROCName name)=0
 
 pos::PixelTrimBase::PixelTrimBase (std::string description, std::string creator, std::string date)
 
void pos::PixelTrimBase::setOverride (PixelTrimOverrideBase *trimOverride)
 
void pos::PixelTrimBase::writeASCII (std::string filename) const override=0
 
virtual void pos::PixelTrimBase::writeBinary (std::string filename) const =0
 
void pos::PixelTrimBase::writeXML (pos::PixelConfigKey key, int version, std::string path) const override
 
void pos::PixelTrimBase::writeXML (std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
 
void pos::PixelTrimBase::writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
 
void pos::PixelTrimBase::writeXMLTrailer (std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
 
 pos::PixelTrimBase::~PixelTrimBase () override
 

Variables

PixelTrimOverrideBase * pos::PixelTrimBase::trimOverride_
 

Friends

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

Detailed Description

" "

Function Documentation

virtual void pos::PixelTrimBase::generateConfiguration ( PixelFECConfigInterface pixelFEC,
PixelNameTranslation trans,
const PixelMaskBase pixelMask 
) const
pure virtual
virtual PixelROCTrimBits pos::PixelTrimBase::getTrimBits ( int  ROCId) const
pure virtual
virtual PixelROCTrimBits* pos::PixelTrimBase::getTrimBits ( PixelROCName  name)
pure virtual

Implemented in pos::PixelTrimAllPixels.

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

Definition at line 20 of file PixelTrimBase.cc.

22  :
24 }
std::string description()
std::string date()
std::string creator()
PixelConfigBase(std::string description, std::string creator, std::string date)
void PixelTrimBase::setOverride ( PixelTrimOverrideBase trimOverride)

Definition at line 29 of file PixelTrimBase.cc.

References pos::PixelTrimBase::trimOverride_.

29  {
30  trimOverride_=override;
31 }
PixelTrimOverrideBase * trimOverride_
Definition: PixelTrimBase.h:96
void pos::PixelTrimBase::writeASCII ( std::string  filename) const
overridepure virtual
virtual void pos::PixelTrimBase::writeBinary ( std::string  filename) const
pure virtual
void pos::PixelTrimBase::writeXML ( pos::PixelConfigKey  key,
int  version,
std::string  path 
) const
inlineoverridevirtual

Reimplemented from pos::PixelConfigBase.

Reimplemented in pos::PixelTrimCommon.

Definition at line 67 of file PixelTrimBase.h.

Referenced by pos::PixelTrimCommon::writeXML().

70  {;}
void pos::PixelTrimBase::writeXML ( std::ofstream *  out,
std::ofstream *  out1 = nullptr,
std::ofstream *  out2 = nullptr 
) const
inlineoverridevirtual

Reimplemented from pos::PixelConfigBase.

Definition at line 78 of file PixelTrimBase.h.

81  {;}
void pos::PixelTrimBase::writeXMLHeader ( pos::PixelConfigKey  key,
int  version,
std::string  path,
std::ofstream *  out,
std::ofstream *  out1 = nullptr,
std::ofstream *  out2 = nullptr 
) const
inlineoverridevirtual

Reimplemented from pos::PixelConfigBase.

Definition at line 71 of file PixelTrimBase.h.

Referenced by pos::PixelTrimCommon::writeXML().

77  {;}
void pos::PixelTrimBase::writeXMLTrailer ( std::ofstream *  out,
std::ofstream *  out1 = nullptr,
std::ofstream *  out2 = nullptr 
) const
inlineoverridevirtual
PixelTrimBase::~PixelTrimBase ( )
override

Definition at line 27 of file PixelTrimBase.cc.

27 {}

Variable Documentation

PixelTrimOverrideBase* pos::PixelTrimBase::trimOverride_
private

Definition at line 96 of file PixelTrimBase.h.

Referenced by pos::PixelTrimBase::setOverride().

Friends

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

Definition at line 33 of file PixelTrimBase.cc.

Referenced by pos::PixelTrimBase::writeXMLTrailer().

33  {
34 
35  s << trim.getTrimBits(0) <<std::endl;
36 
37  return s;
38 
39 }
static void trim(std::string &s)