]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONClusterReconstructor.h
From Artur:
[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
9////////////////////////////////////
10// MUON event reconstructor in ALICE
11////////////////////////////////////
30178c30 12
13#include <TObject.h>
2f8b3b1b 14#include "AliMUONClusterFinderVS.h" //AZ
c0301ce3 15
16class AliLoader;
17class AliMUON;
c0301ce3 18class AliMUONRawCluster;
2f8b3b1b 19//AZ class AliMUONClusterFinderVS;
c0301ce3 20class AliMUONData;
cf464691 21class AliRawReader;
c0301ce3 22
30178c30 23class AliMUONClusterReconstructor : public TObject
24{
c0301ce3 25 public:
1197ff51 26 AliMUONClusterReconstructor(AliLoader* loader, AliMUONData* data = 0x0); // Constructor
c0301ce3 27 virtual ~AliMUONClusterReconstructor(void); // Destructor
c0301ce3 28
5ac16716 29
c0301ce3 30 // Cluster Finding & Trigger
31 virtual void Digits2Clusters();
7e4a628d 32 virtual void Trigger2Trigger() ;
c0301ce3 33
7e4a628d 34 // pointer to data container
c0301ce3 35 AliMUONData* GetMUONData() {return fMUONData;}
7e4a628d 36 // Reco Model
37 AliMUONClusterFinderVS* GetRecoModel() {return fRecModel;}
38 // AliMUONClusterFinderAZ* GetRecoModel() {return fRecModel;}
2f8b3b1b 39 //AZ void SetRecoModel(AliMUONClusterFinderVS* rec) {fRecModel = rec;}
40 void SetRecoModel(AliMUONClusterFinderVS* rec) {if (fRecModel) delete fRecModel; fRecModel = rec;} //AZ
7e4a628d 41 // void SetRecoModel(AliMUONClusterFinderAZ* rec) {fRecModel = rec;}
42
c0301ce3 43
44 protected:
30178c30 45 AliMUONClusterReconstructor(); // Default constructor
46 AliMUONClusterReconstructor (const AliMUONClusterReconstructor& rhs); // copy constructor
47 AliMUONClusterReconstructor& operator=(const AliMUONClusterReconstructor& rhs); // assignment operator
c0301ce3 48
49 private:
50
c0301ce3 51 AliMUONData* fMUONData; //! Data container for MUON subsystem
7e4a628d 52 AliMUONClusterFinderVS* fRecModel; //! cluster recontruction model
53 //AliMUONClusterFinderAZ* fRecModel; //! cluster recontruction model
c0301ce3 54
c0301ce3 55 // alice loader
56 AliLoader* fLoader;
57
58
59 ClassDef(AliMUONClusterReconstructor,0) // MUON cluster reconstructor in ALICE
60};
61
62#endif