#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 |
void | initialize () |
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 | |
DTTtrig (DTTtrig const &) | |
std::string | mapName () const |
DTTtrig & | operator= (DTTtrig const &) |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< std::pair < DTTtrigId, DTTtrigData > > | dataList |
std::string | dataVersion |
edm::ConstRespectingPtr < DTBufferTree< int, int > > | dBuf |
float | nsPerCount |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
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 35 of file DTTtrig.cc.
References dataList.
DTTtrig::DTTtrig | ( | const std::string & | version | ) |
Definition at line 43 of file DTTtrig.cc.
References dataList.
DTTtrig::~DTTtrig | ( | ) |
|
private |
DTTtrig::const_iterator DTTtrig::begin | ( | void | ) | const |
Definition at line 354 of file DTTtrig.cc.
References dataList.
Referenced by DTtTrigDBValidation::bookHistograms(), DTTTrigCalibration::dumpTTrigMap(), and DTTTrigCalibration::plotTTrig().
void DTTtrig::clear | ( | void | ) |
reset content
Definition at line 241 of file DTTtrig.cc.
References dataList, and initialize().
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(), BeautifulSoup.Tag::setString(), 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 359 of file DTTtrig.cc.
References dataList.
Referenced by DTtTrigDBValidation::bookHistograms(), 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 85 of file DTTtrig.cc.
References unit().
Referenced by Options.Options::__getitem__(), rrapi.RRApi::__init__(), betterConfigParser.BetterConfigParser::__updateDict(), DTtTrigDBValidation::bookHistograms(), rrapi.RRApi::columns(), dtCalibration::DTTTrigFillWithAverage::correction(), dtCalibration::DTTTrigConstantShift::correction(), rrapi.RRApi::count(), rrapi.RRApi::data(), DTTTrigSyncFromDB::emulatorOffset(), DTTTrigOffsetCalibration::endJob(), DTTTrigCorrection::endJob(), dtCalibration::DTTTrigFillWithAverage::getAverage(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), DTTTrigSyncFromDB::offset(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
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 100 of file DTTtrig.cc.
References AlCaHLTBitMon_QueryRunRegistry::data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTTtrigData::kFact, DTTimeUnits::ns, nsPerCount, edm::second(), DTTtrigData::tTrig, and DTTtrigData::tTrms.
Referenced by Options.Options::__getitem__(), rrapi.RRApi::__init__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | const DTSuperLayerId & | id, |
float & | tTrig, | ||
float & | tTrms, | ||
float & | kFact, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 141 of file DTTtrig.cc.
References unit().
Referenced by Options.Options::__getitem__(), rrapi.RRApi::__init__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | const DetId & | id, |
float & | tTrig, | ||
float & | tTrms, | ||
float & | kFact, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 154 of file DTTtrig.cc.
References DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by Options.Options::__getitem__(), rrapi.RRApi::__init__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float & | tTrig, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 170 of file DTTtrig.cc.
References unit().
Referenced by Options.Options::__getitem__(), rrapi.RRApi::__init__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
float & | tTrig, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 181 of file DTTtrig.cc.
References mps_update::status, and unit().
Referenced by Options.Options::__getitem__(), rrapi.RRApi::__init__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | const DTSuperLayerId & | id, |
float & | tTrig, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 200 of file DTTtrig.cc.
References unit().
Referenced by Options.Options::__getitem__(), rrapi.RRApi::__init__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
int DTTtrig::get | ( | const DetId & | id, |
float & | tTrig, | ||
DTTimeUnits::type | unit | ||
) | const |
Definition at line 211 of file DTTtrig.cc.
References DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by Options.Options::__getitem__(), rrapi.RRApi::__init__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
void DTTtrig::initialize | ( | ) |
Definition at line 371 of file DTTtrig.cc.
References DTBufferTree< Key, Content >::clear(), dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTTtrigId::stationId.
Referenced by clear().
|
private |
Definition at line 364 of file DTTtrig.cc.
References dataVersion, and mergeVDriftHistosByStation::name.
|
private |
int DTTtrig::set | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
float | tTrig, | ||
float | tTrms, | ||
float | kFact, | ||
DTTimeUnits::type | unit | ||
) |
Definition at line 248 of file DTTtrig.cc.
Referenced by DTTTrigCorrectionFirst::endJob(), DTTTrigCorrection::endJob(), DTTTrigOffsetCalibration::endJob(), DTTTrigCalibration::endJob(), betterConfigParser.BetterConfigParser::getGeneral(), 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 263 of file DTTtrig.cc.
References AlCaHLTBitMon_QueryRunRegistry::data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), relval_steps::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 320 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 333 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 225 of file DTTtrig.cc.
References nsPerCount.
const std::string & DTTtrig::version | ( | ) | const |
access version
Definition at line 231 of file DTTtrig.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), validation.Sample::filename(), and DTTTrigSyncFromDB::setES().
std::string & DTTtrig::version | ( | ) |
Definition at line 236 of file DTTtrig.cc.
References dataVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
|
private |
|
private |
|
private |
Definition at line 199 of file DTTtrig.h.
Referenced by get(), initialize(), and set().