File indexing completed on 2024-04-06 12:33:38
0001 #ifndef SiPixelPhase1RecHitsV_h
0002 #define SiPixelPhase1RecHitsV_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #include "DQM/SiPixelPhase1Common/interface/SiPixelPhase1Base.h"
0013 #include "DataFormats/TrackerRecHit2D/interface/SiPixelRecHitCollection.h"
0014 #include "SimTracker/TrackerHitAssociation/interface/TrackerHitAssociator.h"
0015
0016 class SiPixelPhase1RecHitsV : public SiPixelPhase1Base {
0017 enum {
0018 IN_TIME_BUNCH,
0019 OUT_TIME_BUNCH,
0020 NSIMHITS,
0021 RECHIT_X,
0022 RECHIT_Y,
0023 RES_X,
0024 RES_Y,
0025 ERROR_X,
0026 ERROR_Y,
0027 PULL_X,
0028 PULL_Y,
0029 };
0030
0031 public:
0032 explicit SiPixelPhase1RecHitsV(const edm::ParameterSet& conf);
0033 void analyze(const edm::Event&, const edm::EventSetup&) override;
0034
0035 private:
0036 TrackerHitAssociator::Config trackerHitAssociatorConfig_;
0037 edm::EDGetTokenT<SiPixelRecHitCollection> srcToken_;
0038 };
0039
0040 #endif