#include <Phase2TrackerCabling.h>
Public Member Functions | |
const std::vector< Phase2TrackerModule > & | connections () const |
std::string | description (bool compact=false) const |
Phase2TrackerCabling | filterByCoolingLine (uint32_t coolingLine) const |
Phase2TrackerCabling | filterByPowerGroup (uint32_t powerGroup) const |
const Phase2TrackerModule & | findDetid (uint32_t detid) const |
const Phase2TrackerModule & | findFedCh (std::pair< unsigned int, unsigned int > fedch) const |
const Phase2TrackerModule & | findGbtid (uint32_t gbtid) const |
void | initializeCabling () |
Phase2TrackerCabling (const std::vector< Phase2TrackerModule > &cons) | |
Phase2TrackerCabling (const Phase2TrackerCabling &src) | |
Phase2TrackerCabling () | |
std::string | summaryDescription () const |
virtual | ~Phase2TrackerCabling () |
Private Types | |
typedef std::vector< key > | cabling |
typedef std::vector< Phase2TrackerModule >::const_iterator | key |
typedef std::vector< Phase2TrackerModule > | store |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Static Private Member Functions | |
static bool | chComp (key a, std::pair< unsigned int, unsigned int > b) |
static bool | chOrdering (key a, key b) |
static bool | cooleq (const Phase2TrackerModule &a, const Phase2TrackerModule &b) |
static bool | coolingComp (const Phase2TrackerModule &a, uint32_t b) |
static bool | coolingOrdering (const Phase2TrackerModule &a, const Phase2TrackerModule &b) |
static bool | detidComp (key a, uint32_t b) |
static bool | detidOrdering (key a, key b) |
static bool | fedeq (key a, key b) |
static bool | gbtidComp (key a, uint32_t b) |
static bool | gbtidOrdering (key a, key b) |
static bool | poweq (const Phase2TrackerModule &a, const Phase2TrackerModule &b) |
static bool | powerComp (const Phase2TrackerModule &a, uint32_t b) |
static bool | powerOrdering (const Phase2TrackerModule &a, const Phase2TrackerModule &b) |
Private Attributes | |
store | connections_ |
cabling | detCabling_ |
cabling | fedCabling_ |
cabling | gbtCabling_ |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 9 of file Phase2TrackerCabling.h.
|
private |
Definition at line 13 of file Phase2TrackerCabling.h.
|
private |
Definition at line 12 of file Phase2TrackerCabling.h.
|
private |
Definition at line 11 of file Phase2TrackerCabling.h.
Phase2TrackerCabling::Phase2TrackerCabling | ( | const std::vector< Phase2TrackerModule > & | cons | ) |
Definition at line 62 of file Phase2TrackerCabling.cc.
References initializeCabling().
Phase2TrackerCabling::Phase2TrackerCabling | ( | const Phase2TrackerCabling & | src | ) |
Definition at line 67 of file Phase2TrackerCabling.cc.
References connections_, detCabling_, fedCabling_, and gbtCabling_.
|
inline |
Definition at line 23 of file Phase2TrackerCabling.h.
|
inlinevirtual |
|
staticprivate |
|
staticprivate |
|
inline |
Definition at line 32 of file Phase2TrackerCabling.h.
References connections_, description(), filterByCoolingLine(), filterByPowerGroup(), findDetid(), findFedCh(), findGbtid(), AlCaHLTBitMon_QueryRunRegistry::string, and summaryDescription().
|
staticprivate |
Definition at line 47 of file Phase2TrackerCabling.cc.
References Phase2TrackerModule::getCoolingLoop().
Referenced by summaryDescription().
|
staticprivate |
Definition at line 45 of file Phase2TrackerCabling.cc.
References b, and Phase2TrackerModule::getCoolingLoop().
|
staticprivate |
Definition at line 43 of file Phase2TrackerCabling.cc.
References Phase2TrackerModule::getCoolingLoop().
Referenced by filterByCoolingLine(), and summaryDescription().
std::string Phase2TrackerCabling::description | ( | bool | compact = false | ) | const |
Definition at line 172 of file Phase2TrackerCabling.cc.
References connections_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by connections().
|
staticprivate |
|
staticprivate |
Phase2TrackerCabling Phase2TrackerCabling::filterByCoolingLine | ( | uint32_t | coolingLine | ) | const |
Definition at line 117 of file Phase2TrackerCabling.cc.
References connections_, coolingOrdering(), mps_fire::result, and Phase2TrackerModule::SS.
Referenced by connections().
Phase2TrackerCabling Phase2TrackerCabling::filterByPowerGroup | ( | uint32_t | powerGroup | ) | const |
Definition at line 134 of file Phase2TrackerCabling.cc.
References connections_, powerOrdering(), mps_fire::result, and Phase2TrackerModule::SS.
Referenced by connections().
const Phase2TrackerModule & Phase2TrackerCabling::findDetid | ( | uint32_t | detid | ) | const |
Definition at line 99 of file Phase2TrackerCabling.cc.
References TauDecayModes::dec, detCabling_, detidComp(), and Exception.
Referenced by connections().
const Phase2TrackerModule & Phase2TrackerCabling::findFedCh | ( | std::pair< unsigned int, unsigned int > | fedch | ) | const |
Definition at line 90 of file Phase2TrackerCabling.cc.
References chComp(), Exception, and fedCabling_.
Referenced by connections(), and Phase2Tracker::Phase2TrackerDigiProducer::produce().
const Phase2TrackerModule & Phase2TrackerCabling::findGbtid | ( | uint32_t | gbtid | ) | const |
Definition at line 108 of file Phase2TrackerCabling.cc.
References TauDecayModes::dec, Exception, gbtCabling_, and gbtidComp().
Referenced by connections().
|
staticprivate |
|
staticprivate |
void Phase2TrackerCabling::initializeCabling | ( | ) |
Definition at line 74 of file Phase2TrackerCabling.cc.
References chOrdering(), connections_, detCabling_, detidOrdering(), fedCabling_, gbtCabling_, and gbtidOrdering().
Referenced by Phase2TrackerCabling(), and ~Phase2TrackerCabling().
|
staticprivate |
Definition at line 56 of file Phase2TrackerCabling.cc.
References Phase2TrackerModule::getPowerGroup().
Referenced by summaryDescription().
|
staticprivate |
Definition at line 54 of file Phase2TrackerCabling.cc.
References b, and Phase2TrackerModule::getPowerGroup().
|
staticprivate |
Definition at line 52 of file Phase2TrackerCabling.cc.
References Phase2TrackerModule::getPowerGroup().
Referenced by filterByPowerGroup(), and summaryDescription().
|
private |
std::string Phase2TrackerCabling::summaryDescription | ( | ) | const |
Definition at line 151 of file Phase2TrackerCabling.cc.
References connections_, cooleq(), coolingOrdering(), SoftLeptonByDistance_cfi::distance, fedCabling_, fedeq(), poweq(), powerOrdering(), AlCaHLTBitMon_QueryRunRegistry::string, tmp, and tier0::unique().
Referenced by connections().
|
friend |
Definition at line 80 of file Phase2TrackerCabling.h.
|
friend |
Definition at line 80 of file Phase2TrackerCabling.h.
|
private |
Definition at line 57 of file Phase2TrackerCabling.h.
Referenced by connections(), description(), filterByCoolingLine(), filterByPowerGroup(), initializeCabling(), Phase2TrackerCabling(), and summaryDescription().
|
private |
Definition at line 62 of file Phase2TrackerCabling.h.
Referenced by findDetid(), initializeCabling(), and Phase2TrackerCabling().
|
private |
Definition at line 60 of file Phase2TrackerCabling.h.
Referenced by findFedCh(), initializeCabling(), Phase2TrackerCabling(), and summaryDescription().
|
private |
Definition at line 61 of file Phase2TrackerCabling.h.
Referenced by findGbtid(), initializeCabling(), and Phase2TrackerCabling().