Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:33:38

0001 #ifndef SiPixelPhase1TrackingParticleV_h
0002 #define SiPixelPhase1TrackingParticleV_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     SiPixelPhase1TrackingParticleV
0006 // Class  :     SiPixelPhase1TrackingParticleV
0007 //
0008 
0009 // Original Author: Marcel Schneider
0010 // Additional Authors: Alexander Morton - modifying code for validation use
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 
0017 namespace reco {
0018   class TrackToTrackingParticleAssociator;
0019 }
0020 
0021 class SiPixelPhase1TrackingParticleV : public SiPixelPhase1Base {
0022   enum {
0023     MASS,
0024     CHARGE,
0025     ID,
0026     NHITS,
0027     MATCHED,
0028     PT,
0029     PHI,
0030     ETA,
0031     VTX,
0032     VTY,
0033     VYZ,
0034     TIP,
0035     LIP,
0036   };
0037 
0038 public:
0039   explicit SiPixelPhase1TrackingParticleV(const edm::ParameterSet &conf);
0040   void analyze(const edm::Event &, const edm::EventSetup &) override;
0041 
0042 private:
0043   edm::EDGetTokenT<TrackingParticleCollection> vec_TrackingParticle_Token_;
0044   std::vector<edm::EDGetTokenT<std::vector<PSimHit>>> simHitTokens_;
0045 };
0046 
0047 #endif