CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTPGBadXTHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_BADXT_HANDLER_H
2 #define ECAL_TPG_BADXT_HANDLER_H
3 
4 #include <vector>
5 #include <typeinfo>
6 #include <string>
7 #include <map>
8 #include <iostream>
9 #include <time.h>
10 
13 
14 
25 
26 
27 
30 
35 
39 
40 namespace edm {
41  class ParameterSet;
42  class Event;
43  class EventSetup;
44 }
45 
46 namespace popcon
47 {
48 
49 
50  class EcalTPGBadXTHandler : public popcon::PopConSourceHandler<EcalTPGCrystalStatus>
51  {
52 
53  public:
56 
57  void getNewObjects();
58 
59  std::string id() const { return m_name;}
60 
61  void readFromFile(const char* inputFile) ;
62  void writeFile(const char* inputFile);
64 
66 
67  private:
68  std::string to_string( char value[]) {
69  std::ostringstream streamOut;
70  streamOut << value;
71  return streamOut.str();
72  }
73 
75 
76  unsigned int m_firstRun ;
77  unsigned int m_lastRun ;
78 
79  std::string m_location;
80  std::string m_gentag;
81  std::string m_sid;
82  std::string m_user;
83  std::string m_pass;
84  std::string m_locationsource;
85  std::string m_name;
86  unsigned int m_runnr;
87  std::string m_runtype;
88  std::string m_i_tag;
90  unsigned int m_i_run_number;
91  int m_i_badXT;
92  };
93 }
94 #endif
95 
void writeFile(const char *inputFile)
std::string to_string(char value[])
const EcalTPGCrystalStatus * mycrystalStat
EcalCondDBInterface * econn
EcalTPGCrystalStatus * produceEcalTrgChannelStatus()
EcalTPGBadXTHandler(edm::ParameterSet const &)
void readFromFile(const char *inputFile)