Main Page
Namespaces
Classes
Package Documentation
RecoLocalMuon
GEMRecHit
src
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/src/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
16
ME0RecHitStandardAlgo::ME0RecHitStandardAlgo
(
const
edm::ParameterSet
&
config
) :
17
ME0RecHitBaseAlgo
(config)
18
{
19
}
20
21
ME0RecHitStandardAlgo::~ME0RecHitStandardAlgo
()
22
{
23
}
24
25
void
ME0RecHitStandardAlgo::setES
(
const
edm::EventSetup
&
setup
)
26
{
27
}
28
29
// First Step
30
bool
ME0RecHitStandardAlgo::compute
(
const
ME0DigiPreReco
& digi,
31
LocalPoint
&
Point
,
32
LocalError
&
error
)
const
33
{
34
LocalPoint
loctemp2(digi.
x
(),digi.
y
(),0.);
35
Point = loctemp2;
36
LocalError
loerr2(digi.
ex
()*digi.
ex
(),digi.
corr
()*digi.
ex
()*digi.
ey
(),digi.
ey
()*digi.
ey
());
37
error = loerr2;
38
return
true
;
39
}
40
ME0DigiPreReco::y
float y() const
Definition:
ME0DigiPreReco.h:27
relativeConstraints.error
error
Definition:
relativeConstraints.py:52
ME0RecHitStandardAlgo.h
ME0RecHitBaseAlgo
Definition:
ME0RecHitBaseAlgo.h:29
EventSetup.h
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:1
ME0DigiPreReco
Definition:
ME0DigiPreReco.h:15
config
Definition:
config.py:1
ME0DigiPreReco::ey
float ey() const
Definition:
ME0DigiPreReco.h:29
ParameterSet.h
Point
math::XYZPoint Point
Definition:
TrackerDpgAnalysis.cc:107
ME0RecHitStandardAlgo::ME0RecHitStandardAlgo
ME0RecHitStandardAlgo(const edm::ParameterSet &config)
Constructor.
Definition:
ME0RecHitStandardAlgo.cc:16
edm::EventSetup
Definition:
EventSetup.h:48
ME0RecHitStandardAlgo::setES
void setES(const edm::EventSetup &setup) override
Pass the Event Setup to the algo at each event.
Definition:
ME0RecHitStandardAlgo.cc:25
ME0RecHitStandardAlgo::compute
bool compute(const ME0DigiPreReco &digi, LocalPoint &point, LocalError &error) const override
standard local recHit computation
Definition:
ME0RecHitStandardAlgo.cc:30
Exception.h
ME0DigiPreReco::x
float x() const
Definition:
ME0DigiPreReco.h:26
LocalError
Definition:
LocalError.h:12
ME0DigiPreReco::corr
float corr() const
Definition:
ME0DigiPreReco.h:30
ME0RecHitStandardAlgo::~ME0RecHitStandardAlgo
~ME0RecHitStandardAlgo() override
Destructor.
Definition:
ME0RecHitStandardAlgo.cc:21
Point3DBase< float, LocalTag >
ME0DetId.h
ME0DigiPreReco::ex
float ex() const
Definition:
ME0DigiPreReco.h:28
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11