LCOV - code coverage report
Current view: top level - MUON/MUONrec - AliMUONPreClusterFinderV2.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 ALIMUONPRECLUSTERFINDERV2_H
       2             : #define ALIMUONPRECLUSTERFINDERV2_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 AliMUONPreClusterFinderV2
      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 TStopwatch;
      20             : class TClonesArray;
      21             : class AliMUONPad;
      22             : 
      23             : class AliMUONPreClusterFinderV2 : public AliMUONVClusterFinder
      24             : {
      25             : public:
      26             :   AliMUONPreClusterFinderV2();
      27             :   virtual ~AliMUONPreClusterFinderV2();
      28             :   
      29           0 :   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             :   AliMUONPreClusterFinderV2(const AliMUONPreClusterFinderV2& rhs);
      45             :   /// Not implemented
      46             :   AliMUONPreClusterFinderV2& operator=(const AliMUONPreClusterFinderV2& rhs);
      47             : 
      48             :   void AddPad(AliMUONCluster& cluster, AliMUONPad* pad);
      49             :   
      50             : private:
      51             :   TClonesArray* fClusters; //!<! the clusters we've found (owner)
      52             :   const AliMpVSegmentation** fkSegmentations; //!<! segmentations (not owner)
      53             :   TObjArray** fPads; //!<! the pads corresponding to the digits (not owner)
      54             :   Int_t fDetElemId; //!<! which DE we're considering
      55             :   
      56          18 :   ClassDef(AliMUONPreClusterFinderV2,2) // A basic pre-cluster finder
      57             : };
      58             : 
      59             : #endif

Generated by: LCOV version 1.11