Go to the documentation of this file.00001 #ifndef TRPCEVENT_H
00002 #define TRPCEVENT_H
00003 
00004 #include "TGo4EventElement.h"
00005 
00006 
00007 
00008 
00009 
00010 
00011 class Rpc_Hit: public TObject {
00012    public:
00013      Int_t    iStrip;
00014      Double_t dTimeLeft;  
00015      Double_t dTotLeft;   
00016      Double_t dTimeRight; 
00017      Double_t dTotRight;  
00018 
00019      Rpc_Hit() : TObject() { Clear(); };
00020 
00021      void Clear(void);
00022 
00023      Double_t PositionCalculation( Double_t dTimeConv );
00024 
00025      
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033      ClassDef(Rpc_Hit, 1)
00034 };
00035 
00036 class Rpc_Cluster: public TObject {
00037   public:
00038       std::vector<Rpc_Hit>  fHits;
00039       Double_t dX;
00040       Double_t dY;
00041       Double_t dMeanTime;
00042       Double_t dMeanStrip;
00043 
00044      Rpc_Cluster() : TObject() { Clear(); };
00045 
00046      void Clear(void);
00047 
00048      void PositionCalculation( Double_t dMiddleStrip, UInt_t uOrientation,
00049                                    Double_t dStripWidth, Double_t dTimeConv,
00050                                    UInt_t uUseGravityCenter = 0);
00051 
00052    ClassDef(Rpc_Cluster, 1)
00053 };
00054 
00055 class TRpcEvent : public TGo4EventElement {
00056    public:      
00057    
00058 
00059       TRpcEvent();
00060       TRpcEvent(const char* name, Short_t id=0);
00061       virtual ~TRpcEvent();
00062 
00064       virtual void Clear(Option_t *t="");
00065 
00066       
00067       std::vector<Rpc_Cluster>  fClusters;
00068 
00069    ClassDef(TRpcEvent,1)
00070 };
00071 #endif //TRPCEVENT_H
00072 
00073 
00074