@@ -81,19 +81,26 @@ class Tracks
8181 mUseCutMaxAbsDCArOnHistos = useCutMaxAbsDCArOnHistos;
8282 }
8383
84+ // Set PV position
85+ void setPVposition (const o2::math_utils::Point3D<float > meanVtxPoint3D)
86+ {
87+ mPositionOfPV = meanVtxPoint3D;
88+ }
89+
8490 // / get ratios of 1D histograms
8591 std::unordered_map<std::string, std::unique_ptr<TH1>>& getMapHist () { return mMapHist ; }
8692 const std::unordered_map<std::string, std::unique_ptr<TH1>>& getMapHist () const { return mMapHist ; }
8793
8894 private:
89- float mCutAbsEta = 1 .f; // Eta cut
90- int mCutMinnCls = 60 ; // minimum N clusters
91- float mCutMindEdxTot = 20 .f; // dEdxTot min value
92- float mCutMinPtDCAr = 1 .5f ; // minimum pT for DCAr plots DCAr vs. phi, eta, nCluster
93- float mSamplingFractionDCAr = 0 .1f ; // sampling rate for calculation of DCAr
94- bool mTurnOffHistosForAsync = false ; // Decide whether to turn off some histograms for async to reduce memory
95- float mCutMaxAbsDCAr = 1 .f; // maximum DCAr
96- bool mUseCutMaxAbsDCArOnHistos = false ; // Decide whether to use the cut on maximum DCAr for the histograms
95+ float mCutAbsEta = 1 .f; // Eta cut
96+ int mCutMinnCls = 60 ; // minimum N clusters
97+ float mCutMindEdxTot = 20 .f; // dEdxTot min value
98+ float mCutMinPtDCAr = 1 .5f ; // minimum pT for DCAr plots DCAr vs. phi, eta, nCluster
99+ float mSamplingFractionDCAr = 0 .1f ; // sampling rate for calculation of DCAr
100+ bool mTurnOffHistosForAsync = false ; // Decide whether to turn off some histograms for async to reduce memory
101+ float mCutMaxAbsDCAr = 1 .f; // maximum DCAr
102+ bool mUseCutMaxAbsDCArOnHistos = false ; // Decide whether to use the cut on maximum DCAr for the histograms
103+ o2::math_utils::Point3D<float > mPositionOfPV {}; // Position of the PV
97104
98105 std::unordered_map<std::string, std::unique_ptr<TH1>> mMapHist ;
99106 std::vector<TH1F> mHist1D {}; // /< Initialize vector of 1D histograms
0 commit comments