#include <HGCSiliconDetIdToROC.h>
Public Member Functions | |
int | getROCNumber (HGCalTriggerDetId const &id) const |
int | getROCNumber (int triggerCellU, int triggerCellV, int type) const |
std::vector< std::pair< int, int > > | getTriggerId (int roc, int type) const |
HGCSiliconDetIdToROC () | |
void | print () const |
Private Attributes | |
std::map< int, std::vector< std::pair< int, int > > > | triggerIdFromROC_ |
std::map< std::pair< int, int >, int > | triggerIdToROC_ |
Definition at line 11 of file HGCSiliconDetIdToROC.h.
HGCSiliconDetIdToROC::HGCSiliconDetIdToROC | ( | ) |
This translated TriggerDetId to ROC and viceversa for HGCSilicon
Definition at line 3 of file HGCSiliconDetIdToROC.cc.
References postprocess-scan-build::cells, triggerIdFromROC_, triggerIdToROC_, and findQualityFiles::v.
|
inline |
Definition at line 18 of file HGCSiliconDetIdToROC.h.
References getTriggerId(), and print().
int HGCSiliconDetIdToROC::getROCNumber | ( | int | triggerCellU, |
int | triggerCellV, | ||
int | type | ||
) | const |
Definition at line 50 of file HGCSiliconDetIdToROC.cc.
References triggerIdToROC_.
std::vector< std::pair< int, int > > HGCSiliconDetIdToROC::getTriggerId | ( | int | roc, |
int | type | ||
) | const |
Definition at line 58 of file HGCSiliconDetIdToROC.cc.
References gen::k, list(), and triggerIdFromROC_.
Referenced by getROCNumber().
void HGCSiliconDetIdToROC::print | ( | void | ) | const |
Definition at line 77 of file HGCSiliconDetIdToROC.cc.
References gather_cfg::cout, plotBeamSpotDB::first, findQualityFiles::size, triggerIdFromROC_, and triggerIdToROC_.
Referenced by getROCNumber().
|
private |
Definition at line 28 of file HGCSiliconDetIdToROC.h.
Referenced by getTriggerId(), HGCSiliconDetIdToROC(), and print().
|
private |
Definition at line 27 of file HGCSiliconDetIdToROC.h.
Referenced by getROCNumber(), HGCSiliconDetIdToROC(), and print().