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
 
std::string infotype
 
int iphi
 
std::vector< unsigned int > lut
 
int lut_type
 
std::vector< uint64_t > mask
 
int slot
 
std::string targetfirmware
 
int topbottom
 
int weight
 

Detailed Description

Definition at line 29 of file LutXml.h.

Constructor & Destructor Documentation

◆ _Config()

XERCES_CPP_NAMESPACE_USE LutXml::Config::_Config ( )

Definition at line 31 of file LutXml.cc.

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

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

Member Data Documentation

◆ crate

int LutXml::_Config::crate

◆ creationstamp

std::string LutXml::_Config::creationstamp

◆ creationtag

std::string LutXml::_Config::creationtag

◆ depth

int LutXml::_Config::depth

◆ fiber

int LutXml::_Config::fiber

◆ fiberchan

int LutXml::_Config::fiberchan

◆ formatrevision

std::string LutXml::_Config::formatrevision

◆ generalizedindex

int LutXml::_Config::generalizedindex

◆ ieta

int LutXml::_Config::ieta

◆ infotype

std::string LutXml::_Config::infotype

Definition at line 31 of file LutXml.h.

Referenced by LutXml::addLut().

◆ iphi

int LutXml::_Config::iphi

◆ lut

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

◆ lut_type

int LutXml::_Config::lut_type

◆ mask

std::vector<uint64_t> LutXml::_Config::mask

Definition at line 40 of file LutXml.h.

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

◆ slot

int LutXml::_Config::slot

◆ targetfirmware

std::string LutXml::_Config::targetfirmware

◆ topbottom

int LutXml::_Config::topbottom

◆ weight

int LutXml::_Config::weight
LutXml::_Config::creationtag
std::string creationtag
Definition: LutXml.h:33
LutXml::_Config::topbottom
int topbottom
Definition: LutXml.h:32
LutXml::_Config::slot
int slot
Definition: LutXml.h:32
protons_cff.time
time
Definition: protons_cff.py:35
LutXml::_Config::targetfirmware
std::string targetfirmware
Definition: LutXml.h:36
LutXml::_Config::generalizedindex
int generalizedindex
Definition: LutXml.h:37
LutXml::_Config::iphi
int iphi
Definition: LutXml.h:32
LutXml::_Config::lut_type
int lut_type
Definition: LutXml.h:32
LutXml::_Config::creationstamp
std::string creationstamp
Definition: LutXml.h:34
LutXml::_Config::ieta
int ieta
Definition: LutXml.h:32
LutXml::_Config::crate
int crate
Definition: LutXml.h:32
LutXml::_Config::depth
int depth
Definition: LutXml.h:32
LutXml::_Config::fiber
int fiber
Definition: LutXml.h:32
LutXml::_Config::fiberchan
int fiberchan
Definition: LutXml.h:32
LutXml::_Config::formatrevision
std::string formatrevision
Definition: LutXml.h:35
LutXml::_Config::infotype
std::string infotype
Definition: LutXml.h:31
weight
Definition: weight.py:1