CMS 3D CMS Logo

Public Member Functions | Public Attributes

LutXml::_Config Struct Reference

#include <LutXml.h>

List of all members.

Public Member Functions

 _Config ()

Public Attributes

int crate
std::string creationstamp
std::string creationtag
int depth
int fiber
int fiberchan
std::string formatrevision
int generalizedindex
int ieta
int iphi
std::vector< unsigned int > lut
int lut_type
int slot
std::string targetfirmware
int topbottom

Detailed Description

Definition at line 33 of file LutXml.h.


Constructor & Destructor Documentation

LutXml::Config::_Config ( )

Definition at line 66 of file LutXml.cc.

References lut2db_cfg::creationtag, NULL, lut2db_cfg::targetfirmware, and cond::rpcobgas::time.

{
  ieta = -1000;
  iphi = -1000;
  depth = -1;
  crate = -1;
  slot = -1;
  topbottom = -1;
  fiber = -1;
  fiberchan = -1;
  lut_type = -1;
  creationtag = "default_tag";

  char timebuf[50];
  time_t _time = time( NULL );
  //time_t _time = 1193697120;
  //strftime( timebuf, 50, "%c", gmtime( &_time ) );
  strftime( timebuf, 50, "%Y-%m-%d %H:%M:%S", gmtime( &_time ) );
  creationstamp = timebuf;

  formatrevision = "default_revision";
  targetfirmware = "default_revision";
  generalizedindex = -1;
}

Member Data Documentation

std::vector<unsigned int> LutXml::_Config::lut