CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalL1TriggerObjects.h
Go to the documentation of this file.
1 #ifndef HcalL1TriggerObjects_h
2 #define HcalL1TriggerObjects_h
3 
4 
5 #include <cstring>
6 #include <string>
7 
10 
11 
12 class HcalL1TriggerObjects: public HcalCondObjectContainer<HcalL1TriggerObject>
13 {
14  public:
16 
17  //fill the chars and read them
18  void setTagString(std::string fTag) {strncpy(mTag,fTag.c_str(),128);}
19  void setAlgoString(std::string fAlgo) {strncpy(mAlgo,fAlgo.c_str(),128);}
20 
21  std::string getTagString() const {return (std::string)mTag;}
22  std::string getAlgoString() const {return (std::string)mAlgo;}
23 
24  std::string myname() const {return (std::string)"HcalL1TriggerObjects";}
25 
26  private:
27  char mTag[128];
28  char mAlgo[128];
29 
30 };
31 #endif
void setAlgoString(std::string fAlgo)
std::string getTagString() const
std::string myname() const
std::string getAlgoString() const
void setTagString(std::string fTag)