]>
Commit | Line | Data |
---|---|---|
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 | 20 | class AliRunLoader; |
cbd576a6 | 21 | |
22 | class AliPHOSIhepAnalyze : public TObject { | |
23 | ||
24 | public: | |
25 | ||
26 | AliPHOSIhepAnalyze() ; // ctor | |
27 | AliPHOSIhepAnalyze(Text_t * name) ; // ctor | |
43fbaae1 | 28 | AliPHOSIhepAnalyze(const AliPHOSIhepAnalyze & obj) : TObject(obj), fRunLoader(0), fFileName() |
29 | { | |
6a2b5f60 | 30 | // cpy ctor: no implementation yet |
31 | // requested by the Coding Convention | |
32 | Fatal("cpy ctor", "not implemented") ; | |
33 | } | |
34 | virtual ~AliPHOSIhepAnalyze() {} ; // dtor | |
35 | AliPHOSIhepAnalyze & operator = (const AliPHOSIhepAnalyze & /*rvalue*/) { | |
36 | Fatal("operator =", "not implemented") ; return *this ; } | |
88cb7938 | 37 | |
cbd576a6 | 38 | void AnalyzeCPV1(Int_t Nevents); // resolutions, mult and cluster lengths for CPV |
39 | void AnalyzeEMC1(Int_t Nevents); // resolutions, mult and cluster lengths for EMC | |
40 | void AnalyzeCPV2(Int_t Nevents); // delta(gen)/delta(rec) between hits | |
41 | void CpvSingle(Int_t Nevents); // signle particle analysis | |
90cceaf6 | 42 | virtual void HitsCPV(Int_t event); |
6a2b5f60 | 43 | const TString GetFileName() const { return fFileName; } |
cbd576a6 | 44 | |
45 | private: | |
46 | ||
6a2b5f60 | 47 | Bool_t IsCharged(Int_t pdgCode); |
cbd576a6 | 48 | |
49 | private: | |
88cb7938 | 50 | |
6a2b5f60 | 51 | AliRunLoader *fRunLoader; // run loader |
52 | TString fFileName; // filename with headers (e.g. galice.root) | |
cbd576a6 | 53 | |
54 | ClassDef(AliPHOSIhepAnalyze,1) // PHOSv1 event analyzis algorithm | |
55 | ||
56 | }; | |
57 | ||
58 | #endif // AliPHOSIhepAnalyze_H | |
59 | ||
60 |