CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/Alignment/MuonAlignmentAlgorithms/interface/SegmentToTrackAssociator.h

Go to the documentation of this file.
00001 #ifndef MuonAlignmentAlgorithms_SegmentToTrackAssociator_H
00002 #define MuonAlignmentAlgorithms_SegmentToTrackAssociator_H
00003 
00004 #include <vector>
00005 
00006 //standard include
00007 #include "FWCore/Framework/interface/Frameworkfwd.h"
00008 #include "FWCore/Framework/interface/Event.h"
00009 #include "FWCore/Framework/interface/MakerMacros.h"
00010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00011 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00012 #include "FWCore/Utilities/interface/InputTag.h"
00013 #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
00014 #include "TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h"
00015 #include "TrackingTools/PatternTools/interface/TrajectoryMeasurement.h" 
00016 #include "TrackingTools/DetLayers/interface/DetLayer.h"
00017 #include "TrackingTools/PatternTools/interface/TrajMeasLessEstim.h"
00018 #include "RecoMuon/TrackingTools/interface/MuonPatternRecoDumper.h"
00019 #include "RecoMuon/TransientTrackingRecHit/interface/MuonTransientTrackingRecHit.h"
00020 #include "DataFormats/TrackReco/interface/TrackFwd.h"
00021 #include "DataFormats/TrackReco/interface/Track.h"
00022 
00023 namespace edm {class ParameterSet; class Event; class EventSetup;}
00024 
00025 class SegmentToTrackAssociator
00026 {
00027 public:
00028   typedef std::vector< std::vector<int> > intDVector;
00029   
00030   //constructor
00031   SegmentToTrackAssociator ( const edm::ParameterSet& );
00032 
00033   //destructor 
00034   virtual ~SegmentToTrackAssociator() {} 
00035 
00036   //Associate
00037   MuonTransientTrackingRecHit::MuonRecHitContainer associate( const edm::Event&, const edm::EventSetup&, const reco::Track&, std::string  );
00038   
00039   //Clear the vector
00040   void clear();
00041   
00042 
00043 private:
00044 
00045   intDVector indexCollectionDT;
00046   intDVector indexCollectionCSC;
00047  
00048   edm::InputTag theDTSegmentLabel;
00049   edm::InputTag theCSCSegmentLabel;
00050 
00051 
00052 };
00053 
00054 #endif