Locked History Actions

attachment:OnlineMonitor.hh of ANAROOT/Macros

Attachment 'OnlineMonitor.hh'

Download

#ifndef __MONITORONLINE__
#define __MONITORONLINE__

#include "TH1.h"
#include "TH2.h"

class TFile;
class TArtEventStore;

class TArtBigRIPSParameters;
class TArtSAMURAIParameters;
class TArtDALIParameters;
class TArtWINDSParameters;
class TArtMINOSParameters;

class TArtCalibCoin;
class TArtCalibPlastic;
class TArtCalibDALI;
class TArtCalibBDC1Hit;
class TArtCalibBDC2Hit;
class TArtCalibFDC1Hit;
class TArtCalibFDC2Hit;
class TArtCalibHODPla;
class TArtCalibRPDCHit;
class TArtCalibRPTOFPla;
class TArtCalibWINDSPla;
class TArtCalibNEBULA;
class TArtCalibMINOS;
class TArtAnalyzedMINOS;
class TArtTrackMINOS;
class TArtVertexMINOS;


#include <vector>

class OnlineMonitor : public TObject {

public:
  OnlineMonitor();
  ~OnlineMonitor();

  void Run(TString ridffilename="", TString opt="");

  void InitAnalysis();
  void BookHist();
  void AnalyzeOneEvent();
  void EventLoop();
  void Draw();
  void ClearHist();
  void Delete();
  bool IsChTrue(Int_t id, Int_t val);

private:
  TString fRIDFFileName;
  TString fOpt;
  TFile *fRootFile;
  TArtEventStore* festore;

  TArtBigRIPSParameters* fbripsprm;
  TArtDALIParameters* fdaliprm;
  TArtSAMURAIParameters* fsmprm;
  TArtWINDSParameters* fwindsprm;
  TArtMINOSParameters* fminosprm;

  TArtCalibCoin *fCalibCoin;
  TArtCalibPlastic *fCalibPla;
  TArtCalibDALI *fCalibDALI;

  TArtCalibBDC1Hit *fCalibBDC1Hit;
  TArtCalibBDC2Hit *fCalibBDC2Hit;
  TArtCalibFDC1Hit *fCalibFDC1Hit;
  TArtCalibFDC2Hit *fCalibFDC2Hit;
  TArtCalibHODPla  *fCalibHODPla;
  TArtCalibRPDCHit *fCalibRPDCHit;
  TArtCalibRPTOFPla *fCalibRPTOFPla;
  TArtCalibWINDSPla *fCalibWINDSPla;
  TArtCalibNEBULA *fCalibNEBULA;
  TArtCalibMINOS *fCalibMINOS;
  TArtAnalyzedMINOS *fAnalyzedMINOS;
  TArtTrackMINOS *fTrackMINOS;
  TArtVertexMINOS *fVertexMINOS;

  Bool_t fInitAnalysis;
  Bool_t fIsHistBooked;
  std::vector<TH1*> fhist_array;

  TH1* fhcoin;
  TH1* fhpla_idtl;
  TH1* fhpla_idtr;
  TH1* fhpla_idql;
  TH1* fhpla_idqr;

  TH1* fhdali_ida;
  TH1* fhdali_idt;

  TH1* fhbdc1_id;
  TH1* fhbdc2_id;
  TH1* fhfdc1_id;
  TH1* fhfdc2_id;

  TH1* fhhod_idtu;
  TH1* fhhod_idtd;
  TH1* fhhod_idqu;
  TH1* fhhod_idqd;

  TH1* fhrpdc_id;

  TH1* fhrptof_idtu;
  TH1* fhrptof_idtd;
  TH1* fhrptof_idqu;
  TH1* fhrptof_idqd;

  TH1* fhwinds_idt1;
  TH1* fhwinds_idt2;
  TH1* fhwinds_idq1;
  TH1* fhwinds_idq2;

  TH1* fhnebula_idtu;
  TH1* fhnebula_idtd;
  TH1* fhnebula_idqu;
  TH1* fhnebula_idqd;

  TH1* fhminos_asic;
  TH1* fhvertex_xy;
  TH1* fhvertex_z;

  Int_t f_iplot;

  ClassDef(OnlineMonitor,1);
};

#endif

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2012-11-02 05:21:15, 1.6 KB) [[attachment:BPCHist.C]]
  • [get | view] (2013-02-27 09:18:59, 0.8 KB) [[attachment:CoinHist.C]]
  • [get | view] (2012-11-02 05:10:49, 2.6 KB) [[attachment:FDC2Hist.C]]
  • [get | view] (2012-11-02 04:31:49, 2.1 KB) [[attachment:HODHist.C]]
  • [get | view] (2012-11-02 04:31:32, 1.6 KB) [[attachment:ICBHist.C]]
  • [get | view] (2014-12-31 11:41:13, 19.5 KB) [[attachment:OnlineMonitor.cc]]
  • [get | view] (2014-12-31 11:41:02, 2.6 KB) [[attachment:OnlineMonitor.hh]]
  • [get | view] (2012-11-02 05:25:41, 1.7 KB) [[attachment:PlaHist.C]]
  • [get | view] (2012-02-15 09:14:24, 3.2 KB) [[attachment:ch2ns.C]]
  • [get | view] (2012-02-15 10:05:13, 3.0 KB) [[attachment:getlandaupeak.C]]
  • [get | view] (2012-02-15 09:14:53, 2.7 KB) [[attachment:getped.C]]
  • [get | view] (2012-02-13 09:49:04, 2.6 KB) [[attachment:makevsta.C]]
  • [get | view] (2012-02-19 14:44:04, 0.5 KB) [[attachment:slew.C]]

You are not allowed to attach a file to this page.