Fixes for #86059: Install data when ALICE_ROOT does not point to source (Christian)
[u/mrichter/AliRoot.git] / MUON / AliMUONReAlignTask.h
CommitLineData
4d610fd5 1#ifndef ALIMUONREALIGNTASK_H
2#define ALIMUONREALIGNTASK_H
3
81f1d3ae 4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6
7// $Id$
8
9/// \ingroup calign
4d610fd5 10/// \class AliMUONReAlignTask
11/// \brief Task to refit ESD tracks with relaigned geometry
12///
13// Author Javier Castillo, CEA/Saclay - Irfu/SPhN
14
15class TTree;
16class TString;
17class AliESDEvent;
18class AliMUONClusterInfo;
19class AliMUONESDInterface;
20class AliMUONRefitter;
21class AliMUONRecoParam;
ac0a58c3 22class AliMUONGeometryTransformer;
4d610fd5 23class AliMUONVStore;
81f1d3ae 24class AliMUONTrack;
4d610fd5 25
26#include "AliAnalysisTask.h"
27
28class AliMUONReAlignTask : public AliAnalysisTask {
29 public:
30 AliMUONReAlignTask(const char *name = "AliMUONReAlignTask", const char *geofilename = "geometry.root", const char *defaultocdb = "local://$ALICE_ROOT/OCDB", const char *misalignocdb = "local://ReAlignOCDB");
31 AliMUONReAlignTask(const AliMUONReAlignTask& obj);
32 AliMUONReAlignTask& operator=(const AliMUONReAlignTask& other);
33 virtual ~AliMUONReAlignTask();
34
35 virtual void LocalInit();
36 virtual void ConnectInputData(Option_t *);
37 virtual void CreateOutputObjects();
38 virtual void Exec(Option_t *option);
39 virtual void Terminate(const Option_t*);
40
41 /// Set geoemetry file name
42 void SetGeoFilename(const char* geoFilename) {fGeoFilename = geoFilename;}
43 /// Set mis align ocdb
44 void SetMisAlignOCDB(const char* misalignOCDB) {fMisAlignOCDB = misalignOCDB;}
45 /// Set default ocdb
46 void SetDefaultOCDB(const char* defaultOCDB) {fDefaultOCDB = defaultOCDB;}
47 void Prepare(const char* geoFilename, const char* defaultOCDB, const char* misalignOCDB);
48 UInt_t BuildClusterMap(AliMUONTrack &track);
49
50 private:
51 AliESDEvent *fESD; ///< ESD object
52 TTree *fClusterInfoTree; ///< ClusterInfo tree
53 AliMUONClusterInfo *fClusterInfo; ///< ClusterInfo object
54 AliMUONESDInterface *fESDInterface; //!< MUONESDInterface
55 AliMUONRefitter *fRefitter; //!< The refitter class
56 AliMUONRecoParam *fRecoParam; //!< Parameters for reconstruction
57 TString fGeoFilename; ///< Geometry file name
cd8521dd 58 TString fMisAlignOCDB; ///< OCDB with misalignment file
4d610fd5 59 TString fDefaultOCDB; ///< Default OCDB
60 AliMUONGeometryTransformer *fGeoTransformer; //!< Original geometry
61 AliMUONGeometryTransformer *fNewGeoTransformer; //!< Aligned geometry
62 AliMUONVStore *fGainStore; ///< Store for gains
63 AliMUONVStore *fPedStore; ///< Store for pedestals
64 Int_t fPrintLevel; //!< Print information
65 Int_t fLastRun; //!< Last run number
66
81f1d3ae 67 ClassDef(AliMUONReAlignTask, 1) // example of analysis
4d610fd5 68};
69
70#endif
71