File indexing completed on 2024-04-06 12:30:46
0001 #ifndef MCTruth_CSCTruthTest_h
0002 #define MCTruth_CSCTruthTest_h
0003
0004 #include "DataFormats/CSCRecHit/interface/CSCRecHit2DCollection.h"
0005 #include "FWCore/Framework/interface/ConsumesCollector.h"
0006 #include "FWCore/Framework/interface/Frameworkfwd.h"
0007 #include "FWCore/Framework/interface/stream/EDAnalyzer.h"
0008 #include "SimMuon/MCTruth/interface/MuonTruth.h"
0009
0010 class CSCTruthTest : public edm::stream::EDAnalyzer<> {
0011 public:
0012 explicit CSCTruthTest(const edm::ParameterSet &);
0013 ~CSCTruthTest() override = default;
0014
0015 private:
0016 void analyze(const edm::Event &, const edm::EventSetup &) override;
0017
0018 MuonTruth theTruth_;
0019 const edm::EDGetTokenT<CSCRecHit2DCollection> cscRecHitToken_;
0020 };
0021
0022 #endif