9#define BMNHISTTOF700_H 1
15#include "BmnEventHeader.h"
18#include "TClonesArray.h"
24#include "THttpServer.h"
29#include "BmnTof1Digit.h"
31#define TOF2_MAX_CHAMBERS 59
32#define TOF2_MAX_STRIPS_IN_CHAMBER 32
42 void SetDir(TFile* outFile = NULL, TTree* recoTree = NULL);
60 TH1D* histLeadingTime;
61 TH1D* histLeadingTimeSpecific;
63 TH1D* histAmpSpecific;
72 TH1I histSimultaneous;
73 vector<TString> Names;
75 vector<PadInfo*> canTimesPads;
77 void SaveHist(TH1* hist, TString path)
79 TCanvas* c0 =
new TCanvas(
"c0", hist->GetTitle());
81 c0->SaveAs(TString(path + TString(hist->GetTitle()) +
".png").Data());
BmnStatus SetRefRun(Int_t id)
void FillFromDigi(DigiArrays *fDigiArrays)
void SetSelection(Int_t Plane, Int_t Strip)
void Register(THttpServer *serv)
void SetDir(TFile *outFile=NULL, TTree *recoTree=NULL)
BmnHistToF700(TString title="ToF700", TString path="")
#define TOF2_MAX_STRIPS_IN_CHAMBER