Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions Common/Tools/Multiplicity/macros/runCalibration.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
// or submit itself to any jurisdiction.
//

/// @brief function to calibrate centrality
/// @param lInputFileName name of input file.
/// @param anchorPointPercentage anchor point percentage to use
/// @brief function to calibrate centrality
/// @param lInputFileName name of input file.
/// @param anchorPointPercentage anchor point percentage to use
/// @param matchRange width of region in which data/glauber matching is to be done in rolling anchoring test
/// @param doNpartNcoll wether or not to attempt calculating Npart, Ncoll in centrality bins
void runCalibration( TString lInputFileName = "results/AR_544122_glauberNBD_ancestorMode2_hFT0C_BCs.root", double anchorPointPercentage = 90.0, double matchRange = 200.0, bool doNpartNcoll = false){
TFile *file = new TFile(lInputFileName.Data(), "READ");
void runCalibration(TString lInputFileName = "results/AR_544122_glauberNBD_ancestorMode2_hFT0C_BCs.root", double anchorPointPercentage = 90.0, double matchRange = 200.0, bool doNpartNcoll = false)
{
TFile* file = new TFile(lInputFileName.Data(), "READ");
file->ls();

TH1F* hData = (TH1F*)file->Get("hV0MUltraFine");
Expand Down
4 changes: 2 additions & 2 deletions Common/Tools/Multiplicity/macros/saveCorrelation.C
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
// into the 2D correlation histogram necessary for the ALICE machinery
// that performs Glauber + NBD fits.

/// @brief function to save Npart x Ncoll correlation to file for glauber fits
/// @brief function to save Npart x Ncoll correlation to file for glauber fits
/// @param filename input TGlauberMC ntuple file
/// @param outputFile output file for Npart x Ncoll correlation TH2D
/// @param outputFile output file for Npart x Ncoll correlation TH2D
void saveCorrelation(TString filename = "gmc-PbPb-snn68.21-md0.40-nd-1.0-rc1-smax99.0.root", TString outputFile = "basehistos.root")
{
TFile* fin = new TFile(filename.Data(), "READ");
Expand Down
Loading