STB/TFndHStbTriplet.h

00001 // @(#)fROOT/STB:$Name:  $:$Id: TFndHStbTriplet.h,v 1.6 2007/09/05 10:48:18 Diego_Faso Exp $
00002 // Author: Diego Faso <mailto:faso@to.infn.it>, 2005/06/24
00003 
00004 #ifndef FROOT_TFndHStbTriplet
00005 #define FROOT_TFndHStbTriplet
00006 
00008 //                                               //
00009 //              TFndHStbTriplet.cxx              //
00010 // FINUDA Stb triplets reconstructed hits Class  //
00011 //                                               //
00013 
00014 #include "TObject.h"
00015 
00016 class TFndHStbTriplet : public TObject{
00017   
00018   // --- data members ---
00019  protected:
00020   Bool_t fLRAmbiguity; // is 1 if L/R ambiguity resolved
00021   Bool_t fNotUnique;   // is 1 if triplet is NOT unique: other TRIP(s) share cluster(s)
00022   Float_t fTripletStereoPos[3]; // x,y,z coordinates from stereo crossing
00023   Float_t fZetaLostPos;         //Z  coordinate for pilot LOST tube (closest to track)
00024 
00025  public:
00026   TFndHStbTriplet();
00027   ~TFndHStbTriplet();
00028   
00029   // --- Set Methods
00030   void SetLRAmbiguity(Bool_t LR_amb) {fLRAmbiguity = LR_amb;}
00031   void SetTripletNotUnique(Bool_t not_unique) {fNotUnique = not_unique;}
00032   void SetTripletStereoPos(Float_t x,Float_t y,Float_t z)
00033     {fTripletStereoPos[0] = x; fTripletStereoPos[1] = y, fTripletStereoPos[2] = z;}
00034   void SetZetaLostPos(Float_t z) {fZetaLostPos = z;}
00035   // --- Get Methods
00036   Bool_t  GetLRAmbiguity() {return fLRAmbiguity;}
00037   Bool_t  GetTripletNotUnique() {return fNotUnique;}
00038   Float_t GetTripletStereoPos(Char_t *axis);
00039   Float_t GetZetaLostPos() {return fZetaLostPos;}
00040 
00041   ClassDef(TFndHStbTriplet,1) // designed starting from the structure of the "fidarc" TRIR bank
00042 };
00043 
00044 #endif // FROOT_TFndHStbTriplet

Generated on Tue Oct 16 15:40:48 2007 by  doxygen 1.5.2