]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSFastGlobalReconstruction.h
Measured field map as objects of type AliMagFCheb (R. Shahoyan)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSFastGlobalReconstruction.h
CommitLineData
8b2df7ae 1#ifndef ALIPHOSFASTGLOBALRECONSTRUCTION_H
2#define ALIPHOSFASTGLOBALRECONSTRUCTION_H
3/* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8// Fast global reconstruction class.
9// It performes fast reconstruction for charged particles only,
10// assuming that they were detected by all central ALICE detectors but PHOS.
11// This class acts as a filter for primary particles, selects them
12// and deteriorates their 4-momenta.
13//!
14// Author: Yuri Kharlov. 17 April 2003
15
16//_________________________________________________________________________
17class AliGenerator;
18class TClonesArray;
19class AliPHOSGetter;
20
21class AliPHOSFastGlobalReconstruction : public TObject {
22
23public:
43fbaae1 24 AliPHOSFastGlobalReconstruction();
8b2df7ae 25 AliPHOSFastGlobalReconstruction(const char* headerFile);
43fbaae1 26
27 AliPHOSFastGlobalReconstruction(const AliPHOSFastGlobalReconstruction &rhs);
28 AliPHOSFastGlobalReconstruction & operator = (const AliPHOSFastGlobalReconstruction &);
29
8b2df7ae 30 virtual ~AliPHOSFastGlobalReconstruction();
31 void FastReconstruction(Int_t event);
32 TClonesArray *GetRecParticles() const {return fParticles;}
33
34private:
35 Bool_t Detected(TParticle *particle);
36 Float_t Efficiency(Float_t pt, Float_t eta);
37 void SmearMomentum(TLorentzVector &p);
38
39private:
e957fea8 40 AliPHOSGetter *fgime; //! Instance of the PHOS getter
8b2df7ae 41 AliGenerator *fGenerator; //! MC generator used in simulation
42 TClonesArray *fParticles; //! Array of reconstructed particles
43 Int_t fNParticles; //! Number of reconstructed particles
44
45ClassDef(AliPHOSFastGlobalReconstruction,1) // Fast global reconstruction
46};
47
48#endif // AliPHOSFASTGLOBALRECONSTRUCTION_H