CMS 3D CMS Logo

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

This is the documentation about PixelFEDCard... More...

#include <PixelFEDCard.h>

Inheritance diagram for pos::PixelFEDCard:
pos::PixelConfigBase

Public Member Functions

uint64_t enabledChannels ()
 
 PixelFEDCard ()
 
 PixelFEDCard (std::string filename)
 
 PixelFEDCard (std::vector< std::vector< std::string > > &tab)
 
void readDBROCLevels (std::vector< std::vector< std::string > > &tableMat, int first, int last)
 
void readDBTBMLevels (std::vector< std::vector< std::string > > &tableMat, int first, int last)
 
void restoreBaselinAndChannelMasks ()
 
void restoreControlAndModeRegister ()
 
void setChannel (unsigned int iChannel, bool mode)
 
bool useChannel (unsigned int iChannel)
 
void writeASCII (std::string dir="") const
 
void writeXML (pos::PixelConfigKey key, int version, std::string path) const
 
virtual void writeXML (std::ofstream *out) const
 
virtual void writeXML (std::ofstream *fedstream, std::ofstream *rocstream, std::ofstream *tbmstream) const
 
virtual void writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const
 
virtual void writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *fedstream, std::ofstream *roclvlstream, std::ofstream *tbmlvlsteram) const
 
virtual void writeXMLTrailer (std::ofstream *out) const
 
virtual void writeXMLTrailer (std::ofstream *fedstream, std::ofstream *recostream, std::ofstream *tbmstream) const
 
 ~PixelFEDCard ()
 
- 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 ~PixelConfigBase ()
 

Public Attributes

int BlackHi [36]
 
int BlackLo [36]
 
int BusyHoldMin
 
int BusyWhenBehind
 
unsigned int Ccntrl
 
int Ccntrl_original
 
unsigned int ClkDes2
 
unsigned int clkphs10_18
 
unsigned int clkphs19_27
 
unsigned int clkphs1_9
 
unsigned int clkphs28_36
 
int CoarseDel
 
int DelayCh [36]
 
int Errlvl
 
int FeatureRegister
 
unsigned long FEDBASE_0
 
unsigned long fedNumber
 
int FedTTCDelay
 
int FIFO2Limit
 
int fifo3Wrnlvl
 
int FineDes1Del
 
int FineDes2Del
 
int LastDacOff
 
int modeRegister
 
int modeRegister_original
 
int N_hitlimit
 
unsigned int N_Pword
 
unsigned int N_TBMmask
 
int N_testreg
 
unsigned int Nadcg
 
unsigned int Nbaseln
 
int Nbaseln_original
 
int NC_hitlimit
 
unsigned int NC_Pword
 
unsigned int NC_TBMmask
 
int NC_testreg
 
unsigned int NCadcg
 
unsigned int NCbaseln
 
int NCbaseln_original
 
unsigned int NCcntrl
 
unsigned int NCcntrl_original
 
int NCfifo1Bzlvl
 
unsigned int Ncntrl
 
unsigned int Ncntrl_original
 
int Nfifo1Bzlvl
 
int NRocs [36]
 
int offs_dac [36]
 
int Ooslvl
 
int opt_cap [3]
 
int opt_inadj [3]
 
int opt_ouadj [3]
 
int ROC_L0 [36][26]
 
int ROC_L1 [36][26]
 
int ROC_L2 [36][26]
 
int ROC_L3 [36][26]
 
int ROC_L4 [36][26]
 
int S_hitlimit
 
unsigned int S_Pword
 
unsigned int S_TBMmask
 
int S_testreg
 
unsigned int Sadcg
 
unsigned int Sbaseln
 
int Sbaseln_original
 
int SC_hitlimit
 
unsigned int SC_Pword
 
unsigned int SC_TBMmask
 
int SC_testreg
 
unsigned int SCadcg
 
unsigned int SCbaseln
 
int SCbaseln_original
 
unsigned int SCcntrl
 
unsigned int SCcntrl_original
 
int SCfifo1Bzlvl
 
unsigned int Scntrl
 
unsigned int Scntrl_original
 
int Sfifo1Bzlvl
 
