CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
14 
15 
17  ME0RecHitBaseAlgo(config)
18 {
19 }
20 
22 {
23 }
24 
26 {
27 }
28 
29 // First Step
32  LocalError& error) const
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 }
40 
virtual void setES(const edm::EventSetup &setup)
Pass the Event Setup to the algo at each event.
float y() const
virtual bool compute(const ME0DigiPreReco &digi, LocalPoint &point, LocalError &error) const
standard local recHit computation
float ey() const
math::XYZPoint Point
ME0RecHitStandardAlgo(const edm::ParameterSet &config)
Constructor.
float x() const
float corr() const
float ex() const
virtual ~ME0RecHitStandardAlgo()
Destructor.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")