CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalLSbyLSMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_HCALMONITORTASKS_HCALLSBYLSMONITOR_H
2 #define DQM_HCALMONITORTASKS_HCALLSBYLSMONITOR_H
3 
5 #include <cmath>
6 
7 
13 struct hotNeighborParams{
14  int DeltaIphi;
15  int DeltaIeta;
16  int DeltaDepth;
17  double minCellEnergy; // cells below this threshold can never be considered "hot" by this algorithm
18  double minNeighborEnergy; //neighbors must have some amount of energy to be counted
19  double maxEnergy; // a cell above this energy will always be considered hot
20  double HotEnergyFrac; // a cell will be considered hot if neighbor energy/ cell energy is less than this value
21 };
22 
24 
25  public:
27 
29 
30  void setup(DQMStore::IBooker &);
32  void endRun(const edm::Run& run, const edm::EventSetup& c){};
33 
34  void done();
35  void reset();
36  void endJob();
37 
38  // analyze function
39  //void analyze(edm::Event const&e, edm::EventSetup const&s){};
40 
41  // Begin LumiBlock
42  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
43  const edm::EventSetup& c) ;
44 
45  // End LumiBlock
46  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
47  const edm::EventSetup& c);
48 
49  void periodicReset(){};
50 
51 
52  private:
53  int minEvents_;
54  std::vector<std::string> TaskList_;
55 };
56 
57 #endif
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
HcalLSbyLSMonitor(const edm::ParameterSet &ps)
int ib
Definition: cuy.py:660
std::vector< std::string > TaskList_
void bookHistograms(DQMStore::IBooker &ib, const edm::Run &run, const edm::EventSetup &c)
void endRun(const edm::Run &run, const edm::EventSetup &c)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
void setup(DQMStore::IBooker &)
Definition: Run.h:41