CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/RecoEgamma/EgammaPhotonProducers/interface/ConversionTrackProducer.h

Go to the documentation of this file.
00001 #ifndef ConversionTrackProducer_h
00002 #define ConversionTrackProducer_h
00003 
00004 //
00005 // Package:         RecoTracker/FinalTrackSelectors
00006 // Class:           ConversionTrackProducer
00007 // 
00008 // Description:     Hit Dumper
00009 //
00010 // Original Author: Steve Wagner, stevew@pizero.colorado.edu
00011 // Created:         Sat Jan 14 22:00:00 UTC 2006
00012 //
00013 // $Author: giordano $
00014 // $Date: 2011/08/05 19:45:49 $
00015 // $Revision: 1.4 $
00016 //
00017 
00018 #include "FWCore/Framework/interface/EDProducer.h"
00019 #include "FWCore/Framework/interface/Event.h"
00020 #include "DataFormats/Common/interface/Handle.h"
00021 #include "FWCore/Framework/interface/EventSetup.h"
00022 
00023 #include "DataFormats/EgammaTrackReco/interface/ConversionTrack.h"
00024 #include "DataFormats/EgammaTrackReco/interface/ConversionTrackFwd.h"
00025 #include "DataFormats/TrackReco/interface/TrackFwd.h"
00026 #include "DataFormats/TrackReco/interface/Track.h"
00027 #include "DataFormats/TrackReco/interface/TrackBase.h"
00028 #include "DataFormats/TrackingRecHit/interface/TrackingRecHit.h"
00029 
00030 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00031 
00032 
00033 //--------------------------------------------------
00034 //Added by D. Giordano
00035 // 2011/08/05
00036 // Reduction of the track sample based on geometric hypothesis for conversion tracks
00037 #include "RecoTracker/ConversionSeedGenerators/interface/IdealHelixParameters.h"
00038 //--------------------------------------------------
00039 
00040   class ConversionTrackProducer : public edm::EDProducer
00041   {
00042 
00043   public:
00044 
00045     explicit ConversionTrackProducer(const edm::ParameterSet& conf);
00046 
00047     virtual ~ConversionTrackProducer();
00048 
00049     virtual void produce(edm::Event& e, const edm::EventSetup& c);
00050 
00051   private:
00052 
00053     edm::ParameterSet conf_;
00054 
00055     std::string trackProducer;
00056     bool useTrajectory;
00057     bool setTrackerOnly;
00058     bool setArbitratedEcalSeeded;
00059     bool setArbitratedMerged;
00060     bool setArbitratedMergedEcalGeneral;
00061 
00062     //--------------------------------------------------
00063     //Added by D. Giordano
00064     // 2011/08/05
00065     // Reduction of the track sample based on geometric hypothesis for conversion tracks
00066 
00067     edm::InputTag beamSpotInputTag;
00068     bool filterOnConvTrackHyp;
00069     double minConvRadius;
00070     IdealHelixParameters ConvTrackPreSelector;
00071     //--------------------------------------------------
00072 
00073     std::auto_ptr<reco::ConversionTrackCollection> outputTrks;
00074   };
00075 #endif