// -*- mode: c++ -*- // // $Id: BrTofDeltaDelayCalModule.h,v 1.7 2002/08/15 17:14:38 videbaek Exp $ // $Author: videbaek $ // $Date: 2002/08/15 17:14:38 $ // $Copyright: (C) 2001 BRAHMS Collaboration // #ifndef BRAT_BrTofDeltaDelayCalModule #define BRAT_BrTofDeltaDelayCalModule #ifndef BRAT_BrTofCalModule #include "BrTofCalModule.h" #endif #ifndef BRAT_BrEventNode #include "BrEventNode.h" #endif #ifndef BRAT_BrDataTable #include "BrDataTable.h" #endif #ifndef ROOT_TH1 #include "TH1.h" #endif #ifndef ROOT_TH2 #include "TH2.h" #endif #ifndef ROOT_TProfile #include "TProfile.h" #endif class BrTofDeltaDelayCalModule : public BrTofCalModule { private: Float_t fMinCscint; Float_t fMaxCscint; Float_t fYmin; Float_t fYmax; virtual void SaveAscii(); virtual void ReadAscii(); // histograms TProfile** fDtYTrk; TH2F* fDtYAll; TH2F** fXYTrack; TH1F* fSumDelay; TH1F* fSumCscint; public: BrTofDeltaDelayCalModule(); BrTofDeltaDelayCalModule(const Char_t* name, const Char_t* title); virtual ~BrTofDeltaDelayCalModule () {} void SetMinCscint(Float_t c = 5) { fMinCscint = c; } void SetMaxCscint(Float_t c = 25) { fMaxCscint = c; } void SetYRange(Float_t min = -7, Float_t max = 7) { fYmin = min; fYmax = max; } virtual void DefineHistograms(); virtual void Init(); virtual void Begin(); virtual void Event(BrEventNode* inNode, BrEventNode* outNode); virtual void Finish(); virtual void Print(Option_t* option="B") const; // *MENU* ClassDef(BrTofDeltaDelayCalModule,0) // Delta Delay calibration module }; #endif //____________________________________________________________________ // // $Log: BrTofDeltaDelayCalModule.h,v $ // Revision 1.7 2002/08/15 17:14:38 videbaek // Modified diagnostics panel histograms for TOFW // now one per panel not all panels summed // // Revision 1.6 2001/12/20 15:29:18 ouerdane // Added method SetYRange(min, max) to set the fitting range // // Revision 1.5 2001/11/05 06:59:44 ouerdane // changed to deal with new track classes and fixed some bugs // // Revision 1.4 2001/10/02 01:53:28 ouerdane // Added SetSaveAscii, SetLoadAscii, SetCommitAscii and updated the way parameters are tagged for Use // // Revision 1.3 2001/08/09 02:16:15 ouerdane // New version of this class. // can now do cscint and delta delay in one pass // see implementation file for more comments // no need to use BrTofCscintCalModule // // Revision 1.2 2001/07/31 09:21:51 ouerdane // Removed all references to a TList member, replaced // by histogram members, declare ntuple if fNtuple is true (set // via SetNtuple) // // Revision 1.1 2001/06/29 13:52:22 cholm // Imported TOF classes from Djamel //