RecoLocalMuon
GEMRecHit
plugins
ME0RecHitStandardAlgo.cc
Go to the documentation of this file.
1
/*
2
* See header file for a description of this class.
3
*
4
* $Date: 2014/02/04 10:16:35 $
5
* $Revision: 1.1 $
6
* \author M. Maggi -- INFN
7
*/
8
9
#include "
RecoLocalMuon/GEMRecHit/plugins/ME0RecHitStandardAlgo.h
"
10
#include "
DataFormats/MuonDetId/interface/ME0DetId.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
FWCore/Framework/interface/EventSetup.h
"
13
#include "
FWCore/Utilities/interface/Exception.h
"
14
15
ME0RecHitStandardAlgo::ME0RecHitStandardAlgo
(
const
edm::ParameterSet
&
config
) :
ME0RecHitBaseAlgo
(
config
) {}
16
17
ME0RecHitStandardAlgo::~ME0RecHitStandardAlgo
() {}
18
19
void
ME0RecHitStandardAlgo::setES
(
const
edm::EventSetup
&
setup
) {}
20
21
// First Step
22
bool
ME0RecHitStandardAlgo::compute
(
const
ME0DigiPreReco
& digi,
LocalPoint
&
Point
,
LocalError
&
error
)
const
{
23
LocalPoint
loctemp2(digi.
x
(), digi.
y
(), 0.);
24
Point
= loctemp2;
25
LocalError
loerr2(digi.
ex
() * digi.
ex
(), digi.
corr
() * digi.
ex
() * digi.
ey
(), digi.
ey
() * digi.
ey
());
26
error
= loerr2;
27
return
true
;
28
}
ME0DigiPreReco::corr
float corr() const
Definition:
ME0DigiPreReco.h:29
ME0DetId.h
ME0DigiPreReco::ey
float ey() const
Definition:
ME0DigiPreReco.h:28
relativeConstraints.error
error
Definition:
relativeConstraints.py:53
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
config
Definition:
config.py:1
ME0DigiPreReco::y
float y() const
Definition:
ME0DigiPreReco.h:26
ME0RecHitStandardAlgo::setES
void setES(const edm::EventSetup &setup) override
Pass the Event Setup to the algo at each event.
Definition:
ME0RecHitStandardAlgo.cc:19
Point3DBase< float, LocalTag >
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition:
DMRtrends.cc:57
edm::ParameterSet
Definition:
ParameterSet.h:47
ME0RecHitStandardAlgo::~ME0RecHitStandardAlgo
~ME0RecHitStandardAlgo() override
Destructor.
Definition:
ME0RecHitStandardAlgo.cc:17
LocalError
Definition:
LocalError.h:12
edm::EventSetup
Definition:
EventSetup.h:58
ME0RecHitStandardAlgo.h
ME0RecHitStandardAlgo::ME0RecHitStandardAlgo
ME0RecHitStandardAlgo(const edm::ParameterSet &config)
Constructor.
Definition:
ME0RecHitStandardAlgo.cc:15
ME0RecHitBaseAlgo
Definition:
ME0RecHitBaseAlgo.h:27
ME0DigiPreReco::ex
float ex() const
Definition:
ME0DigiPreReco.h:27
ME0DigiPreReco
Definition:
ME0DigiPreReco.h:15
ME0RecHitStandardAlgo::compute
bool compute(const ME0DigiPreReco &digi, LocalPoint &point, LocalError &error) const override
standard local recHit computation
Definition:
ME0RecHitStandardAlgo.cc:22
EventSetup.h
Exception.h
ME0DigiPreReco::x
float x() const
Definition:
ME0DigiPreReco.h:25
ParameterSet.h
Generated for CMSSW Reference Manual by
1.8.16