00001 #ifndef CSCRecHitD_CSCMake2DRecHit_h 00002 #define CSCRecHitD_CSCMake2DRecHit_h 00003 00012 //---- Possible changes from Stoyan Stoynev - NU 00013 00014 #include <RecoLocalMuon/CSCRecHitD/src/CSCWireHit.h> 00015 #include <RecoLocalMuon/CSCRecHitD/src/CSCStripHit.h> 00016 00017 #include <DataFormats/CSCRecHit/interface/CSCRecHit2D.h> 00018 // Forward declaration of LocalPoint fails... due to typedef'ing? 00019 #include <DataFormats/GeometryVector/interface/LocalPoint.h> 00020 00021 #include <FWCore/ParameterSet/interface/ParameterSet.h> 00022 00023 class CSCDetId; 00024 class CSCLayer; 00025 class CSCChamberSpecs; 00026 class CSCLayerGeometry; 00027 class CSCRecoConditions; 00028 class CSCXonStrip_MatchGatti; 00029 00030 class CSCMake2DRecHit 00031 { 00032 public: 00033 00034 explicit CSCMake2DRecHit(const edm::ParameterSet& ); 00035 00036 ~CSCMake2DRecHit(); 00037 00039 CSCRecHit2D hitFromStripAndWire(const CSCDetId& id, const CSCLayer* layer, const CSCWireHit& wHit, const CSCStripHit& sHit); 00040 00041 00043 bool isHitInFiducial( const CSCLayer* layer, const CSCRecHit2D& rh ); 00044 00046 void setConditions( const CSCRecoConditions* reco ); 00047 00048 const CSCLayer* layer_; 00049 const CSCLayerGeometry* layergeom_; 00050 const CSCChamberSpecs* specs_; 00051 CSCDetId id_; 00052 00053 private: 00054 00055 bool useCalib; 00056 int stripWireDeltaTime; 00057 bool useGatti; 00058 float maxGattiChi2; 00059 00060 CSCXonStrip_MatchGatti* xMatchGatti_; 00061 }; 00062 00063 #endif 00064