// Created by Baranyai David on 2017. 11. 02. #ifndef BM1DOpen_h #define BM1DOpen_h 1 #include #include #include #include #include "TROOT.h" #include "TTree.h" #include "TFile.h" class BM1DOpen { public: BM1DOpen(); ~BM1DOpen(); void OpenfromTree(const char* filename); std::vector GetT(); std::vector GetX(); Double_t GetMu1(); Double_t GetMu2(); Double_t GetSigma1(); Double_t GetSigma2(); Double_t Getx1(); Double_t Getx2(); Int_t GetP0(); Int_t GetP1(); Int_t GetSteps(); Int_t GetnRuns(); private: TFile* fIn; TTree *T2, *T3; Long64_t nentries; std::vector t; std::vector x; Double_t InnerMean,ExternalMean,InnerSigma,ExternalSigma,tl,xl,x1,x2; Double_t P0, P1, Steps, NumberofRuns,BottomLayer,UpperLayer; }; #endif