CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
pos::PixelTKFECConfig Class Reference

This class specifies which TKFEC boards are used and how they are addressed. More...

#include <PixelTKFECConfig.h>

Inheritance diagram for pos::PixelTKFECConfig:
pos::PixelConfigBase

Public Member Functions

unsigned int addressFromTKFECID (std::string TKFECID) const
 
unsigned int crateFromTKFECID (std::string TKFECID) const
 
unsigned int getAddress (unsigned int i) const
 
unsigned int getCrate (unsigned int i) const
 
unsigned int getNTKFECBoards () const
 
std::string getTKFECID (unsigned int i) const
 
std::string getType (unsigned int i) const
 
 PixelTKFECConfig (std::string filename)
 
 PixelTKFECConfig (std::vector< std::vector< std::string > > &tableMat)
 
std::string typeFromTKFECID (std::string TKFECID) const
 
virtual void writeASCII (std::string dir) const
 
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 ~PixelTKFECConfig ()
 
- Public Member Functions inherited from pos::PixelConfigBase
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 writeXML (std::ofstream *out) const
 
virtual void writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const
 
virtual void writeXMLTrailer (std::ofstream *out) const
 
virtual ~PixelConfigBase ()
 

Private Attributes

std::vector< PixelTKFECParametersTKFECconfig_
 

Detailed Description

This class specifies which TKFEC boards are used and how they are addressed.

" "

A longer explanation will be placed here later

Definition at line 27 of file PixelTKFECConfig.h.

Constructor & Destructor Documentation

PixelTKFECConfig::PixelTKFECConfig ( std::string  filename)

Definition at line 93 of file PixelTKFECConfig.cc.

PixelTKFECConfig::PixelTKFECConfig ( std::vector< std::vector< std::string > > &  tableMat)

EXTENSION_TABLE_NAME: TRACKER_FEC_PARAMETERS (VIEW: CONF_KEY_TRACKER_FEC_CONFIG_V)

CONFIG_KEY NOT NULL VARCHAR2(80) KEY_TYPE NOT NULL VARCHAR2(80) KEY_ALIAS NOT NULL VARCHAR2(80) VERSION VARCHAR2(40) KIND_OF_COND NOT NULL VARCHAR2(40) TRKFEC_NAME NOT NULL VARCHAR2(200) CRATE_LABEL VARCHAR2(200) CRATE_NUMBER NOT NULL NUMBER(38) TYPE VARCHAR2(200) SLOT_NUMBER NUMBER(38) VME_ADDR NOT NULL VARCHAR2(200) I2CSPEED NUMBER(38)

Definition at line 19 of file PixelTKFECConfig.cc.

PixelTKFECConfig::~PixelTKFECConfig ( )
virtual

Definition at line 146 of file PixelTKFECConfig.cc.

Member Function Documentation

unsigned int PixelTKFECConfig::addressFromTKFECID ( std::string  TKFECID) const

Definition at line 248 of file PixelTKFECConfig.cc.

unsigned int PixelTKFECConfig::crateFromTKFECID ( std::string  TKFECID) const

Definition at line 220 of file PixelTKFECConfig.cc.

unsigned int PixelTKFECConfig::getAddress ( unsigned int  i) const

Definition at line 212 of file PixelTKFECConfig.cc.

unsigned int PixelTKFECConfig::getCrate ( unsigned int  i) const

Definition at line 198 of file PixelTKFECConfig.cc.

unsigned int PixelTKFECConfig::getNTKFECBoards ( ) const

Definition at line 184 of file PixelTKFECConfig.cc.

std::string PixelTKFECConfig::getTKFECID ( unsigned int  i) const

Definition at line 190 of file PixelTKFECConfig.cc.

std::string PixelTKFECConfig::getType ( unsigned int  i) const

Definition at line 205 of file PixelTKFECConfig.cc.

std::string PixelTKFECConfig::typeFromTKFECID ( std::string  TKFECID) const

Definition at line 234 of file PixelTKFECConfig.cc.

void PixelTKFECConfig::writeASCII ( std::string  dir) const
virtual

Implements pos::PixelConfigBase.

Definition at line 148 of file PixelTKFECConfig.cc.

virtual void pos::PixelTKFECConfig::writeXML ( pos::PixelConfigKey  key,
int  version,
std::string  path 
) const
inlinevirtual

Reimplemented from pos::PixelConfigBase.

Definition at line 48 of file PixelTKFECConfig.h.

48 {;}
void PixelTKFECConfig::writeXML ( std::ofstream *  out,
std::ofstream *  out1 = NULL,
std::ofstream *  out2 = NULL 
) const
virtual

Reimplemented from pos::PixelConfigBase.

Definition at line 308 of file PixelTKFECConfig.cc.

void PixelTKFECConfig::writeXMLHeader ( pos::PixelConfigKey  key,
int  version,
std::string  path,
std::ofstream *  out,
std::ofstream *  out1 = NULL,
std::ofstream *  out2 = NULL 
) const
virtual

Reimplemented from pos::PixelConfigBase.

Definition at line 263 of file PixelTKFECConfig.cc.

void PixelTKFECConfig::writeXMLTrailer ( std::ofstream *  out,
std::ofstream *  out1 = NULL,
std::ofstream *  out2 = NULL 
) const
virtual

Reimplemented from pos::PixelConfigBase.

Definition at line 324 of file PixelTKFECConfig.cc.

Member Data Documentation

std::vector< PixelTKFECParameters > pos::PixelTKFECConfig::TKFECconfig_
private

Definition at line 65 of file PixelTKFECConfig.h.