#include <HcalText2DetIdConverter.h>
Public Member Functions | |
int | getField (int i) const |
const std::string & | getField1 () const |
const std::string & | getField2 () const |
const std::string & | getField3 () const |
const std::string & | getFlavor () const |
DetId | getId () const |
HcalText2DetIdConverter (const std::string &fFlavor="NA", const std::string &fField1="0", const std::string &fField2="0", const std::string &fField3="0") | |
HcalText2DetIdConverter (DetId fId) | |
bool | isHcalCalibDetId () const |
bool | isHcalDetId () const |
bool | isHcalTrigTowerDetId () const |
bool | isHcalZDCDetId () const |
std::string | toString () const |
Private Member Functions | |
bool | init (const std::string &fFlavor, const std::string &fField1, const std::string &fField2, const std::string &fField3) |
bool | init (DetId fId) |
void | setField (int i, int fValue) |
Private Attributes | |
std::string | field1 |
std::string | field2 |
std::string | field3 |
std::string | flavorName |
DetId | mId |
For Calibration DetIds:
Flavor = "CALIB_[HB|HE|HO|HF]" or "HOX"
fField1 is ieta (-2:2 for CALIB) fField2 is iphi fField3 is ctype (CALIB only)
Definition at line 21 of file HcalText2DetIdConverter.h.
HcalText2DetIdConverter::HcalText2DetIdConverter | ( | const std::string & | fFlavor = "NA" , |
const std::string & | fField1 = "0" , |
||
const std::string & | fField2 = "0" , |
||
const std::string & | fField3 = "0" |
||
) |
Definition at line 41 of file HcalText2DetIdConverter.cc.
HcalText2DetIdConverter::HcalText2DetIdConverter | ( | DetId | fId | ) |
Definition at line 52 of file HcalText2DetIdConverter.cc.
int HcalText2DetIdConverter::getField | ( | int | i | ) | const |
Definition at line 253 of file HcalText2DetIdConverter.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 167 of file HcalText2DetIdConverter.cc.
|
private |
Definition at line 72 of file HcalText2DetIdConverter.cc.
bool HcalText2DetIdConverter::isHcalCalibDetId | ( | ) | const |
Definition at line 60 of file HcalText2DetIdConverter.cc.
bool HcalText2DetIdConverter::isHcalDetId | ( | ) | const |
Definition at line 56 of file HcalText2DetIdConverter.cc.
bool HcalText2DetIdConverter::isHcalTrigTowerDetId | ( | ) | const |
Definition at line 64 of file HcalText2DetIdConverter.cc.
bool HcalText2DetIdConverter::isHcalZDCDetId | ( | ) | const |
Definition at line 68 of file HcalText2DetIdConverter.cc.
|
private |
Definition at line 271 of file HcalText2DetIdConverter.cc.
std::string HcalText2DetIdConverter::toString | ( | ) | const |
Definition at line 279 of file HcalText2DetIdConverter.cc.
|
private |
Definition at line 48 of file HcalText2DetIdConverter.h.
Referenced by getField1().
|
private |
Definition at line 49 of file HcalText2DetIdConverter.h.
Referenced by getField2().
|
private |
Definition at line 50 of file HcalText2DetIdConverter.h.
Referenced by getField3().
|
private |
Definition at line 47 of file HcalText2DetIdConverter.h.
Referenced by getFlavor().
|
private |
Definition at line 51 of file HcalText2DetIdConverter.h.
Referenced by getId().