File indexing completed on 2024-04-06 12:33:38
0001 #ifndef SiPixelPhase1HitsV_h
0002 #define SiPixelPhase1HitsV_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 "SimDataFormats/Associations/interface/TrackToTrackingParticleAssociator.h"
0015 #include "SimTracker/TrackerHitAssociation/interface/TrackerHitAssociator.h"
0016 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
0017 #include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
0018
0019 namespace reco {
0020 class TrackToTrackingParticleAssociator;
0021 }
0022
0023 class SiPixelPhase1HitsV : public SiPixelPhase1Base {
0024 enum {
0025 TOF_R,
0026 ELOSS,
0027 ENTRY_EXIT_X,
0028 ENTRY_EXIT_Y,
0029 ENTRY_EXIT_Z,
0030 LOCAL_X,
0031 LOCAL_Y,
0032 LOCAL_Z,
0033 LOCAL_PHI,
0034 LOCAL_ETA,
0035 EFFICIENCY_TRACK,
0036 };
0037
0038 public:
0039 explicit SiPixelPhase1HitsV(const edm::ParameterSet &conf);
0040 void analyze(const edm::Event &, const edm::EventSetup &) override;
0041
0042 private:
0043 edm::EDGetTokenT<edm::PSimHitContainer> pixelBarrelLowToken_;
0044 edm::EDGetTokenT<edm::PSimHitContainer> pixelBarrelHighToken_;
0045 edm::EDGetTokenT<edm::PSimHitContainer> pixelForwardLowToken_;
0046 edm::EDGetTokenT<edm::PSimHitContainer> pixelForwardHighToken_;
0047
0048 edm::EDGetTokenT<edm::View<reco::Track>> tracksToken_;
0049 edm::EDGetTokenT<TrackingParticleCollection> tpToken_;
0050 edm::EDGetTokenT<reco::TrackToTrackingParticleAssociator> trackAssociatorByHitsToken_;
0051
0052 edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> trackerGeomToken_;
0053 };
0054
0055 #endif