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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
//authors: Francesco Costanza (DESY)
// Dirk Kruecker (DESY)
//date: 05/05/11
#ifndef DQMOFFLINE_JETMET_SUSYDQM_ANALYZER_H
#define DQMOFFLINE_JETMET_SUSYDQM_ANALYZER_H (1)
#include "DataFormats/Common/interface/Handle.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFormats/JetReco/interface/PFJet.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include <DQMServices/Core/interface/DQMEDAnalyzer.h>
#include "DataFormats/JetReco/interface/CaloJetCollection.h"
#include "DataFormats/METReco/interface/PFMETCollection.h"
#include "DataFormats/METReco/interface/CaloMETCollection.h"
#include <string>
class SUSYDQMAnalyzer : public DQMEDAnalyzer {
public:
explicit SUSYDQMAnalyzer(const edm::ParameterSet&);
~SUSYDQMAnalyzer() override;
private:
edm::ParameterSet iConfig;
void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
void analyze(const edm::Event&, const edm::EventSetup&) override;
edm::EDGetTokenT<reco::PFMETCollection> thePFMETCollectionToken;
edm::EDGetTokenT<std::vector<reco::PFJet> > thePFJetCollectionToken;
edm::EDGetTokenT<reco::CaloJetCollection> theCaloJetCollectionToken;
edm::EDGetTokenT<reco::CaloMETCollection> theCaloMETCollectionToken;
//edm::EDGetTokenT<reco::JPTJetCollection> theJPTJetCollectionToken;
//edm::EDGetTokenT<reco::METCollection> theTCMETCollectionToken;
double _ptThreshold;
double _maxNJets;
double _maxAbsEta;
std::string SUSYFolder;
static const char* messageLoggerCatregory;
//Susy DQM storing elements
//remove TCMET and JPT related variables
MonitorElement* hCaloHT;
//MonitorElement* hJPTHT;
MonitorElement* hPFHT;
MonitorElement* hCaloMET;
MonitorElement* hPFMET;
//MonitorElement* hTCMET;
MonitorElement* hCaloMHT;
//MonitorElement* hJPTMHT;
MonitorElement* hPFMHT;
MonitorElement* hCaloAlpha_T;
//MonitorElement* hJPTAlpha_T;
MonitorElement* hPFAlpha_T;
};
#endif
|