Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:07:57

0001 #ifndef DQM_L1TMONITORCLIENT_L1TCSCTFCLIENT_H
0002 #define DQM_L1TMONITORCLIENT_L1TCSCTFCLIENT_H
0003 
0004 #include "FWCore/Framework/interface/Frameworkfwd.h"
0005 #include "FWCore/Framework/interface/Event.h"
0006 #include "FWCore/Framework/interface/MakerMacros.h"
0007 #include "DQMServices/Core/interface/DQMStore.h"
0008 #include "DQMServices/Core/interface/DQMEDHarvester.h"
0009 
0010 #include <string>
0011 
0012 class L1TCSCTFClient : public DQMEDHarvester {
0013 public:
0014   /// Constructor
0015   L1TCSCTFClient(const edm::ParameterSet &ps);
0016 
0017   /// Destructor
0018   ~L1TCSCTFClient() override;
0019 
0020 protected:
0021   void dqmEndLuminosityBlock(DQMStore::IBooker &,
0022                              DQMStore::IGetter &,
0023                              edm::LuminosityBlock const &,
0024                              edm::EventSetup const &) override;       //performed in the endLumi
0025   void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;  //performed in the endJob
0026 
0027 private:
0028   void initialize();
0029 
0030   void processHistograms(DQMStore::IGetter &);
0031 
0032   edm::ParameterSet parameters;
0033 
0034   std::string input_dir, output_dir;
0035   int counterLS;    ///counter
0036   int counterEvt;   ///counter
0037   int prescaleLS;   ///units of lumi sections
0038   int prescaleEvt;  ///prescale on number of events
0039 
0040   bool m_runInEventLoop;
0041   bool m_runInEndLumi;
0042   bool m_runInEndRun;
0043   bool m_runInEndJob;
0044 
0045   // -------- member data --------
0046   MonitorElement *csctferrors_;
0047 };
0048 
0049 #endif