#include <DTTtrig.h>
Public Types | |
typedef std::vector< std::pair < DTTtrigId, DTTtrigData > >::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
const_iterator | begin () const |
void | clear () |
reset content More... | |
DTTtrig () | |
DTTtrig (const std::string &version) | |
const_iterator | end () const |
int | get (int wheelId, int stationId, int sectorId, int slId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const |
get content More... | |
int | get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const |
int | get (const DTSuperLayerId &id, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const |
int | get (const DetId &id, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const |
int | get (int wheelId, int stationId, int sectorId, int slId, float &tTrig, DTTimeUnits::type unit) const |
int | get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &tTrig, DTTimeUnits::type unit) const |
int | get (const DTSuperLayerId &id, float &tTrig, DTTimeUnits::type unit) const |
int | get (const DetId &id, float &tTrig, DTTimeUnits::type unit) const |
int | set (int wheelId, int stationId, int sectorId, int slId, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit) |
int | set (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit) |
int | set (const DTSuperLayerId &id, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit) |
int | set (const DetId &id, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit) |
void | setUnit (float unit) |
float | unit () const |
const std::string & | version () const |
access version More... | |
std::string & | version () |
~DTTtrig () | |
Private Member Functions | |
void | cacheMap () const |
read and store full content More... | |
std::string | mapName () const |
Private Attributes | |
std::vector< std::pair < DTTtrigId, DTTtrigData > > | dataList |
std::string | dataVersion |
DTBufferTree< int, int > * | dBuf |
float | nsPerCount |
Description: Class to hold drift tubes TTrigs ( SL by SL time offsets )
typedef std::vector< std::pair<DTTtrigId, DTTtrigData> >::const_iterator DTTtrig::const_iterator |
DTTtrig::DTTtrig | ( | ) |
Constructor
Definition at line 34 of file DTTtrig.cc.
References dataList, and dBuf.
DTTtrig::DTTtrig | ( | const std::string & | version | ) |
Definition at line 42 of file DTTtrig.cc.
References dataList, and dBuf.
DTTtrig::~DTTtrig | ( | ) |
DTTtrig::const_iterator DTTtrig::begin | ( | void | ) | const |
Definition at line 377 of file DTTtrig.cc.
References dataList.
Referenced by DTtTrigDBValidation::beginRun(), DTTTrigCalibration::dumpTTrigMap(), and DTTTrigCalibration::plotTTrig().
|
private |
read and store full content
Definition at line 394 of file DTTtrig.cc.
References dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTTtrigId::stationId.
Referenced by get(), and set().
void DTTtrig::clear | ( | void | ) |
reset content
Definition at line 253 of file DTTtrig.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().
DTTtrig::const_iterator DTTtrig::end | ( | void | ) | const |
Definition at line 382 of file DTTtrig.cc.
References dataList.
Referenced by DTtTrigDBValidation::beginRun(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), DTTTrigCalibration::dumpTTrigMap(), and DTTTrigCalibration::plotTTrig().
int DTTtrig::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float & | tTrig, | ||
float & | tTrms, | ||
float & | kFact, | ||
DTTimeUnits::type | unit | ||
) | const |
get content
Operations
Definition at line 87 of file DTTtrig.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), DTtTrigDBValidation::beginRun(), dtCalibration::DTTTrigFillWithAverage::correction(), dtCalibration::DTTTrigConstantShift::correction(), DTTTrigOffsetCalibration::endJob(), DTTTrigCorrection::endJob(), dtCalibration::DTTTrigFillWithAverage::getAverage(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTTtrig::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float & | tTrig, | ||
float & | tTrms, | ||
float & | kFact, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 102 of file DTTtrig.cc.
References cacheMap(), data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTTtrigData::kFact, DTTimeUnits::ns, nsPerCount, edm::second(), DTTtrigData::tTrig, and DTTtrigData::tTrms.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTTtrig::get | ( | const DTSuperLayerId & | id, |
float & | tTrig, | ||
float & | tTrms, | ||
float & | kFact, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 153 of file DTTtrig.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTTtrig::get | ( | const DetId & | id, |
float & | tTrig, | ||
float & | tTrms, | ||
float & | kFact, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 166 of file DTTtrig.cc.
References DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTTtrig::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float & | tTrig, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 182 of file DTTtrig.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTTtrig::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float & | tTrig, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 193 of file DTTtrig.cc.
References ntuplemaker::status, and unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTTtrig::get | ( | const DTSuperLayerId & | id, |
float & | tTrig, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 212 of file DTTtrig.cc.
References unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
int DTTtrig::get | ( | const DetId & | id, |
float & | tTrig, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 223 of file DTTtrig.cc.
References DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
private |
Definition at line 387 of file DTTtrig.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
int DTTtrig::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float | tTrig, | ||
float | tTrms, | ||
float | kFact, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 262 of file DTTtrig.cc.
Referenced by DTTTrigCorrectionFirst::endJob(), DTTTrigCorrection::endJob(), DTTTrigOffsetCalibration::endJob(), DTTTrigCalibration::endJob(), betterConfigParser.BetterConfigParser::getGeneral(), DTTtrigHandler::getNewObjects(), DTFakeTTrigESProducer::produce(), and set().
int DTTtrig::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float | tTrig, | ||
float | tTrms, | ||
float | kFact, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 277 of file DTTtrig.cc.
References cacheMap(), data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), combine::key, DTTtrigData::kFact, DTTimeUnits::ns, nsPerCount, edm::second(), DTTtrigId::stationId, DTTtrigData::tTrig, and DTTtrigData::tTrms.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTTtrig::set | ( | const DTSuperLayerId & | id, |
float | tTrig, | ||
float | tTrms, | ||
float | kFact, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 343 of file DTTtrig.cc.
References set(), and relativeConstraints::station.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
int DTTtrig::set | ( | const DetId & | id, |
float | tTrig, | ||
float | tTrms, | ||
float | kFact, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 356 of file DTTtrig.cc.
References DTLayerId::layer(), DTChamberId::sector(), set(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
void DTTtrig::setUnit | ( | float | unit | ) |
float DTTtrig::unit | ( | ) | const |
Definition at line 237 of file DTTtrig.cc.
References nsPerCount.
const std::string & DTTtrig::version | ( | ) | const |
std::string & DTTtrig::version | ( | ) |
|
private |
|
private |
|
private |
Definition at line 187 of file DTTtrig.h.
Referenced by cacheMap(), clear(), DTTtrig(), get(), set(), and ~DTTtrig().