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.

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 25 of file PixelTrimBase.cc.

References pos::PixelTrimBase::trimOverride_.

25 { trimOverride_ = override; }
PixelTrimOverrideBase * trimOverride_
Definition: PixelTrimBase.h:85
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 62 of file PixelTrimBase.h.

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

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

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

68  {
69  ;
70  }
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.

References pos::PixelTrimBase::getTrimBits(), Skims_PA_cff::name, pos::PixelTrimBase::operator<<, and alignCSCRings::s.

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

74  {
75  ;
76  }
PixelTrimBase::~PixelTrimBase ( )
override

Definition at line 23 of file PixelTrimBase.cc.

23 {}

Variable Documentation

PixelTrimOverrideBase* pos::PixelTrimBase::trimOverride_
private

Definition at line 85 of file PixelTrimBase.h.

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

Friends

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

Definition at line 27 of file PixelTrimBase.cc.

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

27  {
28  s << trim.getTrimBits(0) << std::endl;
29 
30  return s;
31 }
static void trim(std::string &s)