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();
31  void beginRun(const edm::Run& run, const edm::EventSetup& c);
32  void endRun(const edm::Run& run, const edm::EventSetup& c){};
33 
34  void done();
35  void cleanup(void);
36  void reset();
37  void endJob();
38 
39  // analyze function
40  //void analyze(edm::Event const&e, edm::EventSetup const&s){};
41 
42  // Begin LumiBlock
43  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
44  const edm::EventSetup& c) ;
45 
46  // End LumiBlock
47  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
48  const edm::EventSetup& c);
49 
50  void periodicReset(){};
51 
52 
53  private:
54  int minEvents_;
55  std::vector<std::string> TaskList_;
56 };
57 
58 #endif
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
HcalLSbyLSMonitor(const edm::ParameterSet &ps)
std::vector< std::string > TaskList_
void beginRun(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)
Definition: Run.h:41