Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-20 02:47:05

0001 #ifndef RecoPixelVertexing_PixelTrackFitting_PixelTrackReconstruction_H
0002 #define RecoPixelVertexing_PixelTrackFitting_PixelTrackReconstruction_H
0003 
0004 #include "FWCore/Framework/interface/ConsumesCollector.h"
0005 #include "FWCore/Framework/interface/FrameworkfwdMostUsed.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007 #include "RecoPixelVertexing/PixelTrackFitting/interface/TracksWithHits.h"
0008 #include "RecoPixelVertexing/PixelTrackFitting/interface/PixelTrackCleaner.h"
0009 
0010 #include "FWCore/Utilities/interface/EDGetToken.h"
0011 
0012 #include <memory>
0013 
0014 class PixelFitter;
0015 class PixelTrackFilter;
0016 class RegionsSeedingHitSets;
0017 
0018 class PixelTrackReconstruction {
0019 public:
0020   PixelTrackReconstruction(const edm::ParameterSet& conf, edm::ConsumesCollector&& iC);
0021   ~PixelTrackReconstruction();
0022 
0023   static void fillDescriptions(edm::ParameterSetDescription& desc);
0024 
0025   void run(pixeltrackfitting::TracksWithTTRHs& tah, edm::Event& ev, const edm::EventSetup& es);
0026 
0027 private:
0028   edm::EDGetTokenT<RegionsSeedingHitSets> theHitSetsToken;
0029   edm::EDGetTokenT<PixelFitter> theFitterToken;
0030   edm::EDGetTokenT<PixelTrackFilter> theFilterToken;
0031   edm::ESGetToken<PixelTrackCleaner, PixelTrackCleaner::Record> theCleanerToken;
0032 };
0033 #endif