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.

◆ ~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.

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 }

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

◆ 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 {}
ME0DigiPreReco::corr
float corr() const
Definition: ME0DigiPreReco.h:29
ME0DigiPreReco::ey
float ey() const
Definition: ME0DigiPreReco.h:28
relativeConstraints.error
error
Definition: relativeConstraints.py:53
config
Definition: config.py:1
ME0DigiPreReco::y
float y() const
Definition: ME0DigiPreReco.h:26
Point3DBase< float, LocalTag >
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
LocalError
Definition: LocalError.h:12
ME0DigiPreReco::ex
float ex() const
Definition: ME0DigiPreReco.h:27
ME0RecHitBaseAlgo::ME0RecHitBaseAlgo
ME0RecHitBaseAlgo(const edm::ParameterSet &config)
Constructor.
Definition: ME0RecHitBaseAlgo.cc:14
ME0DigiPreReco::x
float x() const
Definition: ME0DigiPreReco.h:25