CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/RecoVertex/KinematicFitPrimitives/interface/ExtendedPerigeeTrajectoryParameters.h

Go to the documentation of this file.
00001 #ifndef ExtendedPerigeeTrajectoryParameters_H
00002 #define ExtendedPerigeeTrajectoryParameters_H
00003 
00004 #include "DataFormats/CLHEP/interface/AlgebraicObjects.h"
00005 #include "DataFormats/TrajectoryState/interface/TrackCharge.h"
00006 
00007 
00014 class ExtendedPerigeeTrajectoryParameters
00015 {
00016 public:
00017 
00018 ExtendedPerigeeTrajectoryParameters()
00019 {vl = false;}
00020 
00021 ExtendedPerigeeTrajectoryParameters(const AlgebraicVector6& param,
00022                                     const TrackCharge& charge)
00023 {
00024  vl = true;
00025  par = param;
00026  ch = charge;
00027 }
00028 
00032   bool isValid() const
00033   {return vl;}
00034  
00035   AlgebraicVector6 vector() const
00036   {return par;}
00037                      
00038   TrackCharge charge() const
00039   {return ch;}  
00040 
00041 private:
00042 
00043  bool vl;
00044  AlgebraicVector6 par;
00045  TrackCharge ch;
00046 };
00047 #endif