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 
15 struct hotNeighborParams{
16  int DeltaIphi;
17  int DeltaIeta;
18  int DeltaDepth;
19  double minCellEnergy; // cells below this threshold can never be considered "hot" by this algorithm
20  double minNeighborEnergy; //neighbors must have some amount of energy to be counted
21  double maxEnergy; // a cell above this energy will always be considered hot
22  double HotEnergyFrac; // a cell will be considered hot if neighbor energy/ cell energy is less than this value
23 };
24 
26 
27  public:
29 
31 
32  void setup();
33  void beginRun(const edm::Run& run, const edm::EventSetup& c);
34  void endRun(const edm::Run& run, const edm::EventSetup& c){};
35 
36  void done();
37  void cleanup(void);
38  void reset();
39  void endJob();
40 
41  // analyze function
42  //void analyze(edm::Event const&e, edm::EventSetup const&s){};
43 
44  // Begin LumiBlock
45  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
46  const edm::EventSetup& c) ;
47 
48  // End LumiBlock
49  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
50  const edm::EventSetup& c);
51 
52  void periodicReset(){};
53 
54 
55  private:
56  int minEvents_;
57  std::vector<std::string> TaskList_;
58 };
59 
60 #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:36