test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
ME0RecHitStandardAlgo Class Reference

#include <ME0RecHitStandardAlgo.h>

Inheritance diagram for ME0RecHitStandardAlgo:
ME0RecHitBaseAlgo

Public Member Functions

virtual bool compute (const ME0DigiPreReco &digi, LocalPoint &point, LocalError &error) const
 standard local recHit computation More...
 
 ME0RecHitStandardAlgo (const edm::ParameterSet &config)
 Constructor. More...
 
virtual void setES (const edm::EventSetup &setup)
 Pass the Event Setup to the algo at each event. More...
 
virtual ~ME0RecHitStandardAlgo ()
 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 ( )
virtual

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
virtual

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)
virtual

Pass the Event Setup to the algo at each event.

Implements ME0RecHitBaseAlgo.

Definition at line 25 of file ME0RecHitStandardAlgo.cc.

26 {
27 }