]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveBase/AliEveVSDCreator.h
Compilation warnings
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveVSDCreator.h
1 // $Id$
2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4 /**************************************************************************
5  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 #ifndef AliEveVSDCreator_H
11 #define AliEveVSDCreator_H
12
13 #include <TEveVSD.h>
14
15 #include <map>
16
17 class AliTPCParam;
18 class AliRunLoader;
19
20 class AliEveVSDCreator : public TEveVSD
21 {
22 public:
23   AliEveVSDCreator(const Text_t* name="AliEveVSDCreator", const Text_t* title="");
24   virtual ~AliEveVSDCreator() {}
25
26   void CreateVSD(const Text_t* vsdFile);
27
28   void CreateTrees();
29
30   // --------------------------------------------------------------
31   // Conversion functions.
32
33   void ConvertKinematics();
34   void ConvertHits();
35   void ConvertClusters();
36   void ConvertTPCClusters();
37   void ConvertITSClusters();
38   void ConvertV0();
39   void ConvertKinks();
40   void ConvertRecTracks();
41   void ConvertGenInfo();
42
43   // --------------------------------------------------------------
44
45   Int_t GetDebugLevel() const   { return fDebugLevel; }
46   void  SetDebugLevel(Int_t dl) { fDebugLevel = dl; }
47
48 protected:
49   void               MakeItsDigitsInfo();
50   TEveMCRecCrossRef* GetGeninfo(Int_t label);
51
52   Float_t       fTPCHitRes;  // Resolution for storing TPC hits.
53   Float_t       fTRDHitRes;  // Resolution for storing TRD hits.
54
55   Int_t         fDebugLevel; // Internal debug level.
56
57   AliRunLoader *fRunLoader;  // Internal run-loader.
58
59   std::map<Int_t, TEveMCRecCrossRef*> fGenInfoMap; // Map label to MC-Rec cross-ref data structure.
60
61 private:
62   AliEveVSDCreator(const AliEveVSDCreator&);            // Not implemented
63   AliEveVSDCreator& operator=(const AliEveVSDCreator&); // Not implemented
64
65   ClassDef(AliEveVSDCreator, 0); // Create VSD file from ALICE data.
66 }; // endclass AliEveVSDCreator
67
68 #endif