File indexing completed on 2024-04-06 12:32:49
0001 #ifndef Validation_MuonGEMDigis_GEMPadDigiValidation_h
0002 #define Validation_MuonGEMDigis_GEMPadDigiValidation_h
0003
0004 #include "Validation/MuonGEMHits/interface/GEMBaseValidation.h"
0005 #include "DataFormats/GEMDigi/interface/GEMPadDigiCollection.h"
0006
0007 #include "DataFormats/Common/interface/DetSetVector.h"
0008 #include "SimDataFormats/GEMDigiSimLink/interface/GEMDigiSimLink.h"
0009
0010 class GEMPadDigiValidation : public GEMBaseValidation {
0011 public:
0012 explicit GEMPadDigiValidation(const edm::ParameterSet&);
0013 ~GEMPadDigiValidation() override;
0014 void analyze(const edm::Event&, const edm::EventSetup&) override;
0015 void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
0016
0017 private:
0018
0019 edm::EDGetTokenT<GEMPadDigiCollection> pad_token_;
0020 edm::EDGetTokenT<edm::PSimHitContainer> simhit_token_;
0021 edm::EDGetTokenT<edm::DetSetVector<GEMDigiSimLink>> digisimlink_token_;
0022 edm::ESGetToken<GEMGeometry, MuonGeometryRecord> geomToken_;
0023 edm::ESGetToken<GEMGeometry, MuonGeometryRecord> geomTokenBeginRun_;
0024
0025
0026 MEMap3Ids me_occ_total_pad_;
0027 MEMap3Ids me_pad_occ_eta_;
0028 MEMap3Ids me_pad_occ_phi_;
0029 MEMap2Ids me_detail_occ_det_;
0030 MEMap2Ids me_detail_pad_occ_det_;
0031 MEMap3Ids me_detail_occ_xy_;
0032 MEMap1Ids me_detail_occ_zr_;
0033 MEMap3Ids me_detail_occ_phi_pad_;
0034 MEMap3Ids me_detail_occ_pad_;
0035 MEMap3Ids me_detail_bx_;
0036 };
0037
0038 #endif