// --------------------------------------------------------------------- // ----- KrattaEne header file ----- // ----- Created 10/11/13 by J. Lukasik ----- // --------------------------------------------------------------------- /** KrattaEne * @author J. Lukasik * @since 10/11/13 * Event energy calibration for the KRATTA: parameters * container and procedures * **/ #ifndef __KRATTA_ENE_CLASS__ #define __KRATTA_ENE_CLASS__ #include "TObject.h" #include "Rtypes.h" #include "TClass.h" #include "TCutG.h" #include "TRandom3.h" #include "TFile.h" #include "TString.h" #include #include #include #include #include "re_tab.hxx" #include "KRATTAgeo.hxx" #include "KRATTAtgt.hxx" #include "mktreedstchain_sct_fitABC.h" #include "TRootKRATEvent.h" class RE_TAB; class Target; class KrattaGeo; class ASYEvent; class ASYFadcPeak; class TRootKRATEvent; class TRootKRATParticle; class KrattaEne : public TObject{ private: int run_current; TString mat_current; public: KrattaEne(); virtual ~KrattaEne(); //friend std::ostream& operator<<(std::ostream&, const KrattaEne& p); //TRootKRATParticle fDat; //TRootKRATParticle* GetTRootKRATParticle(void ) { return &fDat;}; void LoadParameters(Int_t run); void LoadParametersOld(Int_t run); void LoadFineCorrections(Int_t run); void LoadPD01PthrChannels(Int_t run); void LoadGammaLines(Int_t run); void LoadStarCuts(Int_t run); void LoadExtraProtonCuts(Int_t run); void LoadTime0Intervals(Int_t run); bool IsInTime(Int_t mod, Int_t ipd, Float_t time, Float_t nsigma_minus=0, Float_t nsigma_plus=0); Float_t DiffTime(Int_t mod, Int_t ipd, Float_t time);//returns the difference //between time-