File indexing completed on 2024-04-06 12:26:12
0001
0002
0003
0004
0005
0006
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
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 }