To run this:
Upload this to your STAR account
Run the following commands
root -l
.L AnaCorrFourier.C+
AnaCorrFourier* agp = new AnaCorrFourier()
agp->from = 0
agp->to = 2535 // Can be any number of events you want to run it on.
agp->filelist = "input2.txt" // txt file containing your data file location and name.
agp->outfile = "Analysis.root"
agp->SetTotal(2535)
agp->SetZbinSize(1)
agp->run()