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
LutXml::_Config Struct Reference

#include <LutXml.h>

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 32 of file LutXml.h.

Constructor & Destructor Documentation

LutXml::Config::_Config ( )

Definition at line 65 of file LutXml.cc.

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

66 {
67  ieta = -1000;
68  iphi = -1000;
69  depth = -1;
70  crate = -1;
71  slot = -1;
72  topbottom = -1;
73  fiber = -1;
74  fiberchan = -1;
75  lut_type = -1;
76  creationtag = "default_tag";
77 
78  char timebuf[50];
79  time_t _time = time( NULL );
80  //time_t _time = 1193697120;
81  //strftime( timebuf, 50, "%c", gmtime( &_time ) );
82  strftime( timebuf, 50, "%Y-%m-%d %H:%M:%S", gmtime( &_time ) );
83  creationstamp = timebuf;
84 
85  formatrevision = "default_revision";
86  targetfirmware = "default_revision";
87  generalizedindex = -1;
88 }
std::string targetfirmware
Definition: LutXml.h:39
int generalizedindex
Definition: LutXml.h:40
#define NULL
Definition: scimark2.h:8
int topbottom
Definition: LutXml.h:35
std::string creationtag
Definition: LutXml.h:36
std::string formatrevision
Definition: LutXml.h:38
int lut_type
Definition: LutXml.h:35
std::string creationstamp
Definition: LutXml.h:37
int fiberchan
Definition: LutXml.h:35

Member Data Documentation

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