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 PixelROCTrimBitspos::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

PixelTrimOverrideBasepos::PixelTrimBase::trimOverride_
 

Friends

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

Detailed Description

" "

Function Documentation

◆ generateConfiguration()

virtual void pos::PixelTrimBase::generateConfiguration ( PixelFECConfigInterface pixelFEC,
PixelNameTranslation trans,
const PixelMaskBase pixelMask 
) const
pure virtual

◆ getTrimBits() [1/2]

virtual PixelROCTrimBits pos::PixelTrimBase::getTrimBits ( int  ROCId) const
pure virtual

Implemented in pos::PixelTrimAllPixels.

◆ getTrimBits() [2/2]

virtual PixelROCTrimBits* pos::PixelTrimBase::getTrimBits ( PixelROCName  name)
pure virtual

Implemented in pos::PixelTrimAllPixels.

◆ PixelTrimBase()

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

Definition at line 20 of file PixelTrimBase.cc.

◆ setOverride()

void PixelTrimBase::setOverride ( PixelTrimOverrideBase trimOverride)

Definition at line 25 of file PixelTrimBase.cc.

25 { trimOverride_ = override; }

References pos::PixelTrimBase::trimOverride_.

◆ writeASCII()

void pos::PixelTrimBase::writeASCII ( std::string  filename) const
overridepure virtual

◆ writeBinary()

virtual void pos::PixelTrimBase::writeBinary ( std::string  filename) const
pure virtual

◆ writeXML() [1/2]

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 62 of file PixelTrimBase.h.

62 { ; }

◆ writeXML() [2/2]

void pos::PixelTrimBase::writeXML ( 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.

71 { ; }

◆ writeXMLHeader()

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 63 of file PixelTrimBase.h.

68  {
69  ;
70  }

◆ writeXMLTrailer()

void pos::PixelTrimBase::writeXMLTrailer ( std::ofstream *  out,
std::ofstream *  out1 = nullptr,
std::ofstream *  out2 = nullptr 
) const
inlineoverridevirtual

Reimplemented from pos::PixelConfigBase.

Definition at line 72 of file PixelTrimBase.h.

74  {
75  ;
76  }

◆ ~PixelTrimBase()

PixelTrimBase::~PixelTrimBase ( )
override

Definition at line 23 of file PixelTrimBase.cc.

23 {}

Variable Documentation

◆ trimOverride_

PixelTrimOverrideBase* pos::PixelTrimBase::trimOverride_
private

Definition at line 85 of file PixelTrimBase.h.

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

Friends

◆ operator<<

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

Definition at line 27 of file PixelTrimBase.cc.

27  {
28  s << trim.getTrimBits(0) << std::endl;
29 
30  return s;
31 }
pos::PixelConfigBase::date
std::string date()
alignCSCRings.s
s
Definition: alignCSCRings.py:92
pos::PixelConfigBase::creator
std::string creator()
pos::PixelConfigBase::PixelConfigBase
PixelConfigBase(std::string description, std::string creator, std::string date)
Definition: PixelConfigBase.cc:15
pos::PixelTrimBase::trimOverride_
PixelTrimOverrideBase * trimOverride_
Definition: PixelTrimBase.h:85
pos::PixelConfigBase::description
std::string description()
trim
static void trim(std::string &s)
Definition: DTCCablingMapProducer.cc:67