int SimHitsPerRoc
 
int SPARE1
 
int SPARE10
 
int SPARE2
 
int SPARE3
 
int SPARE4
 
int SPARE5
 
int SPARE6
 
int SPARE7
 
int SPARE8
 
int SPARE9
 
unsigned int SpecialDac
 
int TBM_L0 [36]
 
int TBM_L1 [36]
 
int TBM_L2 [36]
 
int TBM_L3 [36]
 
int TBM_L4 [36]
 
int TimeoutOROOSLimit
 
int TriggerHoldoff
 
int TRL_L0 [36]
 
int TRL_L1 [36]
 
int TRL_L2 [36]
 
int TRL_L3 [36]
 
int TRL_L4 [36]
 
int Ublack [36]
 

Private Member Functions

void clear (void)
 

Detailed Description

This is the documentation about PixelFEDCard...

" "

The structure which holds all the informations needed to setup a pixel FED. Danek Kotlinski 18/4/06

Definition at line 27 of file PixelFEDCard.h.

Constructor & Destructor Documentation

PixelFEDCard::PixelFEDCard ( )

Definition at line 19 of file PixelFEDCard.cc.

pos::PixelFEDCard::PixelFEDCard ( std::string  filename)
pos::PixelFEDCard::PixelFEDCard ( std::vector< std::vector< std::string > > &  tab)
pos::PixelFEDCard::~PixelFEDCard ( )
inline

Definition at line 47 of file PixelFEDCard.h.

Member Function Documentation

void PixelFEDCard::clear ( void  )
private
uint64_t PixelFEDCard::enabledChannels ( )

Definition at line 2122 of file PixelFEDCard.cc.

void PixelFEDCard::readDBROCLevels ( std::vector< std::vector< std::string > > &  tableMat,
int  first,
int  last 
)

EXTERNAL_TABLE_NAME: ROC_ANALOG_LEVELS (VIEW: CONF_KEY_ROC_LEVELS_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) ROC_NAME VARCHAR2(200) FED_ROC_NUM NUMBER(38) PIXEL_FED NUMBER(38) FED_CHAN NUMBER(38) ROC_L0 NOT NULL NUMBER(38) ROC_L0[1-36][1-21/24/8/16] indexes taken from FED_CHAN and FED_ROC_NUM respec. ROC_L1 NOT NULL NUMBER(38) ROC_L1[1-36][1-21/24/8/16] indexes taken from FED_CHAN and FED_ROC_NUM respec. ROC_L2 NOT NULL NUMBER(38) ROC_L2[1-36][1-21/24/8/16] indexes taken from FED_CHAN and FED_ROC_NUM respec. ROC_L3 NOT NULL NUMBER(38) ROC_L3[1-36][1-21/24/8/16] indexes taken from FED_CHAN and FED_ROC_NUM respec. ROC_L4 NOT NULL NUMBER(38) ROC_L4[1-36][1-21/24/8/16] indexes taken from FED_CHAN and FED_ROC_NUM respec. ROC_B NUMBER(38) ROC_UB NUMBER(38)

Definition at line 525 of file PixelFEDCard.cc.

void PixelFEDCard::readDBTBMLevels ( std::vector< std::vector< std::string > > &  tableMat,
int  first,
int  last 
)

EXTERNAL_TABLE_NAME: TBM_ANALOG_LEVELS (VIEW: CONF_KEY_TBM_LEVELS_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) TBM_NAME VARCHAR2(200) PIXEL_FED NUMBER(38) FED_CHAN NUMBER(38) TBMA_HEAD_L0 NUMBER(38) TBM_L0[1-36] index taken from FED_CHAN TBMA_HEAD_L1 NUMBER(38) TBM_L1[1-36] index taken from FED_CHAN TBMA_HEAD_L2 NUMBER(38) TBM_L2[1-36] index taken from FED_CHAN TBMA_HEAD_L3 NUMBER(38) TBM_L3[1-36] index taken from FED_CHAN TBMA_HEAD_L4 NUMBER(38) TBM_L4[1-36] index taken from FED_CHAN TBMA_TRAIL_L0 NUMBER(38) TRL_L0[1-36] index taken from FED_CHAN TBMA_TRAIL_L1 NUMBER(38) TRL_L1[1-36] index taken from FED_CHAN TBMA_TRAIL_L2 NUMBER(38) TRL_L2[1-36] index taken from FED_CHAN TBMA_TRAIL_L3 NUMBER(38) TRL_L3[1-36] index taken from FED_CHAN TBMA_TRAIL_L4 NUMBER(38) TRL_L4[1-36] index taken from FED_CHAN TBMA_HEAD_B NUMBER(38) TBMA_HEAD_UB NUMBER(38) TBMA_TRAIL_B NUMBER(38) TBMA_TRAIL_UB NUMBER(38)

