CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/RecoTracker/ConversionSeedGenerators/interface/ConversionRegion.h

Go to the documentation of this file.
00001 #ifndef CONVERSIONREGION_H
00002 #define CONVERSIONREGION_H
00003 
00004 #include "DataFormats/Math/interface/Vector3D.h"
00005 class ConversionRegion {
00006 
00007  public:
00008  ConversionRegion(GlobalPoint& convPoint, GlobalPoint& pvtxPoint, float& cotTheta, double errTheta, int charge):
00009   _convPoint(convPoint),
00010     _pvtxPoint(pvtxPoint),
00011     _cotTheta(cotTheta),
00012     _errTheta(errTheta),
00013     _charge(charge)
00014     {};
00015     
00016   ~ConversionRegion(){};
00017 
00018   GlobalPoint convPoint() const {return   _convPoint;}
00019   GlobalPoint pvtxPoint()const  {return   _pvtxPoint;}
00020   float cotTheta       () const {return   _cotTheta; }
00021   double errTheta      () const {return   _errTheta; }
00022   int  charge          () const {return   _charge;   } 
00023 
00024 
00025  private:
00026   //Data members
00027   GlobalPoint _convPoint;
00028   GlobalPoint _pvtxPoint;
00029   float _cotTheta;
00030   double _errTheta;
00031   int _charge;              
00032 };
00033 
00034 #endif