]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSIhepAnalyze.h
GetRandom returning impact parameter bin and flag for hard process added.
[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 ---
20
21class AliPHOSIhepAnalyze : public TObject {
22
23 public:
24
25 AliPHOSIhepAnalyze() ; // ctor
26 AliPHOSIhepAnalyze(Text_t * name) ; // ctor
09a9209a 27 virtual ~AliPHOSIhepAnalyze() {
28 // dtor
29 }
0bc3b8ed 30
cbd576a6 31 void AnalyzeCPV1(Int_t Nevents); // resolutions, mult and cluster lengths for CPV
32 void AnalyzeEMC1(Int_t Nevents); // resolutions, mult and cluster lengths for EMC
33 void AnalyzeCPV2(Int_t Nevents); // delta(gen)/delta(rec) between hits
34 void CpvSingle(Int_t Nevents); // signle particle analysis
35 virtual void HitsCPV(TClonesArray& hits, Int_t event);
0bc3b8ed 36 const TString GetFileName() const { return fFileName; }
cbd576a6 37
38 private:
39
0bc3b8ed 40 Bool_t IsCharged(Int_t pdgCode);
cbd576a6 41
42 private:
43
0bc3b8ed 44 TString fFileName; //Name of file analyzed
cbd576a6 45
46ClassDef(AliPHOSIhepAnalyze,1) // PHOSv1 event analyzis algorithm
47
48};
49
50#endif // AliPHOSIhepAnalyze_H
51
52