SusyPostProcessor

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
#ifndef SusyPostProcessor_H
#define SusyPostProcessor_H

#include "CommonTools/UtilAlgos/interface/TFileService.h"

#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ServiceRegistry/interface/Service.h"

#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/DQMEDHarvester.h"

#include <vector>
#include <string>

#include "TFile.h"
#include "TH1.h"
#include "TMath.h"

class SusyPostProcessor : public DQMEDHarvester {
public:
  explicit SusyPostProcessor(const edm::ParameterSet& pSet);
  ~SusyPostProcessor() override;

private:
  edm::ParameterSet iConfig;
  void dqmEndJob(DQMStore::IBooker&, DQMStore::IGetter&) override;
  void QuantilePlots(MonitorElement*&, double, DQMStore::IBooker&);

  static const char* messageLoggerCatregory;

  std::string SUSYFolder;
  double _quantile;

  std::vector<MonitorElement*> histoVector;
  std::vector<std::string> Dirs;

  MonitorElement* MEx;
  MonitorElement* MEy;
};

#endif