LCOV - code coverage report
Current view: top level - MUON/MUONrec - AliMUONPreClusterFinderV3.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 2 50.0 %
Date: 2016-06-14 17:26:59 Functions: 1 6 16.7 %

          Line data    Source code
       1             : #ifndef ALIMUONPRECLUSTERFINDERV3_H
       2             : #define ALIMUONPRECLUSTERFINDERV3_H
       3             : 
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             : * See cxx source for full Copyright notice                               */
       6             : 
       7             : // $Id$
       8             : 
       9             : /// \ingroup rec
      10             : /// \class AliMUONPreClusterFinderV3
      11             : /// \brief A basic pre-cluster finder
      12             : /// 
      13             : // Author Laurent Aphecetche, Subatech
      14             : 
      15             : #ifndef AliMUONVCLUSTERFINDER_H
      16             : #  include "AliMUONVClusterFinder.h"
      17             : #endif
      18             : 
      19             : class TIterator;
      20             : class TClonesArray;
      21             : class AliMUONPad;
      22             : 
      23             : class AliMUONPreClusterFinderV3 : public AliMUONVClusterFinder
      24             : {
      25             : public:
      26             :   AliMUONPreClusterFinderV3();
      27             :   virtual ~AliMUONPreClusterFinderV3();
      28             :   
      29           0 :   virtual Bool_t NeedSegmentation() const { return kTRUE; }
      30             :   
      31             :   using AliMUONVClusterFinder::Prepare;
      32             : 
      33             :   virtual Bool_t Prepare(Int_t detElemId,                         
      34             :                          TObjArray* pads[2],
      35             :                          const AliMpArea& area,
      36             :                          const AliMpVSegmentation* seg[2]);
      37             :   
      38             :   virtual AliMUONCluster* NextCluster();
      39             : 
      40             :   virtual Bool_t UsePad(const AliMUONPad& pad);
      41             :   
      42             : private:
      43             :   /// Not implemented
      44             :   AliMUONPreClusterFinderV3(const AliMUONPreClusterFinderV3& rhs);
      45             :   /// Not implemented
      46             :   AliMUONPreClusterFinderV3& operator=(const AliMUONPreClusterFinderV3& rhs);
      47             : 
      48             :   void AddPad(AliMUONCluster& cluster, AliMUONPad* pad);
      49             :   void AddPreCluster(AliMUONCluster& cluster, AliMUONCluster* preCluster);
      50             :   void MakeCathodePreClusters(Int_t cathode);
      51             :   void MakeClusters();
      52             :   
      53             :   void DumpPreClusters() const;
      54             :   
      55             : private:
      56             :   TClonesArray* fClusters; //!<! the clusters we've found (owner)
      57             :   const AliMpVSegmentation** fkSegmentations; //!<! segmentations (not owner)
      58             :   TObjArray** fPads; //!<! the pads corresponding to the digits (not owner)
      59             :   TClonesArray* fPreClusters[2]; //!<! the preclusters per cathode (owner)
      60             :   Int_t fDetElemId; //!<! which DE we're considering
      61             :   TIterator* fIterator; //!<! iterator on fClusters
      62             :   
      63          18 :   ClassDef(AliMUONPreClusterFinderV3,2) // A basic pre-cluster finder
      64             : };
      65             : 
      66             : #endif

Generated by: LCOV version 1.11