]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONClusterFinderVS.cxx
Transition to NewIO
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterFinderVS.cxx
index 863ba13cfd96beee18f0f57336f7c9b736215748..fff08878d02cf92e5aab77ad14ac705a7187370d 100644 (file)
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
-/*
-$Log$
-Revision 1.20  2001/04/12 12:22:26  morsch
-- some numerical problems caused by pad staggering cured.
-- treatment of 1-2 and 2-1 ghosts
-- debuglevel > 1 prints introduced
-
-Revision 1.19  2001/03/20 13:32:10  egangler
-Code introduced to remove ghosts with the charge correlation between the 2
-cathods. A chi2 is performed for the 2 possibilities.
-If one gets good chi2 (with respect to the fGhostChi2Cut parameter) and the
-other wrong chi2, the ambiguity is solved
-If both gets good or both bad chi2, no choice is made
-By default the fGhostChi2Cut parameter is set to solve about 70% of ghost
-problems with about 2% errors, with the current version of the code.
-
-Implementation :
-fGhostChi2Cut is in AliMUONClusterFinderVS, with setters and getters.
-a fDebugLevel was also introduced to switch off some of the output.
-When an ambiguity is detected and not solved, the fGhost word in
-AliMUONRawCluster is set to 1 or 2, depending whether both charge chi2 are
-good or bad.
-a DumpIndex method was also added in AliMUONRawCluster to produce a printout
-of digit indexes.
-
-User incidences :
-By default, the code makes ghost check. If you want previous behaviour,
-put in MUONrawclusters the value of SetGhostChi2Cut to infinity (1e.6) is
-sufficient.
-
-Revision 1.18  2001/01/26 21:37:53  morsch
-Use access functions to AliMUONDigit member data.
-
-Revision 1.17  2001/01/23 18:58:19  hristov
-Initialisation of some pointers
-
-Revision 1.16  2000/12/21 23:27:30  morsch
-Error in argument list of AddRawCluster corrected.
-
-Revision 1.15  2000/12/21 22:14:38  morsch
-Clean-up of coding rule violations.
-
-Revision 1.14  2000/10/23 16:03:45  morsch
-Correct z-position of all clusters created "on the flight".
-
-Revision 1.13  2000/10/23 13:38:23  morsch
-Set correct z-coordinate when cluster is split.
-
-Revision 1.12  2000/10/18 11:42:06  morsch
-- AliMUONRawCluster contains z-position.
-- Some clean-up of useless print statements during initialisations.
-
-Revision 1.11  2000/10/06 09:04:05  morsch
-- Dummy z-arguments in GetPadI, SetHit, FirstPad replaced by real z-coordinate
-       to make code work with slat chambers (AM)
-- Replace GetPadI calls with unchecked x,y coordinates by pad iterator calls wherever possible.
-
-Revision 1.10  2000/10/03 13:51:57  egangler
-Removal of useless dependencies via forward declarations
-
-Revision 1.9  2000/10/02 16:58:29  egangler
-Cleaning of the code :
--> coding conventions
--> void Streamers
--> some useless includes removed or replaced by "class" statement
-
-Revision 1.8  2000/07/03 11:54:57  morsch
-AliMUONSegmentation and AliMUONHitMap have been replaced by AliSegmentation and AliHitMap in STEER
-The methods GetPadIxy and GetPadXxy of AliMUONSegmentation have changed name to GetPadI and GetPadC.
-
-Revision 1.7  2000/06/28 15:16:35  morsch
-(1) Client code adapted to new method signatures in AliMUONSegmentation (see comments there)
-to allow development of slat-muon chamber simulation and reconstruction code in the MUON
-framework. The changes should have no side effects (mostly dummy arguments).
-(2) Hit disintegration uses 3-dim hit coordinates to allow simulation
-of chambers with overlapping modules (MakePadHits, Disintegration).
-
-Revision 1.6  2000/06/28 12:19:18  morsch
-More consequent seperation of global input data services (AliMUONClusterInput singleton) and the
-cluster and hit reconstruction algorithms in AliMUONClusterFinderVS.
-AliMUONClusterFinderVS becomes the base class for clustering and hit reconstruction.
-It requires two cathode planes. Small modifications in the code will make it usable for
-one cathode plane and, hence, more general (for test beam data).
-AliMUONClusterFinder is now obsolete.
-
-Revision 1.5  2000/06/28 08:06:10  morsch
-Avoid global variables in AliMUONClusterFinderVS by seperating the input data for the fit from the
-algorithmic part of the class. Input data resides inside the AliMUONClusterInput singleton.
-It also naturally takes care of the TMinuit instance.
-
-Revision 1.4  2000/06/27 16:18:47  gosset
-Finally correct implementation of xm, ym, ixm, iym sizes
-when at least three local maxima on cathode 1 or on cathode 2
-
-Revision 1.3  2000/06/22 14:02:45  morsch
-Parameterised size of xm[], ym[], ixm[], iym[] correctly implemented (PH)
-Some HP scope problems corrected (PH)
-
-Revision 1.2  2000/06/15 07:58:48  morsch
-Code from MUON-dev joined
-
-Revision 1.1.2.3  2000/06/09 21:58:33  morsch
-Most coding rule violations corrected.
-
-Revision 1.1.2.2  2000/02/15 08:33:52  morsch
-Error in calculation of contribution map for double clusters (Split method) corrected   (A.M.)
-Error in determination of track list for double cluster (FillCluster method) corrected  (A.M.)
-Revised and extended SplitByLocalMaxima method (Isabelle Chevrot):
-       - For clusters with more than 2 maxima on one of the cathode planes all valid
-       combinations of maxima on the two cathodes are preserved. The position of the maxima is
-       taken as the hit position.
-       - New FillCluster method with 2 arguments to find tracks associated to the clusters
-       defined above added. (Method destinction by argument list not very elegant in this case,
-       should be revides (A.M.)
-       - Bug in if-statement to handle maximum 1 maximum per plane corrected
-       - Two cluster per cathode but only 1 combination valid is handled.
-       - More rigerous treatment of 1-2 and 2-1 combinations of maxima.
 
-*/
+/* $Id$ */
 
 #include "AliMUONClusterFinderVS.h"
 #include "AliMUONDigit.h"
@@ -152,7 +35,7 @@ Revised and extended SplitByLocalMaxima method (Isabelle Chevrot):
 #include <TF1.h>
 
 #include <stdio.h>
-#include <iostream.h>
+#include <Riostream.h>
 
 //_____________________________________________________________________
 // This function is minimized in the double-Mathieson fit