#ifndef MODELCONVERTER_UTILITY_H #define MODELCONVERTER_UTILITY_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include class mciUtility { protected: mciUtility(); virtual ~mciUtility(); static mciUtility *fUtility; public: mciUtility(mciUtility &other) = delete; void operator=(const mciUtility &) = delete; static mciUtility *GetInstance(); const Double_t error_code = -999.; Int_t Nevents; Int_t debug; std::string input_format; std::string output_format; Bool_t ReadConfig(const TString &configFileName); TChain *initChain(const TString &inputFileName, const char *chainName); std::vector ParseVector(std::string _input); Bool_t initCentrality(); Double_t GetCharge(Int_t pdg); ClassDef(mciUtility, 0); }; // class mciUtility #endif