Definition at line 409 of file PixelFEDCard.cc.

void PixelFEDCard::restoreBaselinAndChannelMasks ( )

Definition at line 2161 of file PixelFEDCard.cc.

void PixelFEDCard::restoreControlAndModeRegister ( )

Definition at line 2177 of file PixelFEDCard.cc.

void PixelFEDCard::setChannel ( unsigned int  iChannel,
bool  mode 
)
bool PixelFEDCard::useChannel ( unsigned int  iChannel)
void PixelFEDCard::writeASCII ( std::string  dir = "") const
virtual

Implements pos::PixelConfigBase.

Definition at line 1233 of file PixelFEDCard.cc.

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

Reimplemented from pos::PixelConfigBase.

Definition at line 1938 of file PixelFEDCard.cc.

void PixelFEDCard::writeXML ( std::ofstream *  out) const
virtual

Reimplemented from pos::PixelConfigBase.

Definition at line 1658 of file PixelFEDCard.cc.

void PixelFEDCard::writeXML ( std::ofstream *  fedstream,
std::ofstream *  rocstream,
std::ofstream *  tbmstream 
) const
virtual

Reimplemented from pos::PixelConfigBase.

Definition at line 1757 of file PixelFEDCard.cc.

void PixelFEDCard::writeXMLHeader ( pos::PixelConfigKey  key,
int  version,
std::string  path,
std::ofstream *  out 
) const
virtual

Reimplemented from pos::PixelConfigBase.

Definition at line 1620 of file PixelFEDCard.cc.

void PixelFEDCard::writeXMLHeader ( pos::PixelConfigKey  key,
int  version,
std::string  path,
std::ofstream *  fedstream,
std::ofstream *  roclvlstream,
std::ofstream *  tbmlvlsteram 
) const
virtual

Reimplemented from pos::PixelConfigBase.

Definition at line 1501 of file PixelFEDCard.cc.

void PixelFEDCard::writeXMLTrailer ( std::ofstream *  out) const
virtual

Reimplemented from pos::PixelConfigBase.

Definition at line 1927 of file PixelFEDCard.cc.

void PixelFEDCard::writeXMLTrailer ( std::ofstream *  fedstream,
std::ofstream *  recostream,
std::ofstream *  tbmstream 
) const
virtual

Reimplemented from pos::PixelConfigBase.

Definition at line 1898 of file PixelFEDCard.cc.

Member Data Documentation

int pos::PixelFEDCard::BlackHi[36]

Definition at line 86 of file PixelFEDCard.h.

int pos::PixelFEDCard::BlackLo[36]

Definition at line 87 of file PixelFEDCard.h.

int pos::PixelFEDCard::BusyHoldMin

Definition at line 159 of file PixelFEDCard.h.

int pos::PixelFEDCard::BusyWhenBehind

Definition at line 160 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::Ccntrl

Definition at line 118 of file PixelFEDCard.h.

int pos::PixelFEDCard::Ccntrl_original

Definition at line 152 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::ClkDes2

Definition at line 115 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::clkphs10_18

Definition at line 80 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::clkphs19_27

Definition at line 80 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::clkphs1_9

Definition at line 80 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::clkphs28_36

Definition at line 80 of file PixelFEDCard.h.

int pos::PixelFEDCard::CoarseDel

Definition at line 114 of file PixelFEDCard.h.

int pos::PixelFEDCard::DelayCh[36]

Definition at line 83 of file PixelFEDCard.h.

