Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:13

0001 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentTrackFromVertexCompositeCandidateSelector_h
0002 #define Alignment_CommonAlignmentAlgorithm_AlignmentTrackFromVertexCompositeCandidateSelector_h
0003 
0004 #include "DataFormats/TrackReco/interface/Track.h"
0005 #include "FWCore/Framework/interface/ConsumesCollector.h"
0006 #include "DataFormats/Candidate/interface/VertexCompositeCandidate.h"
0007 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidate.h"
0008 #include "FWCore/Utilities/interface/EDGetToken.h"
0009 #include "FWCore/Utilities/interface/InputTag.h"
0010 #include <vector>
0011 
0012 namespace edm {
0013   class Event;
0014   class ParameterSet;
0015 }  // namespace edm
0016 
0017 class TrackingRecHit;
0018 
0019 class AlignmentTrackFromVertexCompositeCandidateSelector {
0020 public:
0021   typedef std::vector<const reco::Track*> Tracks;
0022 
0023   /// constructor
0024   AlignmentTrackFromVertexCompositeCandidateSelector(const edm::ParameterSet& cfg, edm::ConsumesCollector& iC);
0025 
0026   /// destructor
0027   ~AlignmentTrackFromVertexCompositeCandidateSelector();
0028 
0029   /// select tracks
0030   Tracks select(const edm::Handle<reco::TrackCollection>& tc,
0031                 const edm::Event& evt,
0032                 const edm::EventSetup& setup) const;
0033 
0034 private:
0035   const edm::EDGetTokenT<reco::VertexCompositeCandidateCollection> vccToken_;
0036 };
0037 
0038 #endif