CMS 3D CMS Logo

List of all members | Public Member Functions
ME0RecHitStandardAlgo Class Reference

#include <ME0RecHitStandardAlgo.h>

Inheritance diagram for ME0RecHitStandardAlgo:
ME0RecHitBaseAlgo

Public Member Functions

bool compute (const ME0DigiPreReco &digi, LocalPoint &point, LocalError &error) const override
 standard local recHit computation More...
 
 ME0RecHitStandardAlgo (const edm::ParameterSet &config)
 Constructor. More...
 
void setES (const edm::EventSetup &setup) override
 Pass the Event Setup to the algo at each event. More...
 
 ~ME0RecHitStandardAlgo () override
 Destructor. More...
 
- Public Member Functions inherited from ME0RecHitBaseAlgo
 ME0RecHitBaseAlgo (const edm::ParameterSet &config)
 Constructor. More...
 
virtual edm::OwnVector< ME0RecHitreconstruct (const ME0DetId &me0Id, const ME0DigiPreRecoCollection::Range &digiRange)
 Build all hits in the range associated to the me0Id, at the 1st step. More...
 
virtual ~ME0RecHitBaseAlgo ()
 Destructor. More...
 

Detailed Description

Concrete implementation of ME0RecHitBaseAlgo.

Date
2014/02/04 10:16:36
Revision
1.1
Author
M. Maggi – INFN Bari

Definition at line 13 of file ME0RecHitStandardAlgo.h.

Constructor & Destructor Documentation

◆ ME0RecHitStandardAlgo()

ME0RecHitStandardAlgo::ME0RecHitStandardAlgo ( const edm::ParameterSet config)

Constructor.

Definition at line 15 of file ME0RecHitStandardAlgo.cc.

ME0RecHitBaseAlgo(const edm::ParameterSet &config)
Constructor.
Definition: config.py:1

◆ ~ME0RecHitStandardAlgo()

ME0RecHitStandardAlgo::~ME0RecHitStandardAlgo ( )
override

Destructor.

Definition at line 17 of file ME0RecHitStandardAlgo.cc.

17 {}

Member Function Documentation

◆ compute()

bool ME0RecHitStandardAlgo::compute ( const ME0DigiPreReco digi,
LocalPoint Point,
LocalError error 
) const
overridevirtual

standard local recHit computation

Implements ME0RecHitBaseAlgo.

Definition at line 22 of file ME0RecHitStandardAlgo.cc.

References ME0DigiPreReco::corr(), relativeConstraints::error, ME0DigiPreReco::ex(), ME0DigiPreReco::ey(), ME0DigiPreReco::x(), and ME0DigiPreReco::y().

22  {
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 }
float x() const
float y() const
float corr() const
Structure Point Contains parameters of Gaussian fits to DMRs.
float ey() const
float ex() const

◆ setES()

void ME0RecHitStandardAlgo::setES ( const edm::EventSetup setup)
overridevirtual

Pass the Event Setup to the algo at each event.

Implements ME0RecHitBaseAlgo.

Definition at line 19 of file ME0RecHitStandardAlgo.cc.

19 {}