Dropping references to AliMUONLocalTrigger which are depricated. This is a temporary...
[u/mrichter/AliRoot.git] / HLT / MUON / src / AliRoot / TriggerSource.hpp
index c0ecd6f80aee484d0ee8f276b4de93d10ac0be8a..4cb85fefc017b3a2c8df2fa892d1cfb2616507f8 100644 (file)
 #include "AliRoot/TriggerRecord.hpp"
 
 class AliMUON;
-class AliMUONLocalTrigger;
+//class AliMUONLocalTrigger;
 class AliMUONDataInterface;
 
 
 class AliHLTMUONTriggerSource : public TObject
 {
+public:  // Unfortunately ROOT requires the following to be public.
+
+       class AliEventData : public TObject
+       {
+       public:
+               AliEventData();
+               AliEventData(Int_t eventnumber);
+               virtual ~AliEventData();
+               
+               Int_t& EventNumber() { return fEventNumber; }
+               TClonesArray& Blocks() { return fBlocks; }
+
+       private:
+       
+               Int_t fEventNumber;  // Event number in AliMUONDataInterface from which the triggers were taken.
+               TClonesArray fBlocks; // The list of blocks of trigger records.
+               
+               ClassDef(AliEventData, 1)  // Data per event.
+       };
+
+
 public:
 
        enum AreaType
@@ -245,10 +266,13 @@ private:
           if the fUseLookupTable is set to true then we use the L0 lookup table to
           fill the Pt value otherwise we use the PtCal method in AliMUONTriggerCircuit.
           Note the fTriggerNumber parameter is not filled in to 'record'.
+          THIS METHOD IS DEPRICATED
         */
+/*
        void FillTriggerFromLocalTrigger(
                        AliMUONLocalTrigger* trigger, AliMUON* module, AliHLTMUONTriggerRecord& record
                );
+*/
        
        /* Fills the TriggerRecord structure from AliMUONHit objects.
           The hits on the last 4 chambers are used (i.e. chambers 11 to 14).
@@ -286,30 +310,19 @@ private:
        void ResetTriggerPointers() const;
 
 
-public:  // Unfortunately ROOT requires the following to be public.
-
-       class AliEventData : public TObject
-       {
-       public:
-               AliEventData();
-               AliEventData(Int_t eventnumber);
-               virtual ~AliEventData();
-               
-               Int_t& EventNumber() { return fEventNumber; }
-               TClonesArray& Blocks() { return fBlocks; }
-
-       private:
-       
-               Int_t fEventNumber;  // Event number in AliMUONDataInterface from which the triggers were taken.
-               TClonesArray fBlocks; // The list of blocks of trigger records.
-               
-               ClassDef(AliEventData, 1)  // Data per event.
-       };
-       
-private:
-
        // Do not allow copying of this object.
-       AliHLTMUONTriggerSource(const AliHLTMUONTriggerSource& /*object*/) : TObject() {}
+       AliHLTMUONTriggerSource(const AliHLTMUONTriggerSource& /*object*/)
+               : TObject(),
+                 fAreaToUse(kFromWholePlane), fDataToUse(kFromLocalTriggers),
+                 fMaxBlockSize(0xFFFFFFFF), fUseLookupTable(kTRUE),
+                 fFilename(""), fFoldername(""),
+                 fEventIndex(-1), fCurrentEvent(NULL),
+                 fBlockIndex(-1), fCurrentBlock(NULL),
+                 fTriggerIndex(-1), fCurrentTrigger(NULL),
+                 fEventList(AliHLTMUONTriggerSource::AliEventData::Class()),
+                 fHadToLoadgAlice(kFALSE)
+       {}
+
        AliHLTMUONTriggerSource& operator = (const AliHLTMUONTriggerSource& /*object*/) { return *this; }
 
 
@@ -322,7 +335,7 @@ private:
        TString fFoldername;  // The folder name from which trigger data was taken.
        
        mutable Int_t fEventIndex;               //! The index number of the currently selected event.
-       mutable AliEventData* fCurrentEvent;        //! Pointer to the currently selected event.
+       mutable AliEventData* fCurrentEvent;     //! Pointer to the currently selected event.
        mutable Int_t fBlockIndex;               //! The index number of the currently selected block.
        mutable TClonesArray* fCurrentBlock;     //! Pointer to the currently selected block.
        mutable Int_t fTriggerIndex;             //! The index number of the currently selected trigger record.