]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONClusterReconstructor.h
Rewriting of Digits2Clusters method to minimize the number of loops
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterReconstructor.h
CommitLineData
c0301ce3 1#ifndef ALIMUONCLUSTERRECONSTRUCTOR_H
2#define ALIMUONCLUSTERRECONSTRUCTOR_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/*$Id$*/
30178c30 7// Revision of includes 07/05/2004
c0301ce3 8
692de412 9/// \ingroup rec
10/// \class AliMUONClusterReconstructor
11/// \brief MUON cluster reconstructor in ALICE
12///
13/////////////////////////////////////
14/// MUON event reconstructor in ALICE
15/////////////////////////////////////
30178c30 16
17#include <TObject.h>
c0301ce3 18
dd20215d 19class AliMUONClusterFinderVS;
c0301ce3 20class AliMUONData;
dd20215d 21class TClonesArray;
c0301ce3 22
30178c30 23class AliMUONClusterReconstructor : public TObject
24{
c0301ce3 25 public:
dd20215d 26 AliMUONClusterReconstructor(AliMUONData* data = 0x0); // Constructor
c0301ce3 27 virtual ~AliMUONClusterReconstructor(void); // Destructor
c0301ce3 28
5ac16716 29
c0301ce3 30 // Cluster Finding & Trigger
cc87ebcd 31 virtual void Digits2Clusters(Int_t chBeg = 0);
7e4a628d 32 virtual void Trigger2Trigger() ;
c0301ce3 33
dd20215d 34// // pointer to data container
35// AliMUONData* GetMUONData() {return fMUONData;}
7e4a628d 36 // Reco Model
37 AliMUONClusterFinderVS* GetRecoModel() {return fRecModel;}
7e4a628d 38
dd20215d 39 void SetRecoModel(AliMUONClusterFinderVS* rec);
c0301ce3 40
41 protected:
30178c30 42 AliMUONClusterReconstructor (const AliMUONClusterReconstructor& rhs); // copy constructor
43 AliMUONClusterReconstructor& operator=(const AliMUONClusterReconstructor& rhs); // assignment operator
c0301ce3 44
dd20215d 45 void ClusterizeOneDE(Int_t detElemId);
46
47 void CheckSize(TClonesArray&);
48
c0301ce3 49 private:
50
c0301ce3 51 AliMUONData* fMUONData; //! Data container for MUON subsystem
7e4a628d 52 AliMUONClusterFinderVS* fRecModel; //! cluster recontruction model
c0301ce3 53
dd20215d 54 TClonesArray* fDigitsCath0; //! digits for cathode 0 of the current DE
55 TClonesArray* fDigitsCath1; //! digits for cathode 1 of the current DE
56
c0301ce3 57 ClassDef(AliMUONClusterReconstructor,0) // MUON cluster reconstructor in ALICE
58};
59
60#endif