2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
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 **************************************************************************/
10 #ifndef ALIEVE_VSDCreator_H
11 #define ALIEVE_VSDCreator_H
21 class AliEveVSDCreator : public TEveVSD
24 AliEveVSDCreator(const AliEveVSDCreator&); // Not implemented
25 AliEveVSDCreator& operator=(const AliEveVSDCreator&); // Not implemented
28 void MakeItsDigitsInfo();
29 TEveMCRecCrossRef* GetGeninfo(Int_t label);
30 AliTPCParam* GetTpcParam(const TEveException& eh);
32 TString fDataDir; // Source data directory.
33 Int_t fEvent; // Source event number.
35 Float_t fTPCHitRes; // Resolution for storing TPC hits.
36 Float_t fTRDHitRes; // Resolution for storing TRD hits.
38 Int_t fDebugLevel; // Internal debug level.
40 AliRunLoader *fRunLoader; // Internal run-loader.
42 std::map<Int_t, TEveMCRecCrossRef*> fGenInfoMap; // Map label to MC-Rec cross-ref data structure.
45 AliEveVSDCreator(const Text_t* name="AliEveVSDCreator", const Text_t* title="");
46 virtual ~AliEveVSDCreator() {}
48 void CreateVSD(const Text_t* dataDir, Int_t event, const Text_t* vsdFile);
52 // --------------------------------------------------------------
53 // Conversion functions.
55 void ConvertKinematics();
57 void ConvertClusters();
58 void ConvertTPCClusters();
59 void ConvertITSClusters();
62 void ConvertRecTracks();
63 void ConvertGenInfo();
65 // --------------------------------------------------------------
67 Int_t GetDebugLevel() const { return fDebugLevel; }
68 void SetDebugLevel(Int_t dl) { fDebugLevel = dl; }
70 ClassDef(AliEveVSDCreator, 0); // Create VSD file from ALICE data.
71 }; // endclass AliEveVSDCreator