MpdPhotonAnalysisParams.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #ifndef MPDPHOTONANALYSISPARAMS_H
  2. #define MPDPHOTONANALYSISPARAMS_H
  3. #include <map>
  4. #include <string>
  5. #include "Rtypes.h"
  6. #include "TObject.h"
  7. class MpdPhotonAnalysisParams: public TObject{
  8. public:
  9. //
  10. //Event selection cuts
  11. float mZvtxCut = 40.; /// event selection cut (cm)
  12. int mNhitsCut = 10; /// number of hits in TPC tracks used for centrality
  13. //V0 cuts
  14. float mMinR2Cut = 5. ; // (cm) Minimal conversion radius (to exclude Dalitz)
  15. float mMaxR2Cut = 120. ; // (cm) Maximal conversion radius (to exclude poorly reconstructed tracks)
  16. float mPIDsigM = 4.0;
  17. float mPIDsigE = 4.0;
  18. float mPIDenergy = 11.;
  19. float mPIDkoeff = 1.;
  20. std::string mPIDgenerator = "NSIG";
  21. std::string mPIDtracking = "CF";
  22. std::string mPIDparticles = "elpikapr";
  23. int mNofHitsCut = 10 ; // minimal number of hits to accept track
  24. float mEtaCut = 1.0 ; // maximal pseudorapidity accepted
  25. float mPtminCut = 0.05 ;// minimal pt used in analysis
  26. float mProbElCut = 0.75;
  27. float mdEdxSigmaCut = 3.0 ; //dEdx cut in sigmas
  28. float mBetaSigmaCut = 3.0 ; //beta cut
  29. float mMassCut = 0.051;
  30. float mDistCut = 2.8; // maximal closest distance between daughters
  31. float mCosPsiCut = 0.96242520 ; // e+e- pair orientation wrt B-filed
  32. float mAlphaCut = 0.102 ; //r vs p angle
  33. float mChi2Cut=10 ;
  34. //Cluster cuts
  35. float mCluEmin = 0.05 ;
  36. int mCluMult = 2 ;
  37. float mCluTof = 5.; //cluster time cut in sigmas
  38. float mCluDisp = 6.25; //cluster disp cut in sigma squared
  39. float mCluDispEmin=0.5; //Min energy to apply Disp cut (GeV)
  40. float mCluCPV = 6.25; //neutrality cut in sigma squared
  41. void ReadFromFile(std::string fname="ConvDef.txt") ;
  42. void Print() const ;
  43. protected:
  44. void read(std::string name, bool &b) ;
  45. void read(std::string name, int &b) ;
  46. void read(std::string name, float &b) ;
  47. void read(std::string name, std::string &b);
  48. std::map<std::string,std::string> mMap ;
  49. ClassDef(MpdPhotonAnalysisParams, 1) ;
  50. };
  51. #endif //MPDPHOTONANALYSISPARAMS_H