CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/Validation/RecoTrack/interface/TrackerSeedValidator.h

Go to the documentation of this file.
00001 #ifndef TrackerSeedValidator_h
00002 #define TrackerSeedValidator_h
00003 
00012 #include "FWCore/Framework/interface/Frameworkfwd.h"
00013 #include "FWCore/Framework/interface/EDAnalyzer.h"
00014 #include "Validation/RecoTrack/interface/MultiTrackValidatorBase.h"
00015 
00016 #include "TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHitBuilder.h"
00017 #include "RecoTracker/TransientTrackingRecHit/interface/TkTransientTrackingRecHitBuilder.h"
00018 
00019 class TrackerSeedValidator : public edm::EDAnalyzer, protected MultiTrackValidatorBase {
00020  public:
00022   TrackerSeedValidator(const edm::ParameterSet& pset):MultiTrackValidatorBase(pset){
00023     builderName = pset.getParameter<std::string>("TTRHBuilder");
00024   }
00025   
00027   ~TrackerSeedValidator(){ }
00028 
00030   void beginRun(edm::Run const&, edm::EventSetup const&);
00032   void analyze(const edm::Event&, const edm::EventSetup& );
00034   void endRun(edm::Run const&, edm::EventSetup const&);
00035   
00036  private:
00037   std::string builderName;
00038   edm::ESHandle<TransientTrackingRecHitBuilder> theTTRHBuilder;
00039 };
00040 
00041 
00042 #endif