CMS 3D CMS Logo

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
 
std::vector< uint64_t > mask
 
int slot
 
std::string targetfirmware
 
int topbottom
 

Detailed Description

Definition at line 29 of file LutXml.h.

Constructor & Destructor Documentation

XERCES_CPP_NAMESPACE_USE LutXml::Config::_Config ( )

Definition at line 31 of file LutXml.cc.

References LEDCalibrationChannels::depth, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, and ntuplemaker::time.

31  {
32  ieta = -1000;
33  iphi = -1000;
34  depth = -1;
35  crate = -1;
36  slot = -1;
37  topbottom = -1;
38  fiber = -1;
39  fiberchan = -1;
40  lut_type = -1;
41  creationtag = "default_tag";
42 
43  char timebuf[50];
44  time_t _time = time(nullptr);
45  strftime(timebuf, 50, "%Y-%m-%d %H:%M:%S", gmtime(&_time));
46  creationstamp = timebuf;
47 
48  formatrevision = "default_revision";
49  targetfirmware = "default_revision";
50  generalizedindex = -1;
51 }
std::string targetfirmware
Definition: LutXml.h:35
int generalizedindex
Definition: LutXml.h:36
int topbottom
Definition: LutXml.h:31
std::string creationtag
Definition: LutXml.h:32
std::string formatrevision
Definition: LutXml.h:34
int lut_type
Definition: LutXml.h:31
std::string creationstamp
Definition: LutXml.h:33
int fiberchan
Definition: LutXml.h:31

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
std::vector<uint64_t> LutXml::_Config::mask

Definition at line 38 of file LutXml.h.

Referenced by LutXml::addLut(), and HcalLutManager::getMasks().

int LutXml::_Config::slot
std::string LutXml::_Config::targetfirmware
int LutXml::_Config::topbottom