int pos::PixelFEDCard::Errlvl

Definition at line 133 of file PixelFEDCard.h.

int pos::PixelFEDCard::FeatureRegister

Definition at line 161 of file PixelFEDCard.h.

unsigned long pos::PixelFEDCard::FEDBASE_0

Definition at line 156 of file PixelFEDCard.h.

unsigned long pos::PixelFEDCard::fedNumber

Definition at line 156 of file PixelFEDCard.h.

Referenced by pos::PixelConfigurationVerifier::checkChannelEnable().

int pos::PixelFEDCard::FedTTCDelay

Definition at line 139 of file PixelFEDCard.h.

int pos::PixelFEDCard::FIFO2Limit

Definition at line 162 of file PixelFEDCard.h.

int pos::PixelFEDCard::fifo3Wrnlvl

Definition at line 136 of file PixelFEDCard.h.

int pos::PixelFEDCard::FineDes1Del

Definition at line 114 of file PixelFEDCard.h.

int pos::PixelFEDCard::FineDes2Del

Definition at line 114 of file PixelFEDCard.h.

int pos::PixelFEDCard::LastDacOff

Definition at line 163 of file PixelFEDCard.h.

int pos::PixelFEDCard::modeRegister

Definition at line 121 of file PixelFEDCard.h.

int pos::PixelFEDCard::modeRegister_original

Definition at line 153 of file PixelFEDCard.h.

int pos::PixelFEDCard::N_hitlimit

Definition at line 142 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::N_Pword

Definition at line 108 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::N_TBMmask

Definition at line 105 of file PixelFEDCard.h.

int pos::PixelFEDCard::N_testreg

Definition at line 145 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::Nadcg

Definition at line 127 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::Nbaseln

Definition at line 130 of file PixelFEDCard.h.

int pos::PixelFEDCard::Nbaseln_original

Definition at line 149 of file PixelFEDCard.h.

int pos::PixelFEDCard::NC_hitlimit

Definition at line 142 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::NC_Pword

Definition at line 108 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::NC_TBMmask

Definition at line 105 of file PixelFEDCard.h.

int pos::PixelFEDCard::NC_testreg

Definition at line 145 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::NCadcg

Definition at line 127 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::NCbaseln

Definition at line 130 of file PixelFEDCard.h.

int pos::PixelFEDCard::NCbaseln_original

Definition at line 149 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::NCcntrl

Definition at line 98 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::NCcntrl_original

Definition at line 102 of file PixelFEDCard.h.

int pos::PixelFEDCard::NCfifo1Bzlvl

Definition at line 136 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::Ncntrl

Definition at line 98 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::Ncntrl_original

Definition at line 102 of file PixelFEDCard.h.

int pos::PixelFEDCard::Nfifo1Bzlvl

Definition at line 136 of file PixelFEDCard.h.

int pos::PixelFEDCard::NRocs[36]

Definition at line 124 of file PixelFEDCard.h.

Referenced by pos::PixelConfigurationVerifier::checkChannelEnable().

int pos::PixelFEDCard::offs_dac[36]

Definition at line 77 of file PixelFEDCard.h.

int pos::PixelFEDCard::Ooslvl

Definition at line 133 of file PixelFEDCard.h.

int pos::PixelFEDCard::opt_cap[3]

Definition at line 72 of file PixelFEDCard.h.

int pos::PixelFEDCard::opt_inadj[3]

Definition at line 73 of file PixelFEDCard.h.

int pos::PixelFEDCard::opt_ouadj[3]

Definition at line 74 of file PixelFEDCard.h.

int pos::PixelFEDCard::ROC_L0[36][26]

Definition at line 94 of file PixelFEDCard.h.

int pos::PixelFEDCard::ROC_L1[36][26]

Definition at line 94 of file PixelFEDCard.h.

int pos::PixelFEDCard::ROC_L2[36][26]

Definition at line 94 of file PixelFEDCard.h.

int pos::PixelFEDCard::ROC_L3[36][26]

Definition at line 94 of file PixelFEDCard.h.

int pos::PixelFEDCard::ROC_L4[36][26]

Definition at line 94 of file PixelFEDCard.h.

