00001 #ifndef FP420TrackMain_h 00002 #define FP420TrackMain_h 00003 00004 #include <string> 00005 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00007 #include "FWCore/Framework/interface/ESHandle.h" 00008 #include "FWCore/Framework/interface/Frameworkfwd.h" 00009 #include "FWCore/Framework/interface/EDProducer.h" 00010 #include "FWCore/Framework/interface/EDAnalyzer.h" 00011 #include "FWCore/Framework/interface/Event.h" 00012 #include "FWCore/Framework/interface/EventSetup.h" 00013 #include "FWCore/Framework/interface/MakerMacros.h" 00014 00015 #include "DataFormats/FP420Cluster/interface/ClusterCollectionFP420.h" 00016 #include "DataFormats/FP420Cluster/interface/TrackCollectionFP420.h" 00017 #include "DataFormats/FP420Cluster/interface/TrackFP420.h" 00018 00019 class TrackProducerFP420; 00020 00021 class FP420TrackMain 00022 { 00023 public: 00024 00025 FP420TrackMain(const edm::ParameterSet& conf); 00026 ~FP420TrackMain(); 00027 00029 void run(edm::Handle<ClusterCollectionFP420> &input, 00030 std::auto_ptr<TrackCollectionFP420> &toutput 00031 ); 00032 00033 private: 00034 00035 00036 edm::ParameterSet conf_; 00037 TrackProducerFP420 *finderParameters_; 00038 std::string trackMode_; 00039 00040 00041 bool validTrackerizer_; 00042 00043 int verbosity; 00044 // Number of Detectors: 00045 int dn0; 00046 // Number of Stations: 00047 int sn0_; 00048 // Number of planes: 00049 int pn0_; 00050 // Number of semsors: 00051 int rn0_; 00052 // Number of planes types: 00053 int xytype_; 00054 00055 bool UseHalfPitchShiftInX_; 00056 bool UseHalfPitchShiftInY_; 00057 00058 bool UseHalfPitchShiftInXW_; 00059 bool UseHalfPitchShiftInYW_; 00060 00061 //double zUnit_; 00062 double z420_; 00063 double zD2_; 00064 double zD3_; 00065 double pitchX_; 00066 double pitchY_; 00067 double pitchXW_; 00068 double pitchYW_; 00069 double ZGapLDet_; 00070 // double ZBoundDet_; 00071 double ZSiStep_; 00072 double ZSiPlane_; 00073 double ZSiDet_; 00074 double zBlade_; 00075 double gapBlade_; 00076 00077 double dXX_; 00078 double dYY_; 00079 double chiCutX_; 00080 double chiCutY_; 00081 00082 double zinibeg_; 00083 00084 double XsensorSize_; 00085 double YsensorSize_; 00086 00087 }; 00088 00089 #endif