1 #ifndef DetectorQuantity_h 2 #define DetectorQuantity_h 45 typedef std::vector<std::string> (*getLabels_did)();
71 double min()
override {
return min_did[
_type]; }
72 double max()
override {
return max_did[
_type]; }
74 std::vector<std::string>
getLabels()
override {
return getLabels_functions_did[
_type](); }
uint32_t getBin(HcalDetId const &did) override
HcalDetId getDid_ieta(int)
int const nbins_did[nDetectorQuantityType]
~DetectorQuantity() override
uint32_t getBin_iphi(HcalDetId const &)
std::vector< std::string > getLabels_SubdetPM()
DetectorQuantity(DetectorQuantityType type, bool isLog=false)
std::vector< std::string > getLabels_ieta()
getDid_did const getDid_functions_did[nDetectorQuantityType]
HcalDetId getDid_depth(int)
uint32_t getBin_SubdetPM(HcalDetId const &)
std::vector< std::string > getLabels() override
uint32_t(* getBinType_did)(HcalDetId const &)
int getValue_ieta(HcalDetId const &)
uint32_t getBin_ieta(HcalDetId const &)
uint32_t getBin_Subdet(HcalDetId const &)
int(* getValueType_did)(HcalDetId const &)
std::vector< std::string > getLabels_Subdet()
std::vector< std::string >(* getLabels_did)()
HcalDetId(* getDid_did)(int)
getValueType_did const getValue_functions_did[nDetectorQuantityType]
std::string const name_did[nDetectorQuantityType]
int getValue(HcalDetId const &did) override
DetectorQuantity * makeCopy() override
QuantityType type() override
double const min_did[nDetectorQuantityType]
HcalDetId getDid_iphi(int)
HcalDetId getDid_SubdetPM(int)
uint32_t getBin_depth(HcalDetId const &)
std::vector< std::string > getLabels_depth()
int getValue_iphi(HcalDetId const &)
bool isCoordinate() override
getLabels_did const getLabels_functions_did[nDetectorQuantityType]
DetectorQuantityType _type
HcalDetId getDid_Subdet(int)
std::vector< std::string > getLabels_iphi()
int getValue_SubdetPM(HcalDetId const &)
int getValue_depth(HcalDetId const &)
double const max_did[nDetectorQuantityType]
int getValue_Subdet(HcalDetId const &)
getBinType_did const getBin_functions_did[nDetectorQuantityType]