#include <Phase2TrackerCabling.h>
|
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) |
|
Definition at line 9 of file Phase2TrackerCabling.h.
Phase2TrackerCabling::Phase2TrackerCabling |
( |
| ) |
|
|
inline |
virtual Phase2TrackerCabling::~Phase2TrackerCabling |
( |
| ) |
|
|
inlinevirtual |
std::string Phase2TrackerCabling::description |
( |
bool |
compact = false | ) |
const |
bool Phase2TrackerCabling::fedeq |
( |
key |
a, |
|
|
key |
b |
|
) |
| |
|
staticprivate |
const Phase2TrackerModule & Phase2TrackerCabling::findFedCh |
( |
std::pair< unsigned int, unsigned int > |
fedch | ) |
const |
Definition at line 108 of file Phase2TrackerCabling.cc.
References edm::hlt::Exception, and gbtidComp().
110 cabling::const_iterator itch = std::lower_bound (gbtCabling_.begin(), gbtCabling_.end(), gbtid,
gbtidComp);
111 if (itch != gbtCabling_.end() && (*itch)->getGbtid()==gbtid)
114 throw cms::Exception(
"IndexNotFound") <<
"No connection corresponding to gbtid = 0x" << std::hex << gbtid << std::dec;
static bool gbtidComp(key a, uint32_t b)
void Phase2TrackerCabling::initializeCabling |
( |
| ) |
|
std::string Phase2TrackerCabling::summaryDescription |
( |
| ) |
const |
Definition at line 151 of file Phase2TrackerCabling.cc.
References connections_, cooleq(), coolingOrdering(), fedeq(), poweq(), powerOrdering(), python.multivaluedict::sort(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
152 std::string mystring(
"Summary of the cabling\n======================\n");
153 std::stringstream
ss;
155 ss <<
"Number of modules: " <<
connections_.size() << std::endl;
157 ss <<
"Number of FEDs: ";
159 ss << std::distance(tmpc.begin(),std::unique(tmpc.begin(),tmpc.end(),
fedeq)) << std::endl;
160 ss <<
"Number of cooling loops: ";
163 ss << std::distance(
tmp.begin(),std::unique(
tmp.begin(),
tmp.end(),
cooleq)) << std::endl;
164 ss <<
"Number of power groups: ";
167 ss << std::distance(tmp.begin(),std::unique(tmp.begin(),tmp.end(),
poweq)) << std::endl;
168 mystring += ss.str();
static bool powerOrdering(const Phase2TrackerModule &a, const Phase2TrackerModule &b)
static bool coolingOrdering(const Phase2TrackerModule &a, const Phase2TrackerModule &b)
static bool cooleq(const Phase2TrackerModule &a, const Phase2TrackerModule &b)
static bool poweq(const Phase2TrackerModule &a, const Phase2TrackerModule &b)
std::vector< std::vector< double > > tmp
static bool fedeq(key a, key b)
std::vector< Phase2TrackerModule > store
std::vector< key > cabling
Phase2TrackerCabling::COND_SERIALIZABLE |
|
private |
cabling fedCabling_ Phase2TrackerCabling::COND_TRANSIENT |
|
private |
cabling gbtCabling_ Phase2TrackerCabling::COND_TRANSIENT |
|
private |
cabling detCabling_ Phase2TrackerCabling::COND_TRANSIENT |
|
private |
store Phase2TrackerCabling::connections_ |
|
private |