CMS 3D CMS Logo

DiJetMonitor.h
Go to the documentation of this file.
1 #ifndef DIJETMETMONITOR_H
2 #define DIJETMETMONITOR_H
3 
4 #include <string>
5 #include <vector>
6 #include <map>
7 
16 
20 
24 
25 //DataFormats
28 
42 
44 
45 //
46 // class declaration
47 //
48 
49 class DiJetMonitor : public DQMEDAnalyzer , public TriggerDQMBase
50 {
51 public:
53  ~DiJetMonitor() throw() override {};
54  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
55 
56 protected:
57 
58  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
59  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
60  bool dijet_selection(double eta_1, double phi_1, double eta_2, double phi_2, double pt_1, double pt_2, int &tag_id, int &probe_id, int Event);
61 
62 private:
63 
66 
71 
72 
75 
76 
77  ObjME jetpt1ME_;
78  ObjME jetpt2ME_;
79  ObjME jetptAvgaME_;
81  ObjME jetptAvgbME_;
82  ObjME jetptTagME_;
83  ObjME jetptPrbME_;
84  ObjME jetptAsyME_;
85  ObjME jetetaPrbME_;
86  ObjME jetetaTagME_;
87  ObjME jetphiPrbME_;
88  ObjME jetAsyEtaME_;
89  ObjME jetEtaPhiME_;
90 
91  std::unique_ptr<GenericTriggerEventFlag> num_genTriggerEventFlag_;
92  std::unique_ptr<GenericTriggerEventFlag> den_genTriggerEventFlag_;
93 
94  int nmuons_;
95  double ptcut_;
96 
97  // Define Phi Bin //
98  const double DiJet_MAX_PHI = 3.2;
99  //unsigned int DiJet_N_PHI = 64;
100  unsigned int DiJet_N_PHI = 32;
102  DiJet_N_PHI, -DiJet_MAX_PHI, DiJet_MAX_PHI
103  };
104  // Define Eta Bin //
105  const double DiJet_MAX_ETA = 5;
106  //unsigned int DiJet_N_ETA = 50;
107  unsigned int DiJet_N_ETA = 20;
109  DiJet_N_ETA, -DiJet_MAX_ETA, DiJet_MAX_ETA
110  };
111 
112  const double MAX_asy = 1;
113  const double MIN_asy = -1;
114  //unsigned int N_asy = 100;
115  unsigned int N_asy = 50;
117  N_asy, MIN_asy, MAX_asy
118  };
119 
120 };
121 
122 #endif // DIJETMETMONITOR_H
ObjME jetetaPrbME_
Definition: DiJetMonitor.h:85
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
Definition: DiJetMonitor.h:92
ObjME jetphiPrbME_
Definition: DiJetMonitor.h:87
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: DiJetMonitor.h:91
unsigned int N_asy
Definition: DiJetMonitor.h:115
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
ObjME jetptPrbME_
Definition: DiJetMonitor.h:83
MEbinning dijetpt_binning_
Definition: DiJetMonitor.h:73
ObjME jetAsyEtaME_
Definition: DiJetMonitor.h:88
const double MAX_asy
Definition: DiJetMonitor.h:112
MEbinning asy_binning
Definition: DiJetMonitor.h:116
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DiJetMonitor.cc:28
MEbinning dijetptThr_binning_
Definition: DiJetMonitor.h:74
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
ObjME jetptAvgbME_
Definition: DiJetMonitor.h:81
DiJetMonitor(const edm::ParameterSet &)
Definition: DiJetMonitor.cc:14
ObjME jetptAsyME_
Definition: DiJetMonitor.h:84
edm::EDGetTokenT< reco::GsfElectronCollection > eleToken_
Definition: DiJetMonitor.h:68
edm::EDGetTokenT< reco::PFJetCollection > dijetSrc_
Definition: DiJetMonitor.h:70
int iEvent
Definition: GenABIO.cc:230
ObjME jetetaTagME_
Definition: DiJetMonitor.h:86
const double DiJet_MAX_PHI
Definition: DiJetMonitor.h:98
MEbinning dijet_phi_binning
Definition: DiJetMonitor.h:101
bool dijet_selection(double eta_1, double phi_1, double eta_2, double phi_2, double pt_1, double pt_2, int &tag_id, int &probe_id, int Event)
std::string folderName_
Definition: DiJetMonitor.h:64
double ptcut_
Definition: DiJetMonitor.h:95
unsigned int DiJet_N_ETA
Definition: DiJetMonitor.h:107
ObjME jetptAvgaME_
Definition: DiJetMonitor.h:79
ObjME jetptTagME_
Definition: DiJetMonitor.h:82
~DiJetMonitor() override
Definition: DiJetMonitor.h:53
const double DiJet_MAX_ETA
Definition: DiJetMonitor.h:105
const double MIN_asy
Definition: DiJetMonitor.h:113
edm::EDGetTokenT< reco::MuonCollection > muoToken_
Definition: DiJetMonitor.h:69
MEbinning dijet_eta_binning
Definition: DiJetMonitor.h:108
ObjME jetpt2ME_
Definition: DiJetMonitor.h:78
std::string histoSuffix_
Definition: DiJetMonitor.h:65
edm::EDGetTokenT< reco::PFMETCollection > metToken_
Definition: DiJetMonitor.h:67
ObjME jetptAvgaThrME_
Definition: DiJetMonitor.h:80
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
unsigned int DiJet_N_PHI
Definition: DiJetMonitor.h:100
Definition: Run.h:44
ObjME jetpt1ME_
Definition: DiJetMonitor.h:77
ObjME jetEtaPhiME_
Definition: DiJetMonitor.h:89