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 AliEveVSDCreator_H
11 #define AliEveVSDCreator_H
20 class AliEveVSDCreator : public TEveVSD
23 AliEveVSDCreator(const Text_t* name="AliEveVSDCreator", const Text_t* title="");
24 virtual ~AliEveVSDCreator() {}
26 void CreateVSD(const Text_t* dataDir, Int_t event, const Text_t* vsdFile);
30 // --------------------------------------------------------------
31 // Conversion functions.
33 void ConvertKinematics();
35 void ConvertClusters();
36 void ConvertTPCClusters();
37 void ConvertITSClusters();
40 void ConvertRecTracks();
41 void ConvertGenInfo();
43 // --------------------------------------------------------------
45 Int_t GetDebugLevel() const { return fDebugLevel; }
46 void SetDebugLevel(Int_t dl) { fDebugLevel = dl; }
49 void MakeItsDigitsInfo();
50 TEveMCRecCrossRef* GetGeninfo(Int_t label);
51 AliTPCParam* GetTpcParam(const TEveException& eh);
53 TString fDataDir; // Source data directory.
54 Int_t fEvent; // Source event number.
56 Float_t fTPCHitRes; // Resolution for storing TPC hits.
57 Float_t fTRDHitRes; // Resolution for storing TRD hits.
59 Int_t fDebugLevel; // Internal debug level.
61 AliRunLoader *fRunLoader; // Internal run-loader.
63 std::map<Int_t, TEveMCRecCrossRef*> fGenInfoMap; // Map label to MC-Rec cross-ref data structure.
66 AliEveVSDCreator(const AliEveVSDCreator&); // Not implemented
67 AliEveVSDCreator& operator=(const AliEveVSDCreator&); // Not implemented
69 ClassDef(AliEveVSDCreator, 0); // Create VSD file from ALICE data.
70 }; // endclass AliEveVSDCreator