test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
mps_alisetup.config
tuple config
Definition:
mps_alisetup.py:100
ME0RecHitStandardAlgo::setES
virtual void setES(const edm::EventSetup &setup)
Pass the Event Setup to the algo at each event.
Definition:
ME0RecHitStandardAlgo.cc:25
ME0DigiPreReco::y
float y() const
Definition:
ME0DigiPreReco.h:27
ME0RecHitStandardAlgo.h
ME0RecHitBaseAlgo
Definition:
ME0RecHitBaseAlgo.h:29
ME0RecHitStandardAlgo::compute
virtual bool compute(const ME0DigiPreReco &digi, LocalPoint &point, LocalError &error) const
standard local recHit computation
Definition:
ME0RecHitStandardAlgo.cc:30
EventSetup.h
ME0DigiPreReco
Definition:
ME0DigiPreReco.h:15
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:45
GeneralSetup.setup
def setup
Definition:
GeneralSetup.py:1
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
Point3DBase< float, LocalTag >
ME0DetId.h
relativeConstraints.error
tuple error
Definition:
relativeConstraints.py:55
ME0DigiPreReco::ex
float ex() const
Definition:
ME0DigiPreReco.h:28
edm::ParameterSet
Definition:
ParameterSet.h:36
ME0RecHitStandardAlgo::~ME0RecHitStandardAlgo
virtual ~ME0RecHitStandardAlgo()
Destructor.
Definition:
ME0RecHitStandardAlgo.cc:21
Generated for CMSSW Reference Manual by
1.8.5