1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #ifndef MODELCONVERTER_UTILITY_H
- #define MODELCONVERTER_UTILITY_H
- #include <iostream>
- #include <fstream>
- #include <vector>
- #include <algorithm>
- #include <iterator>
- #include <cassert>
- #include <sstream>
- #include <string>
- #include <Rtypes.h>
- #include <TString.h>
- #include <TChain.h>
- #include <TEnv.h>
- #include <mciEvent.h>
- #include <mciParticle.h>
- 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<Float_t> ParseVector(std::string _input);
- Bool_t initCentrality();
- Double_t GetCharge(Int_t pdg);
- ClassDef(mciUtility, 0);
- }; // class mciUtility
- #endif
|