Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:32:49

0001 #ifndef Validation_MuonGEMDigis_GEMPadDigiClusterValidation_h
0002 #define Validation_MuonGEMDigis_GEMPadDigiClusterValidation_h
0003 
0004 #include "Validation/MuonGEMHits/interface/GEMBaseValidation.h"
0005 #include "DataFormats/GEMDigi/interface/GEMPadDigiClusterCollection.h"
0006 
0007 #include "DataFormats/Common/interface/DetSetVector.h"
0008 #include "SimDataFormats/GEMDigiSimLink/interface/GEMDigiSimLink.h"
0009 
0010 class GEMPadDigiClusterValidation : public GEMBaseValidation {
0011 public:
0012   explicit GEMPadDigiClusterValidation(const edm::ParameterSet&);
0013   ~GEMPadDigiClusterValidation() 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   Bool_t matchClusterAgainstSimHit(GEMPadDigiClusterCollection::const_iterator, Int_t);
0019 
0020   edm::EDGetTokenT<GEMPadDigiClusterCollection> pad_cluster_token_;
0021   edm::EDGetTokenT<edm::PSimHitContainer> simhit_token_;
0022   edm::EDGetTokenT<edm::DetSetVector<GEMDigiSimLink>> digisimlink_token_;
0023   edm::ESGetToken<GEMGeometry, MuonGeometryRecord> geomToken_;
0024   edm::ESGetToken<GEMGeometry, MuonGeometryRecord> geomTokenBeginRun_;
0025 
0026   MonitorElement* me_cls_;
0027   MEMap3Ids me_total_cluster_;
0028   MEMap3Ids me_pad_cluster_occ_eta_;
0029   MEMap3Ids me_pad_cluster_occ_phi_;
0030   MEMap2Ids me_detail_occ_det_;
0031   MEMap2Ids me_detail_pad_cluster_occ_det_;
0032   MEMap1Ids me_detail_occ_zr_;
0033   MEMap3Ids me_detail_occ_xy_;
0034   MEMap3Ids me_detail_occ_phi_pad_;
0035   MEMap3Ids me_detail_occ_pad_;
0036 
0037   MEMap3Ids me_detail_bx_;
0038 };
0039 
0040 #endif  // Validation_MuonGEMDigis_GEMPadDigiClusterValidation_h