Changed hadron correction and added saving EMCAL and track contributions
[u/mrichter/AliRoot.git] / PHOS / AliPHOSIhepAnalyze.h
CommitLineData
cbd576a6 1#ifndef AliPHOSIhepAnalyze_H
2#define AliPHOSIhepAnalyze_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7//_________________________________________________________________________
8// Algorythm class to analyze PHOSv1 events:
9// Construct histograms and displays them.
10// Used the IHEP CPV/PHOS reconstruction algorithm.
11//*--
12//*-- Author : Boris Polichtchouk (IHEP)
13
14// --- ROOT system ---
15#include "TObject.h"
16
17// --- Standard library ---
18
19// --- AliRoot header files ---
88cb7938 20class AliRunLoader;
cbd576a6 21
22class AliPHOSIhepAnalyze : public TObject {
23
24 public:
25
26 AliPHOSIhepAnalyze() ; // ctor
27 AliPHOSIhepAnalyze(Text_t * name) ; // ctor
88cb7938 28
cbd576a6 29 void AnalyzeCPV1(Int_t Nevents); // resolutions, mult and cluster lengths for CPV
30 void AnalyzeEMC1(Int_t Nevents); // resolutions, mult and cluster lengths for EMC
31 void AnalyzeCPV2(Int_t Nevents); // delta(gen)/delta(rec) between hits
32 void CpvSingle(Int_t Nevents); // signle particle analysis
33 virtual void HitsCPV(TClonesArray& hits, Int_t event);
88cb7938 34 TString GetFileName() { return fFileName; }
cbd576a6 35
36 private:
37
88cb7938 38 Bool_t IsCharged(Int_t pdg_code);
cbd576a6 39
40 private:
88cb7938 41
42 AliRunLoader *fRunLoader;
43 TString fFileName;
cbd576a6 44
45ClassDef(AliPHOSIhepAnalyze,1) // PHOSv1 event analyzis algorithm
46
47};
48
49#endif // AliPHOSIhepAnalyze_H
50
51