]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Independent trigger and cluster reconstruction. Adding Id. Bung in MUONTestTrigger...
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Sep 2003 15:44:22 +0000 (15:44 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Sep 2003 15:44:22 +0000 (15:44 +0000)
MUON/AliMUONData.cxx
MUON/AliMUONData.h
MUON/AliMUONLoader.cxx
MUON/AliMUONLoader.h
MUON/MUONrawclusters.C
MUON/MUONrecoNtuple.C
MUON/MUONtrigger.C
MUON/README

index a3e3d707c01f33ee555175730e3501991f2e5db1..fb7846cd1cdb04a9ae35bc2940cbb1e9875639af 100644 (file)
@@ -1,3 +1,19 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
 
 //Root includes
 #include "TNamed.h"
index 168459f2202ac62992b473e644b800ae1538b685..f54c0cdf00f7721cb7c695797a3f67f5b113f9fd 100644 (file)
@@ -1,6 +1,11 @@
 #ifndef ALIMUONDATA_H
 #define ALIMUONDATA_H
 //
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
 // AliMUONData
 // Class containing MUON data: hits, digits, rawclusters, globaltrigger, localtrigger, etc ...
 // Gines Martinez, Subatech,  September 2003
index 0d668468c6802d5b389f948e1efcc021eee1aba9..c64bd577b471d40a04e2c270fb977309edbbd370 100644 (file)
@@ -1,3 +1,19 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
 
 
 //Root includes
index 824a2ad5158f75703e300b89a3a26e1cbb4fcaa4..4a70c361b42669c853944c4eb4525d6bf4edffeb 100644 (file)
@@ -1,6 +1,23 @@
 #ifndef ALIMUONLOADER_H
 #define ALIMUONLOADER_H
 
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
 #include "AliLoader.h"
 
 //__________________________________________________________________
index f3f6aa7fa8ae3a143957654bf076d927be19af56..11e099a9d62d9267ef439fbd0a1f7f43b5c6df2e 100644 (file)
@@ -90,6 +90,7 @@ void MUONrawclusters (char* filename="galice.root", Int_t evNumber1=0,Int_t evNu
        MUONLoader->MakeRecPointsContainer();
       else {
        if (muondata->IsRawClusterBranchesInTree()){ // Test if rawcluster has already been done before
+         if (ievent==evNumber1) MUONLoader->UnloadRecPoints();
          MUONLoader->MakeRecPointsContainer();  // Redoing clusterisation
          Info("RecPointsContainer","Recreating RecPointsContainer and deleting previous ones");
        }
index a358666bb1cb27e4e78183f38272e00e5961aacb..cf7fdbba40ebebb337da1f8f7d6208859b75f004 100644 (file)
@@ -1,3 +1,22 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
+
+
 // Macro MUONrecoNtuple.C (TO BE COMPILED)
 // for testing the C++ reconstruction code
 // and producing an Ntuple with reconstructed tracks
index 778ce2679ff9072176c6ab210c57158c369e19cf..0a2809cb4883cd604323ebdecaa28f961623165e 100644 (file)
@@ -1,3 +1,20 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
 #include "AliRun.h"
 #include "AliRunLoader.h"
 #include "AliLoader.h"
@@ -49,6 +66,7 @@ void MUONtrigger (char* filename="galice.root",
         MUONLoader->MakeRecPointsContainer();
        else {
         if (muondata->IsTriggerBranchesInTree()){ // Test if rawcluster has already been done before
+          if (ievent==evNumber1) MUONLoader->UnloadRecPoints();
           MUONLoader->MakeRecPointsContainer();  // Redoing clusterisation
           Info("RecPointsContainer","Recreating RecPointsContainer and deleting previous ones");
         }
index fce90fd7687bda5d8cccffea745a2d61b947e51e..2f0c8d4d5df871ee5fc344f068dbea62236a5d71 100644 (file)
@@ -1,3 +1,20 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
 ==========================================================
 Please add  to this README file all information concerning 
 config files, simulation, digitalization, clusterization, 
@@ -40,8 +57,6 @@ MUONrawclusters("galice.root",0,9999);
 to Load
 gSystem->Load("$ALICE_ROOT/MUON/MUONrawclusters_C.so")
 
-First event and last event are given by hand, but this will change.
-
 ============================================================
  How to run MUON Trigger
 ============================================================
@@ -49,15 +64,17 @@ First event and last event are given by hand, but this will change.
 .includepath $ALICE_ROOT/MUON
 .L $ALICE_ROOT/MUON/MUONtrigger.C++
 MUONtrigger("galice.root",0,9999); 
-
+To Load
+gSystem->Load("$ALICE_ROOT/MUON/MUONtrigger_C.so")
 ============================================================
  How to run MUON Tracking reconstruction (old output)
 ===========================================================
 .includepath $ALICE_ROOT/STEER
 .includepath $ALICE_ROOT/MUON
 .L $ALICE_ROOT/MUON/MUONrecoNtuple.C++
-MUONrecoNtuple(0,9999,0,"galice.root")    
-
+MUONrecoNtuple(0,9999,0,"galice.root") 
+To Load   
+gSystem->Load("$ALICE_ROOT/MUON/MUONrecoNtuple_C.so")
 First event and last event are given by hand, but this will change.
 
 ===========================================================
@@ -67,7 +84,8 @@ First event and last event are given by hand, but this will change.
 .includepath $ALICE_ROOT/MUON
 .L $ALICE_ROOT/MUON/MUONTracker.C++
 MUONTracker("galice.root",0,9999);    
-
+To Load
+gSystem->Load("$ALICE_ROOT/MUON/MUONTracker_C.so")
 Output in MUON.Tracks.root using the new IO 
 as a TClonesArray of AliMUONTrack