• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

beamtime/tof-tdctest/go4/PADRPC/TPadRpcProc.h (r4864/r4490)

Go to the documentation of this file.
00001 #ifndef TPADRPCPROC_H
00002 #define TPADRPCPROC_H
00003 
00004 #include "TGsiAug12Analysis.h"
00005 #include "TGsiAug12Param.h"
00006 
00007 #include "TCBMBeamtimeProc.h"
00008 
00009 #include "MBSUNPACK/TMbsCrateEvent.h"
00010 #include "TTriglogEvent.h"
00011 #include "VFTX/TVftxEvent.h"
00012 #include "VFTX/TVftxParam.h"
00013 
00014 #include "TPadRpcEvent.h"
00015 #include "TPadRpcParam.h"
00016 
00017 #include "TGo4Picture.h"
00018 #include "TH1.h"
00019 #include "TH2.h"
00020 
00021 class TGo4EventElement;
00022 class TGo4MbsSubEvent;
00023 
00024 class TPadRpcProc : public TCBMBeamtimeProc {
00025   //  friend class TCBMBeamtimeProc; 
00026    public:
00027       TPadRpcProc(const char* name = 0);
00028       virtual ~TPadRpcProc();
00029 
00030       virtual void InitEvent(TGo4EventElement*);
00031 
00032       virtual void FinalizeEvent();
00033    private:
00034       void ProcessCaenPad( UInt_t uPadIndexX, UInt_t uPadIndexY, Double_t dCaenOtherOffset = 0 );
00035       void ProcessVftxPad( UInt_t uPadIndexX, UInt_t uPadIndexY, Double_t dVftxOtherOffset = 0 );
00036       
00037 
00038    protected:
00039       TPadRpcParam * fPar;
00040       TVftxParam * fVftxPar;
00041       TGsiAug12Param * fParAnalysis;
00042       TMbsCrateEvent * fCrateInputEvent;
00043       TTriglogEvent  * fTriglogInputEvent;
00044       TVftxEvent     * fVftxInputEvent;
00045 
00046       TPadRpcEvent * fOutputEvent;
00047 
00048    protected:
00049       Double_t dCaenBinSize;
00050       Double_t dRpcCenterOffsetX;
00051       Double_t dRpcCenterOffsetY;
00052       Double_t dRpcCenterOffsetCmX;
00053       Double_t dRpcCenterOffsetCmY;
00054 
00055       PadRpc_Hit      hitCurrent;
00056       PadRpc_Cluster  clusterCurrent;
00057       PadRpc_Event    eventCurrent;
00058       UInt_t       uLastFiredPadX;
00059       UInt_t       uMultiplicityPadRpc;
00060 
00061       TH2* fBeamProfilePadRpcCm;  // Beam profile in length units with pad RPCs
00062       TH2* fBeamProfilePadRpc;    // Beam profile in pad units with pad RPCs
00063       TH1* fMultiplicityPadRpc;   // Multiplicity graph with Pad RPCs
00064       TH1* fClusterMultPadRpc;    // Cluster multiplicity graph with Pad RPCs
00065       TH1* fClusterSizePadRpc;    // Cluster size graph with Strip RPCs
00066       TH2* fClusterProfilePadRpc; // Beam profile with clusters center Pad RPCs
00067 
00068       ClassDef(TPadRpcProc,1)
00069 };
00070 
00071 #endif //TPADRPCPROC_H
00072 

Generated on Tue Dec 10 2013 04:52:21 for ROCsoft by  doxygen 1.7.1