00001 #ifndef HcalMonitorSelector_H 00002 #define HcalMonitorSelector_H 00003 00004 /* 00005 * \file HcalMonitorSelector.h 00006 * 00007 * $Date: 2006/09/28 22:17:54 $ 00008 * $Revision: 1.3 $ 00009 * \author W. Fisher 00010 * 00011 */ 00012 #include <FWCore/Framework/interface/Event.h> 00013 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00014 #include "TBDataFormats/HcalTBObjects/interface/HcalTBTriggerData.h" 00015 #include <iostream> 00016 #include <vector> 00017 #include <string> 00018 00019 using namespace std; 00020 00021 static const int HCAL_BEAM_TRIGGER = 0x0001; 00022 static const int DO_HCAL_DIGIMON = 0x0002; 00023 static const int DO_HCAL_DFMON = 0x0004; 00024 static const int DO_HCAL_RECHITMON = 0x0008; 00025 static const int DO_HCAL_LED_CALIBMON = 0x0010; 00026 static const int DO_HCAL_LASER_CALIBMON = 0x0020; 00027 static const int DO_HCAL_PED_CALIBMON = 0x0040; 00028 00029 00030 class HcalMonitorSelector{ 00031 00032 public: 00033 00035 HcalMonitorSelector() {}; 00036 HcalMonitorSelector(const edm::ParameterSet& ps); 00037 00039 ~HcalMonitorSelector(); 00040 00041 inline unsigned int getEventMask() const { return m_eventMask; } 00042 inline unsigned int getTriggerMask() const { return m_triggerMask; } 00043 inline int getRunNumber() const { return m_runNum; } 00044 void processEvent(const edm::Event& e); 00045 00046 protected: 00047 00048 private: 00049 00050 unsigned int m_eventMask; 00051 unsigned int m_triggerMask; 00052 int m_runNum; 00053 }; 00054 00055 #endif