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* vsdFile="AliVSD.root");
30 // --------------------------------------------------------------
31 // Conversion functions.
33 void ConvertKinematics();
36 void ConvertAnyHits(const TString& detector, const TString& clones_class,
37 Int_t det_id, Float_t minDistSqr=0);
38 void ConvertTPCHits(Int_t det_id, Float_t minDistSqr=0);
40 void ConvertClusters();
41 void ConvertAnyClusters(const TString& detector, const TString& branch_name,
43 void ConvertTPCClusters(Int_t det_id);
45 void ConvertRecTracks();
50 void ConvertGenInfo();
52 // --------------------------------------------------------------
54 Int_t GetDebugLevel() const { return fDebugLevel; }
55 void SetDebugLevel(Int_t dl) { fDebugLevel = dl; }
58 void MakeItsDigitsInfo();
59 TEveMCRecCrossRef* GetGeninfo(Int_t label);
61 Float_t fTPCHitRes; // Resolution for storing TPC hits.
62 Float_t fTRDHitRes; // Resolution for storing TRD hits.
64 Int_t fDebugLevel; // Internal debug level.
66 AliRunLoader *fRunLoader; // Internal run-loader.
68 std::map<Int_t, TEveMCRecCrossRef*> fGenInfoMap; // Map label to MC-Rec cross-ref data structure.
71 AliEveVSDCreator(const AliEveVSDCreator&); // Not implemented
72 AliEveVSDCreator& operator=(const AliEveVSDCreator&); // Not implemented
74 ClassDef(AliEveVSDCreator, 0); // Create VSD file from ALICE data.
75 }; // endclass AliEveVSDCreator