File indexing completed on 2024-04-06 12:32:53
0001 #ifndef ME0DigisValidation_H
0002 #define ME0DigisValidation_H
0003
0004 #include "Validation/MuonME0Validation/interface/ME0BaseValidation.h"
0005
0006 #include "DataFormats/GEMDigi/interface/ME0DigiPreReco.h"
0007 #include "DataFormats/GEMDigi/interface/ME0DigiPreRecoCollection.h"
0008
0009 class ME0DigisValidation : public ME0BaseValidation {
0010 public:
0011 explicit ME0DigisValidation(const edm::ParameterSet &);
0012 ~ME0DigisValidation() override;
0013 void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0014 void analyze(const edm::Event &e, const edm::EventSetup &) override;
0015 bool isMatched(const int, const int, const int, const int, const int, const int);
0016
0017 private:
0018 MonitorElement *num_evts;
0019 MonitorElement *me0_strip_dg_xy[2][6];
0020 MonitorElement *me0_strip_dg_xy_Muon[2][6];
0021 MonitorElement *me0_strip_dg_zr[2][6];
0022 MonitorElement *me0_strip_dg_zr_tot[2];
0023 MonitorElement *me0_strip_dg_zr_tot_Muon[2];
0024
0025 MonitorElement *me0_strip_dg_dx_local_Muon[2][6];
0026 MonitorElement *me0_strip_dg_dy_local_Muon[2][6];
0027 MonitorElement *me0_strip_dg_dphi_global_Muon[2][6];
0028
0029 MonitorElement *me0_strip_dg_dx_local_tot_Muon;
0030 MonitorElement *me0_strip_dg_dy_local_tot_Muon;
0031 MonitorElement *me0_strip_dg_x_local_tot;
0032 MonitorElement *me0_strip_dg_y_local_tot;
0033 MonitorElement *me0_strip_dg_dphi_global_tot_Muon;
0034 MonitorElement *me0_strip_dg_dphi_vs_phi_global_tot_Muon;
0035 MonitorElement *me0_strip_dg_dtime_tot_Muon;
0036 MonitorElement *me0_strip_dg_time_tot;
0037
0038 MonitorElement *me0_strip_dg_den_eta[2][6];
0039 MonitorElement *me0_strip_dg_num_eta[2][6];
0040
0041 MonitorElement *me0_strip_dg_den_eta_tot;
0042 MonitorElement *me0_strip_dg_num_eta_tot;
0043
0044 MonitorElement *me0_strip_dg_bkg_rad_tot;
0045 MonitorElement *me0_strip_dg_bkgElePos_rad;
0046 MonitorElement *me0_strip_dg_bkgNeutral_rad;
0047 MonitorElement *me0_strip_exp_bkg_rad_tot;
0048 MonitorElement *me0_strip_exp_bkgElePos_rad;
0049 MonitorElement *me0_strip_exp_bkgNeutral_rad;
0050
0051 edm::EDGetToken InputTagToken_Digi;
0052 double sigma_x_, sigma_y_;
0053
0054 int npart;
0055 };
0056
0057 #endif