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 Member Functions | Private Attributes
pos::PixelFEDTestDAC Class Reference

This class implements.. More...

#include "interface/PixelFEDTestDAC.h"

Inheritance diagram for pos::PixelFEDTestDAC:
pos::PixelCalibBase

Public Member Functions

std::vector< unsigned int > dacs ()
 
std::string mode ()
 
 PixelFEDTestDAC (std::string filename)
 
 PixelFEDTestDAC (std::vector< std::vector< std::string > > &)
 
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
 
- Public Member Functions inherited from pos::PixelCalibBase
virtual std::string mode () const
 
 PixelCalibBase ()
 
virtual void writeXMLHeader (pos::PixelConfigKey &key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
 
virtual ~PixelCalibBase ()
 

Private Member Functions

std::vector< unsigned int > decimalToBaseX (unsigned int a, unsigned int x, unsigned int length)
 
unsigned int levelEncoder (int level)
 

Private Attributes

std::vector< unsigned int > dacs_
 

Additional Inherited Members

- Protected Attributes inherited from pos::PixelCalibBase
std::string mode_
 

Detailed Description

This class implements..

A longer explanation will be placed here later

Definition at line 29 of file PixelFEDTestDAC.h.

Constructor & Destructor Documentation

PixelFEDTestDAC::PixelFEDTestDAC ( std::string  filename)

Definition at line 171 of file PixelFEDTestDAC.cc.

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

EXTENSION_TABLE_NAME: PIXEL_CALIB_CLOB (VIEW: CONF_KEY_PIXEL_CALIB_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) CALIB_TYPE VARCHAR2(200) CALIB_OBJ_DATA_FILE NOT NULL VARCHAR2(200) CALIB_OBJ_DATA_CLOB NOT NULL CLOB

Definition at line 12 of file PixelFEDTestDAC.cc.

Member Function Documentation

std::vector<unsigned int> pos::PixelFEDTestDAC::dacs ( )
inline

Definition at line 35 of file PixelFEDTestDAC.h.

References dacs_.

35 {return dacs_;}
std::vector< unsigned int > dacs_
vector< unsigned int > PixelFEDTestDAC::decimalToBaseX ( unsigned int  a,
unsigned int  x,
unsigned int  length 
)
private

Definition at line 303 of file PixelFEDTestDAC.cc.

unsigned int PixelFEDTestDAC::levelEncoder ( int  level)
private

Definition at line 283 of file PixelFEDTestDAC.cc.

std::string pos::PixelFEDTestDAC::mode ( )
inline

Definition at line 34 of file PixelFEDTestDAC.h.

References pos::PixelCalibBase::mode_.

34 {return mode_;}
void PixelFEDTestDAC::writeXML ( std::ofstream *  out,
std::ofstream *  out1 = NULL,
std::ofstream *  out2 = NULL 
) const
virtual

Reimplemented from pos::PixelCalibBase.

Definition at line 369 of file PixelFEDTestDAC.cc.

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

Definition at line 322 of file PixelFEDTestDAC.cc.

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

Reimplemented from pos::PixelCalibBase.

Definition at line 386 of file PixelFEDTestDAC.cc.

Member Data Documentation

std::vector<unsigned int> pos::PixelFEDTestDAC::dacs_
private

Definition at line 55 of file PixelFEDTestDAC.h.

Referenced by dacs().