#include <DTTPGParameters.h>
Public Types | |
typedef std::vector< std::pair < DTTPGParametersId, DTTPGParametersData > >::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
const_iterator | begin () const |
void | clear () |
reset content More... | |
int | clock () const |
DTTPGParameters () | |
DTTPGParameters (const std::string &version) | |
const_iterator | end () const |
int | get (int wheelId, int stationId, int sectorId, int &nc, float &ph, DTTimeUnits::type unit) const |
get content More... | |
int | get (const DTChamberId &id, int &nc, float &ph, DTTimeUnits::type unit) const |
int | set (int wheelId, int stationId, int sectorId, int nc, float ph, DTTimeUnits::type unit) |
int | set (const DTChamberId &id, int nc, float ph, DTTimeUnits::type unit) |
void | setClock (int clock) |
void | setUnit (float unit) |
float | totalTime (int wheelId, int stationId, int sectorId, DTTimeUnits::type unit) const |
float | totalTime (const DTChamberId &id, DTTimeUnits::type unit) const |
float | unit () const |
const std::string & | version () const |
access version More... | |
std::string & | version () |
~DTTPGParameters () | |
Private Member Functions | |
void | cacheMap () const |
read and store full content More... | |
std::string | mapName () const |
Private Attributes | |
int | clockLength |
std::vector< std::pair < DTTPGParametersId, DTTPGParametersData > > | dataList |
std::string | dataVersion |
DTBufferTree< int, int > * | dBuf |
float | nsPerCount |
Description: Class to hold drift tubes TPG parameters
Definition at line 63 of file DTTPGParameters.h.
typedef std::vector< std::pair<DTTPGParametersId, DTTPGParametersData> >::const_iterator DTTPGParameters::const_iterator |
Access methods to data.
Definition at line 122 of file DTTPGParameters.h.
DTTPGParameters::DTTPGParameters | ( | ) |
Constructor
Definition at line 34 of file DTTPGParameters.cc.
References dataList, and dBuf.
DTTPGParameters::DTTPGParameters | ( | const std::string & | version | ) |
Definition at line 43 of file DTTPGParameters.cc.
References dataList, and dBuf.
DTTPGParameters::~DTTPGParameters | ( | ) |
DTTPGParameters::const_iterator DTTPGParameters::begin | ( | void | ) | const |
Definition at line 263 of file DTTPGParameters.cc.
References dataList.
Referenced by DTLocalTriggerSynchTest::endJob().
|
private |
read and store full content
Definition at line 280 of file DTTPGParameters.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTTPGParametersId::stationId.
Referenced by get(), and set().
void DTTPGParameters::clear | ( | void | ) |
reset content
Definition at line 179 of file DTTPGParameters.cc.
References dataList, and dBuf.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
int DTTPGParameters::clock | ( | ) | const |
Definition at line 158 of file DTTPGParameters.cc.
References clockLength.
Referenced by setClock(), and totalTime().
DTTPGParameters::const_iterator DTTPGParameters::end | ( | void | ) | const |
Definition at line 268 of file DTTPGParameters.cc.
References dataList.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and DTLocalTriggerSynchTest::endJob().
int DTTPGParameters::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int & | nc, | ||
float & | ph, | ||
DTTimeUnits::type | unit | ||
) | const |
get content
Operations
Definition at line 85 of file DTTPGParameters.cc.
References cacheMap(), data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTTPGParametersData::nClock, DTTimeUnits::ns, nsPerCount, edm::second(), and DTTPGParametersData::tPhase.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), DTConfigPedestals::getOffset(), betterConfigParser.BetterConfigParser::getResultingSection(), and DTConfigPedestals::print().
int DTTPGParameters::get | ( | const DTChamberId & | id, |
int & | nc, | ||
float & | ph, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 126 of file DTTPGParameters.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
private |
Definition at line 273 of file DTTPGParameters.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
int DTTPGParameters::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | nc, | ||
float | ph, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 188 of file DTTPGParameters.cc.
References cacheMap(), data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), combine::key, DTTPGParametersData::nClock, DTTimeUnits::ns, nsPerCount, edm::second(), DTTPGParametersId::stationId, and DTTPGParametersData::tPhase.
Referenced by DTConfigTrivialProducer::buildTrivialPedestals(), DTConfigDBProducer::buildTrivialPedestals(), DTLocalTriggerSynchTest::endJob(), betterConfigParser.BetterConfigParser::getGeneral(), DTTPGParametersHandler::getNewObjects(), and set().
int DTTPGParameters::set | ( | const DTChamberId & | id, |
int | nc, | ||
float | ph, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 242 of file DTTPGParameters.cc.
References set(), and relativeConstraints::station.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
void DTTPGParameters::setClock | ( | int | clock | ) |
void DTTPGParameters::setUnit | ( | float | unit | ) |
float DTTPGParameters::totalTime | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 137 of file DTTPGParameters.cc.
References cl, clock(), DTTimeUnits::ns, nsPerCount, and unit().
Referenced by totalTime().
float DTTPGParameters::totalTime | ( | const DTChamberId & | id, |
DTTimeUnits::type | unit | ||
) | const |
Definition at line 149 of file DTTPGParameters.cc.
References relativeConstraints::station, and totalTime().
float DTTPGParameters::unit | ( | ) | const |
Definition at line 163 of file DTTPGParameters.cc.
References nsPerCount.
Referenced by get(), setUnit(), and totalTime().
const std::string & DTTPGParameters::version | ( | ) | const |
std::string & DTTPGParameters::version | ( | ) |
|
private |
Definition at line 130 of file DTTPGParameters.h.
Referenced by clock(), and setClock().
|
private |
Definition at line 132 of file DTTPGParameters.h.
Referenced by begin(), cacheMap(), clear(), DTTPGParameters(), end(), get(), and set().
|
private |
Definition at line 128 of file DTTPGParameters.h.
|
private |
Definition at line 134 of file DTTPGParameters.h.
Referenced by cacheMap(), clear(), DTTPGParameters(), get(), set(), and ~DTTPGParameters().
|
private |
Definition at line 129 of file DTTPGParameters.h.
Referenced by get(), set(), setUnit(), totalTime(), and unit().