#include "hmdctargetmon.h"

HMdcTargetMon


class description - source file - inheritance tree (.pdf)

class HMdcTargetMon : public HReconstructor

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HMdcTargetMon
    private:
Int_t eventTime() void extractFileInfo() void fillDateTime() void makePDF(char* psFile) void resetHists() void saveCanvas() void setCanvName() void setParam(UInt_t pt = 0) public:
HMdcTargetMon(Bool_t isClOff = kFALSE, UInt_t pt = 0) HMdcTargetMon(Text_t* name, Text_t* title, Bool_t isClOff = kFALSE, UInt_t pt = 0) ~HMdcTargetMon() void addToCanvasName(char* add) static TClass* Class() void drawCanvCut() void drawDownScalHist() void drawTrigCondHist() virtual Int_t execute() virtual Bool_t finalize() TH1F** getDPhiH() TH1F** getZ0H() TH1F** getZVerDscH() TH1F** getZVerH() TH2S** getZVerVsEventH() virtual Bool_t init() virtual TClass* IsA() const virtual Bool_t reinit() void setDPhiCut(Double_t dPh) void setDrawEachFile() void setDrawSumOfFiles() void setFillSegFlag(Bool_t f = kTRUE) void setHistPar(Int_t nb, Double_t z1, Double_t z2) void setHistsMode(Int_t hMode) void setMode(Bool_t m, Char_t* fileType = "0") void setRCut(Double_t rCut) void setTimeStep(Double_t tst) void setXYTargPos(Double_t x, Double_t y, Double_t z) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Bool_t mode kTRUE - show canvases at the call finalize TString typePrintFile "" - ps, ".gif", ... HCategory* fMdcHitCat pointer to HMdcHit data category HIterator* iterMdcHit iterator HLocation locHit location HEventHeader* evHeader HGeomVector target Bool_t useRtdbTarger Bool_t isCoilOff Bool_t firstEvent UInt_t dateFEvent UInt_t timeFEvent UInt_t dateLEvent UInt_t timeLEvent UInt_t runId TString fileName List of file names. TString fileNameR File name of current run. TString dateTime HGeomTransform* transf[24] Int_t nSectors Int_t nPads[6] [comb] TPad* fPads[6][12] TPaveLabel* label fileName & time label Int_t mdcInSec[6] [sec] Bool_t listMdc[24] Double_t theta[24][500] Double_t phi[24][500] Double_t x[24][500] Double_t y[24][500] Double_t z[24][500] Double_t r2Hit[24][500] Short_t nhits[24] Double_t dPhiCut Double_t r0Cut Int_t combToMdc[6][2] TH1F* dPhiH[6] 6 combinations of MDC,s 1-2,1-3,1-4,2-3,2-4,3-4 TH1F* r0H[6] -/- TH1F* zVerH[6][6] [sec][comb] TH1F* zVerDscH[6][6][10] [sec][comb][DownscalingFlag||trigger cond.] Int_t histsMode =0 - one hist., =1 - 2 hist downsc.flag Int_t nZmBins histogramms parameters Double_t zmin Double_t zmax TH2S* zVerVsEventH[6][6] -/- char cnCut[100] char cnComb[6][100] char ctCut[100] char ctComb[6][100] TCanvas* canvs[6] TString addCnName TStopwatch timer UInt_t plotType Double_t timeStep canvases updating time step Stat_t stat Bool_t sumOfFiles =kTRUE - add all runs in one hist. Bool_t fillSeg HCategory* fSegCat HLocation locSeg location for new "segment" object

Class Description


HMdcTargetMon(Bool_t isClOff, UInt_t pt)

HMdcTargetMon(Text_t *name,Text_t *title, Bool_t isClOff, UInt_t pt) : HReconstructor(name,title)

void setParam(UInt_t pt)

~HMdcTargetMon()
 destructor
   for(Int_t i=0;i<6;i++) {
     if(dPhiH[i]) delete dPhiH[i];
     dPhiH[i]=0;
     if(r0H[i]) delete r0H[i];
     r0H[i]=0;
     for(Int_t s=0;s<6;s++) {
       if(zVerH[i][s]) delete zVerH[i][s];
       zVerH[i][s]=0;
       if(zVerVsEventH[i][s]) delete zVerVsEventH[i][s];
       zVerVsEventH[i][s]=0;
       for(Int_t k=0;k<10;k++) if(zVerDscH[i][s][k]) {
         delete zVerDscH[i][s][k];
         zVerDscH[i][s][k]=0;
       }
     }
   }
   for(Int_t i=0;i<6;i++) if(canvs[i]) {
     canvs[i]->Delete();
     delete canvs[i];
     canvs[i]=0;
   }

void setMode(Bool_t m, Char_t* fileType)

Bool_t init(void)

Bool_t reinit(void)

Bool_t finalize(void)

void saveCanvas(void)

Int_t execute(void)

void extractFileInfo(void)

void fillDateTime(void)

Int_t eventTime(void)

void setCanvName(void)

void drawCanvCut(void)

void setXYTargPos(Double_t x, Double_t y, Double_t z)

void setHistPar(Int_t nb, Double_t z1, Double_t z2)

void resetHists(void)

void makePDF(char* psFile)
 Execute ps2pdf GhostScript command on closed PS file, delete PS file



Inline Functions


               void setTimeStep(Double_t tst)
               void setHistsMode(Int_t hMode)
               void drawDownScalHist()
               void drawTrigCondHist()
               void setFillSegFlag(Bool_t f = kTRUE)
               void setRCut(Double_t rCut)
               void setDPhiCut(Double_t dPh)
               void setDrawEachFile()
               void setDrawSumOfFiles()
               void addToCanvasName(char* add)
             TH1F** getDPhiH()
             TH1F** getZ0H()
             TH1F** getZVerH()
             TH1F** getZVerDscH()
             TH2S** getZVerVsEventH()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Last update: Fri Jan 26 12:16:00 2007


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.