Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:24:55

0001 /*
0002  *  See header file for a description of this class.
0003  *
0004  *  $Date: 2014/02/04 10:16:35 $
0005  *  $Revision: 1.1 $
0006  *  \author M. Maggi -- INFN
0007  */
0008 
0009 #include "RecoLocalMuon/GEMRecHit/plugins/ME0RecHitStandardAlgo.h"
0010 #include "DataFormats/MuonDetId/interface/ME0DetId.h"
0011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0012 #include "FWCore/Framework/interface/EventSetup.h"
0013 #include "FWCore/Utilities/interface/Exception.h"
0014 
0015 ME0RecHitStandardAlgo::ME0RecHitStandardAlgo(const edm::ParameterSet& config) : ME0RecHitBaseAlgo(config) {}
0016 
0017 ME0RecHitStandardAlgo::~ME0RecHitStandardAlgo() {}
0018 
0019 void ME0RecHitStandardAlgo::setES(const edm::EventSetup& setup) {}
0020 
0021 // First Step
0022 bool ME0RecHitStandardAlgo::compute(const ME0DigiPreReco& digi, LocalPoint& Point, LocalError& error) const {
0023   LocalPoint loctemp2(digi.x(), digi.y(), 0.);
0024   Point = loctemp2;
0025   LocalError loerr2(digi.ex() * digi.ex(), digi.corr() * digi.ex() * digi.ey(), digi.ey() * digi.ey());
0026   error = loerr2;
0027   return true;
0028 }