]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONDataInterface.h
Adding PiKP-only histograms and eliminating a number of switches where histograms...
[u/mrichter/AliRoot.git] / MUON / AliMUONDataInterface.h
index 52a085f975092b3ee956b9444f523b2ce0ba0537..183075d17453a3991b44cce7939c25ddbe4a08d9 100644 (file)
 //
 
 #include <TObject.h>
+#include <TString.h>
 
 class TIterator;
 class AliLoader;
 class AliMUONVStore;
 class AliMUONVDigitStore;
 class AliMUONVClusterStore;
-class AliMUONVTrackStore;
 class AliMUONVTriggerStore;
-class AliMUONVTriggerTrackStore;
 class AliMUONVDigit;
 class AliMUONVCluster;
-class AliMUONTrack;
 class AliMUONLocalTrigger;
 class AliMUONRegionalTrigger;
 class AliMUONGlobalTrigger;
-class AliMUONTriggerTrack;
 
 
 class AliMUONDataInterface : public TObject
@@ -49,22 +46,20 @@ public:
 
   Int_t NumberOfEvents() const;
   
-  /// Returns the index number of the current event as used int GetEvent(Int_t).
+  /// Returns the index number of the current event loaded.
+  /// This is the event number as was used in the last calls to DigitStore(Int_t),
+  /// ClusterStore(Int_t), TriggerStore(Int_t) or GetEvent(Int_t).
   Int_t   CurrentEvent() const { return fCurrentEvent; }
 
   AliMUONVDigitStore* DigitStore(Int_t event);  
   AliMUONVClusterStore* ClusterStore(Int_t event);
-  AliMUONVTrackStore* TrackStore(Int_t event);
   AliMUONVTriggerStore* TriggerStore(Int_t event, const char* treeLetter="R");
-  AliMUONVTriggerTrackStore* TriggerTrackStore(Int_t event);
 
   /// Dump the clusters for a given event, sorted if so required
   void DumpClusters(Int_t event, Bool_t sorted=kTRUE)  { return DumpRecPoints(event,sorted); }
   void DumpRecPoints(Int_t event, Bool_t sorted=kTRUE);
   void DumpDigits(Int_t event, Bool_t sorted=kTRUE);
-  void DumpTracks(Int_t event, Bool_t sorted=kFALSE);  
   void DumpTrigger(Int_t event, const char* treeLetter="R");  
-  void DumpTriggerTracks(Int_t event, Bool_t sorted=kFALSE);
   
   Bool_t GetEvent(Int_t event = 0);
   
@@ -79,15 +74,11 @@ public:
   AliMUONVDigit* Digit(Int_t chamber, Int_t cathode, Int_t index);
   Int_t NumberOfRawClusters(Int_t chamber);
   AliMUONVCluster* RawCluster(Int_t chamber, Int_t index);
-  Int_t NumberOfTracks();
-  AliMUONTrack* Track(Int_t index);
   Int_t NumberOfLocalTriggers();
   AliMUONLocalTrigger* LocalTrigger(Int_t index);
   Int_t NumberOfRegionalTriggers();
   AliMUONRegionalTrigger* RegionalTrigger(Int_t index);
   AliMUONGlobalTrigger* GlobalTrigger();
-  Int_t NumberOfTriggerTracks();
-  AliMUONTriggerTrack* TriggerTrack(Int_t index);
   
 private:
 
@@ -98,10 +89,8 @@ private:
     kDigitIteratorByDetectorElement,  ///< A digit iterator for iterating over detector elements.
     kDigitIteratorByChamberAndCathode,  ///< A digit iterator for iterating over chambers and cathodes.
     kRawClusterIterator,  ///< A raw cluster iterator.
-    kTrackIterator,  ///< An iterator for iterating over reconstructed tracks.
     kLocalTriggerIterator,  ///< An iterator for iterating over reconstructed local triggers.
-    kRegionalTriggerIterator,  ///< An iterator for iterating over reconstructed regional triggers.
-    kTriggerTrackIterator  ///< An iterator for iterating over reconstructed trigger tracks.
+    kRegionalTriggerIterator  ///< An iterator for iterating over reconstructed regional triggers.
   };
     
   void DumpSorted(const AliMUONVStore& store) const;
@@ -128,9 +117,8 @@ private:
   AliMUONVDigitStore* fDigitStore; //!< current digit store (owner)
   AliMUONVTriggerStore* fTriggerStore; //!< current trigger store (owner)
   AliMUONVClusterStore* fClusterStore; //!< current cluster store (owner)
-  AliMUONVTrackStore* fTrackStore; //!< current track store (owner)
-  AliMUONVTriggerTrackStore* fTriggerTrackStore; //!< current trigger track store (owner)
   Int_t fCurrentEvent; //!< Current event we've read in
+  TString fTreeLetter; //!< The tree letter used in the last call to TriggerStore().
   Bool_t fIsValid; //!< whether we were initialized properly or not
   
   IteratorType fCurrentIteratorType;  //!< The type of iterator that is currently set.