]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONEventReconstructor.h
New package for reconstructed tracks (A. Gheata):
[u/mrichter/AliRoot.git] / MUON / AliMUONEventReconstructor.h
index 6af4408fa9fe5ed65b4f0f1ff58ab6afa4d19895..a1d8f96ce015ab81355cc0ddd56c927a15917bb0 100644 (file)
@@ -13,6 +13,7 @@ class AliMUONSegment;
 class TClonesArray;
 class TFile;
 class TTree;
+class AliMUONRecoEvent;
 
 // Constants which should be elsewhere ????
 const Int_t kMaxMuonTrackingChambers = 10;
@@ -75,6 +76,7 @@ class AliMUONEventReconstructor : public TObject {
   Double_t GetBendingMomentumFromImpactParam(Double_t ImpactParam);
   void EventReconstruct(void);
   void EventDump(void);  // dump reconstructed event
+  void FillEvent();      // fill and write tree of reconstructed events
 
  protected:
 
@@ -126,6 +128,11 @@ class AliMUONEventReconstructor : public TObject {
   TClonesArray *fRecTrackHitsPtr; // pointer to array of hits on reconstructed tracks
   Int_t fNRecTrackHits; // number of hits on reconstructed tracks
 
+  // Objects needed for tree writing
+  AliMUONRecoEvent *fRecoEvent; // the reconstructed event
+  TTree            *fEventTree; // tree of reconstructed events
+  TFile            *fTreeFile;  // file where the tree is outputed
+
   // Functions
   void ResetHitsForRec(void);
   void MakeEventToBeReconstructed(void);