Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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::y
float y() const
Definition:
ME0DigiPreReco.h:26
ME0RecHitStandardAlgo::compute
bool compute(const ME0DigiPreReco &digi, LocalPoint &point, LocalError &error) const override
standard local recHit computation
Definition:
ME0RecHitStandardAlgo.cc:22
ME0RecHitStandardAlgo.h
ME0RecHitBaseAlgo
Definition:
ME0RecHitBaseAlgo.h:27
EventSetup.h
ME0DigiPreReco
Definition:
ME0DigiPreReco.h:15
ME0DigiPreReco::ey
float ey() const
Definition:
ME0DigiPreReco.h:28
ParameterSet.h
ME0RecHitStandardAlgo::ME0RecHitStandardAlgo
ME0RecHitStandardAlgo(const edm::ParameterSet &config)
Constructor.
Definition:
ME0RecHitStandardAlgo.cc:15
edm::EventSetup
Definition:
EventSetup.h:59
ME0RecHitStandardAlgo::setES
void setES(const edm::EventSetup &setup) override
Pass the Event Setup to the algo at each event.
Definition:
ME0RecHitStandardAlgo.cc:19
GeneralSetup.setup
def setup
Definition:
GeneralSetup.py:2
Exception.h
ME0DigiPreReco::x
float x() const
Definition:
ME0DigiPreReco.h:25
LocalError
Definition:
LocalError.h:12
ME0DigiPreReco::corr
float corr() const
Definition:
ME0DigiPreReco.h:29
ME0RecHitStandardAlgo::~ME0RecHitStandardAlgo
~ME0RecHitStandardAlgo() override
Destructor.
Definition:
ME0RecHitStandardAlgo.cc:17
Point3DBase< float, LocalTag >
submitPVResolutionJobs.config
tuple config
parse the configuration file
Definition:
submitPVResolutionJobs.py:281
ME0DetId.h
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition:
DMRtrends.cc:57
relativeConstraints.error
tuple error
Definition:
relativeConstraints.py:56
ME0DigiPreReco::ex
float ex() const
Definition:
ME0DigiPreReco.h:27
edm::ParameterSet
Definition:
ParameterSet.h:47
Generated for CMSSW Reference Manual by
1.8.5