Skip to content

Commit

Permalink
Update centrality definition for FXT (#584)
Browse files Browse the repository at this point in the history
Update of the centrality definition for FXT (3, 3.2, 3.5, 3.9, and 7.7
GeV) and Collider (7.7 and 200 GeV)

---------

Co-authored-by: Vinh Luong <[email protected]>
Co-authored-by: lbavinh <[email protected]>
  • Loading branch information
3 people authored Nov 13, 2023
1 parent f1f9389 commit 93381cc
Show file tree
Hide file tree
Showing 8 changed files with 1,029 additions and 210 deletions.
42 changes: 38 additions & 4 deletions StRoot/StRefMultCorr/BadRun.h

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions StRoot/StRefMultCorr/CentralityMaker.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ CentralityMaker::CentralityMaker() {
fRefMult2Corr = new StRefMultCorr("refmult2") ;
fRefMult3Corr = new StRefMultCorr("refmult3") ;
fRefMultCorr_Isobar = new StRefMultCorr("refmult","Isobar") ;
fRefMultCorrFxt = new StRefMultCorr("fxtmult");
// fTofTrayMultCorr = new StRefMultCorr("toftray") ;
fgRefMultCorr = new StRefMultCorr("grefmult") ;
fgRefMultCorr_Run14_AuAu200_VpdMB5_P16id = new StRefMultCorr("grefmult","Run14_AuAu200_VpdMB5","P16id") ;
Expand Down Expand Up @@ -91,6 +92,11 @@ StRefMultCorr* CentralityMaker::getRefMultCorr_Isobar() {
return fRefMultCorr_Isobar ;
}

//_________________
StRefMultCorr* CentralityMaker::getRefMultCorrFxt() {
return fRefMultCorrFxt;
}

/*
//_________________
StRefMultCorr* CentralityMaker::getTofTrayMultCorr() {
Expand Down
14 changes: 8 additions & 6 deletions StRoot/StRefMultCorr/CentralityMaker.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#ifndef __CentralityMaker_h__
#define __CentralityMaker_h__

class StRefMultCorr ;
class StRefMultCorr;
#include "Rtypes.h"

//_________________
Expand All @@ -57,6 +57,7 @@ class CentralityMaker {
StRefMultCorr* getRefMult2Corr() ; // For refmult2
StRefMultCorr* getRefMult3Corr() ; // For refmult3
StRefMultCorr* getRefMultCorr_Isobar() ; // For refmult
StRefMultCorr* getRefMultCorrFxt(); // For fixed-target data
// StRefMultCorr* getTofTrayMultCorr() ; // For TOF tray multiplicity
StRefMultCorr* getgRefMultCorr() ; // For grefmult //Run14 AuAu200GeV
StRefMultCorr* getgRefMultCorr_Run14_AuAu200_VpdMB5_P16id() ;
Expand All @@ -74,12 +75,13 @@ class CentralityMaker {
static CentralityMaker* fInstance ; // Static pointer of CentralityMaker

// Centrality correction classes
StRefMultCorr* fRefMultCorr ; // refmult based centrality
StRefMultCorr* fRefMult2Corr ; // refmult2 based centrality
StRefMultCorr* fRefMult3Corr ; // refmult3 based centrality
StRefMultCorr* fRefMultCorr ; // refmult-based centrality
StRefMultCorr* fRefMult2Corr ; // refmult2-based centrality
StRefMultCorr* fRefMult3Corr ; // refmult3-based centrality
StRefMultCorr* fRefMultCorr_Isobar ; // refmult based centrality
// StRefMultCorr* fTofTrayMultCorr ; // tofTrayMult based centrality
StRefMultCorr* fgRefMultCorr ; // grefmult based centrality
StRefMultCorr* fRefMultCorrFxt; // fxtMult-based centrality
// StRefMultCorr* fTofTrayMultCorr ; // tofTrayMult-based centrality
StRefMultCorr* fgRefMultCorr ; // grefmult-based centrality
StRefMultCorr* fgRefMultCorr_Run14_AuAu200_VpdMB5_P16id ;
StRefMultCorr* fgRefMultCorr_Run14_AuAu200_VpdMB30_P16id ;
StRefMultCorr* fgRefMultCorr_Run14_AuAu200_VpdMBnoVtx_P16id ;
Expand Down
1 change: 1 addition & 0 deletions StRoot/StRefMultCorr/Param.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const string getParamX( const int x, const int y1, const int y2 ) {
case 2: str = mParamStr_ref2[y1][y2]; break;
case 3: str = mParamStr_ref3[y1][y2]; break;
case 4: str = mParamStr_ref4[y1][y2]; break;
case 5: str = mParamStr_ref5[y1][y2]; break;
default: str = "0";
}
return str;
Expand Down
Loading

0 comments on commit 93381cc

Please sign in to comment.