/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/include/root/MTTrack.hh

Go to the documentation of this file.
00001 /* @version $Revision: 1416 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-11-18 16:11:02 +0100 (Fri, 18 Nov 2011) $ */
00002 
00003 
00004 #ifndef ROOT_MTTRACK
00005 #define ROOT_MTTRACK
00006 
00007 /*!
00008  * \file MTTrack.hh
00009  * \brief Contains Track's parameters:
00010  * 
00011  * -fromPad :track find with gassiplex PAD 
00012  *
00013  * -fromStrip :track find with gassiplex STRIP 
00014  *
00015  * In XZ plane track equation y = ax + b
00016  * -ax line slope (float)
00017  * -bx intercept  (float)
00018  * 
00019  * In YZ plane track equation y = ax + b
00020  * -ay line slope (float)
00021  * -by intercept  (float)
00022  *
00023  * straight (bool). Determine if track is straight or not 
00024  * 
00025  * singleHit (bool) . Determine if track is find with a singleHit per position or not ( track quality )
00026  * 
00027  * \author Jean Jacquemier
00028  * \version "$Revision: 1416 $"
00029  */
00030 
00031 #include "TObject.h"
00032 #include "TClonesArray.h"
00033 
00034 
00035 //////////////////////////////////////////////////////////////////////////
00036 //                                                                      //
00037 // MTTrack                                                                              //
00038 //                                                                      //
00039 //////////////////////////////////////////////////////////////////////////
00040 
00041 /*! \class MTTrack
00042  * \briefContains Track's parameters:
00043  * -fromPad :track find with gassiplex PAD 
00044  *
00045  * -fromStrip :track find with gassiplex STRIP 
00046  *
00047  * In XZ plane track equation y = ax + b
00048  * -ax line slope (float)
00049  * -bx intercept  (float)
00050  * 
00051  * In YZ plane track equation y = ax + b
00052  * -ay line slope (float)
00053  * -by intercept  (float)
00054  *
00055  * straight (bool). Determine if track is straight or not 
00056  * 
00057  * singleHit (bool) . Determine if track is find with a singleHit per position or not ( track quality )
00058 */
00059 
00060 class MTTrack :  public TObject {
00061 
00062 public:
00063    MTTrack();
00064    MTTrack( bool fromPad, bool fromStrip ,
00065             bool straight ,bool singleHit ,
00066             Float_t  ax ,Float_t  bx ,Float_t  ay , Float_t  by );
00067    virtual ~MTTrack();   // virtual toFromStrip call ~TObject
00068 
00069   bool GetStraight( void) const { return fStraight; } ; 
00070   bool GetFromStrip( void)  const{ return fFromStrip; } ; 
00071   bool GetFromPad( void)  const{ return fFromPad; } ; 
00072   bool GetSingleHit( void)  const{ return fSingleHit; } ; 
00073   Float_t GetAx( void)  const{ return fAx; } ; 
00074   Float_t GetBx( void)  const{ return fBx; } ; 
00075   Float_t GetAy( void)  const{ return fAy; } ; 
00076   Float_t GetBy( void)  const{ return fBy; } ; 
00077 
00078   void SetStraight( bool value ) { fStraight = value; } ;
00079   void SetFromStrip( bool value ) { fFromStrip = value; } ;
00080   void SetFromPad( bool value ) { fFromPad = value; } ;
00081   void SetSingleHit( bool value ) { fSingleHit = value; } ;
00082 
00083   void SetAx(Float_t value ) { fAx = value; } ;
00084   void SetAy(Float_t value ) { fAy = value; } ;
00085   void SetBx(Float_t value ) { fBx = value; } ;
00086   void SetBy(Float_t value ) { fBy = value; } ;
00087 
00088 private:
00089    bool     fFromPad;
00090    bool     fFromStrip;
00091    bool     fStraight;
00092    bool     fSingleHit;
00093 
00094    Float_t  fAx;
00095    Float_t  fBx;
00096 
00097    Float_t  fAy;
00098    Float_t  fBy;
00099 
00100   
00101   
00102 
00103    ClassDef(MTTrack, 34)  //MTEvent structure
00104 
00105 };
00106 
00107 #endif

Generated on Mon Jan 7 13:15:20 2013 for MicromegasFramework by  doxygen 1.4.7