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 ( const edm::ParameterSet config)

Constructor.

Definition at line 16 of file ME0RecHitStandardAlgo.cc.

16  :
17  ME0RecHitBaseAlgo(config)
18 {
19 }
ME0RecHitBaseAlgo(const edm::ParameterSet &config)
Constructor.
ME0RecHitStandardAlgo::~ME0RecHitStandardAlgo ( )
override

Destructor.

Definition at line 21 of file ME0RecHitStandardAlgo.cc.

22 {
23 }

Member Function Documentation

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

standard local recHit computation

Implements ME0RecHitBaseAlgo.

Definition at line 30 of file ME0RecHitStandardAlgo.cc.

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

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 }
float y() const
float ey() const
float x() const
float corr() const
float ex() const
void ME0RecHitStandardAlgo::setES ( const edm::EventSetup setup)
overridevirtual

Pass the Event Setup to the algo at each event.

Implements ME0RecHitBaseAlgo.

Definition at line 25 of file ME0RecHitStandardAlgo.cc.

26 {
27 }