1 #ifndef HcalL1TriggerObjects_h 2 #define HcalL1TriggerObjects_h 18 #ifndef HCAL_COND_SUPPRESS_DEFAULT 26 if (fTag.size() > maxCharacters) {
27 throw cms::Exception(
"HcalL1TriggerObjects::setTagString: string exceeds array size");
29 strncpy(
mTag, fTag.c_str(), maxCharacters);
30 mTag[maxCharacters] =
'\0';
35 if (fAlgo.size() > maxCharacters) {
36 throw cms::Exception(
"HcalL1TriggerObjects::setAlgoString: string exceeds array size");
38 strncpy(
mAlgo, fAlgo.c_str(), maxCharacters);
39 mAlgo[maxCharacters] =
'\0';
HcalL1TriggerObjects(const HcalTopology *topo)
std::string getTagString() const
std::string getAlgoString() const
#define COND_SERIALIZABLE
void setTagString(std::string const &fTag)
char mAlgo[charArraySize]
std::string myname() const override
void setAlgoString(std::string const &fAlgo)
const HcalTopology * topo() const
static std::size_t charArraySize