19 #include "StPidProbabilityConst.hh"
29 void FitMultiGaus(Char_t* fileNameOfInput, Char_t* fileNameOfOutput);
30 void DoPhaseSpaceCalibration(Char_t* fileName4Calibration,Char_t* phaseSpaceCalibFileName);
31 void GetSigmaOfSingleTrail(Char_t* fileName4Calibration,Char_t* sigmaFileName);
32 void ExtrapAmp(Char_t* fileNameOfInput, Char_t* fileNameOfOutput);
34 void Process( Char_t* sigmaOfSigmTrialInputName,
35 Char_t* sigmaOfSigmTrialOutputName,
36 Char_t* phaseSpaceCalibInputName,
37 Char_t* phaseSpaceCalibOutputName,
38 Char_t* gausFitInputName,
39 Char_t* gausFitOutputName,
40 Char_t* ampFitOutputName );
47 Bool_t mWriteSigmaNSampleGraph;
48 Bool_t mWriteGaus4SigmaNSampleHist;
50 double * mSigmaOfSingleTrail;
52 TF1* electronBandCenter;
55 TF1* antiprotonBandCenter;
57 TF1* pionKaonBandCenter;
81 double delta(
double calib,
double pionPosition,
double protonPosition);
82 double look4MinDeltaDiff(
double calibStart,
double calibEnd,
int calibSteps,
double pionPosition,
double protonPosition,
double DeltaRef);
83 double minimumIonizingdEdx(
double calib,
double pionPosition);
85 float FitResoGaus(TH1F* resoHist,
float fitRange,
float& er,
float theStart,
float theEnd,
int ParIndex,
int j,
int k,
float thePPosition);
86 void PresetHeightAndSigma(
double center,
double& height,
double& sigma, TH1F* resoHist,
double tempSigmaOfSingleTrial,
int k);
87 void RefreshPresettings(TH1F* resoHist,
double tempSigmaOfSingleTrial,
int k,
float thePPosition);
TF1 * kaonAntiprotonBandCenter
//for drawing line between pion and kaon bands
double ** BBOffSetPar
//for drawing line between kaon and antiproton bands