CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1THcalClient.h
Go to the documentation of this file.
1 #ifndef L1THcalClient_H
2 #define L1THcalClient_H
3 // -*- C++ -*-
4 //
5 // Package: L1THcalClient
6 // Class: L1THcalClient
7 //
15 //
16 // Original Author: Adam Aurisano
17 // Created: Sun Nov 25 21:32:01 CEST 2007
18 //
19 //
20 // system include files
21 #include <memory>
22 #include <string>
23 
24 // user include files
28 
31 
34 #include <TH1F.h>
35 #include <TH2F.h>
36 
38 //
39 // class decleration
40 class SubscriptionHandle;
41 class QTestHandle;
42 
44  public:
45  explicit L1THcalClient(const edm::ParameterSet&);
47  TH1F * get1DHisto(std::string meName, DQMStore * dbi);
48  TH2F * get2DHisto(std::string meName, DQMStore * dbi);
49 
50 
51  private:
52  virtual void beginJob(void) ;
53  virtual void analyze(const edm::Event&, const edm::EventSetup&);
54  virtual void endJob() ;
55  // virtual void endLuminosityBlock(const edm::LuminosityBlock & l, const edm::EventSetup & c);
56  void calcEff(TH1F* num, TH1F* den, MonitorElement* me);
57 
58  // ----------member data ---------------------------
60 
62  //std::string outputFile;
63  //std::string qualityCriterionName;
64  std::string input_dir;
65  std::string output_dir;
67  //bool stdalone;
68  //bool saveOutput;
69  //bool getMESubscriptionListFromFile;
70  //bool getQualityTestsFromFile;
71  //SubscriptionHandle *subscriber;
72  //QTestHandle * qtHandler;
82 
83 };
84 
85 #endif
std::string output_dir
Definition: L1THcalClient.h:65
MonitorElement * hcalEff_1_
Definition: L1THcalClient.h:76
void calcEff(TH1F *num, TH1F *den, MonitorElement *me)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * hcalEff_4_
Definition: L1THcalClient.h:79
TH2F * get2DHisto(std::string meName, DQMStore *dbi)
MonitorElement * hcalEff_2_
Definition: L1THcalClient.h:77
virtual void beginJob(void)
MonitorElement * hcalEff_HF[8][18]
Definition: L1THcalClient.h:81
std::string input_dir
Definition: L1THcalClient.h:64
long long int num
Definition: procUtils.cc:71
TH1F * get1DHisto(std::string meName, DQMStore *dbi)
MonitorElement * hcalThreshold_
Definition: L1THcalClient.h:74
MonitorElement * hcalPlateau_
Definition: L1THcalClient.h:73
MonitorElement * hcalWidth_
Definition: L1THcalClient.h:75
MonitorElement * hcalEff_3_
Definition: L1THcalClient.h:78
virtual void endJob()
DQMStore * dbe
Definition: L1THcalClient.h:61
MonitorElement * hcalEff_HBHE[56][72]
Definition: L1THcalClient.h:80
L1THcalClient(const edm::ParameterSet &)