SLIPPER
|
Main class used by the Analysis executable. More...
Public Member Functions | |
DataAnalysis () | |
Default constructor. More... | |
void | DoAll (TString InputFileName, TString OutputFileName) |
Perform the whole analysis. More... | |
Protected Member Functions | |
void | AnalyzeDeltaT () |
Analyze the time difference histograms. More... | |
bool | CheckTriggeredBars () |
Check the number of trigerred bars in the event. More... | |
void | FillHistograms () |
Fill the histograms. More... | |
TF1 * | FitGauss (TH1F *hist) |
Fit an histogram with a Gaussian Function. More... | |
void | InitHistos () |
Initialize all histograms. More... | |
void | SetOutputStructures (TTree *t) |
Set the branches of the output treee. More... | |
Protected Attributes | |
Float_t | _Ampl_A [NUMBEROFTWBARS] |
TW bar amplitude of channel A. More... | |
Float_t | _Ampl_B [NUMBEROFTWBARS] |
TW bar amplitude of channel B. More... | |
Float_t | _Charge [NUMBEROFTWBARS] |
TW bar total charge. More... | |
Float_t | _Charge_A [NUMBEROFTWBARS] |
TW bar charge of channel A. More... | |
Float_t | _Charge_B [NUMBEROFTWBARS] |
TW bar charge of channel B. More... | |
Float_t | _DeltaT_AB [NUMBEROFTWBARS] |
TW bar time difference between channels A and B. More... | |
TGraphErrors * | _DeltaT_AB_Bar [NUMBEROFTWBARS] |
Graph of Time difference vs Postion for each TW Bar. More... | |
TH1F * | _hist_Ampl_A_Front [NUMBEROFTWPOSITIONS] |
Histograms of the channel A amplitude in a position of Front TW Layer. More... | |
TH1F * | _hist_Ampl_A_Rear [NUMBEROFTWPOSITIONS] |
Histograms of the channel A amplitude in a position of Rear TW Layer. More... | |
TH1F * | _hist_Ampl_B_Front [NUMBEROFTWPOSITIONS] |
Histograms of the channel B amplitude in a position of Front TW Layer. More... | |
TH1F * | _hist_Ampl_B_Rear [NUMBEROFTWPOSITIONS] |
Histograms of the channel B amplitude in a position of Rear TW Layer. More... | |
TH1F * | _hist_Charge_Front [NUMBEROFTWPOSITIONS] |
Histograms of total charge in a position of the Front TW layer. More... | |
TH1F * | _hist_Charge_Rear [NUMBEROFTWPOSITIONS] |
Histograms of total charge in a position of the Rear TW layer. More... | |
TH1F * | _hist_DeltaT_AB_Front [NUMBEROFTWPOSITIONS] |
Histograms of A-B time difference in a position of Front TW Layer. More... | |
TH1F * | _hist_DeltaT_AB_Rear [NUMBEROFTWPOSITIONS] |
Histograms of A-B time difference in a position of Rear TW Layer. More... | |
TH1F * | _hitmap_Channels_A |
1D channel A hitmap More... | |
TH1F * | _hitmap_Channels_B |
1D channel B hitmap More... | |
TH2F * | _hitmap_DeltaT_Front |
Histogram for dT resolution in a position of the Front TW Layer. More... | |
TH2F * | _hitmap_DeltaT_Rear |
Histogram for dT resolution in a position of the Rear TW Layer. More... | |
Int_t | _NumberOfGhosts |
Number of ghost hits found in an event. More... | |
TFile * | fOut |
Output file pointer. More... | |
Int_t | FrontBar |
TW Front Bar. More... | |
Int_t | RearBar |
TW Rear Bar. More... | |
Main class used by the Analysis executable.
Currently this class contains some simple functions for plotting
DataAnalysis::DataAnalysis | ( | ) |
Default constructor.
|
protected |
Analyze the time difference histograms.
Extract the resolution on time difference distributions and plot the deltaT vs Pos of each TW bar
|
protected |
Check the number of trigerred bars in the event.
void DataAnalysis::DoAll | ( | TString | InputFileName, |
TString | OutputFileName | ||
) |
Perform the whole analysis.
InputFileName | Name of the input file |
OutputFileName | Name of the output file |
|
protected |
Fill the histograms.
|
protected |
Fit an histogram with a Gaussian Function.
[in] | hist | Pointer to the histogram |
|
protected |
Initialize all histograms.
|
protected |
Set the branches of the output treee.
[in] | t | Pointer to the output tree |
|
protected |
TW bar amplitude of channel A.
|
protected |
TW bar amplitude of channel B.
|
protected |
TW bar total charge.
|
protected |
TW bar charge of channel A.
|
protected |
TW bar charge of channel B.
|
protected |
TW bar time difference between channels A and B.
|
protected |
Graph of Time difference vs Postion for each TW Bar.
|
protected |
Histograms of the channel A amplitude in a position of Front TW Layer.
|
protected |
Histograms of the channel A amplitude in a position of Rear TW Layer.
|
protected |
Histograms of the channel B amplitude in a position of Front TW Layer.
|
protected |
Histograms of the channel B amplitude in a position of Rear TW Layer.
|
protected |
Histograms of total charge in a position of the Front TW layer.
|
protected |
Histograms of total charge in a position of the Rear TW layer.
|
protected |
Histograms of A-B time difference in a position of Front TW Layer.
|
protected |
Histograms of A-B time difference in a position of Rear TW Layer.
|
protected |
1D channel A hitmap
|
protected |
1D channel B hitmap
|
protected |
Histogram for dT resolution in a position of the Front TW Layer.
|
protected |
Histogram for dT resolution in a position of the Rear TW Layer.
|
protected |
Number of ghost hits found in an event.
|
protected |
Output file pointer.
|
protected |
TW Front Bar.
|
protected |
TW Rear Bar.