int pos::PixelFEDCard::S_hitlimit

Definition at line 142 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::S_Pword

Definition at line 108 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::S_TBMmask

Definition at line 105 of file PixelFEDCard.h.

int pos::PixelFEDCard::S_testreg

Definition at line 145 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::Sadcg

Definition at line 127 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::Sbaseln

Definition at line 130 of file PixelFEDCard.h.

int pos::PixelFEDCard::Sbaseln_original

Definition at line 149 of file PixelFEDCard.h.

int pos::PixelFEDCard::SC_hitlimit

Definition at line 142 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::SC_Pword

Definition at line 108 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::SC_TBMmask

Definition at line 105 of file PixelFEDCard.h.

int pos::PixelFEDCard::SC_testreg

Definition at line 145 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::SCadcg

Definition at line 127 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::SCbaseln

Definition at line 130 of file PixelFEDCard.h.

int pos::PixelFEDCard::SCbaseln_original

Definition at line 149 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::SCcntrl

Definition at line 98 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::SCcntrl_original

Definition at line 102 of file PixelFEDCard.h.

int pos::PixelFEDCard::SCfifo1Bzlvl

Definition at line 136 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::Scntrl

Definition at line 98 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::Scntrl_original

Definition at line 102 of file PixelFEDCard.h.

int pos::PixelFEDCard::Sfifo1Bzlvl

Definition at line 136 of file PixelFEDCard.h.

int pos::PixelFEDCard::SimHitsPerRoc

Definition at line 164 of file PixelFEDCard.h.

int pos::PixelFEDCard::SPARE1

Definition at line 167 of file PixelFEDCard.h.

int pos::PixelFEDCard::SPARE10

Definition at line 176 of file PixelFEDCard.h.

int pos::PixelFEDCard::SPARE2

Definition at line 168 of file PixelFEDCard.h.

int pos::PixelFEDCard::SPARE3

Definition at line 169 of file PixelFEDCard.h.

int pos::PixelFEDCard::SPARE4

Definition at line 170 of file PixelFEDCard.h.

int pos::PixelFEDCard::SPARE5

Definition at line 171 of file PixelFEDCard.h.

int pos::PixelFEDCard::SPARE6

Definition at line 172 of file PixelFEDCard.h.

int pos::PixelFEDCard::SPARE7

Definition at line 173 of file PixelFEDCard.h.

int pos::PixelFEDCard::SPARE8

Definition at line 174 of file PixelFEDCard.h.

int pos::PixelFEDCard::SPARE9

Definition at line 175 of file PixelFEDCard.h.

unsigned int pos::PixelFEDCard::SpecialDac

Definition at line 111 of file PixelFEDCard.h.

int pos::PixelFEDCard::TBM_L0[36]

Definition at line 91 of file PixelFEDCard.h.

int pos::PixelFEDCard::TBM_L1[36]

Definition at line 91 of file PixelFEDCard.h.

int pos::PixelFEDCard::TBM_L2[36]

Definition at line 91 of file PixelFEDCard.h.

int pos::PixelFEDCard::TBM_L3[36]

Definition at line 91 of file PixelFEDCard.h.

int pos::PixelFEDCard::TBM_L4[36]

Definition at line 91 of file PixelFEDCard.h.

int pos::PixelFEDCard::TimeoutOROOSLimit

Definition at line 165 of file PixelFEDCard.h.

int pos::PixelFEDCard::TriggerHoldoff

Definition at line 166 of file PixelFEDCard.h.

int pos::PixelFEDCard::TRL_L0[36]

Definition at line 92 of file PixelFEDCard.h.

int pos::PixelFEDCard::TRL_L1[36]

Definition at line 92 of file PixelFEDCard.h.

int pos::PixelFEDCard::TRL_L2[36]

Definition at line 92 of file PixelFEDCard.h.

int pos::PixelFEDCard::TRL_L3[36]

Definition at line 92 of file PixelFEDCard.h.

int pos::PixelFEDCard::TRL_L4[36]

Definition at line 92 of file PixelFEDCard.h.

int pos::PixelFEDCard::Ublack[36]

Definition at line 88 of file PixelFEDCard.h.