remove info on fired digits
authorpcrochet <pcrochet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Oct 2006 16:13:37 +0000 (16:13 +0000)
committerpcrochet <pcrochet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Oct 2006 16:13:37 +0000 (16:13 +0000)
MUON/AliMUONTriggerElectronics.cxx
MUON/AliMUONTriggerElectronics.h

index 727e783..48019cd 100644 (file)
@@ -148,7 +148,6 @@ void AliMUONTriggerElectronics::FeedM()
          {
              //                                mdig->Print();
 
-             Int_t digitindex = digit;
              Int_t detElemId  = mdig->DetElemId();
              Int_t cathode    = mdig->Cathode();
 
@@ -177,7 +176,6 @@ void AliMUONTriggerElectronics::FeedM()
                                                
                      b->SetbitM(ibitxy,cathode,ichamber-10);
                                                
-                     DigitFiredCircuit(b->GetI(), cathode, ichamber, digitindex);
                  }
                  else
                  {
@@ -544,7 +542,6 @@ void AliMUONTriggerElectronics::Digits2Trigger()
 {
   /// Main method to go from digits to trigger decision
   AliMUONRegionalTrigger *pRegTrig = new AliMUONRegionalTrigger();
-  ClearDigitNumbers();
   fMUONData->ResetTrigger(); 
   // RUN THE FULL BEE CHAIN
   Trigger();
@@ -611,8 +608,6 @@ void AliMUONTriggerElectronics::Digits2Trigger()
           fLocalTrigger->SetY3Pattern(board->GetXY(1,2));
           fLocalTrigger->SetY4Pattern(board->GetXY(1,3));
           
-         fLocalTrigger->SetDigits(fDigitNumbers[icirc]);
-
           //             ADD A NEW LOCAL TRIGGER          
           fMUONData->AddLocalTrigger(*fLocalTrigger);  
          
@@ -641,23 +636,3 @@ void AliMUONTriggerElectronics::Digits2Trigger()
   Reset();
 }
 
-//_______________________________________________________________________
-void AliMUONTriggerElectronics::ClearDigitNumbers()
-{
-// RESET fDigitNumbers
-       for (Int_t i=0; i<AliMUONConstants::NTriggerCircuit(); i++) fDigitNumbers[i].Set(0);
-}
-
-//_______________________________________________________________________
-void AliMUONTriggerElectronics::DigitFiredCircuit(Int_t circuit, Int_t cathode,
-                                                  Int_t chamber, Int_t digit)
-{
-// REGISTERS THAT THE SPECIFIED DIGIT FIRED THE SPECIFIED CIRCUIT
-// THIS DIGIT GETS ADDED TO AN ARRAY WHICH WILL BE COPIED TO
-// AliMUONLocalTrigger WHEN SUCH AN OBJECT IS CREATED FOR EACH CIRCUIT
-       Int_t digitnumber = AliMUONLocalTrigger::EncodeDigitNumber(chamber, cathode, digit);
-       Int_t last = fDigitNumbers[circuit].GetSize();
-       fDigitNumbers[circuit].Set(last + 1);
-       fDigitNumbers[circuit][last] = digitnumber;
-}
-
index 1012a67..2748ae2 100644 (file)
@@ -65,8 +65,6 @@ class AliMUONTriggerElectronics : public TTask
 
       virtual void Digits2Trigger();
       virtual void Trigger();
-      virtual void ClearDigitNumbers();
-      virtual void DigitFiredCircuit(Int_t circuit, Int_t cathode, Int_t chamber, Int_t digit);
 
    private:
       AliMUONTriggerElectronics(const AliMUONTriggerElectronics& right);
@@ -76,9 +74,7 @@ class AliMUONTriggerElectronics : public TTask
       TString                    fSourceFileName;     ///< Source file
       AliMUONTriggerCrateStore  *fCrates;             ///< Crate array
       AliMUONGlobalTriggerBoard *fGlobalTriggerBoard; ///< Global trigger board
-      AliMUONData               *fMUONData;           //!< Data container for MUON subsystem 
-      TArrayI                    fDigitNumbers[235];  //!< The digit number that fired a circuit.
-
+      AliMUONData               *fMUONData;           //!< Data container for MUON subsystem
       AliMUONLocalTrigger*       fLocalTrigger;       //!< pointer for local trigger container
       AliMUONGlobalTrigger*      fGlobalTrigger;      //!< pointer for global trigger container